Normally, you can ignore this class. QObject and a few other classes inherit it, so all the identifiers in the TQt namespace are normally usable without qualification.
However, you may occasionally need to say \fCQt::black\fR instead of just \fCblack\fR, particularly in static utility functions (such as many class factories).
.PP
See also Miscellaneous Classes.
.SS "Member Type Documentation"
.SH "Qt::AlignmentFlags"
This enum type is used to describe alignment. It contains horizontal and vertical flags.
.PP
The horizontal flags are:
.TP
\fCQt::AlignAuto\fR - Aligns according to the language. Left for most, right for Arabic and Hebrew.
.TP
\fCQt::AlignLeft\fR - Aligns with the left edge.
.TP
\fCQt::AlignRight\fR - Aligns with the right edge.
.TP
\fCQt::AlignHCenter\fR - Centers horizontally in the available space.
.TP
\fCQt::AlignJustify\fR - Justifies the text in the available space. Does not work for everything and may be interpreted as AlignAuto in some cases.
.PP
The vertical flags are:
.TP
\fCQt::AlignTop\fR - Aligns with the top.
.TP
\fCQt::AlignBottom\fR - Aligns with the bottom.
.TP
\fCQt::AlignVCenter\fR - Centers vertically in the available space.
.PP
You can use only one of the horizontal flags at a time. There is one two-dimensional flag:
.TP
\fCQt::AlignCenter\fR - Centers in both dimensions.
.PP
You can use at most one horizontal and one vertical flag at a time. AlignCenter counts as both horizontal and vertical.
.PP
Masks:
.TP
\fCQt::AlignHorizontal_Mask\fR
.TP
\fCQt::AlignVertical_Mask\fR
.PP
Conflicting combinations of flags have undefined meanings.
.SH "Qt::AnchorAttribute"
An anchor has one or more of the following attributes:
.TP
\fCQt::AnchorName\fR - the name attribute of the anchor. This attribute is used when scrolling to an anchor in the document.
.TP
\fCQt::AnchorHref\fR - the href attribute of the anchor. This attribute is used when a link is clicked to determine what content to load.
.SH "Qt::ArrowType"
.TP
\fCQt::UpArrow\fR
.TP
\fCQt::DownArrow\fR
.TP
\fCQt::LeftArrow\fR
.TP
\fCQt::RightArrow\fR
.SH "Qt::BGMode"
Background mode
.TP
\fCQt::TransparentMode\fR
.TP
\fCQt::OpaqueMode\fR
.SH "Qt::BackgroundMode"
This enum describes how the background of a widget changes, as the widget's palette changes.
.PP
The background is what the widget contains when paintEvent() is called. To minimize flicker, this should be the most common color or pixmap in the widget. For PaletteBackground, use colorGroup().brush( QColorGroup::Background ), and so on.
.TP
\fCQt::PaletteForeground\fR
.TP
\fCQt::PaletteBackground\fR
.TP
\fCQt::PaletteButton\fR
.TP
\fCQt::PaletteLight\fR
.TP
\fCQt::PaletteMidlight\fR
.TP
\fCQt::PaletteDark\fR
.TP
\fCQt::PaletteMid\fR
.TP
\fCQt::PaletteText\fR
.TP
\fCQt::PaletteBrightText\fR
.TP
\fCQt::PaletteButtonText\fR
.TP
\fCQt::PaletteBase\fR
.TP
\fCQt::PaletteShadow\fR
.TP
\fCQt::PaletteHighlight\fR
.TP
\fCQt::PaletteHighlightedText\fR
.TP
\fCQt::PaletteLink\fR
.TP
\fCQt::PaletteLinkVisited\fR
.TP
\fCQt::X11ParentRelative\fR - (internal use only)
.PP
The final three values have special meaning:
.TP
\fCQt::NoBackground\fR - the widget is not cleared before paintEvent(). If the widget's paint event always draws on all the pixels, using this mode can be both fast and flicker-free.
.TP
\fCQt::FixedColor\fR - the widget is cleared to a fixed color, normally different from all the ones in the palette(). Set using setPaletteBackgroundColor().
.TP
\fCQt::FixedPixmap\fR - the widget is cleared to a fixed pixmap, normally different from all the ones in the palette(). Set using setPaletteBackgroundPixmap().
Although FixedColor and FixedPixmap are sometimes just right, if you use them, make sure that you test your application when the desktop color scheme has been changed. (On X11, a quick way to test this is e.g. "./myapp -bg paleblue". On Windows, you must use the control panel.)
See also QWidget::backgroundMode, QWidget::backgroundMode, QWidget::setBackgroundPixmap(), and QWidget::paletteBackgroundColor.
.SH "Qt::BrushStyle"
.TP
\fCQt::NoBrush\fR
.TP
\fCQt::SolidPattern\fR
.TP
\fCQt::Dense1Pattern\fR
.TP
\fCQt::Dense2Pattern\fR
.TP
\fCQt::Dense3Pattern\fR
.TP
\fCQt::Dense4Pattern\fR
.TP
\fCQt::Dense5Pattern\fR
.TP
\fCQt::Dense6Pattern\fR
.TP
\fCQt::Dense7Pattern\fR
.TP
\fCQt::HorPattern\fR
.TP
\fCQt::VerPattern\fR
.TP
\fCQt::CrossPattern\fR
.TP
\fCQt::BDiagPattern\fR
.TP
\fCQt::FDiagPattern\fR
.TP
\fCQt::DiagCrossPattern\fR
.TP
\fCQt::CustomPattern\fR
.PP
<center>
.ce 1
.B "[Image Omitted]"
.PP
</center>
.SH "Qt::ButtonState"
This enum type describes the state of the mouse and the modifier buttons.
.TP
\fCQt::NoButton\fR - used when the button state does not refer to any button (see QMouseEvent::button()).
.TP
\fCQt::LeftButton\fR - set if the left button is pressed, or if this event refers to the left button. (The left button may be the right button on left-handed mice.)
.TP
\fCQt::RightButton\fR - the right button.
.TP
\fCQt::MidButton\fR - the middle button.
.TP
\fCQt::ShiftButton\fR - a Shift key on the keyboard is also pressed.
.TP
\fCQt::ControlButton\fR - a Ctrl key on the keyboard is also pressed.
.TP
\fCQt::AltButton\fR - an Alt key on the keyboard is also pressed.
.TP
\fCQt::MetaButton\fR - a Meta key on the keyboard is also pressed.
.TP
\fCQt::Keypad\fR - a keypad button is pressed.
.TP
\fCQt::KeyButtonMask\fR - a mask for ShiftButton, ControlButton, AltButton and MetaButton.
.TP
\fCQt::MouseButtonMask\fR - a mask for LeftButton, RightButton and MidButton.
.SH "Qt::Corner"
This enum type specifies a corner in a rectangle:
.TP
\fCQt::TopLeft\fR - top left corner
.TP
\fCQt::TopRight\fR - top right corner
.TP
\fCQt::BottomLeft\fR - bottom left corner
.TP
\fCQt::BottomRight\fR - bottom right corner
.SH "Qt::CursorShape"
This enum type defines the various cursors that can be used.
.TP
\fCQt::ArrowCursor\fR - standard arrow cursor
.TP
\fCQt::UpArrowCursor\fR - upwards arrow
.TP
\fCQt::CrossCursor\fR - crosshair
.TP
\fCQt::WaitCursor\fR - hourglass/watch
.TP
\fCQt::BusyCursor\fR - standard arrow with hourglass/watch
\fCQt::ISODate\fR - ISO 8601 extended format (YYYY-MM-DD, or with time, YYYY-MM-DDTHH:MM:SS)
.TP
\fCQt::LocalDate\fR - locale dependent format
.SH "Qt::Dock"
Each dock window can be in one of the following positions:
.TP
\fCQt::DockTop\fR - above the central widget, below the menu bar.
.TP
\fCQt::DockBottom\fR - below the central widget, above the status bar.
.TP
\fCQt::DockLeft\fR - to the left of the central widget.
.TP
\fCQt::DockRight\fR - to the right of the central widget.
.TP
\fCQt::DockMinimized\fR - the dock window is not shown (this is effectively a 'hidden' dock area); the handles of all minimized dock windows are drawn in one row below the menu bar.
.TP
\fCQt::DockTornOff\fR - the dock window floats as its own top level window which always stays on top of the main window.
.TP
\fCQt::DockUnmanaged\fR - not managed by a QMainWindow.
.SH "Qt::GUIStyle"
\fBThis type is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.TP
\fCQt::WindowsStyle\fR
.TP
\fCQt::MotifStyle\fR
.TP
\fCQt::MacStyle\fR
.TP
\fCQt::Win3Style\fR
.TP
\fCQt::PMStyle\fR
.SH "Qt::ImageConversionFlags"
The conversion flag is a bitwise-OR of the following values. The options marked "(default)" are set if no other values from the list are included (since the defaults are zero):
.PP
Color/Mono preference (ignored for QBitmap)
.TP
\fCQt::AutoColor\fR - (default) - If the image has depth 1 and contains only black and white pixels, the pixmap becomes monochrome.
.TP
\fCQt::ColorOnly\fR - The pixmap is dithered/converted to the native display depth.
.TP
\fCQt::MonoOnly\fR - The pixmap becomes monochrome. If necessary, it is dithered using the chosen dithering algorithm.
.PP
Dithering mode preference for RGB channels
.TP
\fCQt::DiffuseDither\fR - (default) - A high-quality dither.
.TP
\fCQt::OrderedDither\fR - A faster, more ordered dither.
.TP
\fCQt::ThresholdDither\fR - No dithering; closest color is used.
.PP
Dithering mode preference for alpha channel
.TP
\fCQt::ThresholdAlphaDither\fR - (default) - No dithering.
.TP
\fCQt::OrderedAlphaDither\fR - A faster, more ordered dither.
.TP
\fCQt::DiffuseAlphaDither\fR - A high-quality dither.
.TP
\fCQt::NoAlpha\fR - Not supported.
.PP
Color matching versus dithering preference
.TP
\fCQt::PreferDither\fR - (default when converting to a pixmap) - Always dither 32-bit images when the image is converted to 8 bits.
.TP
\fCQt::AvoidDither\fR - (default when converting for the purpose of saving to file) - Dither 32-bit images only if the image has more than 256 colors and it is being converted to 8 bits.
.TP
\fCQt::AutoDither\fR - Not supported.
.PP
The following are not values that are used directly, but masks for the above classes:
.TP
\fCQt::ColorMode_Mask\fR - Mask for the color mode.
.TP
\fCQt::Dither_Mask\fR - Mask for the dithering mode for RGB channels.
.TP
\fCQt::AlphaDither_Mask\fR - Mask for the dithering mode for the alpha channel.
.TP
\fCQt::DitherMode_Mask\fR - Mask for the mode that determines the preference of color matching versus dithering.
.PP
Using 0 as the conversion flag sets all the default options.
This type is used to signify an object's orientation.
.TP
\fCQt::Horizontal\fR
.TP
\fCQt::Vertical\fR
.PP
Orientation is used with QScrollBar for example.
.SH "Qt::PaintUnit"
.TP
\fCQt::PixelUnit\fR
.TP
\fCQt::LoMetricUnit\fR - \fIobsolete\fR
.TP
\fCQt::HiMetricUnit\fR - \fIobsolete\fR
.TP
\fCQt::LoEnglishUnit\fR - \fIobsolete\fR
.TP
\fCQt::HiEnglishUnit\fR - \fIobsolete\fR
.TP
\fCQt::TwipsUnit\fR - \fIobsolete\fR
.SH "Qt::PenCapStyle"
This enum type defines the pen cap styles supported by Qt, i.e. the line end caps that can be drawn using QPainter.
.TP
\fCQt::FlatCap\fR - a square line end that does not cover the end point of the line.
.TP
\fCQt::SquareCap\fR - a square line end that covers the end point and extends beyond it with half the line width.
.TP
\fCQt::RoundCap\fR - a rounded line end.
.TP
\fCQt::MPenCapStyle\fR - mask of the pen cap styles.
.PP
<center>
.ce 1
.B "[Image Omitted]"
.PP
</center>
.SH "Qt::PenJoinStyle"
This enum type defines the pen join styles supported by Qt, i.e. which joins between two connected lines can be drawn using QPainter.
.TP
\fCQt::MiterJoin\fR - The outer edges of the lines are extended to meet at an angle, and this area is filled.
.TP
\fCQt::BevelJoin\fR - The triangular notch between the two lines is filled.
.TP
\fCQt::RoundJoin\fR - A circular arc between the two lines is filled.
.TP
\fCQt::MPenJoinStyle\fR - mask of the pen join styles.
.PP
<center>
.ce 1
.B "[Image Omitted]"
.PP
</center>
.SH "Qt::PenStyle"
This enum type defines the pen styles that can be drawn using QPainter. The styles are
.TP
\fCQt::NoPen\fR - no line at all. For example, QPainter::drawRect() fills but does not draw any boundary line.
.TP
\fCQt::SolidLine\fR - a simple line.
.TP
\fCQt::DashLine\fR - dashes separated by a few pixels.
.TP
\fCQt::DotLine\fR - dots separated by a few pixels.
.TP
\fCQt::DashDotLine\fR - alternate dots and dashes.
.TP
\fCQt::DashDotDotLine\fR - one dash, two dots, one dash, two dots.
.TP
\fCQt::MPenStyle\fR - mask of the pen styles.
.PP
<center>
.ce 1
.B "[Image Omitted]"
.PP
</center>
.SH "Qt::RasterOp"
This enum type is used to describe the way things are written to the paint device. Each bit of the \fIsrc\fR (what you write) interacts with the corresponding bit of the \fIdst\fR pixel.
.TP
\fCQt::CopyROP\fR - dst = src
.TP
\fCQt::OrROP\fR - dst = src OR dst
.TP
\fCQt::XorROP\fR - dst = src XOR dst
.TP
\fCQt::NotAndROP\fR - dst = (NOT src) AND dst
.TP
\fCQt::EraseROP\fR - an alias for NotAndROP
.TP
\fCQt::NotCopyROP\fR - dst = NOT src
.TP
\fCQt::NotOrROP\fR - dst = (NOT src) OR dst
.TP
\fCQt::NotXorROP\fR - dst = (NOT src) XOR dst
.TP
\fCQt::AndROP\fR - dst = src AND dst
.TP
\fCQt::NotEraseROP\fR - an alias for AndROP
.TP
\fCQt::NotROP\fR - dst = NOT dst
.TP
\fCQt::ClearROP\fR - dst = 0
.TP
\fCQt::SetROP\fR - dst = 1
.TP
\fCQt::NopROP\fR - dst = dst
.TP
\fCQt::AndNotROP\fR - dst = src AND (NOT dst)
.TP
\fCQt::OrNotROP\fR - dst = src OR (NOT dst)
.TP
\fCQt::NandROP\fR - dst = NOT (src AND dst)
.TP
\fCQt::NorROP\fR - dst = NOT (src OR dst)
.PP
By far the most useful ones are CopyROP and XorROP.
.PP
On Qt/Embedded, only CopyROP, XorROP, and NotROP are supported.
.SH "Qt::SequenceMatch"
.TP
\fCQt::NoMatch\fR - Sequences have nothing in common
.TP
\fCQt::PartialMatch\fR - Sequences match partially, but are not complete
.TP
\fCQt::Identical\fR - Sequences do not differ
.SH "Qt::SortOrder"
This enum describes how the items in a widget are sorted.
.TP
\fCQt::Ascending\fR - The items are sorted ascending e.g. starts with 'AAA' ends with 'ZZZ' in Latin-1 locales
.TP
\fCQt::Descending\fR - The items are sorted descending e.g. starts with 'ZZZ' ends with 'AAA' in Latin-1 locales
.SH "Qt::StringComparisonMode"
This enum type is used to set the string comparison mode when searching for an item. It is used by QListBox, QListView and QIconView, for example. We'll refer to the string being searched as the 'target' string.
.TP
\fCQt::CaseSensitive\fR - The strings must match case sensitively.
.TP
\fCQt::ExactMatch\fR - The target and search strings must match exactly.
.TP
\fCQt::BeginsWith\fR - The target string begins with the search string.
.TP
\fCQt::EndsWith\fR - The target string ends with the search string.
.TP
\fCQt::Contains\fR - The target string contains the search string.
.PP
If you OR these flags together (excluding CaseSensitive), the search criteria be applied in the following order: ExactMatch, BeginsWith, EndsWith, Contains.
.PP
Matching is case-insensitive unless CaseSensitive is set. CaseSensitive can be OR-ed with any combination of the other flags.
.SH "Qt::TextFlags"
This enum type is used to define some modifier flags. Some of these flags only make sense in the context of printing:
.TP
\fCQt::SingleLine\fR - Treats all whitespace as spaces and prints just one line.
.TP
\fCQt::DontClip\fR - If it's impossible to stay within the given bounds, it prints outside.
.TP
\fCQt::ExpandTabs\fR - Makes the U+0009 (ASCII tab) character move to the next tab stop.
.TP
\fCQt::ShowPrefix\fR - Displays the string "&P" as <u>P</u> (see QButton for an example). For an ampersand, use "&&".
.TP
\fCQt::WordBreak\fR - Breaks lines at appropriate points, e.g. at word boundaries.
.TP
\fCQt::BreakAnywhere\fR - Breaks lines anywhere, even within words.
.TP
\fCQt::NoAccel\fR - Same as ShowPrefix but doesn't draw the underlines.
.PP
You can use as many modifier flags as you want, except that SingleLine and WordBreak cannot be combined.
.PP
Flags that are inappropriate for a given use (e.g. ShowPrefix to QGridLayout::addWidget()) are generally ignored.
.SH "Qt::TextFormat"
This enum is used in widgets that can display both plain text and rich text, e.g. QLabel. It is used for deciding whether a text string should be interpreted as one or the other. This is normally done by passing one of the enum values to a setTextFormat() function.
.TP
\fCQt::PlainText\fR - The text string is interpreted as a plain text string.
.TP
\fCQt::RichText\fR - The text string is interpreted as a rich text string using the current QStyleSheet::defaultSheet().
.TP
\fCQt::AutoText\fR - The text string is interpreted as for RichText if QStyleSheet::mightBeRichText() returns TRUE, otherwise as PlainText.
.TP
\fCQt::LogText\fR - A special, limited text format which is only used by QTextEdit in an optimized mode.
.SH "Qt::TimeSpec"
.TP
\fCQt::LocalTime\fR - Locale dependent time (Timezones and Daylight Savings Time)
.TP
\fCQt::UTC\fR - Coordinated Universal Time, replaces Greenwich Time
.SH "Qt::UIEffect"
.TP
\fCQt::UI_General\fR
.TP
\fCQt::UI_AnimateMenu\fR
.TP
\fCQt::UI_FadeMenu\fR
.TP
\fCQt::UI_AnimateCombo\fR
.TP
\fCQt::UI_AnimateTooltip\fR
.TP
\fCQt::UI_FadeTooltip\fR
.TP
\fCQt::UI_AnimateToolBox\fR - Reserved
.SH "Qt::WidgetFlags"
.PP
This enum type is used to specify various window-system properties for the widget. They are fairly unusual but necessary in a few cases. Some of these flags depend on whether the underlying window manager supports them. (See the toplevel example for an explanation and example of their use.)
.PP
The main types are
.TP
\fCQt::WType_TopLevel\fR - indicates that this widget is a top-level widget, usually with a window-system frame and so on.
.TP
\fCQt::WType_Dialog\fR - indicates that this widget is a top-level window that should be decorated as a dialog (i.e. typically no maximize or minimize buttons in the title bar). If you want to use it as a modal dialog it should be launched from another window, or have a parent and this flag should be combined with WShowModal. If you make it modal, the dialog will prevent other top-level windows in the application from getting any input. WType_Dialog implies WType_TopLevel. We refer to a top-level window that has a parent as a \fIsecondary\fR window. (See also WGroupLeader.)
.TP
\fCQt::WType_Popup\fR - indicates that this widget is a popup top-level window, i.e. that it is modal, but has a window system frame appropriate for popup menus. WType_Popup implies WType_TopLevel.
.TP
\fCQt::WType_Desktop\fR - indicates that this widget is the desktop. See also WPaintDesktop below. WType_Desktop implies WType_TopLevel.
.PP
There are also a number of flags which you can use to customize the appearance of top-level windows. These have no effect on other windows:
.TP
\fCQt::WStyle_Customize\fR - indicates that the \fCWStyle_*\fR flags should be used to build the window instead of the default flags.
.TP
\fCQt::WStyle_NormalBorder\fR - gives the window a normal border. This cannot be combined with WStyle_DialogBorder or WStyle_NoBorder.
.TP
\fCQt::WStyle_DialogBorder\fR - gives the window a thin dialog border. This cannot be combined with WStyle_NormalBorder or WStyle_NoBorder.
.TP
\fCQt::WStyle_NoBorder\fR - produces a borderless window. Note that the user cannot move or resize a borderless window via the window system. This cannot be combined with WStyle_NormalBorder or WStyle_DialogBorder. On Windows, the flag works fine. On X11, the result of the flag is dependent on the window manager and its ability to understand MOTIF and/or NETWM hints: most existing modern window managers can handle this. With WX11BypassWM, you can bypass the window manager completely. This results in a borderless window that is not managed at all (i.e. no keyboard input unless you call setActiveWindow() manually).
.TP
\fCQt::WStyle_NoBorderEx\fR - this value is obsolete. It has the same effect as using WStyle_NoBorder.
.TP
\fCQt::WStyle_Title\fR - gives the window a title bar.
.TP
\fCQt::WStyle_SysMenu\fR - adds a window system menu.
.TP
\fCQt::WStyle_Minimize\fR - adds a minimize button. Note that on Windows this has to be combined with WStyle_SysMenu for it to work.
.TP
\fCQt::WStyle_Maximize\fR - adds a maximize button. Note that on Windows this has to be combined with WStyle_SysMenu for it to work.
.TP
\fCQt::WStyle_MinMax\fR - is equal to \fCWStyle_Minimize|WStyle_Maximize\fR. Note that on Windows this has to be combined with WStyle_SysMenu to work.
.TP
\fCQt::WStyle_ContextHelp\fR - adds a context help button to dialogs.
.TP
\fCQt::WStyle_Tool\fR - makes the window 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. It there is a parent, the tool window will always be kept on top of it. If there isn't a parent, you may consider passing WStyle_StaysOnTop 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 WStyle_NoBorder.
.TP
\fCQt::WStyle_StaysOnTop\fR - informs the window system that the window should stay on top of all other windows. Note that on some window managers on X11 you also have to pass WX11BypassWM for this flag to work correctly.
.TP
\fCQt::WStyle_Dialog\fR - indicates that the window is a logical subwindow of its parent (i.e. a dialog). The window will not get its own taskbar entry and will be kept on top of its parent by the window system. Usually it will also be minimized when the parent is minimized. If not customized, the window is decorated with a slightly simpler title bar. This is the flag QDialog uses.
.TP
\fCQt::WStyle_Splash\fR - indicates that the window is a splash screen. On X11, we try to follow NETWM standard for a splash screen window if the window manager supports is otherwise it is equivalent to WX11BypassWM. On other platforms, it is equivalent to WStyle_NoBorder \fC|\fR WMacNoSheet \fC|\fR WStyle_Tool \fC|\fR WWinOwnDC
\fCQt::WDestructiveClose\fR - makes TQt delete this widget when the widget has accepted closeEvent(), or when the widget tried to ignore closeEvent() but could not.
\fCQt::WPaintDesktop\fR - gives this widget paint events for the desktop.
.TP
\fCQt::WPaintUnclipped\fR - makes all painters operating on this widget unclipped. Children of this widget or other widgets in front of it do not clip the area the painter can paint on.
\fCQt::WPaintClever\fR - indicates that TQt should \fInot\fR try to optimize repainting for the widget, but instead pass on window system repaint events directly. (This tends to produce more events and smaller repaint regions.)
\fCQt::WMouseNoMask\fR - indicates that even if the widget has a mask, it wants mouse events for its entire rectangle.
.TP
\fCQt::WStaticContents\fR - indicates that the widget contents are north-west aligned and static. On resize, such a widget will receive paint events only for the newly visible part of itself.
.TP
\fCQt::WNoAutoErase\fR - indicates that the widget paints all its pixels. Updating, resizing, scrolling and focus changes should therefore not erase the widget. This allows smart-repainting to avoid flicker.
.TP
\fCQt::WResizeNoErase\fR - this value is obsolete; use WNoAutoErase instead.
.TP
\fCQt::WRepaintNoErase\fR - this value is obsolete; use WNoAutoErase instead.
.TP
\fCQt::WGroupLeader\fR - makes this window a group leader. A group leader should \fInot\fR have a parent (i.e. it should be a top-level window). Any decendant windows (direct or indirect) of a group leader are in its group; other windows are not. If you show a secondary window from the group (i.e. show a window whose top-most parent is a group leader), that window will be modal with respect to the other windows in the group, but modeless with respect to windows in other groups.
.PP
Miscellaneous flags
.TP
\fCQt::WShowModal\fR - see WType_Dialog
.PP
Internal flags.
.TP
\fCQt::WNoMousePropagation\fR
.TP
\fCQt::WStaticContents\fR
.TP
\fCQt::WStyle_Reserved\fR
.TP
\fCQt::WSubWindow\fR
.TP
\fCQt::WType_Modal\fR
.TP
\fCQt::WWinOwnDC\fR
.TP
\fCQt::WX11BypassWM\fR
.TP
\fCQt::WMacNoSheet\fR
.TP
\fCQt::WMacDrawer\fR
.TP
\fCQt::WStyle_Mask\fR
.TP
\fCQt::WType_Mask\fR
.SH "Qt::WidgetState"
Internal flags.
.TP
\fCQt::WState_Created\fR
.TP
\fCQt::WState_Disabled\fR
.TP
\fCQt::WState_Visible\fR
.TP
\fCQt::WState_ForceHide\fR
.TP
\fCQt::WState_OwnCursor\fR
.TP
\fCQt::WState_MouseTracking\fR
.TP
\fCQt::WState_CompressKeys\fR
.TP
\fCQt::WState_BlockUpdates\fR
.TP
\fCQt::WState_InPaintEvent\fR
.TP
\fCQt::WState_Reparented\fR
.TP
\fCQt::WState_ConfigPending\fR
.TP
\fCQt::WState_Resized\fR
.TP
\fCQt::WState_AutoMask\fR
.TP
\fCQt::WState_Polished\fR
.TP
\fCQt::WState_DND\fR
.TP
\fCQt::WState_Reserved0\fR - \fIinternal\fR
.TP
\fCQt::WState_CreatedHidden\fR
.TP
\fCQt::WState_Maximized\fR
.TP
\fCQt::WState_Minimized\fR
.TP
\fCQt::WState_ForceDisabled\fR
.TP
\fCQt::WState_Exposed\fR
.TP
\fCQt::WState_HasMouse\fR
.TP
\fCQt::WState_CreatedHidden\fR
.TP
\fCQt::WState_OwnSizePolicy\fR
.TP
\fCQt::WState_FullScreen\fR
.SH "Qt::WindowState"
.PP
This enum type is used to specify the current state of a top-level window.
.PP
The states are
.TP
\fCQt::WindowNoState\fR - The window has no state set (in normal state).
.TP
\fCQt::WindowMinimized\fR - The window is minimized (i.e. iconified).
.TP
\fCQt::WindowMaximized\fR - The window is maximized with a frame around it.
.TP
\fCQt::WindowFullScreen\fR - The window fills the entire screen without any frame around it.
.TP
\fCQt::WindowActive\fR - The window is the active window, i.e. it has keyboard focus.