[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: Full-screen
From: Boudewijn Rempt <boud () valdyas ! org>
Date: 2004-06-30 17:51:28
Message-ID: 200406301951.29112.boud () valdyas ! org
[Download RAW message or body]
I'm trying to get Krita to have a full-screen mode, but it isn't working, and
I was wondering whether I was using the correct widget. In KisView, I have:
m_fullScreen = KStdAction::fullScreen( NULL, NULL, actionCollection(),
this );
connect( m_fullScreen, SIGNAL( toggled( bool )), this,
SLOT( slotUpdateFullScreen( bool )));
And
void KisView::slotUpdateFullScreen(bool toggle)
{
// this->setWindowState( this->windowState() & ~toggle );
kdDebug() << "Full screen called.\n";
if (isFullScreen()) {
kdDebug() << "Already full-screen\n";
showNormal();
}
else {
kdDebug() << "Going to full-screen\n";
showFullScreen();
}
}
I _am_ using qt-copy (otherwise it wouldn't even compile, I think), but
perhaps KisView isn't the right widget.
--
Boudewijn Rempt | http://www.valdyas.org/fading/index.cgi
_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic