Qore Programming Language

  • Increase font size
  • Default font size
  • Decrease font size

widget: windowflags example

E-mail Print PDF

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.

windowflags.q

Screenshots:

windowflags example windowflags example