Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.0.1, 5.2.1, 5.3.0 RC1
-
OSX 10.8.2, Qt 5.0.1
-
-
3d5fb54eda2330d76c11a10c39fc70541eddf4a5
Description
Qt::Tool
Indicates that the widget is a tool window. A tool window is often a small window with a smaller than usual title bar and decoration, typically used for collections of tool buttons. If there is a parent, the tool window will always be kept on top of it. If there isn't a parent, you may consider using Qt::WindowStaysOnTopHint as well. If the window system supports it, a tool window can be decorated with a somewhat lighter frame. It can also be combined with Qt::FramelessWindowHint.
QWidget *w(new QWidget());
w->setWindowFlags(Qt::Tool | Qt::FramelessWindowHint);
w->show();
Can be checked with widgets->windowflags example
Attachments
Issue Links
- replaces
-
QTBUG-38580 support Qt::WA_MacAlwaysShowToolWindow for Tool window
- Closed