[Qt-interest] Time consuming showFullScreen() & showNormal()
Santhosh Y
santhosh at softjin.com
Wed Jun 16 15:14:53 CEST 2010
Hi,
I have 2-following QActions and I connected them to QMainWindow SLOTs as
shown below.
It looks to me that, these operations are slow; And when I call
showFullScreen() SLOT it is taking long time. But when I do alt+tab to
the other window on my windows task bar and come to this it seems working.
Since processEvents() are being cleared explicitly (some sort of.....)
QObject::connect(actionFull_Screen_Mode, SIGNAL(triggered()),
Aera2MainWindow, SLOT(showFullScreen()));
QObject::connect(actionNormal_Mode, SIGNAL(triggered()),
Aera2MainWindow, SLOT(showNormal()));
Is there any better way of doing this?
--
----------------------------------------------------
Y Santhosh Kumar -
Senior Software Engineer,
SoftJin Technologies Pvt Ltd,
www.softjin.com
----------------------------------------------------
Business Disclaimer
____________________________________________________________
This e-mail message and any files transmitted with it are intended solely
for the use of the individual or entity to which they are addressed. It
may contain confidential, proprietary or legally privileged information.
If you are not the intended recipient please be advised that you have
received this message in error and any use is strictly prohibited. Please
immediately delete it and all copies of it from your system, destroy any
hard copies of it and notify the sender by return mail. You must not,
directly or indirectly, use, disclose, distribute, print, or copy any part of
this message if you are not the intended recipient.
___________________________________________________________
More information about the Qt-interest-old
mailing list