[Qt-interest] Minimize B on Minimize A.

Arnold Krille arnold at arnoldarts.de
Wed Jun 30 23:27:41 CEST 2010


On Wednesday 30 June 2010 21:28:47 william.crocker at analog.com wrote:
> Hello:
> 
> When the user minimizes(iconifies) top-level window A
> I would like to have my app automatically minimize
> top-level window B.
> 
> The problem is that the event trail generated by
> minimizing a top level window (deactivate, hide...)
> appears indistinguishable from that generated by
> changing work spaces and I do not want to minimize
> B if the user changes work spaces.
> 
> Yes. I considered making B a QDialog, but QDialog
> windows are forced (at least by my window manager)
> to stay on top of their parent window and I do not
> want that.

You want it more like a (detached) toolbar or a palette? Probably there is a 
window-flag for that. Like a dialog but without the modal and on-top...

For example you might pass Qt::Tool as window-flag.

Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100630/eaab0591/attachment.bin 


More information about the Qt-interest-old mailing list