Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > media > contrib > by-pkgid > 112b0974ad288f6cd55bf971ee6026a9 > files > 1886

libqt3-devel-3.0.2-2mdk.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- /tmp/qt-3.0-reggie-28534/qt-x11-free-3.0.2/src/kernel/qobject.cpp:62 -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Qt Class</title>
<style type="text/css"><!--
h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm; }
a:link { color: #004faf; text-decoration: none }
a:visited { color: #672967; text-decoration: none }
body { background: #ffffff; color: black; }
--></style>
</head>
<body>

<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr bgcolor="#E5E5E5">
<td valign=center>
 <a href="index.html">
<font color="#004faf">Home</font></a>
 | <a href="classes.html">
<font color="#004faf">All&nbsp;Classes</font></a>
 | <a href="mainclasses.html">
<font color="#004faf">Main&nbsp;Classes</font></a>
 | <a href="annotated.html">
<font color="#004faf">Annotated</font></a>
 | <a href="groups.html">
<font color="#004faf">Grouped&nbsp;Classes</font></a>
 | <a href="functions.html">
<font color="#004faf">Functions</font></a>
</td>
<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Qt Class Reference</h1>

<p>The Qt class is a namespace for miscellaneous identifiers
that need to be global-like.
<a href="#details">More...</a>
<p><tt>#include &lt;<a href="qnamespace-h.html">qnamespace.h</a>&gt;</tt>
<p>Inherited by <a href="qobject.html">QObject</a>, <a href="qpixmap.html">QPixmap</a>, <a href="qbrush.html">QBrush</a>, <a href="qcanvasitem.html">QCanvasItem</a>, <a href="qcursor.html">QCursor</a>, <a href="qpainter.html">QPainter</a>, <a href="qevent.html">QEvent</a>, <a href="qiconviewitem.html">QIconViewItem</a>, <a href="qkeysequence.html">QKeySequence</a>, <a href="qlistviewitem.html">QListViewItem</a>, <a href="qcustommenuitem.html">QCustomMenuItem</a>, <a href="qpen.html">QPen</a>, <a href="qstylesheetitem.html">QStyleSheetItem</a>, <a href="qtab.html">QTab</a>, <a href="qtableitem.html">QTableItem</a>, <a href="qthread.html">QThread</a>, <a href="qtooltip.html">QToolTip</a> and <a href="qwhatsthis.html">QWhatsThis</a>.
<p><a href="qt-members.html">List of all member functions.</a>
<h2>Public Members</h2>
<ul>
<li><div class=fn>enum <a href="#ButtonState-enum"><b>ButtonState</b></a> { NoButton = 0x0000, LeftButton = 0x0001, RightButton = 0x0002, MidButton = 0x0004, MouseButtonMask = 0x00ff, ShiftButton = 0x0100, ControlButton = 0x0200, AltButton = 0x0400, MetaButton = 0x0800, KeyButtonMask = 0x0fff, Keypad = 0x4000 }</div></li>
<li><div class=fn>enum <a href="#Orientation-enum"><b>Orientation</b></a> { Horizontal = 0, Vertical }</div></li>
<li><div class=fn>enum <a href="#AlignmentFlags-enum"><b>AlignmentFlags</b></a> { AlignAuto = 0x0000, AlignLeft = 0x0001, AlignRight = 0x0002, AlignHCenter = 0x0004, AlignJustify = 0x0008, AlignHorizontal_Mask = AlignLeft | AlignRight | AlignHCenter | AlignJustify, AlignTop = 0x0010, AlignBottom = 0x0020, AlignVCenter = 0x0040, AlignVertical_Mask = AlignTop | AlignBottom | AlignVCenter, AlignCenter = AlignVCenter | AlignHCenter }</div></li>
<li><div class=fn>enum <a href="#TextFlags-enum"><b>TextFlags</b></a> { SingleLine = 0x0080, DontClip = 0x0100, ExpandTabs = 0x0200, ShowPrefix = 0x0400, WordBreak = 0x0800, BreakAnywhere = 0x1000, DontPrint = 0x2000, NoAccel = 0x4000 }</div></li>
<li><div class=fn>enum <a href="#WidgetState-enum"><b>WidgetState</b></a> { WState_Created = 0x00000001, WState_Disabled = 0x00000002, WState_Visible = 0x00000004, WState_ForceHide = 0x00000008, WState_OwnCursor = 0x00000010, WState_MouseTracking = 0x00000020, WState_CompressKeys = 0x00000040, WState_BlockUpdates = 0x00000080, WState_InPaintEvent = 0x00000100, WState_Reparented = 0x00000200, WState_ConfigPending = 0x00000400, WState_Resized = 0x00000800, WState_AutoMask = 0x00001000, WState_Polished = 0x00002000, WState_DND = 0x00004000, WState_Reserved0 = 0x00008000, WState_Reserved1 = 0x00010000, WState_Reserved2 = 0x00020000, WState_Reserved3 = 0x00040000, WState_Maximized = 0x00080000, WState_Minimized = 0x00100000, WState_ForceDisabled = 0x00200000, WState_Exposed = 0x00400000, WState_HasMouse = 0x00800000 }</div></li>
<li><div class=fn>enum <a href="#WidgetFlags-enum"><b>WidgetFlags</b></a> { WType_TopLevel = 0x00000001, WType_Dialog = 0x00000002, WType_Popup = 0x00000004, WType_Desktop = 0x00000008, WType_Mask = 0x0000000f, WStyle_Customize = 0x00000010, WStyle_NormalBorder = 0x00000020, WStyle_DialogBorder = 0x00000040, WStyle_NoBorder = 0x00002000, WStyle_Title = 0x00000080, WStyle_SysMenu = 0x00000100, WStyle_Minimize = 0x00000200, WStyle_Maximize = 0x00000400, WStyle_MinMax = WStyle_Minimize | WStyle_Maximize, WStyle_Tool = 0x00000800, WStyle_StaysOnTop = 0x00001000, WStyle_ContextHelp = 0x00004000, WStyle_Reserved = 0x00008000, WStyle_Mask = 0x0000fff0, WDestructiveClose = 0x00010000, WPaintDesktop = 0x00020000, WPaintUnclipped = 0x00040000, WPaintClever = 0x00080000, WResizeNoErase = 0x00100000, WMouseNoMask = 0x00200000, WStaticContents = 0x00400000, WRepaintNoErase = 0x00800000, WX11BypassWM = 0x01000000, WWinOwnDC = 0x00000000, WGroupLeader = 0x02000000, WShowModal = 0x04000000, WNoMousePropagation = 0x08000000, WSubWindow = 0x10000000, WNorthWestGravity = WStaticContents, WType_Modal = WType_Dialog | WShowModal, WStyle_Dialog = WType_Dialog, WStyle_NoBorderEx = WStyle_NoBorder }</div></li>
<li><div class=fn>enum <a href="#ImageConversionFlags-enum"><b>ImageConversionFlags</b></a> { ColorMode_Mask = 0x00000003, AutoColor = 0x00000000, ColorOnly = 0x00000003, MonoOnly = 0x00000002, AlphaDither_Mask = 0x0000000c, ThresholdAlphaDither = 0x00000000, OrderedAlphaDither = 0x00000004, DiffuseAlphaDither = 0x00000008, NoAlpha = 0x0000000c, Dither_Mask = 0x00000030, DiffuseDither = 0x00000000, OrderedDither = 0x00000010, ThresholdDither = 0x00000020, DitherMode_Mask = 0x000000c0, AutoDither = 0x00000000, PreferDither = 0x00000040, AvoidDither = 0x00000080 }</div></li>
<li><div class=fn>enum <a href="#BGMode-enum"><b>BGMode</b></a> { TransparentMode, OpaqueMode }</div></li>
<li><div class=fn>enum <a href="#PaintUnit-enum"><b>PaintUnit</b></a> { PixelUnit, LoMetricUnit, HiMetricUnit, LoEnglishUnit, HiEnglishUnit, TwipsUnit }</div></li>
<li><div class=fn>enum GUIStyle { MacStyle, WindowsStyle, Win3Style, PMStyle, MotifStyle } &nbsp;<em>(obsolete)</em></div></li>
<li><div class=fn>enum <a href="#Modifier-enum"><b>Modifier</b></a> { SHIFT = 0x00200000, CTRL = 0x00400000, ALT = 0x00800000, MODIFIER_MASK = 0x00e00000, UNICODE_ACCEL = 0x10000000, ASCII_ACCEL = UNICODE_ACCEL }</div></li>
<li><div class=fn>enum <a href="#Key-enum"><b>Key</b></a> { Key_Escape = 0x1000, Key_Tab = 0x1001, Key_Backtab = 0x1002, Key_BackTab = Key_Backtab, Key_Backspace = 0x1003, Key_BackSpace = Key_Backspace, Key_Return = 0x1004, Key_Enter = 0x1005, Key_Insert = 0x1006, Key_Delete = 0x1007, Key_Pause = 0x1008, Key_Print = 0x1009, Key_SysReq = 0x100a, Key_Home = 0x1010, Key_End = 0x1011, Key_Left = 0x1012, Key_Up = 0x1013, Key_Right = 0x1014, Key_Down = 0x1015, Key_Prior = 0x1016, Key_PageUp = Key_Prior, Key_Next = 0x1017, Key_PageDown = Key_Next, Key_Shift = 0x1020, Key_Control = 0x1021, Key_Meta = 0x1022, Key_Alt = 0x1023, Key_CapsLock = 0x1024, Key_NumLock = 0x1025, Key_ScrollLock = 0x1026, Key_F1 = 0x1030, Key_F2 = 0x1031, Key_F3 = 0x1032, Key_F4 = 0x1033, Key_F5 = 0x1034, Key_F6 = 0x1035, Key_F7 = 0x1036, Key_F8 = 0x1037, Key_F9 = 0x1038, Key_F10 = 0x1039, Key_F11 = 0x103a, Key_F12 = 0x103b, Key_F13 = 0x103c, Key_F14 = 0x103d, Key_F15 = 0x103e, Key_F16 = 0x103f, Key_F17 = 0x1040, Key_F18 = 0x1041, Key_F19 = 0x1042, Key_F20 = 0x1043, Key_F21 = 0x1044, Key_F22 = 0x1045, Key_F23 = 0x1046, Key_F24 = 0x1047, Key_F25 = 0x1048, Key_F26 = 0x1049, Key_F27 = 0x104a, Key_F28 = 0x104b, Key_F29 = 0x104c, Key_F30 = 0x104d, Key_F31 = 0x104e, Key_F32 = 0x104f, Key_F33 = 0x1050, Key_F34 = 0x1051, Key_F35 = 0x1052, Key_Super_L = 0x1053, Key_Super_R = 0x1054, Key_Menu = 0x1055, Key_Hyper_L = 0x1056, Key_Hyper_R = 0x1057, Key_Help = 0x1058, Key_Direction_L = 0x1059, Key_Direction_R = 0x1060, Key_Space = 0x20, Key_Any = Key_Space, Key_Exclam = 0x21, Key_QuoteDbl = 0x22, Key_NumberSign = 0x23, Key_Dollar = 0x24, Key_Percent = 0x25, Key_Ampersand = 0x26, Key_Apostrophe = 0x27, Key_ParenLeft = 0x28, Key_ParenRight = 0x29, Key_Asterisk = 0x2a, Key_Plus = 0x2b, Key_Comma = 0x2c, Key_Minus = 0x2d, Key_Period = 0x2e, Key_Slash = 0x2f, Key_0 = 0x30, Key_1 = 0x31, Key_2 = 0x32, Key_3 = 0x33, Key_4 = 0x34, Key_5 = 0x35, Key_6 = 0x36, Key_7 = 0x37, Key_8 = 0x38, Key_9 = 0x39, Key_Colon = 0x3a, Key_Semicolon = 0x3b, Key_Less = 0x3c, Key_Equal = 0x3d, Key_Greater = 0x3e, Key_Question = 0x3f, Key_At = 0x40, Key_A = 0x41, Key_B = 0x42, Key_C = 0x43, Key_D = 0x44, Key_E = 0x45, Key_F = 0x46, Key_G = 0x47, Key_H = 0x48, Key_I = 0x49, Key_J = 0x4a, Key_K = 0x4b, Key_L = 0x4c, Key_M = 0x4d, Key_N = 0x4e, Key_O = 0x4f, Key_P = 0x50, Key_Q = 0x51, Key_R = 0x52, Key_S = 0x53, Key_T = 0x54, Key_U = 0x55, Key_V = 0x56, Key_W = 0x57, Key_X = 0x58, Key_Y = 0x59, Key_Z = 0x5a, Key_BracketLeft = 0x5b, Key_Backslash = 0x5c, Key_BracketRight = 0x5d, Key_AsciiCircum = 0x5e, Key_Underscore = 0x5f, Key_QuoteLeft = 0x60, Key_BraceLeft = 0x7b, Key_Bar = 0x7c, Key_BraceRight = 0x7d, Key_AsciiTilde = 0x7e, Key_nobreakspace = 0x0a0, Key_exclamdown = 0x0a1, Key_cent = 0x0a2, Key_sterling = 0x0a3, Key_currency = 0x0a4, Key_yen = 0x0a5, Key_brokenbar = 0x0a6, Key_section = 0x0a7, Key_diaeresis = 0x0a8, Key_copyright = 0x0a9, Key_ordfeminine = 0x0aa, Key_guillemotleft = 0x0ab, Key_notsign = 0x0ac, Key_hyphen = 0x0ad, Key_registered = 0x0ae, Key_macron = 0x0af, Key_degree = 0x0b0, Key_plusminus = 0x0b1, Key_twosuperior = 0x0b2, Key_threesuperior = 0x0b3, Key_acute = 0x0b4, Key_mu = 0x0b5, Key_paragraph = 0x0b6, Key_periodcentered = 0x0b7, Key_cedilla = 0x0b8, Key_onesuperior = 0x0b9, Key_masculine = 0x0ba, Key_guillemotright = 0x0bb, Key_onequarter = 0x0bc, Key_onehalf = 0x0bd, Key_threequarters = 0x0be, Key_questiondown = 0x0bf, Key_Agrave = 0x0c0, Key_Aacute = 0x0c1, Key_Acircumflex = 0x0c2, Key_Atilde = 0x0c3, Key_Adiaeresis = 0x0c4, Key_Aring = 0x0c5, Key_AE = 0x0c6, Key_Ccedilla = 0x0c7, Key_Egrave = 0x0c8, Key_Eacute = 0x0c9, Key_Ecircumflex = 0x0ca, Key_Ediaeresis = 0x0cb, Key_Igrave = 0x0cc, Key_Iacute = 0x0cd, Key_Icircumflex = 0x0ce, Key_Idiaeresis = 0x0cf, Key_ETH = 0x0d0, Key_Ntilde = 0x0d1, Key_Ograve = 0x0d2, Key_Oacute = 0x0d3, Key_Ocircumflex = 0x0d4, Key_Otilde = 0x0d5, Key_Odiaeresis = 0x0d6, Key_multiply = 0x0d7, Key_Ooblique = 0x0d8, Key_Ugrave = 0x0d9, Key_Uacute = 0x0da, Key_Ucircumflex = 0x0db, Key_Udiaeresis = 0x0dc, Key_Yacute = 0x0dd, Key_THORN = 0x0de, Key_ssharp = 0x0df, Key_agrave = 0x0e0, Key_aacute = 0x0e1, Key_acircumflex = 0x0e2, Key_atilde = 0x0e3, Key_adiaeresis = 0x0e4, Key_aring = 0x0e5, Key_ae = 0x0e6, Key_ccedilla = 0x0e7, Key_egrave = 0x0e8, Key_eacute = 0x0e9, Key_ecircumflex = 0x0ea, Key_ediaeresis = 0x0eb, Key_igrave = 0x0ec, Key_iacute = 0x0ed, Key_icircumflex = 0x0ee, Key_idiaeresis = 0x0ef, Key_eth = 0x0f0, Key_ntilde = 0x0f1, Key_ograve = 0x0f2, Key_oacute = 0x0f3, Key_ocircumflex = 0x0f4, Key_otilde = 0x0f5, Key_odiaeresis = 0x0f6, Key_division = 0x0f7, Key_oslash = 0x0f8, Key_ugrave = 0x0f9, Key_uacute = 0x0fa, Key_ucircumflex = 0x0fb, Key_udiaeresis = 0x0fc, Key_yacute = 0x0fd, Key_thorn = 0x0fe, Key_ydiaeresis = 0x0ff, Key_unknown = 0xffff }</div></li>
<li><div class=fn>enum <a href="#ArrowType-enum"><b>ArrowType</b></a> { UpArrow, DownArrow, LeftArrow, RightArrow }</div></li>
<li><div class=fn>enum <a href="#RasterOp-enum"><b>RasterOp</b></a> { CopyROP, OrROP, XorROP, NotAndROP, EraseROP = NotAndROP, NotCopyROP, NotOrROP, NotXorROP, AndROP, NotEraseROP = AndROP, NotROP, ClearROP, SetROP, NopROP, AndNotROP, OrNotROP, NandROP, NorROP, LastROP = NorROP }</div></li>
<li><div class=fn>enum <a href="#PenStyle-enum"><b>PenStyle</b></a> { NoPen, SolidLine, DashLine, DotLine, DashDotLine, DashDotDotLine, MPenStyle = 0x0f }</div></li>
<li><div class=fn>enum <a href="#PenCapStyle-enum"><b>PenCapStyle</b></a> { FlatCap = 0x00, SquareCap = 0x10, RoundCap = 0x20, MPenCapStyle = 0x30 }</div></li>
<li><div class=fn>enum <a href="#PenJoinStyle-enum"><b>PenJoinStyle</b></a> { MiterJoin = 0x00, BevelJoin = 0x40, RoundJoin = 0x80, MPenJoinStyle = 0xc0 }</div></li>
<li><div class=fn>enum <a href="#BrushStyle-enum"><b>BrushStyle</b></a> { NoBrush, SolidPattern, Dense1Pattern, Dense2Pattern, Dense3Pattern, Dense4Pattern, Dense5Pattern, Dense6Pattern, Dense7Pattern, HorPattern, VerPattern, CrossPattern, BDiagPattern, FDiagPattern, DiagCrossPattern, CustomPattern = 24 }</div></li>
<li><div class=fn>enum <a href="#WindowsVersion-enum"><b>WindowsVersion</b></a> { WV_32s = 0x0001, WV_95 = 0x0002, WV_98 = 0x0003, WV_Me = 0x0004, WV_DOS_based = 0x000f, WV_NT = 0x0010, WV_2000 = 0x0020, WV_XP = 0x0030, WV_NT_based = 0x00f0 }</div></li>
<li><div class=fn>enum <a href="#UIEffect-enum"><b>UIEffect</b></a> { UI_General, UI_AnimateMenu, UI_FadeMenu, UI_AnimateCombo, UI_AnimateTooltip, UI_FadeTooltip }</div></li>
<li><div class=fn>enum <a href="#CursorShape-enum"><b>CursorShape</b></a> { ArrowCursor, UpArrowCursor, CrossCursor, WaitCursor, IbeamCursor, SizeVerCursor, SizeHorCursor, SizeBDiagCursor, SizeFDiagCursor, SizeAllCursor, BlankCursor, SplitVCursor, SplitHCursor, PointingHandCursor, ForbiddenCursor, WhatsThisCursor, LastCursor = WhatsThisCursor, BitmapCursor = 24 }</div></li>
<li><div class=fn>enum <a href="#TextFormat-enum"><b>TextFormat</b></a> { PlainText, RichText, AutoText }</div></li>
<li><div class=fn>enum <a href="#Dock-enum"><b>Dock</b></a> { DockUnmanaged, DockTornOff, DockTop, DockBottom, DockRight, DockLeft, DockMinimized, Unmanaged = DockUnmanaged, TornOff = DockTornOff, Top = DockTop, Bottom = DockBottom, Right = DockRight, Left = DockLeft, Minimized = DockMinimized }</div></li>
<li><div class=fn>enum <a href="#DateFormat-enum"><b>DateFormat</b></a> { TextDate, ISODate, LocalDate }</div></li>
<li><div class=fn>enum <a href="#BackgroundMode-enum"><b>BackgroundMode</b></a> { FixedColor, FixedPixmap, NoBackground, PaletteForeground, PaletteButton, PaletteLight, PaletteMidlight, PaletteDark, PaletteMid, PaletteText, PaletteBrightText, PaletteBase, PaletteBackground, PaletteShadow, PaletteHighlight, PaletteHighlightedText, PaletteButtonText, PaletteLink, PaletteLinkVisited, X11ParentRelative }</div></li>
<li><div class=fn>enum <a href="#StringComparisonMode-enum"><b>StringComparisonMode</b></a> { CaseSensitive = 0x00001, BeginsWith = 0x00002, EndsWith = 0x00004, Contains = 0x00008, ExactMatch = 0x00010 }</div></li>
<li><div class=fn>typedef void&nbsp;*&nbsp;<b>HANDLE</b></div></li>
</ul>
<hr><a name="details"></a><h2>Detailed Description</h2>
 
<p> The Qt class is a namespace for miscellaneous identifiers
that need to be global-like.
<p> 
<p> Normally, you can ignore this class.  <a href="qobject.html">QObject</a> and a few other
classes inherit it, so all the identifiers in the Qt namespace
are usable without qualification.
<p> However, you may occasionally need to say <tt>Qt::black</tt> instead of just
<tt>black</tt>, particularly in static utility functions (such as many
class factories).
<p> <p>See also <a href="misc.html">Miscellaneous Classes</a>.

<hr><h2>Member Type Documentation</h2>
<h3 class=fn><a name="AlignmentFlags-enum"></a>Qt::AlignmentFlags</h3> 
<p> This enum type is used to describe alignment.  It contains
horizontal and vertical flags.  The horizontal flags
are:
<ul>
<li><tt>Qt::AlignAuto</tt> - Aligns according to the language. Left for most,
right for Hebrew and Arabic.
<li><tt>Qt::AlignLeft</tt> - Aligns with the left edge.
<li><tt>Qt::AlignRight</tt> - Aligns with the right edge.
<li><tt>Qt::AlignHCenter</tt> - Centers horizontally in the available space.
<li><tt>Qt::AlignJustify</tt> - Justifies the text in the available space.
Does not work for everything and may be interpreted as AlignAuto
in some cases.
</ul><p> The vertical flags are:
<ul>
<li><tt>Qt::AlignTop</tt> - Aligns with the top.
<li><tt>Qt::AlignBottom</tt> - Aligns with the bottom.
<li><tt>Qt::AlignVCenter</tt> - Centers vertically in the available space.
</ul><p> You can use only one of the horizontal flags at a time. There is
one two-dimensional flag:
<ul>
<li><tt>Qt::AlignCenter</tt> - Centers in both dimensions.
</ul><p> You can use at most one horizontal and one vertical flag at a time.  <a href="#AlignmentFlags-enum">AlignCenter</a> counts as both horizontal and vertical.
<p> Masks:
<ul>
<li><tt>Qt::AlignHorizontal_Mask</tt>
<li><tt>Qt::AlignVertical_Mask</tt>
</ul><p> Conflicting combinations of flags have undefined meanings.

<h3 class=fn><a name="ArrowType-enum"></a>Qt::ArrowType</h3>

<ul>
<li><tt>Qt::UpArrow</tt>
<li><tt>Qt::DownArrow</tt>
<li><tt>Qt::LeftArrow</tt>
<li><tt>Qt::RightArrow</tt>
</ul><p> 
<h3 class=fn><a name="BGMode-enum"></a>Qt::BGMode</h3>

<p> Background mode
<ul>
<li><tt>Qt::TransparentMode</tt>
<li><tt>Qt::OpaqueMode</tt>
</ul>
<h3 class=fn><a name="BackgroundMode-enum"></a>Qt::BackgroundMode</h3> 
<p> This enum describes how the background of a widget changes, as the
widget's palette changes.
<p> The background is what the widget contains when
<a href="qwidget.html#paintEvent">paintEvent()</a> is
called.  To minimize flicker, this should be the most common color
or pixmap in the widget.  For <a href="#BackgroundMode-enum">PaletteBackground</a>, use
colorGroup().brush( <a href="qcolorgroup.html#ColorRole-enum">QColorGroup::Background</a> ), and so on.  There
are also three special values, listed at the end:
<ul>
<li><tt>Qt::PaletteForeground</tt>
<li><tt>Qt::PaletteBackground</tt>
<li><tt>Qt::PaletteButton</tt>
<li><tt>Qt::PaletteLight</tt>
<li><tt>Qt::PaletteMidlight</tt>
<li><tt>Qt::PaletteDark</tt>
<li><tt>Qt::PaletteMid</tt>
<li><tt>Qt::PaletteText</tt>
<li><tt>Qt::PaletteBrightText</tt>
<li><tt>Qt::PaletteButtonText</tt>
<li><tt>Qt::PaletteBase</tt>
<li><tt>Qt::PaletteShadow</tt>
<li><tt>Qt::PaletteHighlight</tt>
<li><tt>Qt::PaletteHighlightedText</tt>
<li><tt>Qt::NoBackground</tt> - 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.
<li><tt>Qt::FixedColor</tt> - the widget is cleared to a fixed color,
normally different from all the ones in the palette().  Set using
<a href="qwidget.html#setPaletteBackgroundColor">setPaletteBackgroundColor()</a>.
<li><tt>Qt::FixedPixmap</tt> - the widget
is cleared to a fixed pixmap, normally different from all the ones
in the palette().  Set using <a href="qwidget.html#setBackgroundPixmap">setBackgroundPixmap()</a>.
<li><tt>Qt::PaletteLink</tt>
<li><tt>Qt::PaletteLinkVisited</tt>
<li><tt>Qt::X11ParentRelative</tt> - (internal use only)
</ul><p> Although <a href="#BackgroundMode-enum">FixedColor</a> and <a href="#BackgroundMode-enum">FixedPixmap</a> are sometimes just right,
if you use them, make sure that your application looks
right 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
have to use the control panel.)
<p> <p>See also <a href="qwidget.html#backgroundMode-prop">QWidget::backgroundMode</a>, <a href="qwidget.html#backgroundMode-prop">QWidget::backgroundMode</a>, <a href="qwidget.html#setBackgroundPixmap">QWidget::setBackgroundPixmap</a>() and <a href="qwidget.html#paletteBackgroundColor-prop">QWidget::paletteBackgroundColor</a>.

<h3 class=fn><a name="BrushStyle-enum"></a>Qt::BrushStyle</h3>

<ul>
<li><tt>Qt::NoBrush</tt>
<li><tt>Qt::SolidPattern</tt>
<li><tt>Qt::Dense1Pattern</tt>
<li><tt>Qt::Dense2Pattern</tt>
<li><tt>Qt::Dense3Pattern</tt>
<li><tt>Qt::Dense4Pattern</tt>
<li><tt>Qt::Dense5Pattern</tt>
<li><tt>Qt::Dense6Pattern</tt>
<li><tt>Qt::Dense7Pattern</tt>
<li><tt>Qt::HorPattern</tt>
<li><tt>Qt::VerPattern</tt>
<li><tt>Qt::CrossPattern</tt>
<li><tt>Qt::BDiagPattern</tt>
<li><tt>Qt::FDiagPattern</tt>
<li><tt>Qt::DiagCrossPattern</tt>
<li><tt>Qt::CustomPattern</tt>
</ul><p> 
<h3 class=fn><a name="ButtonState-enum"></a>Qt::ButtonState</h3> 
This enum type describes the state of the mouse buttons and the
modifier buttons.  The currently defined values are:
<ul>
<li><tt>Qt::NoButton</tt> - used when the button state does not refer to any
button (see <a href="qmouseevent.html#button">QMouseEvent::button</a>()).
<li><tt>Qt::LeftButton</tt> - set if the left button is pressed, or this
event refers to the left button.  Note that the left button may be
the right button on left-handed mice.
<li><tt>Qt::RightButton</tt> - the right button.
<li><tt>Qt::MidButton</tt> - the middle button.
<li><tt>Qt::ShiftButton</tt> - a Shift key on the keyboard is also pressed.
<li><tt>Qt::ControlButton</tt> - a Ctrl key on the keyboard is also pressed.
<li><tt>Qt::AltButton</tt> - an Alt (or Meta) key on the keyboard is also pressed.
<li><tt>Qt::MetaButton</tt> - a Meta key on the keyboard is also pressed.
<li><tt>Qt::Keypad</tt> - a keypad button is pressed.
<li><tt>Qt::KeyButtonMask</tt> - is a mask for ShiftButton, ControlButton and
AltButton.
<li><tt>Qt::MouseButtonMask</tt> - is a mask for LeftButton, RightButton and MidButton.
</ul>
<h3 class=fn><a name="CursorShape-enum"></a>Qt::CursorShape</h3>

<p> This enum type defines the various cursors that can be used.
<ul>
<li><tt>Qt::ArrowCursor</tt> - standard arrow cursor
<li><tt>Qt::UpArrowCursor</tt> - upwards arrow
<li><tt>Qt::CrossCursor</tt> - crosshair
<li><tt>Qt::WaitCursor</tt> - hourglass/watch
<li><tt>Qt::IbeamCursor</tt> - ibeam/text entry
<li><tt>Qt::SizeVerCursor</tt> - vertical resize
<li><tt>Qt::SizeHorCursor</tt> - horizontal resize
<li><tt>Qt::SizeBDiagCursor</tt> - diagonal resize (/)
<li><tt>Qt::SizeFDiagCursor</tt> - diagonal resize (&#92;)
<li><tt>Qt::SizeAllCursor</tt> - all directions resize
<li><tt>Qt::BlankCursor</tt> - blank/invisible cursor
<li><tt>Qt::SplitVCursor</tt> - vertical splitting
<li><tt>Qt::SplitHCursor</tt> - horziontal splitting
<li><tt>Qt::PointingHandCursor</tt> - a pointing hand
<li><tt>Qt::ForbiddenCursor</tt> - a slashed circle
<li><tt>Qt::WhatsThisCursor</tt> - an arrow with a question mark
<li><tt>Qt::BitmapCursor</tt>
</ul><p> ArrowCursor is the default for widgets in a normal state.
<p> <center><img src="cursors.png" alt="Cursor Shapes"></center> 
<h3 class=fn><a name="DateFormat-enum"></a>Qt::DateFormat</h3>

<ul>
<li><tt>Qt::TextDate</tt> - (default) Qt format
<li><tt>Qt::ISODate</tt> - ISO 8601 format
<li><tt>Qt::LocalDate</tt> - locale dependent format
</ul>
<h3 class=fn><a name="Dock-enum"></a>Qt::Dock</h3>

<p> Each dock window can be in one of the following positions:
<ul>
<li><tt>Qt::DockTop</tt> - above the central widget, below the menu bar.
<li><tt>Qt::DockBottom</tt> - below the central widget, above the status bar.
<li><tt>Qt::DockLeft</tt> - to the left of the central widget.
<li><tt>Qt::DockRight</tt> - to the right of the central widget.
<li><tt>Qt::DockMinimized</tt> - 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.
<li><tt>Qt::DockTornOff</tt> - the dock window floats as its own top level window
which always stays on top of the main window.
<li><tt>Qt::DockUnmanaged</tt> - not managed by a <a href="qmainwindow.html">QMainWindow</a>.
</ul>
<h3 class=fn><a name="GUIStyle-enum"></a>Qt::GUIStyle</h3>

<p> <b>This type is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code.
<p> <ul>
<li><tt>Qt::WindowsStyle</tt>
<li><tt>Qt::MotifStyle</tt>
<li><tt>Qt::MacStyle</tt>
<li><tt>Qt::Win3Style</tt>
<li><tt>Qt::PMStyle</tt>
</ul>
<h3 class=fn><a name="ImageConversionFlags-enum"></a>Qt::ImageConversionFlags</h3> 
<p> The conversion flag is a bitwise-OR of the following values.
The options marked "(default)" are the set if no other
values from the list are included (since the defaults are zero):
<p> Color/Mono preference (ignored for <a href="qbitmap.html">QBitmap</a>)
<ul>
<li><tt>Qt::AutoColor</tt> - (default) - If the image has <a href="qimage.html#depth">depth</a> 1 and contains only
black and white pixels, the pixmap becomes monochrome.
<li><tt>Qt::ColorOnly</tt> - The pixmap is dithered/converted to the
<a href="qpixmap.html#defaultDepth">native display depth</a>.
<li><tt>Qt::MonoOnly</tt> - The pixmap becomes monochrome.  If necessary,
it is dithered using the chosen dithering algorithm.
</ul><p> Dithering mode preference for RGB channels
<ul>
<li><tt>Qt::DiffuseDither</tt> - (default) - A high-quality dither.
<li><tt>Qt::OrderedDither</tt> - A faster, more ordered dither.
<li><tt>Qt::ThresholdDither</tt> - No dithering; closest color is used.
</ul><p> Dithering mode preference for alpha channel
<ul>
<li><tt>Qt::ThresholdAlphaDither</tt> - (default) - No dithering.
<li><tt>Qt::OrderedAlphaDither</tt> - A faster, more ordered dither.
<li><tt>Qt::DiffuseAlphaDither</tt> - A high-quality dither.
<li><tt>Qt::NoAlpha</tt> - Not supported.
</ul><p> Color matching versus dithering preference
<ul>
<li><tt>Qt::PreferDither</tt> - (default when converting to a pixmap) - Always dither
32-bit images when the image is converted to 8 bits.
<li><tt>Qt::AvoidDither</tt> - (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.
<li><tt>Qt::AutoDither</tt> - Not supported.
</ul><p> The following are not values that are used directly, but masks for
the above classes:
<ul>
<li><tt>Qt::ColorMode_Mask</tt> - Mask for the color mode.
<li><tt>Qt::Dither_Mask</tt> - Mask for the dithering mode for RGB channels.
<li><tt>Qt::AlphaDither_Mask</tt> - Mask for the dithering mode for the alpha channel.
<li><tt>Qt::DitherMode_Mask</tt> - Mask for the mode that determines the preference of
color matching versus dithering.
</ul><p> Using 0 as the conversion flag sets all the default options.

<h3 class=fn><a name="Key-enum"></a>Qt::Key</h3>

<p> The key names used by Qt.
<ul>
<li><tt>Qt::Key_Escape</tt>
<li><tt>Qt::Key_Tab</tt>
<li><tt>Qt::Key_Backtab</tt>
<li><tt>Qt::Key_Backspace</tt>
<li><tt>Qt::Key_Return</tt>
<li><tt>Qt::Key_Enter</tt>
<li><tt>Qt::Key_Insert</tt>
<li><tt>Qt::Key_Delete</tt>
<li><tt>Qt::Key_Pause</tt>
<li><tt>Qt::Key_Print</tt>
<li><tt>Qt::Key_SysReq</tt>
<li><tt>Qt::Key_Home</tt>
<li><tt>Qt::Key_End</tt>
<li><tt>Qt::Key_Left</tt>
<li><tt>Qt::Key_Up</tt>
<li><tt>Qt::Key_Right</tt>
<li><tt>Qt::Key_Down</tt>
<li><tt>Qt::Key_Prior</tt>
<li><tt>Qt::Key_Next</tt>
<li><tt>Qt::Key_Shift</tt>
<li><tt>Qt::Key_Control</tt>
<li><tt>Qt::Key_Meta</tt>
<li><tt>Qt::Key_Alt</tt>
<li><tt>Qt::Key_CapsLock</tt>
<li><tt>Qt::Key_NumLock</tt>
<li><tt>Qt::Key_ScrollLock</tt>
<li><tt>Qt::Key_F1</tt>
<li><tt>Qt::Key_F2</tt>
<li><tt>Qt::Key_F3</tt>
<li><tt>Qt::Key_F4</tt>
<li><tt>Qt::Key_F5</tt>
<li><tt>Qt::Key_F6</tt>
<li><tt>Qt::Key_F7</tt>
<li><tt>Qt::Key_F8</tt>
<li><tt>Qt::Key_F9</tt>
<li><tt>Qt::Key_F10</tt>
<li><tt>Qt::Key_F11</tt>
<li><tt>Qt::Key_F12</tt>
<li><tt>Qt::Key_F13</tt>
<li><tt>Qt::Key_F14</tt>
<li><tt>Qt::Key_F15</tt>
<li><tt>Qt::Key_F16</tt>
<li><tt>Qt::Key_F17</tt>
<li><tt>Qt::Key_F18</tt>
<li><tt>Qt::Key_F19</tt>
<li><tt>Qt::Key_F20</tt>
<li><tt>Qt::Key_F21</tt>
<li><tt>Qt::Key_F22</tt>
<li><tt>Qt::Key_F23</tt>
<li><tt>Qt::Key_F24</tt>
<li><tt>Qt::Key_F25</tt>
<li><tt>Qt::Key_F26</tt>
<li><tt>Qt::Key_F27</tt>
<li><tt>Qt::Key_F28</tt>
<li><tt>Qt::Key_F29</tt>
<li><tt>Qt::Key_F30</tt>
<li><tt>Qt::Key_F31</tt>
<li><tt>Qt::Key_F32</tt>
<li><tt>Qt::Key_F33</tt>
<li><tt>Qt::Key_F34</tt>
<li><tt>Qt::Key_F35</tt>
<li><tt>Qt::Key_Super_L</tt>
<li><tt>Qt::Key_Super_R</tt>
<li><tt>Qt::Key_Menu</tt>
<li><tt>Qt::Key_Hyper_L</tt>
<li><tt>Qt::Key_Hyper_R</tt>
<li><tt>Qt::Key_Help</tt>
<li><tt>Qt::Key_Space</tt>
<li><tt>Qt::Key_Any</tt>
<li><tt>Qt::Key_Exclam</tt>
<li><tt>Qt::Key_QuoteDbl</tt>
<li><tt>Qt::Key_NumberSign</tt>
<li><tt>Qt::Key_Dollar</tt>
<li><tt>Qt::Key_Percent</tt>
<li><tt>Qt::Key_Ampersand</tt>
<li><tt>Qt::Key_Apostrophe</tt>
<li><tt>Qt::Key_ParenLeft</tt>
<li><tt>Qt::Key_ParenRight</tt>
<li><tt>Qt::Key_Asterisk</tt>
<li><tt>Qt::Key_Plus</tt>
<li><tt>Qt::Key_Comma</tt>
<li><tt>Qt::Key_Minus</tt>
<li><tt>Qt::Key_Period</tt>
<li><tt>Qt::Key_Slash</tt>
<li><tt>Qt::Key_0</tt>
<li><tt>Qt::Key_1</tt>
<li><tt>Qt::Key_2</tt>
<li><tt>Qt::Key_3</tt>
<li><tt>Qt::Key_4</tt>
<li><tt>Qt::Key_5</tt>
<li><tt>Qt::Key_6</tt>
<li><tt>Qt::Key_7</tt>
<li><tt>Qt::Key_8</tt>
<li><tt>Qt::Key_9</tt>
<li><tt>Qt::Key_Colon</tt>
<li><tt>Qt::Key_Semicolon</tt>
<li><tt>Qt::Key_Less</tt>
<li><tt>Qt::Key_Equal</tt>
<li><tt>Qt::Key_Greater</tt>
<li><tt>Qt::Key_Question</tt>
<li><tt>Qt::Key_At</tt>
<li><tt>Qt::Key_A</tt>
<li><tt>Qt::Key_B</tt>
<li><tt>Qt::Key_C</tt>
<li><tt>Qt::Key_D</tt>
<li><tt>Qt::Key_E</tt>
<li><tt>Qt::Key_F</tt>
<li><tt>Qt::Key_G</tt>
<li><tt>Qt::Key_H</tt>
<li><tt>Qt::Key_I</tt>
<li><tt>Qt::Key_J</tt>
<li><tt>Qt::Key_K</tt>
<li><tt>Qt::Key_L</tt>
<li><tt>Qt::Key_M</tt>
<li><tt>Qt::Key_N</tt>
<li><tt>Qt::Key_O</tt>
<li><tt>Qt::Key_P</tt>
<li><tt>Qt::Key_Q</tt>
<li><tt>Qt::Key_R</tt>
<li><tt>Qt::Key_S</tt>
<li><tt>Qt::Key_T</tt>
<li><tt>Qt::Key_U</tt>
<li><tt>Qt::Key_V</tt>
<li><tt>Qt::Key_W</tt>
<li><tt>Qt::Key_X</tt>
<li><tt>Qt::Key_Y</tt>
<li><tt>Qt::Key_Z</tt>
<li><tt>Qt::Key_BracketLeft</tt>
<li><tt>Qt::Key_Backslash</tt>
<li><tt>Qt::Key_BracketRight</tt>
<li><tt>Qt::Key_AsciiCircum</tt>
<li><tt>Qt::Key_Underscore</tt>
<li><tt>Qt::Key_QuoteLeft</tt>
<li><tt>Qt::Key_BraceLeft</tt>
<li><tt>Qt::Key_Bar</tt>
<li><tt>Qt::Key_BraceRight</tt>
<li><tt>Qt::Key_AsciiTilde</tt>
<li><tt>Qt::Key_nobreakspace</tt>
<li><tt>Qt::Key_exclamdown</tt>
<li><tt>Qt::Key_cent</tt>
<li><tt>Qt::Key_sterling</tt>
<li><tt>Qt::Key_currency</tt>
<li><tt>Qt::Key_yen</tt>
<li><tt>Qt::Key_brokenbar</tt>
<li><tt>Qt::Key_section</tt>
<li><tt>Qt::Key_diaeresis</tt>
<li><tt>Qt::Key_copyright</tt>
<li><tt>Qt::Key_ordfeminine</tt>
<li><tt>Qt::Key_guillemotleft</tt>
<li><tt>Qt::Key_notsign</tt>
<li><tt>Qt::Key_hyphen</tt>
<li><tt>Qt::Key_registered</tt>
<li><tt>Qt::Key_macron</tt>
<li><tt>Qt::Key_degree</tt>
<li><tt>Qt::Key_plusminus</tt>
<li><tt>Qt::Key_twosuperior</tt>
<li><tt>Qt::Key_threesuperior</tt>
<li><tt>Qt::Key_acute</tt>
<li><tt>Qt::Key_mu</tt>
<li><tt>Qt::Key_paragraph</tt>
<li><tt>Qt::Key_periodcentered</tt>
<li><tt>Qt::Key_cedilla</tt>
<li><tt>Qt::Key_onesuperior</tt>
<li><tt>Qt::Key_masculine</tt>
<li><tt>Qt::Key_guillemotright</tt>
<li><tt>Qt::Key_onequarter</tt>
<li><tt>Qt::Key_onehalf</tt>
<li><tt>Qt::Key_threequarters</tt>
<li><tt>Qt::Key_questiondown</tt>
<li><tt>Qt::Key_Agrave</tt>
<li><tt>Qt::Key_Aacute</tt>
<li><tt>Qt::Key_Acircumflex</tt>
<li><tt>Qt::Key_Atilde</tt>
<li><tt>Qt::Key_Adiaeresis</tt>
<li><tt>Qt::Key_Aring</tt>
<li><tt>Qt::Key_AE</tt>
<li><tt>Qt::Key_Ccedilla</tt>
<li><tt>Qt::Key_Egrave</tt>
<li><tt>Qt::Key_Eacute</tt>
<li><tt>Qt::Key_Ecircumflex</tt>
<li><tt>Qt::Key_Ediaeresis</tt>
<li><tt>Qt::Key_Igrave</tt>
<li><tt>Qt::Key_Iacute</tt>
<li><tt>Qt::Key_Icircumflex</tt>
<li><tt>Qt::Key_Idiaeresis</tt>
<li><tt>Qt::Key_ETH</tt>
<li><tt>Qt::Key_Ntilde</tt>
<li><tt>Qt::Key_Ograve</tt>
<li><tt>Qt::Key_Oacute</tt>
<li><tt>Qt::Key_Ocircumflex</tt>
<li><tt>Qt::Key_Otilde</tt>
<li><tt>Qt::Key_Odiaeresis</tt>
<li><tt>Qt::Key_multiply</tt>
<li><tt>Qt::Key_Ooblique</tt>
<li><tt>Qt::Key_Ugrave</tt>
<li><tt>Qt::Key_Uacute</tt>
<li><tt>Qt::Key_Ucircumflex</tt>
<li><tt>Qt::Key_Udiaeresis</tt>
<li><tt>Qt::Key_Yacute</tt>
<li><tt>Qt::Key_THORN</tt>
<li><tt>Qt::Key_ssharp</tt>
<li><tt>Qt::Key_agrave</tt>
<li><tt>Qt::Key_aacute</tt>
<li><tt>Qt::Key_acircumflex</tt>
<li><tt>Qt::Key_atilde</tt>
<li><tt>Qt::Key_adiaeresis</tt>
<li><tt>Qt::Key_aring</tt>
<li><tt>Qt::Key_ae</tt>
<li><tt>Qt::Key_ccedilla</tt>
<li><tt>Qt::Key_egrave</tt>
<li><tt>Qt::Key_eacute</tt>
<li><tt>Qt::Key_ecircumflex</tt>
<li><tt>Qt::Key_ediaeresis</tt>
<li><tt>Qt::Key_igrave</tt>
<li><tt>Qt::Key_iacute</tt>
<li><tt>Qt::Key_icircumflex</tt>
<li><tt>Qt::Key_idiaeresis</tt>
<li><tt>Qt::Key_eth</tt>
<li><tt>Qt::Key_ntilde</tt>
<li><tt>Qt::Key_ograve</tt>
<li><tt>Qt::Key_oacute</tt>
<li><tt>Qt::Key_ocircumflex</tt>
<li><tt>Qt::Key_otilde</tt>
<li><tt>Qt::Key_odiaeresis</tt>
<li><tt>Qt::Key_division</tt>
<li><tt>Qt::Key_oslash</tt>
<li><tt>Qt::Key_ugrave</tt>
<li><tt>Qt::Key_uacute</tt>
<li><tt>Qt::Key_ucircumflex</tt>
<li><tt>Qt::Key_udiaeresis</tt>
<li><tt>Qt::Key_yacute</tt>
<li><tt>Qt::Key_thorn</tt>
<li><tt>Qt::Key_ydiaeresis</tt>
<li><tt>Qt::Key_unknown</tt>
<li><tt>Qt::Key_Direction_L</tt> - internal use only
<li><tt>Qt::Key_Direction_R</tt> - internal use only
</ul><p> 
<h3 class=fn><a name="Modifier-enum"></a>Qt::Modifier</h3> 
<p> This enum type describes the keyboard modifier keys supported by Qt.
The currently defined values are:
<ul>
<li><tt>Qt::SHIFT</tt> - the Shift keys provided on all standard keyboards.
<li><tt>Qt::CTRL</tt> - the Ctrl keys.
<li><tt>Qt::ALT</tt> - the normal Alt keys, but not e.g. AltGr.
<li><tt>Qt::MODIFIER_MASK</tt> - is a mask of Shift, Ctrl and Alt.
<li><tt>Qt::UNICODE_ACCEL</tt> - the accelerator is specified as a Unicode code
point, not as a Qt Key.
</ul>
<h3 class=fn><a name="Orientation-enum"></a>Qt::Orientation</h3> 
<p> This type is used to signify an object's orientation.
<ul>
<li><tt>Qt::Horizontal</tt>
<li><tt>Qt::Vertical</tt>
</ul><p> Orientation is used with <a href="qscrollbar.html">QScrollBar</a> for example.

<h3 class=fn><a name="PaintUnit-enum"></a>Qt::PaintUnit</h3> 
<ul>
<li><tt>Qt::PixelUnit</tt>
<li><tt>Qt::LoMetricUnit</tt> - <em>obsolete</em>
<li><tt>Qt::HiMetricUnit</tt> - <em>obsolete</em>
<li><tt>Qt::LoEnglishUnit</tt> - <em>obsolete</em>
<li><tt>Qt::HiEnglishUnit</tt> - <em>obsolete</em>
<li><tt>Qt::TwipsUnit</tt> - <em>obsolete</em>
</ul>
<h3 class=fn><a name="PenCapStyle-enum"></a>Qt::PenCapStyle</h3> 
<p> This enum type defines the pen cap styles supported by Qt, i.e. the
line end caps that can be drawn using <a href="qpainter.html">QPainter</a>. The
available styles are:
<ul>
<li><tt>Qt::FlatCap</tt> - a square line end that does not cover the end
point of the line.
<li><tt>Qt::SquareCap</tt> - a square line end that covers the end point and
extends beyond it with half the line width.
<li><tt>Qt::RoundCap</tt> - a rounded line end.
<li><tt>Qt::MPenCapStyle</tt> - mask of the pen cap styles.
</ul>
<h3 class=fn><a name="PenJoinStyle-enum"></a>Qt::PenJoinStyle</h3> 
<p> This enum type defines the pen join styles supported by Qt, i.e. which
joins between two connected lines can be drawn using
<a href="qpainter.html">QPainter</a>. The available styles are:
<ul>
<li><tt>Qt::MiterJoin</tt> - The outer edges of the lines are extended to
meet at an angle, and this area is filled.
<li><tt>Qt::BevelJoin</tt> - The triangular notch between the two lines is filled.
<li><tt>Qt::RoundJoin</tt> - A circular arc between the two lines is filled.
<li><tt>Qt::MPenJoinStyle</tt> - mask of the pen join styles.
</ul>
<h3 class=fn><a name="PenStyle-enum"></a>Qt::PenStyle</h3> 
<p> This enum type defines the pen styles that can be drawn using
<a href="qpainter.html">QPainter</a>. The styles are
<ul>
<li><tt>Qt::NoPen</tt> - no line at all.  For example, <a href="qpainter.html#drawRect">QPainter::drawRect</a>()
fills but does not draw any boundary line.
<li><tt>Qt::SolidLine</tt> - a simple line.
<li><tt>Qt::DashLine</tt> - dashes separated by a few pixels.
<li><tt>Qt::DotLine</tt> - dots separated by a few pixels.
<li><tt>Qt::DashDotLine</tt> - alternate dots and dashes.
<li><tt>Qt::DashDotDotLine</tt> - one dash, two dots, one dash, two dots.
<li><tt>Qt::MPenStyle</tt> - mask of the pen styles.
</ul>
<h3 class=fn><a name="RasterOp-enum"></a>Qt::RasterOp</h3> 
<p> <!-- index raster operation --><!-- index raster op -->
<p> This enum type is used to describe the way things are written to the
paint device. Each bit of the <em>src</em> (what you write) interacts with
the corresponding bit of the <em>dst</em> pixel.  The currently defined
values are:
<ul>
<li><tt>Qt::CopyROP</tt> - dst = src
<li><tt>Qt::OrROP</tt> - dst = src OR dst
<li><tt>Qt::XorROP</tt> - dst = src XOR dst
<li><tt>Qt::NotAndROP</tt> - dst = (NOT src) AND dst
<li><tt>Qt::EraseROP</tt> - an alias for <a href="#RasterOp-enum">NotAndROP</a>
<li><tt>Qt::NotCopyROP</tt> - dst = NOT src
<li><tt>Qt::NotOrROP</tt> - dst = (NOT src) OR dst
<li><tt>Qt::NotXorROP</tt> - dst = (NOT src) XOR dst
<li><tt>Qt::AndROP</tt> - dst = src AND dst
<li><tt>Qt::NotEraseROP</tt> - an alias for <a href="#RasterOp-enum">AndROP</a>
<li><tt>Qt::NotROP</tt> - dst = NOT dst
<li><tt>Qt::ClearROP</tt> - dst = 0
<li><tt>Qt::SetROP</tt> - dst = 1
<li><tt>Qt::NopROP</tt> - dst = dst
<li><tt>Qt::AndNotROP</tt> - dst = src AND (NOT dst)
<li><tt>Qt::OrNotROP</tt> - dst = src OR (NOT dst)
<li><tt>Qt::NandROP</tt> - dst = NOT (src AND dst)
<li><tt>Qt::NorROP</tt> - dst = NOT (src OR dst)
</ul><p> By far the most useful ones are <a href="#RasterOp-enum">CopyROP</a> and <a href="#RasterOp-enum">XorROP</a>.

<h3 class=fn><a name="StringComparisonMode-enum"></a>Qt::StringComparisonMode</h3>

<p> This enum type is used to set the string comparison mode when
searching for an item.  This is implemented in <a href="qlistbox.html">QListBox</a>, <a href="qlistview.html">QListView</a>
and <a href="qiconview.html">QIconView</a>, for example. We'll refer to the string being searched
as the 'target' string.
<ul>
<li><tt>Qt::CaseSensitive</tt> - The strings must match case sensitively.
<li><tt>Qt::ExactMatch</tt> - The target and search strings must match exactly.
<li><tt>Qt::BeginsWith</tt> - The target string begins with the search string.
<li><tt>Qt::EndsWith</tt> - The target string ends with the search string.
<li><tt>Qt::Contains</tt> - The target string contains the search string.
</ul><p> If you OR these flags together (excluding <a href="#StringComparisonMode-enum">CaseSensitive</a>), the search criteria be applied in the following
order: <a href="#StringComparisonMode-enum">ExactMatch</a>, <a href="#StringComparisonMode-enum">BeginsWith</a>, <a href="#StringComparisonMode-enum">EndsWith</a>, <a href="#StringComparisonMode-enum">Contains</a>.
<p> Matching is case-insensitive unless <a href="#StringComparisonMode-enum">CaseSensitive</a> is set. <a href="#StringComparisonMode-enum">CaseSensitive</a> may be OR-ed with any combination of the other flags.
<p> 
<h3 class=fn><a name="TextFlags-enum"></a>Qt::TextFlags</h3> 
<p> This enum type is used to define some modifier flags. Some of these
flags only make sense in the context of printing:
<ul>
<li><tt>Qt::SingleLine</tt> - Treats all whitespace as spaces and prints just
one line.
<li><tt>Qt::DontClip</tt> - If it's impossible to stay within the given bounds,
it prints outside.
<li><tt>Qt::ExpandTabs</tt> - Makes the U+0009 (ASCII tab) character move to
the next tab stop.
<li><tt>Qt::ShowPrefix</tt> - Displays the string "&amp;P" as an underlined P
(see <a href="qbutton.html">QButton</a> for an example).  For an ampersand, use "&amp;&amp;".
<li><tt>Qt::WordBreak</tt> - Breaks lines at appropriate points, e.g. at word
boundaries.
<li><tt>Qt::BreakAnywhere</tt> - Breaks lines anywhere, even within words.
<li><tt>Qt::NoAccel</tt> - Synonym for ShowPrefix.
<li><tt>Qt::DontPrint</tt> - (internal)
</ul><p> You can use as many modifier flags as you want, except that <a href="#TextFlags-enum">SingleLine</a> and <a href="#TextFlags-enum">WordBreak</a> cannot be combined.
<p> Flags that are inappropriate for a given use (e.g. ShowPrefix to
<a href="qgridlayout.html#addWidget">QGridLayout::addWidget</a>()) are generally ignored.
<p> 
<h3 class=fn><a name="TextFormat-enum"></a>Qt::TextFormat</h3>

<p> This enum is used in widgets that can display both plain text and
rich text, e.g. <a href="qlabel.html">QLabel</a>. 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.
<ul>
<li><tt>Qt::PlainText</tt> - The text string is interpreted as a plain text string.
<li><tt>Qt::RichText</tt> - The text string is interpreted as a rich text string
using the current <a href="qstylesheet.html#defaultSheet">QStyleSheet::defaultSheet</a>().
<li><tt>Qt::AutoText</tt> - The text string is interpreted as for <a href="#TextFormat-enum">RichText</a> if
<a href="qstylesheet.html#mightBeRichText">QStyleSheet::mightBeRichText</a>() returns TRUE, otherwise as for <a href="#TextFormat-enum">PlainText</a>.
</ul>
<h3 class=fn><a name="UIEffect-enum"></a>Qt::UIEffect</h3>

<ul>
<li><tt>Qt::UI_General</tt>
<li><tt>Qt::UI_AnimateMenu</tt>
<li><tt>Qt::UI_FadeMenu</tt>
<li><tt>Qt::UI_AnimateCombo</tt>
<li><tt>Qt::UI_AnimateTooltip</tt>
<li><tt>Qt::UI_FadeTooltip</tt>
</ul><p> 
<h3 class=fn><a name="WidgetFlags-enum"></a>Qt::WidgetFlags</h3> 
<p> <!-- index widget flags -->
<p> This enum type is used to specify various window-system properties
of 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.
<p> The main types are
<ul>
<li><tt>Qt::WType_TopLevel</tt> - indicates that this widget is a top-level
widget, usually with a window-system frame and so on.
<li><tt>Qt::WType_Dialog</tt> - indicates that this widget is a secondary
top-level widget.  When combined with <a href="#WidgetFlags-enum">WShowModal</a>, the dialog
becomes a modal dialog i.e. prevents any other top-level window in the
application from getting any input. <a href="#WidgetFlags-enum">WType_Dialog</a> implies <a href="#WidgetFlags-enum">WType_TopLevel</a>.
<li><tt>Qt::WType_Popup</tt> - 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. <a href="#WidgetFlags-enum">WType_Popup</a> implies WType_TopLevel.
<li><tt>Qt::WType_Desktop</tt> - indicates that this widget is the desktop.
See also <a href="#WidgetFlags-enum">WPaintDesktop</a> below. <a href="#WidgetFlags-enum">WType_Desktop</a> implies <a href="#WidgetFlags-enum">WType_TopLevel</a>.
</ul><p> 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:
<ul>
<li><tt>Qt::WStyle_Customize</tt> - indicates that the <tt>WStyle_*</tt> flags should be
used to build the window instead of the default flags.
<li><tt>Qt::WStyle_NormalBorder</tt> - gives the window a normal border. Cannot
be combined with <a href="#WidgetFlags-enum">WStyle_DialogBorder</a> or <a href="#WidgetFlags-enum">WStyle_NoBorder</a>.
<li><tt>Qt::WStyle_DialogBorder</tt> - gives the window a thin dialog border.
Cannot be combined with <a href="#WidgetFlags-enum">WStyle_NormalBorder</a> or <a href="#WidgetFlags-enum">WStyle_NoBorder</a>.
<li><tt>Qt::WStyle_NoBorder</tt> - produces a borderless window.  Note that the user
cannot move or resize a borderless window via the window system.
Cannot be combined with <a href="#WidgetFlags-enum">WStyle_NormalBorder</a> or <a href="#WidgetFlags-enum">WStyle_DialogBorder</a>. 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 <a href="#WidgetFlags-enum">WX11BypassWM</a>, 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).
<li><tt>Qt::WStyle_NoBorderEx</tt> - this value is obsolete.  It has the same effect
as using <a href="#WidgetFlags-enum">WStyle_NoBorder</a>.
<li><tt>Qt::WStyle_Title</tt> - gives the window a title bar.
<li><tt>Qt::WStyle_SysMenu</tt> - adds a window system menu.
<li><tt>Qt::WStyle_Minimize</tt> - adds a minimize button.  Note that on Windows
this has to be combined with <a href="#WidgetFlags-enum">WStyle_SysMenu</a> for it to work.
<li><tt>Qt::WStyle_Maximize</tt> - adds a maximize button.  Note that on Windows
this has to be combined with <a href="#WidgetFlags-enum">WStyle_SysMenu</a> for it to work.
<li><tt>Qt::WStyle_MinMax</tt> - is equal to <tt>WStyle_Minimize|WStyle_Maximize</tt>.
Note that on Windows this has to be combined with <a href="#WidgetFlags-enum">WStyle_SysMenu</a> to work.
<li><tt>Qt::WStyle_ContextHelp</tt> - adds a context help button to dialogs.
<li><tt>Qt::WStyle_Tool</tt> - 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 <a href="#WidgetFlags-enum">WStyle_StaysOnTop</a> 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
<a href="#WidgetFlags-enum">WStyle_NoBorder</a>.
<li><tt>Qt::WStyle_StaysOnTop</tt> - informs the window system that the window
should stay on top of all other windows.
<li><tt>Qt::WStyle_Dialog</tt> - indicates that the window is a logical subwindow
of its parent (in other words, 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 <a href="qdialog.html">QDialog</a> uses.
</ul><p> Modifier flags:
<ul>
<li><tt>Qt::WDestructiveClose</tt> - makes Qt delete this object when the object has
accepted closeEvent(), or when the widget tried to ignore closeEvent() but
could not.
<li><tt>Qt::WPaintDesktop</tt> - gives this widget paint events for the desktop.
<li><tt>Qt::WPaintUnclipped</tt> - 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.
<li><tt>Qt::WPaintClever</tt> - indicates that Qt should <em>not</em> 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.)
<li><tt>Qt::WResizeNoErase</tt> - indicates that resizing the widget should not
erase it. This allows smart-repainting to avoid flicker.
<li><tt>Qt::WMouseNoMask</tt> - indicates that even if the widget has a mask,
it wants mouse events for its entire rectangle.
<li><tt>Qt::WStaticContents</tt> - 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.
<li><tt>Qt::WRepaintNoErase</tt> - indicates that the widget paints all its
pixels.  Updating, scrolling and focus changes should therefore not
erase the widget.  This allows smart-repainting to avoid flicker.
<li><tt>Qt::WGroupLeader</tt> - makes this widget or window a group
leader. Modality of secondary windows only affects windows within the
same group.
</ul><p> Miscellaneous flags
<ul>
<li><tt>Qt::WShowModal</tt> - see WType_Dialog
</ul><p> Internal flags.
<ul>
<li><tt>Qt::WNoMousePropagation</tt>
<li><tt>Qt::WStaticContents</tt>
<li><tt>Qt::WStyle_Reserved</tt>
<li><tt>Qt::WSubWindow</tt>
<li><tt>Qt::WType_Modal</tt>
<li><tt>Qt::WWinOwnDC</tt>
<li><tt>Qt::WX11BypassWM</tt>
<li><tt>Qt::WStyle_Mask</tt>
<li><tt>Qt::WType_Mask</tt>
</ul><p> 
<h3 class=fn><a name="WidgetState-enum"></a>Qt::WidgetState</h3>

<p> Internal flags.
<ul>
<li><tt>Qt::WState_Created</tt>
<li><tt>Qt::WState_Disabled</tt>
<li><tt>Qt::WState_Visible</tt>
<li><tt>Qt::WState_ForceHide</tt>
<li><tt>Qt::WState_OwnCursor</tt>
<li><tt>Qt::WState_MouseTracking</tt>
<li><tt>Qt::WState_CompressKeys</tt>
<li><tt>Qt::WState_BlockUpdates</tt>
<li><tt>Qt::WState_InPaintEvent</tt>
<li><tt>Qt::WState_Reparented</tt>
<li><tt>Qt::WState_ConfigPending</tt>
<li><tt>Qt::WState_Resized</tt>
<li><tt>Qt::WState_AutoMask</tt>
<li><tt>Qt::WState_Polished</tt>
<li><tt>Qt::WState_DND</tt>
<li><tt>Qt::WState_Reserved0</tt>
<li><tt>Qt::WState_Reserved1</tt>
<li><tt>Qt::WState_Reserved2</tt>
<li><tt>Qt::WState_Reserved3</tt>
<li><tt>Qt::WState_Maximized</tt>
<li><tt>Qt::WState_Minimized</tt>
<li><tt>Qt::WState_ForceDisabled</tt>
<li><tt>Qt::WState_Exposed</tt>
<li><tt>Qt::WState_HasMouse</tt>
</ul>
<h3 class=fn><a name="WindowsVersion-enum"></a>Qt::WindowsVersion</h3>

<ul>
<li><tt>Qt::WV_32s</tt>
<li><tt>Qt::WV_95</tt>
<li><tt>Qt::WV_98</tt>
<li><tt>Qt::WV_Me</tt>
<li><tt>Qt::WV_DOS_based</tt>
<li><tt>Qt::WV_NT</tt>
<li><tt>Qt::WV_2000</tt>
<li><tt>Qt::WV_XP</tt>
<li><tt>Qt::WV_NT_based</tt>
</ul><p> 
<!-- eof -->
<hr><p>
This file is part of the <a href="index.html">Qt toolkit</a>.
Copyright &copy; 1995-2001
<a href="http://www.trolltech.com/">Trolltech</a>. All Rights Reserved.<p><address><hr><div align=center>
<table width=100% cellspacing=0 border=0><tr>
<td>Copyright &copy; 2001 
<a href="http://www.trolltech.com">Trolltech</a><td><a href="http://www.trolltech.com/trademarks.html">Trademarks</a>
<td align=right><div align=right>Qt version 3.0.2</div>
</table></div></address></body>
</html>