[Qt-interest] Minimize B on Minimize A.

william.crocker at analog.com william.crocker at analog.com
Thu Jul 1 01:51:44 CEST 2010



Arnold Krille wrote:
> 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...
>

I really want a dialog window with the *option* of
staying on top.  I failed with WindowStateChange in the past,
but should give it another try.

> For example you might pass Qt::Tool as window-flag.
> 
> Arnold
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest



More information about the Qt-interest-old mailing list