Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 4

Qt-interest Archive, May 2008
Getting a list of top level widgets.


Message 1 in thread

Do anyone know how to get a list of Top level widgets.
I'm interested in finding all currently open floating windows,
so that I can hide them temporarily when displaying a save
dialog on Mac OS X.
The problem I need to handle is that as the save dialog is displayed
as a sheet on the frontmost Document window, it is shown BEHIND
all floating windows, which are not possible to close while displaying  
the
save dialog.
------------------------------------------------------
"Home is not where you are born, but where your heart finds peace" -
Tommy Nordgren, "The dying old crone"
tommy.nordgren@xxxxxxxxx


--
 [ signature omitted ] 

Message 2 in thread

Tommy Nordgren wrote:
>Do anyone know how to get a list of Top level widgets.
>I'm interested in finding all currently open floating windows,
>so that I can hide them temporarily when displaying a save
>dialog on Mac OS X.

http://doc.trolltech.com/4.4/qapplication.html#topLevelWidgets
-- 
 [ signature omitted ] 

Attachment: signature.asc
Description: This is a digitally signed message part.


Message 3 in thread

On 18.05.08 20:42:20, Tommy Nordgren wrote:
> Do anyone know how to get a list of Top level widgets.

Are we talking about Qt top level widgets, or all windows you have on
your desktop? The latter will need different code for each platform
you're targeting, the former is available in QApplication.

Andreas

-- 
 [ signature omitted ]