[Qt-interest] Overlaying an image (png or jpg with text) over the screen.
Malyushytsky, Alex
alex at wai.com
Tue Aug 11 21:29:43 CEST 2009
I don't take responsibility to say it is the best way.
But you may show modal or modeless dialog (whatever is more suitable for you).
Put controls you need there.
If such dialog has no widgets which accept focus you should not have focus changed.
You can play with focus policy, if you want a control there which take a focus by default.
Use QTimer to control the time shown. When timer expire destroy the dialog.
Regards,
Alex
-----Original Message-----
From: qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com] On Behalf Of Damian Hischier
Sent: Tuesday, August 11, 2009 7:43 AM
To: qt-interest at trolltech.com
Subject: [Qt-interest] Overlaying an image (png or jpg with text) over the screen.
I have to display an image and text on the screen. The image just has
to pop up and show the user some information and after a couple of
seconds it should disappear again. That means that when the image pops
up it should not distract the user and steal the focus or something
like this. The image should just be an overlay over the a part of the
screen.
What is the best way to do something like that?
Thanks for your help
Damian
_______________________________________________
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