- Qt::widget: The default value of the Qwidget constructor, such as a new window part without a parent widget, is a separate window, or a child widget.
- Qt::window: Regardless of whether there is a parent widget, the new window part is a window, usually with a window border and a title bar.
- Qt::D ialog: A new Window widget is a dialog box
- Qt::sheet: The new widget is a Macintosh form.
- Qt::D rawer: The new widget is a Macintosh drawer.
- Qt::P opup: The new widget is a pop-up top-level window.
- Qt::tool: The new widget is a tool window, which is usually a small window for displaying tool buttons.
Port, if a tool window has a parent widget, it will appear on top of the parent widget, otherwise it will be equivalent to using the Qt::windowstaysontophint display.
- Qt::tooltip: The new widget is a hint window with no title bar and window border.
- Qt::splashscreen: The new widget is a welcome window, which is the default value for the Qsplashscreen constructor.
- Qt::D esktop: The new widget is the desktop, which is the default value of the Qdesktopwidget constructor.
- Qt::subwindow: The new window part is a child window, regardless of whether the widget has a parent widget.
- Qt::x11bypasswindowmanagerhint: completely ignores the window manager, its role is to produce a window without the manager's windowless border, at this time, the user cannot use the keyboard for input, unless manually call Qwidget:: The Activatewindow () function.
- Qt::framelesswindowhint: creates a window without a window border, at which time the user cannot move the window and change its size.
- Qt::customizewindowhint: Closes the default window caption prompt.
http://blog.csdn.net/ly305750665/article/details/77937997
Qt::windowflags enumeration type (for Qt::widget qt::window Qt::D ialog, where qt::widget is dual-use, such as a new widget without a parent widget, it is a separate window, Otherwise, it is a child widget)