PDA

View Full Version : How to keep tool windows activated



marcel
21st April 2007, 18:34
Hello all,

Please have a look at the Window Flags example in the Qt Demos ( Widgets section ).
Set the type of the window to Tool.

Now, when you click in the tool, the parent window title bar will be deactivated. Also when you click in the main window, the tool window title bar will be deactivated.

Is there a way of keeping both active, no matter which widget has the focus ( except implementing a custom style )?

For example. look at Photoshop, or Illustrator ( anyway, their tool windows are custom drawn, but the main window doesn't get deactivated when you click in one of them ).

Regards

marcel
13th May 2007, 19:02
This is solved in 4.3, for whoever is interested.