[Qt-interest] experiment while running multiple QApplications
Malyushytsky, Alex
alex at wai.com
Fri Oct 30 21:37:20 CET 2009
According to my impression it must be only one QApplication instance in the executable.
QT design seems relies on it.
Why would you need 2 QApplication instances?
Alex
-----Original Message-----
From: qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com] On Behalf Of Nitin Mahajan
Sent: Friday, October 30, 2009 3:45 AM
To: qt-interest at trolltech.com
Subject: [Qt-interest] experiment while running multiple QApplications
HI!
I did one experiment while running multiple QApplications simultaneously on Qt for Embedded Linux.
1. Execute the demo browser application as QWS Server.
#bowser -qws http://www.google.com &
2. Press F11 and change the browser to Full Screen mode.
3. Start the mediaplayer application from demos.
The Mediaplayer application remains in foreground always, even if I click into the browser window.
Both the applications receive the mouse events, and process them. These two behaviours are as per
my expectations.
However only mediaplayer receives the keyboard events and processes them. I want even the demo browser
also to receive the keyboad events and process them. How to achieve this?
I asssume the the demo browser being the QWS server will first get all the events, and then propagate
to applications.
regards
-Nitin
New Email addresses available on Yahoo!
Get the Email name you've always wanted on the new @ymail and @rocketmail.
Hurry before someone else does!
http://mail.promotions.yahoo.com/newdomains/aa/
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest
---------------------------------------------------------------------------------------------------
Weidlinger Associates, Inc. made the following annotations.
"This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you."
"Please consider our environment before printing this email."
More information about the Qt-interest-old
mailing list