- Written by David Nichols
- Parent Category: Modules
- Last Updated: 22 January 2013
- Created: 05 October 2008
This is the QT widget example "windowflags" ported from C++ to Qore.
The Window Flags example shows how to use the window flags available in Qt.
A window flag is either a type or a hint. A type is used to specify various window-system properties for the widget. A widget can only have one type, and the default is Qt::Widget. However, a widget can have zero or more hints. The hints are used to customize the appearance of top-level windows.
A widget's flags are stored in a Qt::WindowFlags type which stores an OR combination of the flags.