source: trunk/doc/html/qt.html@ 190

Last change on this file since 190 was 190, checked in by rudi, 14 years ago

reference documentation added

File size: 57.7 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/kernel/qobject.cpp:75 -->
3<html>
4<head>
5<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
6<title>Qt Class</title>
7<style type="text/css"><!--
8fn { margin-left: 1cm; text-indent: -1cm; }
9a:link { color: #004faf; text-decoration: none }
10a:visited { color: #672967; text-decoration: none }
11body { background: #ffffff; color: black; }
12--></style>
13</head>
14<body>
15
16<table border="0" cellpadding="0" cellspacing="0" width="100%">
17<tr bgcolor="#E5E5E5">
18<td valign=center>
19 <a href="index.html">
20<font color="#004faf">Home</font></a>
21 | <a href="classes.html">
22<font color="#004faf">All&nbsp;Classes</font></a>
23 | <a href="mainclasses.html">
24<font color="#004faf">Main&nbsp;Classes</font></a>
25 | <a href="annotated.html">
26<font color="#004faf">Annotated</font></a>
27 | <a href="groups.html">
28<font color="#004faf">Grouped&nbsp;Classes</font></a>
29 | <a href="functions.html">
30<font color="#004faf">Functions</font></a>
31</td>
32<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>
33
34<p>The Qt class is a namespace for miscellaneous identifiers
35that need to be global-like.
36<a href="#details">More...</a>
37<p><tt>#include &lt;<a href="qnamespace-h.html">qnamespace.h</a>&gt;</tt>
38<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="qsyntaxhighlighter.html">QSyntaxHighlighter</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>.
39<p><a href="qt-members.html">List of all member functions.</a>
40<h2>Public Members</h2>
41<ul>
42<li class=fn>enum <a href="#ButtonState-enum"><b>ButtonState</b></a> { NoButton = 0x0000, LeftButton = 0x0001, RightButton = 0x0002, MidButton = 0x0004, MouseButtonMask = 0x0007, ShiftButton = 0x0100, ControlButton = 0x0200, AltButton = 0x0400, MetaButton = 0x0800, KeyButtonMask = 0x0f00, Keypad = 0x4000 }</li>
43<li class=fn>enum <a href="#Orientation-enum"><b>Orientation</b></a> { Horizontal = 0, Vertical }</li>
44<li class=fn>enum <a href="#SortOrder-enum"><b>SortOrder</b></a> { Ascending, Descending }</li>
45<li 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 }</li>
46<li class=fn>enum <a href="#TextFlags-enum"><b>TextFlags</b></a> { SingleLine = 0x0080, DontClip = 0x0100, ExpandTabs = 0x0200, ShowPrefix = 0x0400, WordBreak = 0x0800, BreakAnywhere = 0x1000, NoAccel = 0x4000 }</li>
47<li 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_FullScreen = 0x00010000, WState_OwnSizePolicy = 0x00020000, WState_CreatedHidden = 0x00040000, WState_Maximized = 0x00080000, WState_Minimized = 0x00100000, WState_ForceDisabled = 0x00200000, WState_Exposed = 0x00400000, WState_HasMouse = 0x00800000 }</li>
48<li 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, WMacNoSheet = 0x00000000, WMacDrawer = 0x00000000, WX11BypassWM = 0x00000000, WWinOwnDC = 0x01000000, WMacNoSheet = 0x00000000, WMacDrawer = 0x00000000, WGroupLeader = 0x02000000, WShowModal = 0x04000000, WNoMousePropagation = 0x08000000, WSubWindow = 0x10000000, WStyle_Splash = 0x20000000, WNoAutoErase = WRepaintNoErase | WResizeNoErase, WNorthWestGravity = WStaticContents, WType_Modal = WType_Dialog | WShowModal, WStyle_Dialog = WType_Dialog, WStyle_NoBorderEx = WStyle_NoBorder }</li>
49<li class=fn>enum <a href="#WindowState-enum"><b>WindowState</b></a> { WindowNoState = 0x00000000, WindowMinimized = 0x00000001, WindowMaximized = 0x00000002, WindowFullScreen = 0x00000004, WindowActive = 0x00000008 }</li>
50<li 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 }</li>
51<li class=fn>enum <a href="#BGMode-enum"><b>BGMode</b></a> { TransparentMode, OpaqueMode }</li>
52<li class=fn>enum <a href="#PaintUnit-enum"><b>PaintUnit</b></a> { PixelUnit, LoMetricUnit, HiMetricUnit, LoEnglishUnit, HiEnglishUnit, TwipsUnit }</li>
53<li class=fn>enum GUIStyle { MacStyle, WindowsStyle, Win3Style, PMStyle, MotifStyle } &nbsp;<em>(obsolete)</em></li>
54<li class=fn>enum <a href="#SequenceMatch-enum"><b>SequenceMatch</b></a> { NoMatch, PartialMatch, Identical }</li>
55<li class=fn>enum <a href="#Modifier-enum"><b>Modifier</b></a> { META = 0x00100000, SHIFT = 0x00200000, CTRL = 0x00400000, ALT = 0x00800000, MODIFIER_MASK = 0x00f00000, UNICODE_ACCEL = 0x10000000, ASCII_ACCEL = UNICODE_ACCEL }</li>
56<li 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_Clear = 0x100b, 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_Back = 0x1061, Key_Forward = 0x1062, Key_Stop = 0x1063, Key_Refresh = 0x1064, Key_VolumeDown = 0x1070, Key_VolumeMute = 0x1071, Key_VolumeUp = 0x1072, Key_BassBoost = 0x1073, Key_BassUp = 0x1074, Key_BassDown = 0x1075, Key_TrebleUp = 0x1076, Key_TrebleDown = 0x1077, Key_MediaPlay = 0x1080, Key_MediaStop = 0x1081, Key_MediaPrev = 0x1082, Key_MediaNext = 0x1083, Key_MediaRecord = 0x1084, Key_HomePage = 0x1090, Key_Favorites = 0x1091, Key_Search = 0x1092, Key_Standby = 0x1093, Key_OpenUrl = 0x1094, Key_LaunchMail = 0x10a0, Key_LaunchMedia = 0x10a1, Key_Launch0 = 0x10a2, Key_Launch1 = 0x10a3, Key_Launch2 = 0x10a4, Key_Launch3 = 0x10a5, Key_Launch4 = 0x10a6, Key_Launch5 = 0x10a7, Key_Launch6 = 0x10a8, Key_Launch7 = 0x10a9, Key_Launch8 = 0x10aa, Key_Launch9 = 0x10ab, Key_LaunchA = 0x10ac, Key_LaunchB = 0x10ad, Key_LaunchC = 0x10ae, Key_LaunchD = 0x10af, Key_LaunchE = 0x10b0, Key_LaunchF = 0x10b1, Key_MediaLast = 0x1fff, Key_unknown = 0xffff }</li>
57<li class=fn>enum <a href="#ArrowType-enum"><b>ArrowType</b></a> { UpArrow, DownArrow, LeftArrow, RightArrow }</li>
58<li 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 }</li>
59<li class=fn>enum <a href="#PenStyle-enum"><b>PenStyle</b></a> { NoPen, SolidLine, DashLine, DotLine, DashDotLine, DashDotDotLine, MPenStyle = 0x0f }</li>
60<li class=fn>enum <a href="#PenCapStyle-enum"><b>PenCapStyle</b></a> { FlatCap = 0x00, SquareCap = 0x10, RoundCap = 0x20, MPenCapStyle = 0x30 }</li>
61<li class=fn>enum <a href="#PenJoinStyle-enum"><b>PenJoinStyle</b></a> { MiterJoin = 0x00, BevelJoin = 0x40, RoundJoin = 0x80, MPenJoinStyle = 0xc0 }</li>
62<li 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 }</li>
63<li class=fn>enum <a href="#MacintoshVersion-enum"><b>MacintoshVersion</b></a> { MV_Unknown = 0x0000, MV_9 = 0x0001, MV_10_DOT_0 = 0x0002, MV_10_DOT_1 = 0x0003, MV_10_DOT_2 = 0x0004, MV_10_DOT_3 = 0x0005, MV_10_DOT_4 = 0x0006, MV_CHEETAH = MV_10_DOT_0, MV_PUMA = MV_10_DOT_1, MV_JAGUAR = MV_10_DOT_2, MV_PANTHER = MV_10_DOT_3, MV_TIGER = MV_10_DOT_4 }</li>
64<li 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_2003 = 0x0040, WV_VISTA = 0x0080, WV_NT_based = 0x00f0, WV_CE = 0x0100, WV_CENET = 0x0200, WV_CE_based = 0x0f00 }</li>
65<li class=fn>enum <a href="#UIEffect-enum"><b>UIEffect</b></a> { UI_General, UI_AnimateMenu, UI_FadeMenu, UI_AnimateCombo, UI_AnimateTooltip, UI_FadeTooltip, UI_AnimateToolBox }</li>
66<li 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, BusyCursor, LastCursor = BusyCursor, BitmapCursor = 24 }</li>
67<li class=fn>enum <a href="#TextFormat-enum"><b>TextFormat</b></a> { PlainText, RichText, AutoText, LogText }</li>
68<li class=fn>enum <a href="#AnchorAttribute-enum"><b>AnchorAttribute</b></a> { AnchorName, AnchorHref }</li>
69<li 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 }</li>
70<li class=fn>enum <a href="#DateFormat-enum"><b>DateFormat</b></a> { TextDate, ISODate, LocalDate }</li>
71<li class=fn>enum <a href="#TimeSpec-enum"><b>TimeSpec</b></a> { LocalTime, UTC }</li>
72<li 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 }</li>
73<li class=fn>enum <a href="#StringComparisonMode-enum"><b>StringComparisonMode</b></a> { CaseSensitive = 0x00001, BeginsWith = 0x00002, EndsWith = 0x00004, Contains = 0x00008, ExactMatch = 0x00010 }</li>
74<li class=fn>enum <a href="#Corner-enum"><b>Corner</b></a> { TopLeft = 0x00000, TopRight = 0x00001, BottomLeft = 0x00002, BottomRight = 0x00003 }</li>
75<li class=fn>typedef void&nbsp;*&nbsp;<b>HANDLE</b></li>
76</ul>
77<hr><a name="details"></a><h2>Detailed Description</h2>
78
79
80<p> The Qt class is a namespace for miscellaneous identifiers
81that need to be global-like.
82<p>
83<p> Normally, you can ignore this class. <a href="qobject.html">QObject</a> and a few other
84classes inherit it, so all the identifiers in the Qt namespace are
85normally usable without qualification.
86<p> However, you may occasionally need to say <tt>Qt::black</tt> instead of
87just <tt>black</tt>, particularly in static utility functions (such as
88many class factories).
89<p> <p>See also <a href="misc.html">Miscellaneous Classes</a>.
90
91<hr><h2>Member Type Documentation</h2>
92<h3 class=fn><a name="AlignmentFlags-enum"></a>Qt::AlignmentFlags</h3>
93
94<p> This enum type is used to describe alignment. It contains
95horizontal and vertical flags.
96<p> The horizontal flags are:
97<ul>
98<li><tt>Qt::AlignAuto</tt> - Aligns according to the language. Left for most,
99right for Arabic and Hebrew.
100<li><tt>Qt::AlignLeft</tt> - Aligns with the left edge.
101<li><tt>Qt::AlignRight</tt> - Aligns with the right edge.
102<li><tt>Qt::AlignHCenter</tt> - Centers horizontally in the available space.
103<li><tt>Qt::AlignJustify</tt> - Justifies the text in the available space.
104Does not work for everything and may be interpreted as
105AlignAuto in some cases.
106</ul><p> The vertical flags are:
107<ul>
108<li><tt>Qt::AlignTop</tt> - Aligns with the top.
109<li><tt>Qt::AlignBottom</tt> - Aligns with the bottom.
110<li><tt>Qt::AlignVCenter</tt> - Centers vertically in the available space.
111</ul><p> You can use only one of the horizontal flags at a time. There is
112one two-dimensional flag:
113<ul>
114<li><tt>Qt::AlignCenter</tt> - Centers in both dimensions.
115</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.
116<p> Masks:
117<ul>
118<li><tt>Qt::AlignHorizontal_Mask</tt>
119<li><tt>Qt::AlignVertical_Mask</tt>
120</ul><p> Conflicting combinations of flags have undefined meanings.
121
122<h3 class=fn><a name="AnchorAttribute-enum"></a>Qt::AnchorAttribute</h3>
123
124<p> An anchor has one or more of the following attributes:
125<ul>
126<li><tt>Qt::AnchorName</tt> - the name attribute of the anchor. This attribute is
127used when scrolling to an anchor in the document.
128<li><tt>Qt::AnchorHref</tt> - the href attribute of the anchor. This attribute is
129used when a link is clicked to determine what content to load.
130</ul>
131<h3 class=fn><a name="ArrowType-enum"></a>Qt::ArrowType</h3>
132
133<ul>
134<li><tt>Qt::UpArrow</tt>
135<li><tt>Qt::DownArrow</tt>
136<li><tt>Qt::LeftArrow</tt>
137<li><tt>Qt::RightArrow</tt>
138</ul><p>
139<h3 class=fn><a name="BGMode-enum"></a>Qt::BGMode</h3>
140
141<p> Background mode
142<ul>
143<li><tt>Qt::TransparentMode</tt>
144<li><tt>Qt::OpaqueMode</tt>
145</ul>
146<h3 class=fn><a name="BackgroundMode-enum"></a>Qt::BackgroundMode</h3>
147
148<p> This enum describes how the background of a widget changes, as the
149widget's palette changes.
150<p> The background is what the widget contains when <a href="qwidget.html#paintEvent">paintEvent()</a> is called. To minimize
151flicker, this should be the most common color or pixmap in the
152widget. For <a href="#BackgroundMode-enum">PaletteBackground</a>, use colorGroup().brush( <a href="qcolorgroup.html#ColorRole-enum">QColorGroup::Background</a> ), and so on.
153<ul>
154<li><tt>Qt::PaletteForeground</tt>
155<li><tt>Qt::PaletteBackground</tt>
156<li><tt>Qt::PaletteButton</tt>
157<li><tt>Qt::PaletteLight</tt>
158<li><tt>Qt::PaletteMidlight</tt>
159<li><tt>Qt::PaletteDark</tt>
160<li><tt>Qt::PaletteMid</tt>
161<li><tt>Qt::PaletteText</tt>
162<li><tt>Qt::PaletteBrightText</tt>
163<li><tt>Qt::PaletteButtonText</tt>
164<li><tt>Qt::PaletteBase</tt>
165<li><tt>Qt::PaletteShadow</tt>
166<li><tt>Qt::PaletteHighlight</tt>
167<li><tt>Qt::PaletteHighlightedText</tt>
168<li><tt>Qt::PaletteLink</tt>
169<li><tt>Qt::PaletteLinkVisited</tt>
170<li><tt>Qt::X11ParentRelative</tt> - (internal use only)
171</ul><p> The final three values have special meaning:
172<ul>
173<li><tt>Qt::NoBackground</tt> - the widget is not cleared before paintEvent().
174If the widget's paint event always draws on all the pixels, using
175this mode can be both fast and flicker-free.
176<li><tt>Qt::FixedColor</tt> - the widget is cleared to a fixed color, normally
177different from all the ones in the palette(). Set using <a href="qwidget.html#setPaletteBackgroundColor">setPaletteBackgroundColor()</a>.
178<li><tt>Qt::FixedPixmap</tt> - the widget is cleared to a fixed pixmap,
179normally different from all the ones in the palette(). Set using
180<a href="qwidget.html#setPaletteBackgroundPixmap">setPaletteBackgroundPixmap()</a>.
181</ul><p> Although <a href="#BackgroundMode-enum">FixedColor</a> and <a href="#BackgroundMode-enum">FixedPixmap</a> are sometimes just
182right, if you use them, make sure that you test your application
183when the desktop color scheme has been changed. (On X11, a quick
184way to test this is e.g. "./myapp -bg paleblue". On Windows, you
185must use the control panel.)
186<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>.
187
188<h3 class=fn><a name="BrushStyle-enum"></a>Qt::BrushStyle</h3>
189
190<ul>
191<li><tt>Qt::NoBrush</tt>
192<li><tt>Qt::SolidPattern</tt>
193<li><tt>Qt::Dense1Pattern</tt>
194<li><tt>Qt::Dense2Pattern</tt>
195<li><tt>Qt::Dense3Pattern</tt>
196<li><tt>Qt::Dense4Pattern</tt>
197<li><tt>Qt::Dense5Pattern</tt>
198<li><tt>Qt::Dense6Pattern</tt>
199<li><tt>Qt::Dense7Pattern</tt>
200<li><tt>Qt::HorPattern</tt>
201<li><tt>Qt::VerPattern</tt>
202<li><tt>Qt::CrossPattern</tt>
203<li><tt>Qt::BDiagPattern</tt>
204<li><tt>Qt::FDiagPattern</tt>
205<li><tt>Qt::DiagCrossPattern</tt>
206<li><tt>Qt::CustomPattern</tt>
207</ul><p> <center><img src="brush-styles.png" alt="Brush Styles"></center>
208<p>
209<h3 class=fn><a name="ButtonState-enum"></a>Qt::ButtonState</h3>
210
211<p> This enum type describes the state of the mouse and the modifier
212buttons.
213<ul>
214<li><tt>Qt::NoButton</tt> - used when the button state does not refer to any
215button (see <a href="qmouseevent.html#button">QMouseEvent::button</a>()).
216<li><tt>Qt::LeftButton</tt> - set if the left button is pressed, or if this
217event refers to the left button. (The left button may be
218the right button on left-handed mice.)
219<li><tt>Qt::RightButton</tt> - the right button.
220<li><tt>Qt::MidButton</tt> - the middle button.
221<li><tt>Qt::ShiftButton</tt> - a Shift key on the keyboard is also pressed.
222<li><tt>Qt::ControlButton</tt> - a Ctrl key on the keyboard is also pressed.
223<li><tt>Qt::AltButton</tt> - an Alt key on the keyboard is also pressed.
224<li><tt>Qt::MetaButton</tt> - a Meta key on the keyboard is also pressed.
225<li><tt>Qt::Keypad</tt> - a keypad button is pressed.
226<li><tt>Qt::KeyButtonMask</tt> - a mask for ShiftButton, ControlButton,
227AltButton and MetaButton.
228<li><tt>Qt::MouseButtonMask</tt> - a mask for LeftButton, RightButton and MidButton.
229</ul>
230<h3 class=fn><a name="Corner-enum"></a>Qt::Corner</h3>
231
232This enum type specifies a corner in a rectangle:
233<ul>
234<li><tt>Qt::TopLeft</tt> - top left corner
235<li><tt>Qt::TopRight</tt> - top right corner
236<li><tt>Qt::BottomLeft</tt> - bottom left corner
237<li><tt>Qt::BottomRight</tt> - bottom right corner
238</ul>
239<h3 class=fn><a name="CursorShape-enum"></a>Qt::CursorShape</h3>
240
241<p> This enum type defines the various cursors that can be used.
242<ul>
243<li><tt>Qt::ArrowCursor</tt> - standard arrow cursor
244<li><tt>Qt::UpArrowCursor</tt> - upwards arrow
245<li><tt>Qt::CrossCursor</tt> - crosshair
246<li><tt>Qt::WaitCursor</tt> - hourglass/watch
247<li><tt>Qt::BusyCursor</tt> - standard arrow with hourglass/watch
248<li><tt>Qt::IbeamCursor</tt> - ibeam/text entry
249<li><tt>Qt::SizeVerCursor</tt> - vertical resize
250<li><tt>Qt::SizeHorCursor</tt> - horizontal resize
251<li><tt>Qt::SizeFDiagCursor</tt> - diagonal resize (&#92;)
252<li><tt>Qt::SizeBDiagCursor</tt> - diagonal resize (/)
253<li><tt>Qt::SizeAllCursor</tt> - all directions resize
254<li><tt>Qt::BlankCursor</tt> - blank/invisible cursor
255<li><tt>Qt::SplitVCursor</tt> - vertical splitting
256<li><tt>Qt::SplitHCursor</tt> - horizontal splitting
257<li><tt>Qt::PointingHandCursor</tt> - a pointing hand
258<li><tt>Qt::ForbiddenCursor</tt> - a slashed circle
259<li><tt>Qt::WhatsThisCursor</tt> - an arrow with a question mark
260<li><tt>Qt::BitmapCursor</tt>
261</ul><p> ArrowCursor is the default for widgets in a normal state.
262<p> <center><img src="cursors.png" alt="Cursor Shapes"></center>
263<h3 class=fn><a name="DateFormat-enum"></a>Qt::DateFormat</h3>
264
265<ul>
266<li><tt>Qt::TextDate</tt> - (default) Qt format
267<li><tt>Qt::ISODate</tt> - ISO 8601 extended format (YYYY-MM-DD, or with time,
268YYYY-MM-DDTHH:MM:SS)
269<li><tt>Qt::LocalDate</tt> - locale dependent format
270</ul>
271<h3 class=fn><a name="Dock-enum"></a>Qt::Dock</h3>
272
273<p> Each dock window can be in one of the following positions:
274<ul>
275<li><tt>Qt::DockTop</tt> - above the central widget, below the menu bar.
276<li><tt>Qt::DockBottom</tt> - below the central widget, above the status bar.
277<li><tt>Qt::DockLeft</tt> - to the left of the central widget.
278<li><tt>Qt::DockRight</tt> - to the right of the central widget.
279<li><tt>Qt::DockMinimized</tt> - the dock window is not shown (this is
280effectively a 'hidden' dock area); the handles of all minimized
281dock windows are drawn in one row below the menu bar.
282<li><tt>Qt::DockTornOff</tt> - the dock window floats as its own top level
283window which always stays on top of the main window.
284<li><tt>Qt::DockUnmanaged</tt> - not managed by a <a href="qmainwindow.html">QMainWindow</a>.
285</ul>
286<h3 class=fn><a name="GUIStyle-enum"></a>Qt::GUIStyle</h3>
287
288<p> <b>This type is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code.
289<p> <ul>
290<li><tt>Qt::WindowsStyle</tt>
291<li><tt>Qt::MotifStyle</tt>
292<li><tt>Qt::MacStyle</tt>
293<li><tt>Qt::Win3Style</tt>
294<li><tt>Qt::PMStyle</tt>
295</ul>
296<h3 class=fn><a name="ImageConversionFlags-enum"></a>Qt::ImageConversionFlags</h3>
297
298<p> The conversion flag is a bitwise-OR of the following values. The
299options marked "(default)" are set if no other values from the
300list are included (since the defaults are zero):
301<p> Color/Mono preference (ignored for <a href="qbitmap.html">QBitmap</a>)
302<ul>
303<li><tt>Qt::AutoColor</tt> - (default) - If the image has <a href="qimage.html#depth">depth</a> 1 and contains only
304black and white pixels, the pixmap becomes monochrome.
305<li><tt>Qt::ColorOnly</tt> - The pixmap is dithered/converted to the
306<a href="qpixmap.html#defaultDepth">native display depth</a>.
307<li><tt>Qt::MonoOnly</tt> - The pixmap becomes monochrome. If necessary,
308it is dithered using the chosen dithering algorithm.
309</ul><p> Dithering mode preference for RGB channels
310<ul>
311<li><tt>Qt::DiffuseDither</tt> - (default) - A high-quality dither.
312<li><tt>Qt::OrderedDither</tt> - A faster, more ordered dither.
313<li><tt>Qt::ThresholdDither</tt> - No dithering; closest color is used.
314</ul><p> Dithering mode preference for alpha channel
315<ul>
316<li><tt>Qt::ThresholdAlphaDither</tt> - (default) - No dithering.
317<li><tt>Qt::OrderedAlphaDither</tt> - A faster, more ordered dither.
318<li><tt>Qt::DiffuseAlphaDither</tt> - A high-quality dither.
319<li><tt>Qt::NoAlpha</tt> - Not supported.
320</ul><p> Color matching versus dithering preference
321<ul>
322<li><tt>Qt::PreferDither</tt> - (default when converting to a pixmap) - Always dither
32332-bit images when the image is converted to 8 bits.
324<li><tt>Qt::AvoidDither</tt> - (default when converting for the purpose of saving to
325file) - Dither 32-bit images only if the image has more than 256
326colors and it is being converted to 8 bits.
327<li><tt>Qt::AutoDither</tt> - Not supported.
328</ul><p> The following are not values that are used directly, but masks for
329the above classes:
330<ul>
331<li><tt>Qt::ColorMode_Mask</tt> - Mask for the color mode.
332<li><tt>Qt::Dither_Mask</tt> - Mask for the dithering mode for RGB channels.
333<li><tt>Qt::AlphaDither_Mask</tt> - Mask for the dithering mode for the alpha channel.
334<li><tt>Qt::DitherMode_Mask</tt> - Mask for the mode that determines the preference of
335color matching versus dithering.
336</ul><p> Using 0 as the conversion flag sets all the default options.
337
338<h3 class=fn><a name="Key-enum"></a>Qt::Key</h3>
339
340<p> The key names used by Qt.
341<ul>
342<li><tt>Qt::Key_Escape</tt>
343<li><tt>Qt::Key_Tab</tt>
344<li><tt>Qt::Key_Backtab</tt>
345<li><tt>Qt::Key_Backspace</tt>
346<li><tt>Qt::Key_Return</tt>
347<li><tt>Qt::Key_Enter</tt>
348<li><tt>Qt::Key_Insert</tt>
349<li><tt>Qt::Key_Delete</tt>
350<li><tt>Qt::Key_Pause</tt>
351<li><tt>Qt::Key_Print</tt>
352<li><tt>Qt::Key_SysReq</tt>
353<li><tt>Qt::Key_Home</tt>
354<li><tt>Qt::Key_End</tt>
355<li><tt>Qt::Key_Left</tt>
356<li><tt>Qt::Key_Up</tt>
357<li><tt>Qt::Key_Right</tt>
358<li><tt>Qt::Key_Down</tt>
359<li><tt>Qt::Key_Prior</tt>
360<li><tt>Qt::Key_Next</tt>
361<li><tt>Qt::Key_Shift</tt>
362<li><tt>Qt::Key_Control</tt>
363<li><tt>Qt::Key_Meta</tt>
364<li><tt>Qt::Key_Alt</tt>
365<li><tt>Qt::Key_CapsLock</tt>
366<li><tt>Qt::Key_NumLock</tt>
367<li><tt>Qt::Key_ScrollLock</tt>
368<li><tt>Qt::Key_Clear</tt>
369<li><tt>Qt::Key_F1</tt>
370<li><tt>Qt::Key_F2</tt>
371<li><tt>Qt::Key_F3</tt>
372<li><tt>Qt::Key_F4</tt>
373<li><tt>Qt::Key_F5</tt>
374<li><tt>Qt::Key_F6</tt>
375<li><tt>Qt::Key_F7</tt>
376<li><tt>Qt::Key_F8</tt>
377<li><tt>Qt::Key_F9</tt>
378<li><tt>Qt::Key_F10</tt>
379<li><tt>Qt::Key_F11</tt>
380<li><tt>Qt::Key_F12</tt>
381<li><tt>Qt::Key_F13</tt>
382<li><tt>Qt::Key_F14</tt>
383<li><tt>Qt::Key_F15</tt>
384<li><tt>Qt::Key_F16</tt>
385<li><tt>Qt::Key_F17</tt>
386<li><tt>Qt::Key_F18</tt>
387<li><tt>Qt::Key_F19</tt>
388<li><tt>Qt::Key_F20</tt>
389<li><tt>Qt::Key_F21</tt>
390<li><tt>Qt::Key_F22</tt>
391<li><tt>Qt::Key_F23</tt>
392<li><tt>Qt::Key_F24</tt>
393<li><tt>Qt::Key_F25</tt>
394<li><tt>Qt::Key_F26</tt>
395<li><tt>Qt::Key_F27</tt>
396<li><tt>Qt::Key_F28</tt>
397<li><tt>Qt::Key_F29</tt>
398<li><tt>Qt::Key_F30</tt>
399<li><tt>Qt::Key_F31</tt>
400<li><tt>Qt::Key_F32</tt>
401<li><tt>Qt::Key_F33</tt>
402<li><tt>Qt::Key_F34</tt>
403<li><tt>Qt::Key_F35</tt>
404<li><tt>Qt::Key_Super_L</tt>
405<li><tt>Qt::Key_Super_R</tt>
406<li><tt>Qt::Key_Menu</tt>
407<li><tt>Qt::Key_Hyper_L</tt>
408<li><tt>Qt::Key_Hyper_R</tt>
409<li><tt>Qt::Key_Help</tt>
410<li><tt>Qt::Key_Space</tt>
411<li><tt>Qt::Key_Any</tt>
412<li><tt>Qt::Key_Exclam</tt>
413<li><tt>Qt::Key_QuoteDbl</tt>
414<li><tt>Qt::Key_NumberSign</tt>
415<li><tt>Qt::Key_Dollar</tt>
416<li><tt>Qt::Key_Percent</tt>
417<li><tt>Qt::Key_Ampersand</tt>
418<li><tt>Qt::Key_Apostrophe</tt>
419<li><tt>Qt::Key_ParenLeft</tt>
420<li><tt>Qt::Key_ParenRight</tt>
421<li><tt>Qt::Key_Asterisk</tt>
422<li><tt>Qt::Key_Plus</tt>
423<li><tt>Qt::Key_Comma</tt>
424<li><tt>Qt::Key_Minus</tt>
425<li><tt>Qt::Key_Period</tt>
426<li><tt>Qt::Key_Slash</tt>
427<li><tt>Qt::Key_0</tt>
428<li><tt>Qt::Key_1</tt>
429<li><tt>Qt::Key_2</tt>
430<li><tt>Qt::Key_3</tt>
431<li><tt>Qt::Key_4</tt>
432<li><tt>Qt::Key_5</tt>
433<li><tt>Qt::Key_6</tt>
434<li><tt>Qt::Key_7</tt>
435<li><tt>Qt::Key_8</tt>
436<li><tt>Qt::Key_9</tt>
437<li><tt>Qt::Key_Colon</tt>
438<li><tt>Qt::Key_Semicolon</tt>
439<li><tt>Qt::Key_Less</tt>
440<li><tt>Qt::Key_Equal</tt>
441<li><tt>Qt::Key_Greater</tt>
442<li><tt>Qt::Key_Question</tt>
443<li><tt>Qt::Key_At</tt>
444<li><tt>Qt::Key_A</tt>
445<li><tt>Qt::Key_B</tt>
446<li><tt>Qt::Key_C</tt>
447<li><tt>Qt::Key_D</tt>
448<li><tt>Qt::Key_E</tt>
449<li><tt>Qt::Key_F</tt>
450<li><tt>Qt::Key_G</tt>
451<li><tt>Qt::Key_H</tt>
452<li><tt>Qt::Key_I</tt>
453<li><tt>Qt::Key_J</tt>
454<li><tt>Qt::Key_K</tt>
455<li><tt>Qt::Key_L</tt>
456<li><tt>Qt::Key_M</tt>
457<li><tt>Qt::Key_N</tt>
458<li><tt>Qt::Key_O</tt>
459<li><tt>Qt::Key_P</tt>
460<li><tt>Qt::Key_Q</tt>
461<li><tt>Qt::Key_R</tt>
462<li><tt>Qt::Key_S</tt>
463<li><tt>Qt::Key_T</tt>
464<li><tt>Qt::Key_U</tt>
465<li><tt>Qt::Key_V</tt>
466<li><tt>Qt::Key_W</tt>
467<li><tt>Qt::Key_X</tt>
468<li><tt>Qt::Key_Y</tt>
469<li><tt>Qt::Key_Z</tt>
470<li><tt>Qt::Key_BracketLeft</tt>
471<li><tt>Qt::Key_Backslash</tt>
472<li><tt>Qt::Key_BracketRight</tt>
473<li><tt>Qt::Key_AsciiCircum</tt>
474<li><tt>Qt::Key_Underscore</tt>
475<li><tt>Qt::Key_QuoteLeft</tt>
476<li><tt>Qt::Key_BraceLeft</tt>
477<li><tt>Qt::Key_Bar</tt>
478<li><tt>Qt::Key_BraceRight</tt>
479<li><tt>Qt::Key_AsciiTilde</tt>
480<li><tt>Qt::Key_nobreakspace</tt>
481<li><tt>Qt::Key_exclamdown</tt>
482<li><tt>Qt::Key_cent</tt>
483<li><tt>Qt::Key_sterling</tt>
484<li><tt>Qt::Key_currency</tt>
485<li><tt>Qt::Key_yen</tt>
486<li><tt>Qt::Key_brokenbar</tt>
487<li><tt>Qt::Key_section</tt>
488<li><tt>Qt::Key_diaeresis</tt>
489<li><tt>Qt::Key_copyright</tt>
490<li><tt>Qt::Key_ordfeminine</tt>
491<li><tt>Qt::Key_guillemotleft</tt>
492<li><tt>Qt::Key_notsign</tt>
493<li><tt>Qt::Key_hyphen</tt>
494<li><tt>Qt::Key_registered</tt>
495<li><tt>Qt::Key_macron</tt>
496<li><tt>Qt::Key_degree</tt>
497<li><tt>Qt::Key_plusminus</tt>
498<li><tt>Qt::Key_twosuperior</tt>
499<li><tt>Qt::Key_threesuperior</tt>
500<li><tt>Qt::Key_acute</tt>
501<li><tt>Qt::Key_mu</tt>
502<li><tt>Qt::Key_paragraph</tt>
503<li><tt>Qt::Key_periodcentered</tt>
504<li><tt>Qt::Key_cedilla</tt>
505<li><tt>Qt::Key_onesuperior</tt>
506<li><tt>Qt::Key_masculine</tt>
507<li><tt>Qt::Key_guillemotright</tt>
508<li><tt>Qt::Key_onequarter</tt>
509<li><tt>Qt::Key_onehalf</tt>
510<li><tt>Qt::Key_threequarters</tt>
511<li><tt>Qt::Key_questiondown</tt>
512<li><tt>Qt::Key_Agrave</tt>
513<li><tt>Qt::Key_Aacute</tt>
514<li><tt>Qt::Key_Acircumflex</tt>
515<li><tt>Qt::Key_Atilde</tt>
516<li><tt>Qt::Key_Adiaeresis</tt>
517<li><tt>Qt::Key_Aring</tt>
518<li><tt>Qt::Key_AE</tt>
519<li><tt>Qt::Key_Ccedilla</tt>
520<li><tt>Qt::Key_Egrave</tt>
521<li><tt>Qt::Key_Eacute</tt>
522<li><tt>Qt::Key_Ecircumflex</tt>
523<li><tt>Qt::Key_Ediaeresis</tt>
524<li><tt>Qt::Key_Igrave</tt>
525<li><tt>Qt::Key_Iacute</tt>
526<li><tt>Qt::Key_Icircumflex</tt>
527<li><tt>Qt::Key_Idiaeresis</tt>
528<li><tt>Qt::Key_ETH</tt>
529<li><tt>Qt::Key_Ntilde</tt>
530<li><tt>Qt::Key_Ograve</tt>
531<li><tt>Qt::Key_Oacute</tt>
532<li><tt>Qt::Key_Ocircumflex</tt>
533<li><tt>Qt::Key_Otilde</tt>
534<li><tt>Qt::Key_Odiaeresis</tt>
535<li><tt>Qt::Key_multiply</tt>
536<li><tt>Qt::Key_Ooblique</tt>
537<li><tt>Qt::Key_Ugrave</tt>
538<li><tt>Qt::Key_Uacute</tt>
539<li><tt>Qt::Key_Ucircumflex</tt>
540<li><tt>Qt::Key_Udiaeresis</tt>
541<li><tt>Qt::Key_Yacute</tt>
542<li><tt>Qt::Key_THORN</tt>
543<li><tt>Qt::Key_ssharp</tt>
544<li><tt>Qt::Key_agrave</tt>
545<li><tt>Qt::Key_aacute</tt>
546<li><tt>Qt::Key_acircumflex</tt>
547<li><tt>Qt::Key_atilde</tt>
548<li><tt>Qt::Key_adiaeresis</tt>
549<li><tt>Qt::Key_aring</tt>
550<li><tt>Qt::Key_ae</tt>
551<li><tt>Qt::Key_ccedilla</tt>
552<li><tt>Qt::Key_egrave</tt>
553<li><tt>Qt::Key_eacute</tt>
554<li><tt>Qt::Key_ecircumflex</tt>
555<li><tt>Qt::Key_ediaeresis</tt>
556<li><tt>Qt::Key_igrave</tt>
557<li><tt>Qt::Key_iacute</tt>
558<li><tt>Qt::Key_icircumflex</tt>
559<li><tt>Qt::Key_idiaeresis</tt>
560<li><tt>Qt::Key_eth</tt>
561<li><tt>Qt::Key_ntilde</tt>
562<li><tt>Qt::Key_ograve</tt>
563<li><tt>Qt::Key_oacute</tt>
564<li><tt>Qt::Key_ocircumflex</tt>
565<li><tt>Qt::Key_otilde</tt>
566<li><tt>Qt::Key_odiaeresis</tt>
567<li><tt>Qt::Key_division</tt>
568<li><tt>Qt::Key_oslash</tt>
569<li><tt>Qt::Key_ugrave</tt>
570<li><tt>Qt::Key_uacute</tt>
571<li><tt>Qt::Key_ucircumflex</tt>
572<li><tt>Qt::Key_udiaeresis</tt>
573<li><tt>Qt::Key_yacute</tt>
574<li><tt>Qt::Key_thorn</tt>
575<li><tt>Qt::Key_ydiaeresis</tt>
576</ul><p> Multimedia keys
577<ul>
578<li><tt>Qt::Key_Back</tt>
579<li><tt>Qt::Key_Forward</tt>
580<li><tt>Qt::Key_Stop</tt>
581<li><tt>Qt::Key_Refresh</tt>
582<li><tt>Qt::Key_VolumeDown</tt>
583<li><tt>Qt::Key_VolumeMute</tt>
584<li><tt>Qt::Key_VolumeUp</tt>
585<li><tt>Qt::Key_BassBoost</tt>
586<li><tt>Qt::Key_BassUp</tt>
587<li><tt>Qt::Key_BassDown</tt>
588<li><tt>Qt::Key_TrebleUp</tt>
589<li><tt>Qt::Key_TrebleDown</tt>
590<li><tt>Qt::Key_MediaPlay</tt>
591<li><tt>Qt::Key_MediaStop</tt>
592<li><tt>Qt::Key_MediaPrev</tt>
593<li><tt>Qt::Key_MediaNext</tt>
594<li><tt>Qt::Key_MediaRecord</tt>
595<li><tt>Qt::Key_HomePage</tt>
596<li><tt>Qt::Key_Favorites</tt>
597<li><tt>Qt::Key_Search</tt>
598<li><tt>Qt::Key_Standby</tt>
599<li><tt>Qt::Key_OpenUrl</tt>
600<li><tt>Qt::Key_LaunchMail</tt>
601<li><tt>Qt::Key_LaunchMedia</tt>
602<li><tt>Qt::Key_Launch0</tt>
603<li><tt>Qt::Key_Launch1</tt>
604<li><tt>Qt::Key_Launch2</tt>
605<li><tt>Qt::Key_Launch3</tt>
606<li><tt>Qt::Key_Launch4</tt>
607<li><tt>Qt::Key_Launch5</tt>
608<li><tt>Qt::Key_Launch6</tt>
609<li><tt>Qt::Key_Launch7</tt>
610<li><tt>Qt::Key_Launch8</tt>
611<li><tt>Qt::Key_Launch9</tt>
612<li><tt>Qt::Key_LaunchA</tt>
613<li><tt>Qt::Key_LaunchB</tt>
614<li><tt>Qt::Key_LaunchC</tt>
615<li><tt>Qt::Key_LaunchD</tt>
616<li><tt>Qt::Key_LaunchE</tt>
617<li><tt>Qt::Key_LaunchF</tt>
618<li><tt>Qt::Key_MediaLast</tt>
619<li><tt>Qt::Key_unknown</tt>
620<li><tt>Qt::Key_Direction_L</tt> - internal use only
621<li><tt>Qt::Key_Direction_R</tt> - internal use only
622</ul><p>
623<h3 class=fn><a name="MacintoshVersion-enum"></a>Qt::MacintoshVersion</h3>
624
625<ul>
626<li><tt>Qt::MV_Unknown</tt> - Version cannot be detected
627<li><tt>Qt::MV_9</tt> - Mac OS 9
628<li><tt>Qt::MV_10_DOT_3</tt> - Mac OS X 10.3
629<li><tt>Qt::MV_10_DOT_2</tt> - Mac OS X 10.2
630<li><tt>Qt::MV_10_DOT_1</tt> - Mac OS X 10.1
631<li><tt>Qt::MV_10_DOT_0</tt> - Mac OS X 10.0
632<li><tt>Qt::MV_10_DOT_4</tt> - Mac OS X 10.4
633<li><tt>Qt::MV_CHEETAH</tt> - 10.0 Codename
634<li><tt>Qt::MV_PUMA</tt> - 10.1 Codename
635<li><tt>Qt::MV_JAGUAR</tt> - 10.2 Codename
636<li><tt>Qt::MV_PANTHER</tt> - 10.3 Codename
637<li><tt>Qt::MV_TIGER</tt> - 10.4 Codename
638</ul>
639<h3 class=fn><a name="Modifier-enum"></a>Qt::Modifier</h3>
640
641<p> This enum type describes the keyboard modifier keys supported by
642Qt.
643<ul>
644<li><tt>Qt::SHIFT</tt> - the Shift keys provided on all standard keyboards.
645<li><tt>Qt::META</tt> - the Meta keys.
646<li><tt>Qt::CTRL</tt> - the Ctrl keys.
647<li><tt>Qt::ALT</tt> - the normal Alt keys, but not e.g. AltGr.
648<li><tt>Qt::MODIFIER_MASK</tt> - is a mask of Shift, Ctrl, Alt and Meta.
649<li><tt>Qt::UNICODE_ACCEL</tt> - the accelerator is specified as a Unicode code
650point, not as a Qt Key.
651</ul>
652<h3 class=fn><a name="Orientation-enum"></a>Qt::Orientation</h3>
653
654<p> This type is used to signify an object's orientation.
655<ul>
656<li><tt>Qt::Horizontal</tt>
657<li><tt>Qt::Vertical</tt>
658</ul><p> Orientation is used with <a href="qscrollbar.html">QScrollBar</a> for example.
659
660<h3 class=fn><a name="PaintUnit-enum"></a>Qt::PaintUnit</h3>
661
662<ul>
663<li><tt>Qt::PixelUnit</tt>
664<li><tt>Qt::LoMetricUnit</tt> - <em>obsolete</em>
665<li><tt>Qt::HiMetricUnit</tt> - <em>obsolete</em>
666<li><tt>Qt::LoEnglishUnit</tt> - <em>obsolete</em>
667<li><tt>Qt::HiEnglishUnit</tt> - <em>obsolete</em>
668<li><tt>Qt::TwipsUnit</tt> - <em>obsolete</em>
669</ul>
670<h3 class=fn><a name="PenCapStyle-enum"></a>Qt::PenCapStyle</h3>
671
672<p> This enum type defines the pen cap styles supported by Qt, i.e.
673the line end caps that can be drawn using <a href="qpainter.html">QPainter</a>.
674<ul>
675<li><tt>Qt::FlatCap</tt> - a square line end that does not cover the end
676point of the line.
677<li><tt>Qt::SquareCap</tt> - a square line end that covers the end point and
678extends beyond it with half the line width.
679<li><tt>Qt::RoundCap</tt> - a rounded line end.
680<li><tt>Qt::MPenCapStyle</tt> - mask of the pen cap styles.
681</ul><p> <center><img src="pen-cap-styles.png" alt="Pen Cap Styles"></center>
682<h3 class=fn><a name="PenJoinStyle-enum"></a>Qt::PenJoinStyle</h3>
683
684<p> This enum type defines the pen join styles supported by Qt, i.e.
685which joins between two connected lines can be drawn using
686<a href="qpainter.html">QPainter</a>.
687<ul>
688<li><tt>Qt::MiterJoin</tt> - The outer edges of the lines are extended to
689meet at an angle, and this area is filled.
690<li><tt>Qt::BevelJoin</tt> - The triangular notch between the two lines is filled.
691<li><tt>Qt::RoundJoin</tt> - A circular arc between the two lines is filled.
692<li><tt>Qt::MPenJoinStyle</tt> - mask of the pen join styles.
693</ul><p> <center><img src="pen-join-styles.png" alt="Pen Join Styles"></center>
694<h3 class=fn><a name="PenStyle-enum"></a>Qt::PenStyle</h3>
695
696<p> This enum type defines the pen styles that can be drawn using
697<a href="qpainter.html">QPainter</a>. The styles are
698<ul>
699<li><tt>Qt::NoPen</tt> - no line at all. For example, <a href="qpainter.html#drawRect">QPainter::drawRect</a>()
700fills but does not draw any boundary line.
701<li><tt>Qt::SolidLine</tt> - a simple line.
702<li><tt>Qt::DashLine</tt> - dashes separated by a few pixels.
703<li><tt>Qt::DotLine</tt> - dots separated by a few pixels.
704<li><tt>Qt::DashDotLine</tt> - alternate dots and dashes.
705<li><tt>Qt::DashDotDotLine</tt> - one dash, two dots, one dash, two dots.
706<li><tt>Qt::MPenStyle</tt> - mask of the pen styles.
707</ul><p> <center><img src="pen-styles.png" alt="Pen Styles"></center>
708<h3 class=fn><a name="RasterOp-enum"></a>Qt::RasterOp</h3>
709
710<p> This enum type is used to describe the way things are written to
711the paint device. Each bit of the <em>src</em> (what you write)
712interacts with the corresponding bit of the <em>dst</em> pixel.
713<ul>
714<li><tt>Qt::CopyROP</tt> - dst = src
715<li><tt>Qt::OrROP</tt> - dst = src OR dst
716<li><tt>Qt::XorROP</tt> - dst = src XOR dst
717<li><tt>Qt::NotAndROP</tt> - dst = (NOT src) AND dst
718<li><tt>Qt::EraseROP</tt> - an alias for <a href="#RasterOp-enum">NotAndROP</a>
719<li><tt>Qt::NotCopyROP</tt> - dst = NOT src
720<li><tt>Qt::NotOrROP</tt> - dst = (NOT src) OR dst
721<li><tt>Qt::NotXorROP</tt> - dst = (NOT src) XOR dst
722<li><tt>Qt::AndROP</tt> - dst = src AND dst
723<li><tt>Qt::NotEraseROP</tt> - an alias for <a href="#RasterOp-enum">AndROP</a>
724<li><tt>Qt::NotROP</tt> - dst = NOT dst
725<li><tt>Qt::ClearROP</tt> - dst = 0
726<li><tt>Qt::SetROP</tt> - dst = 1
727<li><tt>Qt::NopROP</tt> - dst = dst
728<li><tt>Qt::AndNotROP</tt> - dst = src AND (NOT dst)
729<li><tt>Qt::OrNotROP</tt> - dst = src OR (NOT dst)
730<li><tt>Qt::NandROP</tt> - dst = NOT (src AND dst)
731<li><tt>Qt::NorROP</tt> - dst = NOT (src OR dst)
732</ul><p> By far the most useful ones are <a href="#RasterOp-enum">CopyROP</a> and <a href="#RasterOp-enum">XorROP</a>.
733<p> On Qt/Embedded, only <a href="#RasterOp-enum">CopyROP</a>, <a href="#RasterOp-enum">XorROP</a>, and <a href="#RasterOp-enum">NotROP</a> are supported.
734
735<h3 class=fn><a name="SequenceMatch-enum"></a>Qt::SequenceMatch</h3>
736
737<ul>
738<li><tt>Qt::NoMatch</tt> - Sequences have nothing in common
739<li><tt>Qt::PartialMatch</tt> - Sequences match partially, but are not complete
740<li><tt>Qt::Identical</tt> - Sequences do not differ
741</ul>
742<h3 class=fn><a name="SortOrder-enum"></a>Qt::SortOrder</h3>
743
744<p> This enum describes how the items in a widget are sorted.
745<ul>
746<li><tt>Qt::Ascending</tt> - The items are sorted ascending e.g. starts with
747'AAA' ends with 'ZZZ' in Latin-1 locales
748<li><tt>Qt::Descending</tt> - The items are sorted descending e.g. starts with
749'ZZZ' ends with 'AAA' in Latin-1 locales
750</ul>
751<h3 class=fn><a name="StringComparisonMode-enum"></a>Qt::StringComparisonMode</h3>
752
753<p> This enum type is used to set the string comparison mode when
754searching for an item. It is used by <a href="qlistbox.html">QListBox</a>, <a href="qlistview.html">QListView</a> and
755<a href="qiconview.html">QIconView</a>, for example. We'll refer to the string being searched
756as the 'target' string.
757<ul>
758<li><tt>Qt::CaseSensitive</tt> - The strings must match case sensitively.
759<li><tt>Qt::ExactMatch</tt> - The target and search strings must match exactly.
760<li><tt>Qt::BeginsWith</tt> - The target string begins with the search string.
761<li><tt>Qt::EndsWith</tt> - The target string ends with the search string.
762<li><tt>Qt::Contains</tt> - The target string contains the search string.
763</ul><p> If you OR these flags together (excluding <a href="#StringComparisonMode-enum">CaseSensitive</a>), the
764search criteria be applied in the following order: <a href="#StringComparisonMode-enum">ExactMatch</a>,
765<a href="#StringComparisonMode-enum">BeginsWith</a>, <a href="#StringComparisonMode-enum">EndsWith</a>, <a href="#StringComparisonMode-enum">Contains</a>.
766<p> Matching is case-insensitive unless <a href="#StringComparisonMode-enum">CaseSensitive</a> is set. <a href="#StringComparisonMode-enum">CaseSensitive</a> can be OR-ed with any combination of the other
767flags.
768<p>
769<h3 class=fn><a name="TextFlags-enum"></a>Qt::TextFlags</h3>
770
771<p> This enum type is used to define some modifier flags. Some of
772these flags only make sense in the context of printing:
773<ul>
774<li><tt>Qt::SingleLine</tt> - Treats all whitespace as spaces and prints just
775one line.
776<li><tt>Qt::DontClip</tt> - If it's impossible to stay within the given bounds,
777it prints outside.
778<li><tt>Qt::ExpandTabs</tt> - Makes the U+0009 (ASCII tab) character move to
779the next tab stop.
780<li><tt>Qt::ShowPrefix</tt> - Displays the string "&amp;P" as <u>P</u>
781(see <a href="qbutton.html">QButton</a> for an example). For an ampersand, use "&amp;&amp;".
782<li><tt>Qt::WordBreak</tt> - Breaks lines at appropriate points, e.g. at word
783boundaries.
784<li><tt>Qt::BreakAnywhere</tt> - Breaks lines anywhere, even within words.
785<li><tt>Qt::NoAccel</tt> - Same as ShowPrefix but doesn't draw the underlines.
786</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.
787<p> Flags that are inappropriate for a given use (e.g. ShowPrefix to
788<a href="qgridlayout.html#addWidget">QGridLayout::addWidget</a>()) are generally ignored.
789<p>
790<h3 class=fn><a name="TextFormat-enum"></a>Qt::TextFormat</h3>
791
792<p> This enum is used in widgets that can display both plain text and
793rich text, e.g. <a href="qlabel.html">QLabel</a>. It is used for deciding whether a text
794string should be interpreted as one or the other. This is normally
795done by passing one of the enum values to a setTextFormat()
796function.
797<ul>
798<li><tt>Qt::PlainText</tt> - The text string is interpreted as a plain text
799string.
800<li><tt>Qt::RichText</tt> - The text string is interpreted as a rich text
801string using the current <a href="qstylesheet.html#defaultSheet">QStyleSheet::defaultSheet</a>().
802<li><tt>Qt::AutoText</tt> - The text string is interpreted as for <a href="#TextFormat-enum">RichText</a>
803if <a href="qstylesheet.html#mightBeRichText">QStyleSheet::mightBeRichText</a>() returns TRUE, otherwise as
804<a href="#TextFormat-enum">PlainText</a>.
805<li><tt>Qt::LogText</tt> - A special, limited text format which is only used
806by <a href="qtextedit.html">QTextEdit</a> in an optimized mode.
807</ul>
808<h3 class=fn><a name="TimeSpec-enum"></a>Qt::TimeSpec</h3>
809
810<ul>
811<li><tt>Qt::LocalTime</tt> - Locale dependent time (Timezones and Daylight Savings Time)
812<li><tt>Qt::UTC</tt> - Coordinated Universal Time, replaces Greenwich Time
813</ul>
814<h3 class=fn><a name="UIEffect-enum"></a>Qt::UIEffect</h3>
815
816<ul>
817<li><tt>Qt::UI_General</tt>
818<li><tt>Qt::UI_AnimateMenu</tt>
819<li><tt>Qt::UI_FadeMenu</tt>
820<li><tt>Qt::UI_AnimateCombo</tt>
821<li><tt>Qt::UI_AnimateTooltip</tt>
822<li><tt>Qt::UI_FadeTooltip</tt>
823<li><tt>Qt::UI_AnimateToolBox</tt> - Reserved
824</ul>
825<h3 class=fn><a name="WidgetFlags-enum"></a>Qt::WidgetFlags</h3>
826
827<p> <!-- index widget flag -->
828<p> This enum type is used to specify various window-system properties
829for the widget. They are fairly unusual but necessary in a few
830cases. Some of these flags depend on whether the underlying window
831manager supports them. (See the <a href="toplevel-example.html">toplevel example</a> for an explanation and example of their
832use.)
833<p> The main types are
834<ul>
835<li><tt>Qt::WType_TopLevel</tt> - indicates that this widget is a top-level
836widget, usually with a window-system frame and so on.
837<li><tt>Qt::WType_Dialog</tt> - indicates that this widget is a top-level
838window that should be decorated as a dialog (i.e. typically no
839maximize or minimize buttons in the title bar). If you want to use
840it as a modal dialog it should be launched from another window, or
841have a parent and this flag should be combined with <a href="#WidgetFlags-enum">WShowModal</a>.
842If you make it modal, the dialog will prevent other top-level
843windows in the application from getting any input. <a href="#WidgetFlags-enum">WType_Dialog</a>
844implies <a href="#WidgetFlags-enum">WType_TopLevel</a>. We refer to a top-level window that has
845a parent as a <em>secondary</em> window. (See also <a href="#WidgetFlags-enum">WGroupLeader</a>.)
846<li><tt>Qt::WType_Popup</tt> - indicates that this widget is a popup
847top-level window, i.e. that it is modal, but has a window system
848frame appropriate for popup menus. <a href="#WidgetFlags-enum">WType_Popup</a> implies
849WType_TopLevel.
850<li><tt>Qt::WType_Desktop</tt> - indicates that this widget is the desktop.
851See also <a href="#WidgetFlags-enum">WPaintDesktop</a> below. <a href="#WidgetFlags-enum">WType_Desktop</a> implies <a href="#WidgetFlags-enum">WType_TopLevel</a>.
852</ul><p> There are also a number of flags which you can use to customize
853the appearance of top-level windows. These have no effect on other
854windows:
855<ul>
856<li><tt>Qt::WStyle_Customize</tt> - indicates that the <tt>WStyle_*</tt> flags
857should be used to build the window instead of the default flags.
858<li><tt>Qt::WStyle_NormalBorder</tt> - gives the window a normal border.
859This cannot be combined with <a href="#WidgetFlags-enum">WStyle_DialogBorder</a> or <a href="#WidgetFlags-enum">WStyle_NoBorder</a>.
860<li><tt>Qt::WStyle_DialogBorder</tt> - gives the window a thin dialog border.
861This cannot be combined with <a href="#WidgetFlags-enum">WStyle_NormalBorder</a> or <a href="#WidgetFlags-enum">WStyle_NoBorder</a>.
862<li><tt>Qt::WStyle_NoBorder</tt> - produces a borderless window. Note that
863the user cannot move or resize a borderless window via the window
864system. This 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
865result of the flag is dependent on the window manager and its
866ability to understand MOTIF and/or NETWM hints: most existing
867modern window managers can handle this. With <a href="#WidgetFlags-enum">WX11BypassWM</a>, you
868can bypass the window manager completely. This results in a
869borderless window that is not managed at all (i.e. no keyboard
870input unless you call setActiveWindow() manually).
871<li><tt>Qt::WStyle_NoBorderEx</tt> - this value is obsolete. It has the same
872effect as using <a href="#WidgetFlags-enum">WStyle_NoBorder</a>.
873<li><tt>Qt::WStyle_Title</tt> - gives the window a title bar.
874<li><tt>Qt::WStyle_SysMenu</tt> - adds a window system menu.
875<li><tt>Qt::WStyle_Minimize</tt> - adds a minimize button. Note that on
876Windows this has to be combined with <a href="#WidgetFlags-enum">WStyle_SysMenu</a> for it to
877work.
878<li><tt>Qt::WStyle_Maximize</tt> - adds a maximize button. Note that on
879Windows this has to be combined with <a href="#WidgetFlags-enum">WStyle_SysMenu</a> for it to work.
880<li><tt>Qt::WStyle_MinMax</tt> - is equal to <tt>WStyle_Minimize|WStyle_Maximize</tt>. Note that on Windows this has to
881be combined with <a href="#WidgetFlags-enum">WStyle_SysMenu</a> to work.
882<li><tt>Qt::WStyle_ContextHelp</tt> - adds a context help button to dialogs.
883<li><tt>Qt::WStyle_Tool</tt> - makes the window a tool window. A tool window
884is often a small window with a smaller than usual title bar and
885decoration, typically used for collections of tool buttons. It
886there is a parent, the tool window will always be kept on top of
887it. 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
888tool window can be decorated with a somewhat lighter frame. It can
889also be combined with <a href="#WidgetFlags-enum">WStyle_NoBorder</a>.
890<li><tt>Qt::WStyle_StaysOnTop</tt> - informs the window system that the
891window should stay on top of all other windows. Note that on some
892window managers on X11 you also have to pass <a href="#WidgetFlags-enum">WX11BypassWM</a> for
893this flag to work correctly.
894<li><tt>Qt::WStyle_Dialog</tt> - indicates that the window is a logical
895subwindow of its parent (i.e. a dialog). The window will not get
896its own taskbar entry and will be kept on top of its parent by the
897window system. Usually it will also be minimized when the parent
898is minimized. If not customized, the window is decorated with a
899slightly simpler title bar. This is the flag <a href="qdialog.html">QDialog</a> uses.
900<li><tt>Qt::WStyle_Splash</tt> - indicates that the window is a splash screen.
901On X11, we try to follow NETWM standard for a splash screen window if the
902window manager supports is otherwise it is equivalent to <a href="#WidgetFlags-enum">WX11BypassWM</a>. On
903other platforms, it is equivalent to <a href="#WidgetFlags-enum">WStyle_NoBorder</a> <tt>|</tt> <a href="#WidgetFlags-enum">WMacNoSheet</a> <tt>|</tt>
904<a href="#WidgetFlags-enum">WStyle_Tool</a> <tt>|</tt> <a href="#WidgetFlags-enum">WWinOwnDC</a>
905</ul><p> Modifier flags:
906<ul>
907<li><tt>Qt::WDestructiveClose</tt> - makes Qt delete this widget when the
908widget has accepted closeEvent(), or when the widget tried to
909ignore closeEvent() but could not.
910<li><tt>Qt::WPaintDesktop</tt> - gives this widget paint events for the
911desktop.
912<li><tt>Qt::WPaintUnclipped</tt> - makes all painters operating on this
913widget unclipped. Children of this widget or other widgets in
914front of it do not clip the area the painter can paint on.
915<li><tt>Qt::WPaintClever</tt> - indicates that Qt should <em>not</em> try to
916optimize repainting for the widget, but instead pass on window
917system repaint events directly. (This tends to produce more events
918and smaller repaint regions.)
919<li><tt>Qt::WMouseNoMask</tt> - indicates that even if the widget has a mask,
920it wants mouse events for its entire rectangle.
921<li><tt>Qt::WStaticContents</tt> - indicates that the widget contents are
922north-west aligned and static. On resize, such a widget will
923receive paint events only for the newly visible part of itself.
924<li><tt>Qt::WNoAutoErase</tt> - indicates that the widget paints all its
925pixels. Updating, resizing, scrolling and focus changes should
926therefore not erase the widget. This allows smart-repainting to
927avoid flicker.
928<li><tt>Qt::WResizeNoErase</tt> - this value is obsolete; use WNoAutoErase instead.
929<li><tt>Qt::WRepaintNoErase</tt> - this value is obsolete; use WNoAutoErase instead.
930<li><tt>Qt::WGroupLeader</tt> - makes this window a group leader. A group
931leader should <em>not</em> have a parent (i.e. it should be a top-level
932window). Any decendant windows (direct or indirect) of a group
933leader are in its group; other windows are not. If you show a
934secondary window from the group (i.e. show a window whose top-most
935parent is a group leader), that window will be modal with respect
936to the other windows in the group, but modeless with respect to
937windows in other groups.
938</ul><p> Miscellaneous flags
939<ul>
940<li><tt>Qt::WShowModal</tt> - see WType_Dialog
941</ul><p> Internal flags.
942<ul>
943<li><tt>Qt::WNoMousePropagation</tt>
944<li><tt>Qt::WStaticContents</tt>
945<li><tt>Qt::WStyle_Reserved</tt>
946<li><tt>Qt::WSubWindow</tt>
947<li><tt>Qt::WType_Modal</tt>
948<li><tt>Qt::WWinOwnDC</tt>
949<li><tt>Qt::WX11BypassWM</tt>
950<li><tt>Qt::WMacNoSheet</tt>
951<li><tt>Qt::WMacDrawer</tt>
952<li><tt>Qt::WStyle_Mask</tt>
953<li><tt>Qt::WType_Mask</tt>
954</ul><p>
955<h3 class=fn><a name="WidgetState-enum"></a>Qt::WidgetState</h3>
956
957<p> Internal flags.
958<ul>
959<li><tt>Qt::WState_Created</tt>
960<li><tt>Qt::WState_Disabled</tt>
961<li><tt>Qt::WState_Visible</tt>
962<li><tt>Qt::WState_ForceHide</tt>
963<li><tt>Qt::WState_OwnCursor</tt>
964<li><tt>Qt::WState_MouseTracking</tt>
965<li><tt>Qt::WState_CompressKeys</tt>
966<li><tt>Qt::WState_BlockUpdates</tt>
967<li><tt>Qt::WState_InPaintEvent</tt>
968<li><tt>Qt::WState_Reparented</tt>
969<li><tt>Qt::WState_ConfigPending</tt>
970<li><tt>Qt::WState_Resized</tt>
971<li><tt>Qt::WState_AutoMask</tt>
972<li><tt>Qt::WState_Polished</tt>
973<li><tt>Qt::WState_DND</tt>
974<li><tt>Qt::WState_Reserved0</tt> - <em>internal</em>
975<li><tt>Qt::WState_CreatedHidden</tt>
976<li><tt>Qt::WState_Maximized</tt>
977<li><tt>Qt::WState_Minimized</tt>
978<li><tt>Qt::WState_ForceDisabled</tt>
979<li><tt>Qt::WState_Exposed</tt>
980<li><tt>Qt::WState_HasMouse</tt>
981<li><tt>Qt::WState_CreatedHidden</tt>
982<li><tt>Qt::WState_OwnSizePolicy</tt>
983<li><tt>Qt::WState_FullScreen</tt>
984</ul>
985<h3 class=fn><a name="WindowState-enum"></a>Qt::WindowState</h3>
986
987<p> <!-- index window state -->
988<p> This enum type is used to specify the current state of a top-level
989window.
990<p> The states are
991<ul>
992<li><tt>Qt::WindowNoState</tt> - The window has no state set (in normal state).
993<li><tt>Qt::WindowMinimized</tt> - The window is minimized (i.e. iconified).
994<li><tt>Qt::WindowMaximized</tt> - The window is maximized with a frame around it.
995<li><tt>Qt::WindowFullScreen</tt> - The window fills the entire screen without any frame around it.
996<li><tt>Qt::WindowActive</tt> - The window is the active window, i.e. it has <a href="focus.html#keyboard-focus">keyboard focus</a>.
997</ul><p>
998<h3 class=fn><a name="WindowsVersion-enum"></a>Qt::WindowsVersion</h3>
999
1000<ul>
1001<li><tt>Qt::WV_32s</tt> - Windows 3.1 with Win 32s
1002<li><tt>Qt::WV_95</tt> - Windows 95
1003<li><tt>Qt::WV_98</tt> - Windows 98
1004<li><tt>Qt::WV_Me</tt> - Windows Me
1005<li><tt>Qt::WV_DOS_based</tt>
1006<li><tt>Qt::WV_NT</tt> - Windows NT
1007<li><tt>Qt::WV_2000</tt> - Windows 2000
1008<li><tt>Qt::WV_XP</tt> - Windows XP
1009<li><tt>Qt::WV_2003</tt> - Windows Server 2003
1010<li><tt>Qt::WV_NT_based</tt>
1011<li><tt>Qt::WV_VISTA</tt> - Windows Vista
1012<li><tt>Qt::WV_CE</tt> - Windows CE
1013<li><tt>Qt::WV_CENET</tt> - Windows CE .NET
1014<li><tt>Qt::WV_CE_based</tt>
1015</ul>
1016<!-- eof -->
1017<hr><p>
1018This file is part of the <a href="index.html">Qt toolkit</a>.
1019Copyright &copy; 1995-2007
1020<a href="http://www.trolltech.com/">Trolltech</a>. All Rights Reserved.<p><address><hr><div align=center>
1021<table width=100% cellspacing=0 border=0><tr>
1022<td>Copyright &copy; 2007
1023<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a>
1024<td align=right><div align=right>Qt 3.3.8</div>
1025</table></div></address></body>
1026</html>
Note: See TracBrowser for help on using the repository browser.