[Qt-interest] How to make a QDialog that acts like a pop up
John Eke
tonee47 at yahoo.com
Tue Mar 17 18:42:25 CET 2009
Thanks a lot. WHere can I find this attribute though? I cant find it here:
http://doc.trolltech.com/4.5/qdialog-members.html
________________________________
From: Ankit Agarwal <ankit17.ag at gmail.com>
To: John Eke <tonee47 at yahoo.com>
Sent: Tuesday, March 17, 2009 12:44:58 PM
Subject: Re: [Qt-interest] How to make a QDialog that acts like a pop up
Hi,
I think that if you track the activationChanged for the dialogBox, thenyour problem can be solved.
2009/3/17 John Eke <tonee47 at yahoo.com>
Hi,
I am developing an application that lets a user change the brightness/contrast of an image. There is a button for this, but when that button is pushed, a "floating dialog" pops up with some sliders. I remove the border around the dialog so it doesn't appear to be a dialog. Problem is since its a dialog, and theres no close button, you cant do anything else till you hit escape. What I am trying to do is make it so that clicking anywhere else would make the dialog disappear. Similar to how a popup behaves. I tried using the Qt::Popup flag, but that didnt work. It styled it like a popup which was nice, but it wouldnt disappear when I clicked anywhere else.
Any ideas?
Thanks
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest
--
Regards,
Ankit Agarwal
SW Engineer
Vegayan Systems
email : ankit_agarwal at vegayan.com
Blog : http://ankit17.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090317/d099a207/attachment.html
More information about the Qt-interest-old
mailing list