[Qt-interest] QMainWindow with QTool title bar

Andre Somers andre at familiesomers.nl
Wed Mar 24 09:58:25 CET 2010


Israel Brewster wrote:
> How can I make a QMainWindow that behaves like a standard window, but 
> with a QTool style title bar? That is, I want the window to be 
> non-floating, and to remain visible when the application is in the 
> background, but I want the small title bar of a QTool window. The 
> problem here is that I am trying to make a very small window, and 
> having a standard title bar is very ugly on it. Thanks.
Try playing around with the many window flags. Perhaps Qt::Tool would do 
the trick.

André



More information about the Qt-interest-old mailing list