1Qt(3qt)                                                                Qt(3qt)
2
3
4

NAME

6       Qt - Namespace for miscellaneous identifiers that need to be global-
7       like
8

SYNOPSIS

10       #include <qnamespace.h>
11
12       Inherited by QObject, QPixmap, QBrush, QCanvasItem, QCursor, QPainter,
13       QEvent, QIconViewItem, QKeySequence, QListViewItem, QCustomMenuItem,
14       QPen, QStyleSheetItem, QSyntaxHighlighter, QTab, QTableItem, QThread,
15       QToolTip, and QWhatsThis.
16
17   Public Members
18       enum ButtonState { NoButton = 0x0000, LeftButton = 0x0001, RightButton
19           = 0x0002, MidButton = 0x0004, MouseButtonMask = 0x0007, ShiftButton
20           = 0x0100, ControlButton = 0x0200, AltButton = 0x0400, MetaButton =
21           0x0800, KeyButtonMask = 0x0f00, Keypad = 0x4000 }
22       enum Orientation { Horizontal = 0, Vertical }
23       enum SortOrder { Ascending, Descending }
24       enum AlignmentFlags { AlignAuto = 0x0000, AlignLeft = 0x0001,
25           AlignRight = 0x0002, AlignHCenter = 0x0004, AlignJustify = 0x0008,
26           AlignHorizontal_Mask = AlignLeft | AlignRight | AlignHCenter |
27           AlignJustify, AlignTop = 0x0010, AlignBottom = 0x0020, AlignVCenter
28           = 0x0040, AlignVertical_Mask = AlignTop | AlignBottom |
29           AlignVCenter, AlignCenter = AlignVCenter | AlignHCenter }
30       enum TextFlags { SingleLine = 0x0080, DontClip = 0x0100, ExpandTabs =
31           0x0200, ShowPrefix = 0x0400, WordBreak = 0x0800, BreakAnywhere =
32           0x1000, NoAccel = 0x4000 }
33       enum WidgetState { WState_Created = 0x00000001, WState_Disabled =
34           0x00000002, WState_Visible = 0x00000004, WState_ForceHide =
35           0x00000008, WState_OwnCursor = 0x00000010, WState_MouseTracking =
36           0x00000020, WState_CompressKeys = 0x00000040, WState_BlockUpdates =
37           0x00000080, WState_InPaintEvent = 0x00000100, WState_Reparented =
38           0x00000200, WState_ConfigPending = 0x00000400, WState_Resized =
39           0x00000800, WState_AutoMask = 0x00001000, WState_Polished =
40           0x00002000, WState_DND = 0x00004000, WState_Reserved0 = 0x00008000,
41           WState_FullScreen = 0x00010000, WState_OwnSizePolicy = 0x00020000,
42           WState_CreatedHidden = 0x00040000, WState_Maximized = 0x00080000,
43           WState_Minimized = 0x00100000, WState_ForceDisabled = 0x00200000,
44           WState_Exposed = 0x00400000, WState_HasMouse = 0x00800000 }
45       enum WidgetFlags { WType_TopLevel = 0x00000001, WType_Dialog =
46           0x00000002, WType_Popup = 0x00000004, WType_Desktop = 0x00000008,
47           WType_Mask = 0x0000000f, WStyle_Customize = 0x00000010,
48           WStyle_NormalBorder = 0x00000020, WStyle_DialogBorder = 0x00000040,
49           WStyle_NoBorder = 0x00002000, WStyle_Title = 0x00000080,
50           WStyle_SysMenu = 0x00000100, WStyle_Minimize = 0x00000200,
51           WStyle_Maximize = 0x00000400, WStyle_MinMax = WStyle_Minimize |
52           WStyle_Maximize, WStyle_Tool = 0x00000800, WStyle_StaysOnTop =
53           0x00001000, WStyle_ContextHelp = 0x00004000, WStyle_Reserved =
54           0x00008000, WStyle_Mask = 0x0000fff0, WDestructiveClose =
55           0x00010000, WPaintDesktop = 0x00020000, WPaintUnclipped =
56           0x00040000, WPaintClever = 0x00080000, WResizeNoErase = 0x00100000,
57           WMouseNoMask = 0x00200000, WStaticContents = 0x00400000,
58           WRepaintNoErase = 0x00800000, WX11BypassWM = 0x01000000, WWinOwnDC
59           = 0x00000000, WMacNoSheet = 0x00000000, WMacDrawer = 0x00000000,
60           WX11BypassWM = 0x00000000, WWinOwnDC = 0x01000000, WMacNoSheet =
61           0x00000000, WMacDrawer = 0x00000000, WGroupLeader = 0x02000000,
62           WShowModal = 0x04000000, WNoMousePropagation = 0x08000000,
63           WSubWindow = 0x10000000, WStyle_Splash = 0x20000000, WNoAutoErase =
64           WRepaintNoErase | WResizeNoErase, WNorthWestGravity =
65           WStaticContents, WType_Modal = WType_Dialog | WShowModal,
66           WStyle_Dialog = WType_Dialog, WStyle_NoBorderEx = WStyle_NoBorder }
67       enum WindowState { WindowNoState = 0x00000000, WindowMinimized =
68           0x00000001, WindowMaximized = 0x00000002, WindowFullScreen =
69           0x00000004, WindowActive = 0x00000008 }
70       enum ImageConversionFlags { ColorMode_Mask = 0x00000003, AutoColor =
71           0x00000000, ColorOnly = 0x00000003, MonoOnly = 0x00000002,
72           AlphaDither_Mask = 0x0000000c, ThresholdAlphaDither = 0x00000000,
73           OrderedAlphaDither = 0x00000004, DiffuseAlphaDither = 0x00000008,
74           NoAlpha = 0x0000000c, Dither_Mask = 0x00000030, DiffuseDither =
75           0x00000000, OrderedDither = 0x00000010, ThresholdDither =
76           0x00000020, DitherMode_Mask = 0x000000c0, AutoDither = 0x00000000,
77           PreferDither = 0x00000040, AvoidDither = 0x00000080 }
78       enum BGMode { TransparentMode, OpaqueMode }
79       enum PaintUnit { PixelUnit, LoMetricUnit, HiMetricUnit, LoEnglishUnit,
80           HiEnglishUnit, TwipsUnit }
81       enum GUIStyle { MacStyle, WindowsStyle, Win3Style, PMStyle, MotifStyle
82           }  (obsolete)
83       enum SequenceMatch { NoMatch, PartialMatch, Identical }
84       enum Modifier { META = 0x00100000, SHIFT = 0x00200000, CTRL =
85           0x00400000, ALT = 0x00800000, MODIFIER_MASK = 0x00f00000,
86           UNICODE_ACCEL = 0x10000000, ASCII_ACCEL = UNICODE_ACCEL }
87       enum Key { Key_Escape = 0x1000, Key_Tab = 0x1001, Key_Backtab = 0x1002,
88           Key_BackTab = Key_Backtab, Key_Backspace = 0x1003, Key_BackSpace =
89           Key_Backspace, Key_Return = 0x1004, Key_Enter = 0x1005, Key_Insert
90           = 0x1006, Key_Delete = 0x1007, Key_Pause = 0x1008, Key_Print =
91           0x1009, Key_SysReq = 0x100a, Key_Clear = 0x100b, Key_Home = 0x1010,
92           Key_End = 0x1011, Key_Left = 0x1012, Key_Up = 0x1013, Key_Right =
93           0x1014, Key_Down = 0x1015, Key_Prior = 0x1016, Key_PageUp =
94           Key_Prior, Key_Next = 0x1017, Key_PageDown = Key_Next, Key_Shift =
95           0x1020, Key_Control = 0x1021, Key_Meta = 0x1022, Key_Alt = 0x1023,
96           Key_CapsLock = 0x1024, Key_NumLock = 0x1025, Key_ScrollLock =
97           0x1026, Key_F1 = 0x1030, Key_F2 = 0x1031, Key_F3 = 0x1032, Key_F4 =
98           0x1033, Key_F5 = 0x1034, Key_F6 = 0x1035, Key_F7 = 0x1036, Key_F8 =
99           0x1037, Key_F9 = 0x1038, Key_F10 = 0x1039, Key_F11 = 0x103a,
100           Key_F12 = 0x103b, Key_F13 = 0x103c, Key_F14 = 0x103d, Key_F15 =
101           0x103e, Key_F16 = 0x103f, Key_F17 = 0x1040, Key_F18 = 0x1041,
102           Key_F19 = 0x1042, Key_F20 = 0x1043, Key_F21 = 0x1044, Key_F22 =
103           0x1045, Key_F23 = 0x1046, Key_F24 = 0x1047, Key_F25 = 0x1048,
104           Key_F26 = 0x1049, Key_F27 = 0x104a, Key_F28 = 0x104b, Key_F29 =
105           0x104c, Key_F30 = 0x104d, Key_F31 = 0x104e, Key_F32 = 0x104f,
106           Key_F33 = 0x1050, Key_F34 = 0x1051, Key_F35 = 0x1052, Key_Super_L =
107           0x1053, Key_Super_R = 0x1054, Key_Menu = 0x1055, Key_Hyper_L =
108           0x1056, Key_Hyper_R = 0x1057, Key_Help = 0x1058, Key_Direction_L =
109           0x1059, Key_Direction_R = 0x1060, Key_Space = 0x20, Key_Any =
110           Key_Space, Key_Exclam = 0x21, Key_QuoteDbl = 0x22, Key_NumberSign =
111           0x23, Key_Dollar = 0x24, Key_Percent = 0x25, Key_Ampersand = 0x26,
112           Key_Apostrophe = 0x27, Key_ParenLeft = 0x28, Key_ParenRight = 0x29,
113           Key_Asterisk = 0x2a, Key_Plus = 0x2b, Key_Comma = 0x2c, Key_Minus =
114           0x2d, Key_Period = 0x2e, Key_Slash = 0x2f, Key_0 = 0x30, Key_1 =
115           0x31, Key_2 = 0x32, Key_3 = 0x33, Key_4 = 0x34, Key_5 = 0x35, Key_6
116           = 0x36, Key_7 = 0x37, Key_8 = 0x38, Key_9 = 0x39, Key_Colon = 0x3a,
117           Key_Semicolon = 0x3b, Key_Less = 0x3c, Key_Equal = 0x3d,
118           Key_Greater = 0x3e, Key_Question = 0x3f, Key_At = 0x40, Key_A =
119           0x41, Key_B = 0x42, Key_C = 0x43, Key_D = 0x44, Key_E = 0x45, Key_F
120           = 0x46, Key_G = 0x47, Key_H = 0x48, Key_I = 0x49, Key_J = 0x4a,
121           Key_K = 0x4b, Key_L = 0x4c, Key_M = 0x4d, Key_N = 0x4e, Key_O =
122           0x4f, Key_P = 0x50, Key_Q = 0x51, Key_R = 0x52, Key_S = 0x53, Key_T
123           = 0x54, Key_U = 0x55, Key_V = 0x56, Key_W = 0x57, Key_X = 0x58,
124           Key_Y = 0x59, Key_Z = 0x5a, Key_BracketLeft = 0x5b, Key_Backslash =
125           0x5c, Key_BracketRight = 0x5d, Key_AsciiCircum = 0x5e,
126           Key_Underscore = 0x5f, Key_QuoteLeft = 0x60, Key_BraceLeft = 0x7b,
127           Key_Bar = 0x7c, Key_BraceRight = 0x7d, Key_AsciiTilde = 0x7e,
128           Key_nobreakspace = 0x0a0, Key_exclamdown = 0x0a1, Key_cent = 0x0a2,
129           Key_sterling = 0x0a3, Key_currency = 0x0a4, Key_yen = 0x0a5,
130           Key_brokenbar = 0x0a6, Key_section = 0x0a7, Key_diaeresis = 0x0a8,
131           Key_copyright = 0x0a9, Key_ordfeminine = 0x0aa, Key_guillemotleft =
132           0x0ab, Key_notsign = 0x0ac, Key_hyphen = 0x0ad, Key_registered =
133           0x0ae, Key_macron = 0x0af, Key_degree = 0x0b0, Key_plusminus =
134           0x0b1, Key_twosuperior = 0x0b2, Key_threesuperior = 0x0b3,
135           Key_acute = 0x0b4, Key_mu = 0x0b5, Key_paragraph = 0x0b6,
136           Key_periodcentered = 0x0b7, Key_cedilla = 0x0b8, Key_onesuperior =
137           0x0b9, Key_masculine = 0x0ba, Key_guillemotright = 0x0bb,
138           Key_onequarter = 0x0bc, Key_onehalf = 0x0bd, Key_threequarters =
139           0x0be, Key_questiondown = 0x0bf, Key_Agrave = 0x0c0, Key_Aacute =
140           0x0c1, Key_Acircumflex = 0x0c2, Key_Atilde = 0x0c3, Key_Adiaeresis
141           = 0x0c4, Key_Aring = 0x0c5, Key_AE = 0x0c6, Key_Ccedilla = 0x0c7,
142           Key_Egrave = 0x0c8, Key_Eacute = 0x0c9, Key_Ecircumflex = 0x0ca,
143           Key_Ediaeresis = 0x0cb, Key_Igrave = 0x0cc, Key_Iacute = 0x0cd,
144           Key_Icircumflex = 0x0ce, Key_Idiaeresis = 0x0cf, Key_ETH = 0x0d0,
145           Key_Ntilde = 0x0d1, Key_Ograve = 0x0d2, Key_Oacute = 0x0d3,
146           Key_Ocircumflex = 0x0d4, Key_Otilde = 0x0d5, Key_Odiaeresis =
147           0x0d6, Key_multiply = 0x0d7, Key_Ooblique = 0x0d8, Key_Ugrave =
148           0x0d9, Key_Uacute = 0x0da, Key_Ucircumflex = 0x0db, Key_Udiaeresis
149           = 0x0dc, Key_Yacute = 0x0dd, Key_THORN = 0x0de, Key_ssharp = 0x0df,
150           Key_agrave = 0x0e0, Key_aacute = 0x0e1, Key_acircumflex = 0x0e2,
151           Key_atilde = 0x0e3, Key_adiaeresis = 0x0e4, Key_aring = 0x0e5,
152           Key_ae = 0x0e6, Key_ccedilla = 0x0e7, Key_egrave = 0x0e8,
153           Key_eacute = 0x0e9, Key_ecircumflex = 0x0ea, Key_ediaeresis =
154           0x0eb, Key_igrave = 0x0ec, Key_iacute = 0x0ed, Key_icircumflex =
155           0x0ee, Key_idiaeresis = 0x0ef, Key_eth = 0x0f0, Key_ntilde = 0x0f1,
156           Key_ograve = 0x0f2, Key_oacute = 0x0f3, Key_ocircumflex = 0x0f4,
157           Key_otilde = 0x0f5, Key_odiaeresis = 0x0f6, Key_division = 0x0f7,
158           Key_oslash = 0x0f8, Key_ugrave = 0x0f9, Key_uacute = 0x0fa,
159           Key_ucircumflex = 0x0fb, Key_udiaeresis = 0x0fc, Key_yacute =
160           0x0fd, Key_thorn = 0x0fe, Key_ydiaeresis = 0x0ff, Key_Back =
161           0x1061, Key_Forward = 0x1062, Key_Stop = 0x1063, Key_Refresh =
162           0x1064, Key_VolumeDown = 0x1070, Key_VolumeMute = 0x1071,
163           Key_VolumeUp = 0x1072, Key_BassBoost = 0x1073, Key_BassUp = 0x1074,
164           Key_BassDown = 0x1075, Key_TrebleUp = 0x1076, Key_TrebleDown =
165           0x1077, Key_MediaPlay = 0x1080, Key_MediaStop = 0x1081,
166           Key_MediaPrev = 0x1082, Key_MediaNext = 0x1083, Key_MediaRecord =
167           0x1084, Key_HomePage = 0x1090, Key_Favorites = 0x1091, Key_Search =
168           0x1092, Key_Standby = 0x1093, Key_OpenUrl = 0x1094, Key_LaunchMail
169           = 0x10a0, Key_LaunchMedia = 0x10a1, Key_Launch0 = 0x10a2,
170           Key_Launch1 = 0x10a3, Key_Launch2 = 0x10a4, Key_Launch3 = 0x10a5,
171           Key_Launch4 = 0x10a6, Key_Launch5 = 0x10a7, Key_Launch6 = 0x10a8,
172           Key_Launch7 = 0x10a9, Key_Launch8 = 0x10aa, Key_Launch9 = 0x10ab,
173           Key_LaunchA = 0x10ac, Key_LaunchB = 0x10ad, Key_LaunchC = 0x10ae,
174           Key_LaunchD = 0x10af, Key_LaunchE = 0x10b0, Key_LaunchF = 0x10b1,
175           Key_MediaLast = 0x1fff, Key_unknown = 0xffff }
176       enum ArrowType { UpArrow, DownArrow, LeftArrow, RightArrow }
177       enum RasterOp { CopyROP, OrROP, XorROP, NotAndROP, EraseROP =
178           NotAndROP, NotCopyROP, NotOrROP, NotXorROP, AndROP, NotEraseROP =
179           AndROP, NotROP, ClearROP, SetROP, NopROP, AndNotROP, OrNotROP,
180           NandROP, NorROP, LastROP = NorROP }
181       enum PenStyle { NoPen, SolidLine, DashLine, DotLine, DashDotLine,
182           DashDotDotLine, MPenStyle = 0x0f }
183       enum PenCapStyle { FlatCap = 0x00, SquareCap = 0x10, RoundCap = 0x20,
184           MPenCapStyle = 0x30 }
185       enum PenJoinStyle { MiterJoin = 0x00, BevelJoin = 0x40, RoundJoin =
186           0x80, MPenJoinStyle = 0xc0 }
187       enum BrushStyle { NoBrush, SolidPattern, Dense1Pattern, Dense2Pattern,
188           Dense3Pattern, Dense4Pattern, Dense5Pattern, Dense6Pattern,
189           Dense7Pattern, HorPattern, VerPattern, CrossPattern, BDiagPattern,
190           FDiagPattern, DiagCrossPattern, CustomPattern = 24 }
191       enum MacintoshVersion { MV_Unknown = 0x0000, MV_9 = 0x0001, MV_10_DOT_0
192           = 0x0002, MV_10_DOT_1 = 0x0003, MV_10_DOT_2 = 0x0004, MV_10_DOT_3 =
193           0x0005, MV_10_DOT_4 = 0x0006, MV_CHEETAH = MV_10_DOT_0, MV_PUMA =
194           MV_10_DOT_1, MV_JAGUAR = MV_10_DOT_2, MV_PANTHER = MV_10_DOT_3,
195           MV_TIGER = MV_10_DOT_4 }
196       enum WindowsVersion { WV_32s = 0x0001, WV_95 = 0x0002, WV_98 = 0x0003,
197           WV_Me = 0x0004, WV_DOS_based = 0x000f, WV_NT = 0x0010, WV_2000 =
198           0x0020, WV_XP = 0x0030, WV_2003 = 0x0040, WV_VISTA = 0x0080,
199           WV_NT_based = 0x00f0, WV_CE = 0x0100, WV_CENET = 0x0200,
200           WV_CE_based = 0x0f00 }
201       enum UIEffect { UI_General, UI_AnimateMenu, UI_FadeMenu,
202           UI_AnimateCombo, UI_AnimateTooltip, UI_FadeTooltip,
203           UI_AnimateToolBox }
204       enum CursorShape { ArrowCursor, UpArrowCursor, CrossCursor, WaitCursor,
205           IbeamCursor, SizeVerCursor, SizeHorCursor, SizeBDiagCursor,
206           SizeFDiagCursor, SizeAllCursor, BlankCursor, SplitVCursor,
207           SplitHCursor, PointingHandCursor, ForbiddenCursor, WhatsThisCursor,
208           BusyCursor, LastCursor = BusyCursor, BitmapCursor = 24 }
209       enum TextFormat { PlainText, RichText, AutoText, LogText }
210       enum AnchorAttribute { AnchorName, AnchorHref }
211       enum Dock { DockUnmanaged, DockTornOff, DockTop, DockBottom, DockRight,
212           DockLeft, DockMinimized, Unmanaged = DockUnmanaged, TornOff =
213           DockTornOff, Top = DockTop, Bottom = DockBottom, Right = DockRight,
214           Left = DockLeft, Minimized = DockMinimized }
215       enum DateFormat { TextDate, ISODate, LocalDate }
216       enum TimeSpec { LocalTime, UTC }
217       enum BackgroundMode { FixedColor, FixedPixmap, NoBackground,
218           PaletteForeground, PaletteButton, PaletteLight, PaletteMidlight,
219           PaletteDark, PaletteMid, PaletteText, PaletteBrightText,
220           PaletteBase, PaletteBackground, PaletteShadow, PaletteHighlight,
221           PaletteHighlightedText, PaletteButtonText, PaletteLink,
222           PaletteLinkVisited, X11ParentRelative }
223       enum StringComparisonMode { CaseSensitive = 0x00001, BeginsWith =
224           0x00002, EndsWith = 0x00004, Contains = 0x00008, ExactMatch =
225           0x00010 }
226       enum Corner { TopLeft = 0x00000, TopRight = 0x00001, BottomLeft =
227           0x00002, BottomRight = 0x00003 }
228       typedef void * HANDLE
229

DESCRIPTION

231       The Qt class is a namespace for miscellaneous identifiers that need to
232       be global-like.
233
234       Normally, you can ignore this class. QObject and a few other classes
235       inherit it, so all the identifiers in the Qt namespace are normally
236       usable without qualification.
237
238       However, you may occasionally need to say Qt::black instead of just
239       black, particularly in static utility functions (such as many class
240       factories).
241
242       See also Miscellaneous Classes.
243
244   Member Type Documentation

Qt::AlignmentFlags

246       This enum type is used to describe alignment. It contains horizontal
247       and vertical flags.
248
249       The horizontal flags are:
250
251       Qt::AlignAuto - Aligns according to the language. Left for most, right
252       for Arabic and Hebrew.
253
254       Qt::AlignLeft - Aligns with the left edge.
255
256       Qt::AlignRight - Aligns with the right edge.
257
258       Qt::AlignHCenter - Centers horizontally in the available space.
259
260       Qt::AlignJustify - Justifies the text in the available space. Does not
261       work for everything and may be interpreted as AlignAuto in some cases.
262
263       The vertical flags are:
264
265       Qt::AlignTop - Aligns with the top.
266
267       Qt::AlignBottom - Aligns with the bottom.
268
269       Qt::AlignVCenter - Centers vertically in the available space.
270
271       You can use only one of the horizontal flags at a time. There is one
272       two-dimensional flag:
273
274       Qt::AlignCenter - Centers in both dimensions.
275
276       You can use at most one horizontal and one vertical flag at a time.
277       AlignCenter counts as both horizontal and vertical.
278
279       Masks:
280
281       Qt::AlignHorizontal_Mask
282
283       Qt::AlignVertical_Mask
284
285       Conflicting combinations of flags have undefined meanings.
286

Qt::AnchorAttribute

288       An anchor has one or more of the following attributes:
289
290       Qt::AnchorName - the name attribute of the anchor. This attribute is
291       used when scrolling to an anchor in the document.
292
293       Qt::AnchorHref - the href attribute of the anchor. This attribute is
294       used when a link is clicked to determine what content to load.
295

Qt::ArrowType

297       Qt::UpArrow
298
299       Qt::DownArrow
300
301       Qt::LeftArrow
302
303       Qt::RightArrow
304

Qt::BGMode

306       Background mode
307
308       Qt::TransparentMode
309
310       Qt::OpaqueMode
311

Qt::BackgroundMode

313       This enum describes how the background of a widget changes, as the
314       widget's palette changes.
315
316       The background is what the widget contains when paintEvent() is called.
317       To minimize flicker, this should be the most common color or pixmap in
318       the widget. For PaletteBackground, use colorGroup().brush(
319       QColorGroup::Background ), and so on.
320
321       Qt::PaletteForeground
322
323       Qt::PaletteBackground
324
325       Qt::PaletteButton
326
327       Qt::PaletteLight
328
329       Qt::PaletteMidlight
330
331       Qt::PaletteDark
332
333       Qt::PaletteMid
334
335       Qt::PaletteText
336
337       Qt::PaletteBrightText
338
339       Qt::PaletteButtonText
340
341       Qt::PaletteBase
342
343       Qt::PaletteShadow
344
345       Qt::PaletteHighlight
346
347       Qt::PaletteHighlightedText
348
349       Qt::PaletteLink
350
351       Qt::PaletteLinkVisited
352
353       Qt::X11ParentRelative - (internal use only)
354
355       The final three values have special meaning:
356
357       Qt::NoBackground - the widget is not cleared before paintEvent(). If
358       the widget's paint event always draws on all the pixels, using this
359       mode can be both fast and flicker-free.
360
361       Qt::FixedColor - the widget is cleared to a fixed color, normally
362       different from all the ones in the palette(). Set using
363       setPaletteBackgroundColor().
364
365       Qt::FixedPixmap - the widget is cleared to a fixed pixmap, normally
366       different from all the ones in the palette(). Set using
367       setPaletteBackgroundPixmap().
368
369       Although FixedColor and FixedPixmap are sometimes just right, if you
370       use them, make sure that you test your application when the desktop
371       color scheme has been changed. (On X11, a quick way to test this is
372       e.g. "./myapp -bg paleblue". On Windows, you must use the control
373       panel.)
374
375       See also QWidget::backgroundMode, QWidget::backgroundMode,
376       QWidget::setBackgroundPixmap(), and QWidget::paletteBackgroundColor.
377

Qt::BrushStyle

379       Qt::NoBrush
380
381       Qt::SolidPattern
382
383       Qt::Dense1Pattern
384
385       Qt::Dense2Pattern
386
387       Qt::Dense3Pattern
388
389       Qt::Dense4Pattern
390
391       Qt::Dense5Pattern
392
393       Qt::Dense6Pattern
394
395       Qt::Dense7Pattern
396
397       Qt::HorPattern
398
399       Qt::VerPattern
400
401       Qt::CrossPattern
402
403       Qt::BDiagPattern
404
405       Qt::FDiagPattern
406
407       Qt::DiagCrossPattern
408
409       Qt::CustomPattern
410
411       <center>
412                                   [Image Omitted]
413
414       </center>
415

Qt::ButtonState

417       This enum type describes the state of the mouse and the modifier
418       buttons.
419
420       Qt::NoButton - used when the button state does not refer to any button
421       (see QMouseEvent::button()).
422
423       Qt::LeftButton - set if the left button is pressed, or if this event
424       refers to the left button. (The left button may be the right button on
425       left-handed mice.)
426
427       Qt::RightButton - the right button.
428
429       Qt::MidButton - the middle button.
430
431       Qt::ShiftButton - a Shift key on the keyboard is also pressed.
432
433       Qt::ControlButton - a Ctrl key on the keyboard is also pressed.
434
435       Qt::AltButton - an Alt key on the keyboard is also pressed.
436
437       Qt::MetaButton - a Meta key on the keyboard is also pressed.
438
439       Qt::Keypad - a keypad button is pressed.
440
441       Qt::KeyButtonMask - a mask for ShiftButton, ControlButton, AltButton
442       and MetaButton.
443
444       Qt::MouseButtonMask - a mask for LeftButton, RightButton and MidButton.
445

Qt::Corner

447       This enum type specifies a corner in a rectangle:
448
449       Qt::TopLeft - top left corner
450
451       Qt::TopRight - top right corner
452
453       Qt::BottomLeft - bottom left corner
454
455       Qt::BottomRight - bottom right corner
456

Qt::CursorShape

458       This enum type defines the various cursors that can be used.
459
460       Qt::ArrowCursor - standard arrow cursor
461
462       Qt::UpArrowCursor - upwards arrow
463
464       Qt::CrossCursor - crosshair
465
466       Qt::WaitCursor - hourglass/watch
467
468       Qt::BusyCursor - standard arrow with hourglass/watch
469
470       Qt::IbeamCursor - ibeam/text entry
471
472       Qt::SizeVerCursor - vertical resize
473
474       Qt::SizeHorCursor - horizontal resize
475
476       Qt::SizeFDiagCursor - diagonal resize (&#92;)
477
478       Qt::SizeBDiagCursor - diagonal resize (/)
479
480       Qt::SizeAllCursor - all directions resize
481
482       Qt::BlankCursor - blank/invisible cursor
483
484       Qt::SplitVCursor - vertical splitting
485
486       Qt::SplitHCursor - horizontal splitting
487
488       Qt::PointingHandCursor - a pointing hand
489
490       Qt::ForbiddenCursor - a slashed circle
491
492       Qt::WhatsThisCursor - an arrow with a question mark
493
494       Qt::BitmapCursor
495
496       ArrowCursor is the default for widgets in a normal state.
497
498       <center>
499                                   [Image Omitted]
500
501       </center>
502

Qt::DateFormat

504       Qt::TextDate - (default) Qt format
505
506       Qt::ISODate - ISO 8601 extended format (YYYY-MM-DD, or with time, YYYY-
507       MM-DDTHH:MM:SS)
508
509       Qt::LocalDate - locale dependent format
510

Qt::Dock

512       Each dock window can be in one of the following positions:
513
514       Qt::DockTop - above the central widget, below the menu bar.
515
516       Qt::DockBottom - below the central widget, above the status bar.
517
518       Qt::DockLeft - to the left of the central widget.
519
520       Qt::DockRight - to the right of the central widget.
521
522       Qt::DockMinimized - the dock window is not shown (this is effectively a
523       'hidden' dock area); the handles of all minimized dock windows are
524       drawn in one row below the menu bar.
525
526       Qt::DockTornOff - the dock window floats as its own top level window
527       which always stays on top of the main window.
528
529       Qt::DockUnmanaged - not managed by a QMainWindow.
530

Qt::GUIStyle

532       This type is obsolete. It is provided to keep old source working. We
533       strongly advise against using it in new code.
534
535       Qt::WindowsStyle
536
537       Qt::MotifStyle
538
539       Qt::MacStyle
540
541       Qt::Win3Style
542
543       Qt::PMStyle
544

Qt::ImageConversionFlags

546       The conversion flag is a bitwise-OR of the following values. The
547       options marked "(default)" are set if no other values from the list are
548       included (since the defaults are zero):
549
550       Color/Mono preference (ignored for QBitmap)
551
552       Qt::AutoColor - (default) - If the image has depth 1 and contains only
553       black and white pixels, the pixmap becomes monochrome.
554
555       Qt::ColorOnly - The pixmap is dithered/converted to the native display
556       depth.
557
558       Qt::MonoOnly - The pixmap becomes monochrome. If necessary, it is
559       dithered using the chosen dithering algorithm.
560
561       Dithering mode preference for RGB channels
562
563       Qt::DiffuseDither - (default) - A high-quality dither.
564
565       Qt::OrderedDither - A faster, more ordered dither.
566
567       Qt::ThresholdDither - No dithering; closest color is used.
568
569       Dithering mode preference for alpha channel
570
571       Qt::ThresholdAlphaDither - (default) - No dithering.
572
573       Qt::OrderedAlphaDither - A faster, more ordered dither.
574
575       Qt::DiffuseAlphaDither - A high-quality dither.
576
577       Qt::NoAlpha - Not supported.
578
579       Color matching versus dithering preference
580
581       Qt::PreferDither - (default when converting to a pixmap) - Always
582       dither 32-bit images when the image is converted to 8 bits.
583
584       Qt::AvoidDither - (default when converting for the purpose of saving to
585       file) - Dither 32-bit images only if the image has more than 256 colors
586       and it is being converted to 8 bits.
587
588       Qt::AutoDither - Not supported.
589
590       The following are not values that are used directly, but masks for the
591       above classes:
592
593       Qt::ColorMode_Mask - Mask for the color mode.
594
595       Qt::Dither_Mask - Mask for the dithering mode for RGB channels.
596
597       Qt::AlphaDither_Mask - Mask for the dithering mode for the alpha
598       channel.
599
600       Qt::DitherMode_Mask - Mask for the mode that determines the preference
601       of color matching versus dithering.
602
603       Using 0 as the conversion flag sets all the default options.
604

Qt::Key

606       The key names used by Qt.
607
608       Qt::Key_Escape
609
610       Qt::Key_Tab
611
612       Qt::Key_Backtab
613
614       Qt::Key_Backspace
615
616       Qt::Key_Return
617
618       Qt::Key_Enter
619
620       Qt::Key_Insert
621
622       Qt::Key_Delete
623
624       Qt::Key_Pause
625
626       Qt::Key_Print
627
628       Qt::Key_SysReq
629
630       Qt::Key_Home
631
632       Qt::Key_End
633
634       Qt::Key_Left
635
636       Qt::Key_Up
637
638       Qt::Key_Right
639
640       Qt::Key_Down
641
642       Qt::Key_Prior
643
644       Qt::Key_Next
645
646       Qt::Key_Shift
647
648       Qt::Key_Control
649
650       Qt::Key_Meta
651
652       Qt::Key_Alt
653
654       Qt::Key_CapsLock
655
656       Qt::Key_NumLock
657
658       Qt::Key_ScrollLock
659
660       Qt::Key_Clear
661
662       Qt::Key_F1
663
664       Qt::Key_F2
665
666       Qt::Key_F3
667
668       Qt::Key_F4
669
670       Qt::Key_F5
671
672       Qt::Key_F6
673
674       Qt::Key_F7
675
676       Qt::Key_F8
677
678       Qt::Key_F9
679
680       Qt::Key_F10
681
682       Qt::Key_F11
683
684       Qt::Key_F12
685
686       Qt::Key_F13
687
688       Qt::Key_F14
689
690       Qt::Key_F15
691
692       Qt::Key_F16
693
694       Qt::Key_F17
695
696       Qt::Key_F18
697
698       Qt::Key_F19
699
700       Qt::Key_F20
701
702       Qt::Key_F21
703
704       Qt::Key_F22
705
706       Qt::Key_F23
707
708       Qt::Key_F24
709
710       Qt::Key_F25
711
712       Qt::Key_F26
713
714       Qt::Key_F27
715
716       Qt::Key_F28
717
718       Qt::Key_F29
719
720       Qt::Key_F30
721
722       Qt::Key_F31
723
724       Qt::Key_F32
725
726       Qt::Key_F33
727
728       Qt::Key_F34
729
730       Qt::Key_F35
731
732       Qt::Key_Super_L
733
734       Qt::Key_Super_R
735
736       Qt::Key_Menu
737
738       Qt::Key_Hyper_L
739
740       Qt::Key_Hyper_R
741
742       Qt::Key_Help
743
744       Qt::Key_Space
745
746       Qt::Key_Any
747
748       Qt::Key_Exclam
749
750       Qt::Key_QuoteDbl
751
752       Qt::Key_NumberSign
753
754       Qt::Key_Dollar
755
756       Qt::Key_Percent
757
758       Qt::Key_Ampersand
759
760       Qt::Key_Apostrophe
761
762       Qt::Key_ParenLeft
763
764       Qt::Key_ParenRight
765
766       Qt::Key_Asterisk
767
768       Qt::Key_Plus
769
770       Qt::Key_Comma
771
772       Qt::Key_Minus
773
774       Qt::Key_Period
775
776       Qt::Key_Slash
777
778       Qt::Key_0
779
780       Qt::Key_1
781
782       Qt::Key_2
783
784       Qt::Key_3
785
786       Qt::Key_4
787
788       Qt::Key_5
789
790       Qt::Key_6
791
792       Qt::Key_7
793
794       Qt::Key_8
795
796       Qt::Key_9
797
798       Qt::Key_Colon
799
800       Qt::Key_Semicolon
801
802       Qt::Key_Less
803
804       Qt::Key_Equal
805
806       Qt::Key_Greater
807
808       Qt::Key_Question
809
810       Qt::Key_At
811
812       Qt::Key_A
813
814       Qt::Key_B
815
816       Qt::Key_C
817
818       Qt::Key_D
819
820       Qt::Key_E
821
822       Qt::Key_F
823
824       Qt::Key_G
825
826       Qt::Key_H
827
828       Qt::Key_I
829
830       Qt::Key_J
831
832       Qt::Key_K
833
834       Qt::Key_L
835
836       Qt::Key_M
837
838       Qt::Key_N
839
840       Qt::Key_O
841
842       Qt::Key_P
843
844       Qt::Key_Q
845
846       Qt::Key_R
847
848       Qt::Key_S
849
850       Qt::Key_T
851
852       Qt::Key_U
853
854       Qt::Key_V
855
856       Qt::Key_W
857
858       Qt::Key_X
859
860       Qt::Key_Y
861
862       Qt::Key_Z
863
864       Qt::Key_BracketLeft
865
866       Qt::Key_Backslash
867
868       Qt::Key_BracketRight
869
870       Qt::Key_AsciiCircum
871
872       Qt::Key_Underscore
873
874       Qt::Key_QuoteLeft
875
876       Qt::Key_BraceLeft
877
878       Qt::Key_Bar
879
880       Qt::Key_BraceRight
881
882       Qt::Key_AsciiTilde
883
884       Qt::Key_nobreakspace
885
886       Qt::Key_exclamdown
887
888       Qt::Key_cent
889
890       Qt::Key_sterling
891
892       Qt::Key_currency
893
894       Qt::Key_yen
895
896       Qt::Key_brokenbar
897
898       Qt::Key_section
899
900       Qt::Key_diaeresis
901
902       Qt::Key_copyright
903
904       Qt::Key_ordfeminine
905
906       Qt::Key_guillemotleft
907
908       Qt::Key_notsign
909
910       Qt::Key_hyphen
911
912       Qt::Key_registered
913
914       Qt::Key_macron
915
916       Qt::Key_degree
917
918       Qt::Key_plusminus
919
920       Qt::Key_twosuperior
921
922       Qt::Key_threesuperior
923
924       Qt::Key_acute
925
926       Qt::Key_mu
927
928       Qt::Key_paragraph
929
930       Qt::Key_periodcentered
931
932       Qt::Key_cedilla
933
934       Qt::Key_onesuperior
935
936       Qt::Key_masculine
937
938       Qt::Key_guillemotright
939
940       Qt::Key_onequarter
941
942       Qt::Key_onehalf
943
944       Qt::Key_threequarters
945
946       Qt::Key_questiondown
947
948       Qt::Key_Agrave
949
950       Qt::Key_Aacute
951
952       Qt::Key_Acircumflex
953
954       Qt::Key_Atilde
955
956       Qt::Key_Adiaeresis
957
958       Qt::Key_Aring
959
960       Qt::Key_AE
961
962       Qt::Key_Ccedilla
963
964       Qt::Key_Egrave
965
966       Qt::Key_Eacute
967
968       Qt::Key_Ecircumflex
969
970       Qt::Key_Ediaeresis
971
972       Qt::Key_Igrave
973
974       Qt::Key_Iacute
975
976       Qt::Key_Icircumflex
977
978       Qt::Key_Idiaeresis
979
980       Qt::Key_ETH
981
982       Qt::Key_Ntilde
983
984       Qt::Key_Ograve
985
986       Qt::Key_Oacute
987
988       Qt::Key_Ocircumflex
989
990       Qt::Key_Otilde
991
992       Qt::Key_Odiaeresis
993
994       Qt::Key_multiply
995
996       Qt::Key_Ooblique
997
998       Qt::Key_Ugrave
999
1000       Qt::Key_Uacute
1001
1002       Qt::Key_Ucircumflex
1003
1004       Qt::Key_Udiaeresis
1005
1006       Qt::Key_Yacute
1007
1008       Qt::Key_THORN
1009
1010       Qt::Key_ssharp
1011
1012       Qt::Key_agrave
1013
1014       Qt::Key_aacute
1015
1016       Qt::Key_acircumflex
1017
1018       Qt::Key_atilde
1019
1020       Qt::Key_adiaeresis
1021
1022       Qt::Key_aring
1023
1024       Qt::Key_ae
1025
1026       Qt::Key_ccedilla
1027
1028       Qt::Key_egrave
1029
1030       Qt::Key_eacute
1031
1032       Qt::Key_ecircumflex
1033
1034       Qt::Key_ediaeresis
1035
1036       Qt::Key_igrave
1037
1038       Qt::Key_iacute
1039
1040       Qt::Key_icircumflex
1041
1042       Qt::Key_idiaeresis
1043
1044       Qt::Key_eth
1045
1046       Qt::Key_ntilde
1047
1048       Qt::Key_ograve
1049
1050       Qt::Key_oacute
1051
1052       Qt::Key_ocircumflex
1053
1054       Qt::Key_otilde
1055
1056       Qt::Key_odiaeresis
1057
1058       Qt::Key_division
1059
1060       Qt::Key_oslash
1061
1062       Qt::Key_ugrave
1063
1064       Qt::Key_uacute
1065
1066       Qt::Key_ucircumflex
1067
1068       Qt::Key_udiaeresis
1069
1070       Qt::Key_yacute
1071
1072       Qt::Key_thorn
1073
1074       Qt::Key_ydiaeresis
1075
1076       Multimedia keys
1077
1078       Qt::Key_Back
1079
1080       Qt::Key_Forward
1081
1082       Qt::Key_Stop
1083
1084       Qt::Key_Refresh
1085
1086       Qt::Key_VolumeDown
1087
1088       Qt::Key_VolumeMute
1089
1090       Qt::Key_VolumeUp
1091
1092       Qt::Key_BassBoost
1093
1094       Qt::Key_BassUp
1095
1096       Qt::Key_BassDown
1097
1098       Qt::Key_TrebleUp
1099
1100       Qt::Key_TrebleDown
1101
1102       Qt::Key_MediaPlay
1103
1104       Qt::Key_MediaStop
1105
1106       Qt::Key_MediaPrev
1107
1108       Qt::Key_MediaNext
1109
1110       Qt::Key_MediaRecord
1111
1112       Qt::Key_HomePage
1113
1114       Qt::Key_Favorites
1115
1116       Qt::Key_Search
1117
1118       Qt::Key_Standby
1119
1120       Qt::Key_OpenUrl
1121
1122       Qt::Key_LaunchMail
1123
1124       Qt::Key_LaunchMedia
1125
1126       Qt::Key_Launch0
1127
1128       Qt::Key_Launch1
1129
1130       Qt::Key_Launch2
1131
1132       Qt::Key_Launch3
1133
1134       Qt::Key_Launch4
1135
1136       Qt::Key_Launch5
1137
1138       Qt::Key_Launch6
1139
1140       Qt::Key_Launch7
1141
1142       Qt::Key_Launch8
1143
1144       Qt::Key_Launch9
1145
1146       Qt::Key_LaunchA
1147
1148       Qt::Key_LaunchB
1149
1150       Qt::Key_LaunchC
1151
1152       Qt::Key_LaunchD
1153
1154       Qt::Key_LaunchE
1155
1156       Qt::Key_LaunchF
1157
1158       Qt::Key_MediaLast
1159
1160       Qt::Key_unknown
1161
1162       Qt::Key_Direction_L - internal use only
1163
1164       Qt::Key_Direction_R - internal use only
1165

Qt::MacintoshVersion

1167       Qt::MV_Unknown - Version cannot be detected
1168
1169       Qt::MV_9 - Mac OS 9
1170
1171       Qt::MV_10_DOT_3 - Mac OS X 10.3
1172
1173       Qt::MV_10_DOT_2 - Mac OS X 10.2
1174
1175       Qt::MV_10_DOT_1 - Mac OS X 10.1
1176
1177       Qt::MV_10_DOT_0 - Mac OS X 10.0
1178
1179       Qt::MV_10_DOT_4 - Mac OS X 10.4
1180
1181       Qt::MV_CHEETAH - 10.0 Codename
1182
1183       Qt::MV_PUMA - 10.1 Codename
1184
1185       Qt::MV_JAGUAR - 10.2 Codename
1186
1187       Qt::MV_PANTHER - 10.3 Codename
1188
1189       Qt::MV_TIGER - 10.4 Codename
1190

Qt::Modifier

1192       This enum type describes the keyboard modifier keys supported by Qt.
1193
1194       Qt::SHIFT - the Shift keys provided on all standard keyboards.
1195
1196       Qt::META - the Meta keys.
1197
1198       Qt::CTRL - the Ctrl keys.
1199
1200       Qt::ALT - the normal Alt keys, but not e.g. AltGr.
1201
1202       Qt::MODIFIER_MASK - is a mask of Shift, Ctrl, Alt and Meta.
1203
1204       Qt::UNICODE_ACCEL - the accelerator is specified as a Unicode code
1205       point, not as a Qt Key.
1206

Qt::Orientation

1208       This type is used to signify an object's orientation.
1209
1210       Qt::Horizontal
1211
1212       Qt::Vertical
1213
1214       Orientation is used with QScrollBar for example.
1215

Qt::PaintUnit

1217       Qt::PixelUnit
1218
1219       Qt::LoMetricUnit - obsolete
1220
1221       Qt::HiMetricUnit - obsolete
1222
1223       Qt::LoEnglishUnit - obsolete
1224
1225       Qt::HiEnglishUnit - obsolete
1226
1227       Qt::TwipsUnit - obsolete
1228

Qt::PenCapStyle

1230       This enum type defines the pen cap styles supported by Qt, i.e. the
1231       line end caps that can be drawn using QPainter.
1232
1233       Qt::FlatCap - a square line end that does not cover the end point of
1234       the line.
1235
1236       Qt::SquareCap - a square line end that covers the end point and extends
1237       beyond it with half the line width.
1238
1239       Qt::RoundCap - a rounded line end.
1240
1241       Qt::MPenCapStyle - mask of the pen cap styles.
1242
1243       <center>
1244                                   [Image Omitted]
1245
1246       </center>
1247

Qt::PenJoinStyle

1249       This enum type defines the pen join styles supported by Qt, i.e. which
1250       joins between two connected lines can be drawn using QPainter.
1251
1252       Qt::MiterJoin - The outer edges of the lines are extended to meet at an
1253       angle, and this area is filled.
1254
1255       Qt::BevelJoin - The triangular notch between the two lines is filled.
1256
1257       Qt::RoundJoin - A circular arc between the two lines is filled.
1258
1259       Qt::MPenJoinStyle - mask of the pen join styles.
1260
1261       <center>
1262                                   [Image Omitted]
1263
1264       </center>
1265

Qt::PenStyle

1267       This enum type defines the pen styles that can be drawn using QPainter.
1268       The styles are
1269
1270       Qt::NoPen - no line at all. For example, QPainter::drawRect() fills but
1271       does not draw any boundary line.
1272
1273       Qt::SolidLine - a simple line.
1274
1275       Qt::DashLine - dashes separated by a few pixels.
1276
1277       Qt::DotLine - dots separated by a few pixels.
1278
1279       Qt::DashDotLine - alternate dots and dashes.
1280
1281       Qt::DashDotDotLine - one dash, two dots, one dash, two dots.
1282
1283       Qt::MPenStyle - mask of the pen styles.
1284
1285       <center>
1286                                   [Image Omitted]
1287
1288       </center>
1289

Qt::RasterOp

1291       This enum type is used to describe the way things are written to the
1292       paint device. Each bit of the src (what you write) interacts with the
1293       corresponding bit of the dst pixel.
1294
1295       Qt::CopyROP - dst = src
1296
1297       Qt::OrROP - dst = src OR dst
1298
1299       Qt::XorROP - dst = src XOR dst
1300
1301       Qt::NotAndROP - dst = (NOT src) AND dst
1302
1303       Qt::EraseROP - an alias for NotAndROP
1304
1305       Qt::NotCopyROP - dst = NOT src
1306
1307       Qt::NotOrROP - dst = (NOT src) OR dst
1308
1309       Qt::NotXorROP - dst = (NOT src) XOR dst
1310
1311       Qt::AndROP - dst = src AND dst
1312
1313       Qt::NotEraseROP - an alias for AndROP
1314
1315       Qt::NotROP - dst = NOT dst
1316
1317       Qt::ClearROP - dst = 0
1318
1319       Qt::SetROP - dst = 1
1320
1321       Qt::NopROP - dst = dst
1322
1323       Qt::AndNotROP - dst = src AND (NOT dst)
1324
1325       Qt::OrNotROP - dst = src OR (NOT dst)
1326
1327       Qt::NandROP - dst = NOT (src AND dst)
1328
1329       Qt::NorROP - dst = NOT (src OR dst)
1330
1331       By far the most useful ones are CopyROP and XorROP.
1332
1333       On Qt/Embedded, only CopyROP, XorROP, and NotROP are supported.
1334

Qt::SequenceMatch

1336       Qt::NoMatch - Sequences have nothing in common
1337
1338       Qt::PartialMatch - Sequences match partially, but are not complete
1339
1340       Qt::Identical - Sequences do not differ
1341

Qt::SortOrder

1343       This enum describes how the items in a widget are sorted.
1344
1345       Qt::Ascending - The items are sorted ascending e.g. starts with 'AAA'
1346       ends with 'ZZZ' in Latin-1 locales
1347
1348       Qt::Descending - The items are sorted descending e.g. starts with 'ZZZ'
1349       ends with 'AAA' in Latin-1 locales
1350

Qt::StringComparisonMode

1352       This enum type is used to set the string comparison mode when searching
1353       for an item. It is used by QListBox, QListView and QIconView, for
1354       example. We'll refer to the string being searched as the 'target'
1355       string.
1356
1357       Qt::CaseSensitive - The strings must match case sensitively.
1358
1359       Qt::ExactMatch - The target and search strings must match exactly.
1360
1361       Qt::BeginsWith - The target string begins with the search string.
1362
1363       Qt::EndsWith - The target string ends with the search string.
1364
1365       Qt::Contains - The target string contains the search string.
1366
1367       If you OR these flags together (excluding CaseSensitive), the search
1368       criteria be applied in the following order: ExactMatch, BeginsWith,
1369       EndsWith, Contains.
1370
1371       Matching is case-insensitive unless CaseSensitive is set. CaseSensitive
1372       can be OR-ed with any combination of the other flags.
1373

Qt::TextFlags

1375       This enum type is used to define some modifier flags. Some of these
1376       flags only make sense in the context of printing:
1377
1378       Qt::SingleLine - Treats all whitespace as spaces and prints just one
1379       line.
1380
1381       Qt::DontClip - If it's impossible to stay within the given bounds, it
1382       prints outside.
1383
1384       Qt::ExpandTabs - Makes the U+0009 (ASCII tab) character move to the
1385       next tab stop.
1386
1387       Qt::ShowPrefix - Displays the string "&P" as <u>P</u> (see QButton for
1388       an example). For an ampersand, use "&&".
1389
1390       Qt::WordBreak - Breaks lines at appropriate points, e.g. at word
1391       boundaries.
1392
1393       Qt::BreakAnywhere - Breaks lines anywhere, even within words.
1394
1395       Qt::NoAccel - Same as ShowPrefix but doesn't draw the underlines.
1396
1397       You can use as many modifier flags as you want, except that SingleLine
1398       and WordBreak cannot be combined.
1399
1400       Flags that are inappropriate for a given use (e.g. ShowPrefix to
1401       QGridLayout::addWidget()) are generally ignored.
1402

Qt::TextFormat

1404       This enum is used in widgets that can display both plain text and rich
1405       text, e.g. QLabel. It is used for deciding whether a text string should
1406       be interpreted as one or the other. This is normally done by passing
1407       one of the enum values to a setTextFormat() function.
1408
1409       Qt::PlainText - The text string is interpreted as a plain text string.
1410
1411       Qt::RichText - The text string is interpreted as a rich text string
1412       using the current QStyleSheet::defaultSheet().
1413
1414       Qt::AutoText - The text string is interpreted as for RichText if
1415       QStyleSheet::mightBeRichText() returns TRUE, otherwise as PlainText.
1416
1417       Qt::LogText - A special, limited text format which is only used by
1418       QTextEdit in an optimized mode.
1419

Qt::TimeSpec

1421       Qt::LocalTime - Locale dependent time (Timezones and Daylight Savings
1422       Time)
1423
1424       Qt::UTC - Coordinated Universal Time, replaces Greenwich Time
1425

Qt::UIEffect

1427       Qt::UI_General
1428
1429       Qt::UI_AnimateMenu
1430
1431       Qt::UI_FadeMenu
1432
1433       Qt::UI_AnimateCombo
1434
1435       Qt::UI_AnimateTooltip
1436
1437       Qt::UI_FadeTooltip
1438
1439       Qt::UI_AnimateToolBox - Reserved
1440

Qt::WidgetFlags

1442       This enum type is used to specify various window-system properties for
1443       the widget. They are fairly unusual but necessary in a few cases. Some
1444       of these flags depend on whether the underlying window manager supports
1445       them. (See the toplevel example for an explanation and example of their
1446       use.)
1447
1448       The main types are
1449
1450       Qt::WType_TopLevel - indicates that this widget is a top-level widget,
1451       usually with a window-system frame and so on.
1452
1453       Qt::WType_Dialog - indicates that this widget is a top-level window
1454       that should be decorated as a dialog (i.e. typically no maximize or
1455       minimize buttons in the title bar). If you want to use it as a modal
1456       dialog it should be launched from another window, or have a parent and
1457       this flag should be combined with WShowModal. If you make it modal, the
1458       dialog will prevent other top-level windows in the application from
1459       getting any input. WType_Dialog implies WType_TopLevel. We refer to a
1460       top-level window that has a parent as a secondary window. (See also
1461       WGroupLeader.)
1462
1463       Qt::WType_Popup - indicates that this widget is a popup top-level
1464       window, i.e. that it is modal, but has a window system frame
1465       appropriate for popup menus. WType_Popup implies WType_TopLevel.
1466
1467       Qt::WType_Desktop - indicates that this widget is the desktop. See also
1468       WPaintDesktop below. WType_Desktop implies WType_TopLevel.
1469
1470       There are also a number of flags which you can use to customize the
1471       appearance of top-level windows. These have no effect on other windows:
1472
1473       Qt::WStyle_Customize - indicates that the WStyle_* flags should be used
1474       to build the window instead of the default flags.
1475
1476       Qt::WStyle_NormalBorder - gives the window a normal border. This cannot
1477       be combined with WStyle_DialogBorder or WStyle_NoBorder.
1478
1479       Qt::WStyle_DialogBorder - gives the window a thin dialog border. This
1480       cannot be combined with WStyle_NormalBorder or WStyle_NoBorder.
1481
1482       Qt::WStyle_NoBorder - produces a borderless window. Note that the user
1483       cannot move or resize a borderless window via the window system. This
1484       cannot be combined with WStyle_NormalBorder or WStyle_DialogBorder. On
1485       Windows, the flag works fine. On X11, the result of the flag is
1486       dependent on the window manager and its ability to understand MOTIF
1487       and/or NETWM hints: most existing modern window managers can handle
1488       this. With WX11BypassWM, you can bypass the window manager completely.
1489       This results in a borderless window that is not managed at all (i.e. no
1490       keyboard input unless you call setActiveWindow() manually).
1491
1492       Qt::WStyle_NoBorderEx - this value is obsolete. It has the same effect
1493       as using WStyle_NoBorder.
1494
1495       Qt::WStyle_Title - gives the window a title bar.
1496
1497       Qt::WStyle_SysMenu - adds a window system menu.
1498
1499       Qt::WStyle_Minimize - adds a minimize button. Note that on Windows this
1500       has to be combined with WStyle_SysMenu for it to work.
1501
1502       Qt::WStyle_Maximize - adds a maximize button. Note that on Windows this
1503       has to be combined with WStyle_SysMenu for it to work.
1504
1505       Qt::WStyle_MinMax - is equal to WStyle_Minimize|WStyle_Maximize. Note
1506       that on Windows this has to be combined with WStyle_SysMenu to work.
1507
1508       Qt::WStyle_ContextHelp - adds a context help button to dialogs.
1509
1510       Qt::WStyle_Tool - makes the window a tool window. A tool window is
1511       often a small window with a smaller than usual title bar and
1512       decoration, typically used for collections of tool buttons. It there is
1513       a parent, the tool window will always be kept on top of it. If there
1514       isn't a parent, you may consider passing WStyle_StaysOnTop as well. If
1515       the window system supports it, a tool window can be decorated with a
1516       somewhat lighter frame. It can also be combined with WStyle_NoBorder.
1517
1518       Qt::WStyle_StaysOnTop - informs the window system that the window
1519       should stay on top of all other windows. Note that on some window
1520       managers on X11 you also have to pass WX11BypassWM for this flag to
1521       work correctly.
1522
1523       Qt::WStyle_Dialog - indicates that the window is a logical subwindow of
1524       its parent (i.e. a dialog). The window will not get its own taskbar
1525       entry and will be kept on top of its parent by the window system.
1526       Usually it will also be minimized when the parent is minimized. If not
1527       customized, the window is decorated with a slightly simpler title bar.
1528       This is the flag QDialog uses.
1529
1530       Qt::WStyle_Splash - indicates that the window is a splash screen. On
1531       X11, we try to follow NETWM standard for a splash screen window if the
1532       window manager supports is otherwise it is equivalent to WX11BypassWM.
1533       On other platforms, it is equivalent to WStyle_NoBorder | WMacNoSheet |
1534       WStyle_Tool | WWinOwnDC
1535
1536       Modifier flags:
1537
1538       Qt::WDestructiveClose - makes Qt delete this widget when the widget has
1539       accepted closeEvent(), or when the widget tried to ignore closeEvent()
1540       but could not.
1541
1542       Qt::WPaintDesktop - gives this widget paint events for the desktop.
1543
1544       Qt::WPaintUnclipped - makes all painters operating on this widget
1545       unclipped. Children of this widget or other widgets in front of it do
1546       not clip the area the painter can paint on.
1547
1548       Qt::WPaintClever - indicates that Qt should not try to optimize
1549       repainting for the widget, but instead pass on window system repaint
1550       events directly. (This tends to produce more events and smaller repaint
1551       regions.)
1552
1553       Qt::WMouseNoMask - indicates that even if the widget has a mask, it
1554       wants mouse events for its entire rectangle.
1555
1556       Qt::WStaticContents - indicates that the widget contents are north-west
1557       aligned and static. On resize, such a widget will receive paint events
1558       only for the newly visible part of itself.
1559
1560       Qt::WNoAutoErase - indicates that the widget paints all its pixels.
1561       Updating, resizing, scrolling and focus changes should therefore not
1562       erase the widget. This allows smart-repainting to avoid flicker.
1563
1564       Qt::WResizeNoErase - this value is obsolete; use WNoAutoErase instead.
1565
1566       Qt::WRepaintNoErase - this value is obsolete; use WNoAutoErase instead.
1567
1568       Qt::WGroupLeader - makes this window a group leader. A group leader
1569       should not have a parent (i.e. it should be a top-level window). Any
1570       decendant windows (direct or indirect) of a group leader are in its
1571       group; other windows are not. If you show a secondary window from the
1572       group (i.e. show a window whose top-most parent is a group leader),
1573       that window will be modal with respect to the other windows in the
1574       group, but modeless with respect to windows in other groups.
1575
1576       Miscellaneous flags
1577
1578       Qt::WShowModal - see WType_Dialog
1579
1580       Internal flags.
1581
1582       Qt::WNoMousePropagation
1583
1584       Qt::WStaticContents
1585
1586       Qt::WStyle_Reserved
1587
1588       Qt::WSubWindow
1589
1590       Qt::WType_Modal
1591
1592       Qt::WWinOwnDC
1593
1594       Qt::WX11BypassWM
1595
1596       Qt::WMacNoSheet
1597
1598       Qt::WMacDrawer
1599
1600       Qt::WStyle_Mask
1601
1602       Qt::WType_Mask
1603

Qt::WidgetState

1605       Internal flags.
1606
1607       Qt::WState_Created
1608
1609       Qt::WState_Disabled
1610
1611       Qt::WState_Visible
1612
1613       Qt::WState_ForceHide
1614
1615       Qt::WState_OwnCursor
1616
1617       Qt::WState_MouseTracking
1618
1619       Qt::WState_CompressKeys
1620
1621       Qt::WState_BlockUpdates
1622
1623       Qt::WState_InPaintEvent
1624
1625       Qt::WState_Reparented
1626
1627       Qt::WState_ConfigPending
1628
1629       Qt::WState_Resized
1630
1631       Qt::WState_AutoMask
1632
1633       Qt::WState_Polished
1634
1635       Qt::WState_DND
1636
1637       Qt::WState_Reserved0 - internal
1638
1639       Qt::WState_CreatedHidden
1640
1641       Qt::WState_Maximized
1642
1643       Qt::WState_Minimized
1644
1645       Qt::WState_ForceDisabled
1646
1647       Qt::WState_Exposed
1648
1649       Qt::WState_HasMouse
1650
1651       Qt::WState_CreatedHidden
1652
1653       Qt::WState_OwnSizePolicy
1654
1655       Qt::WState_FullScreen
1656

Qt::WindowState

1658       This enum type is used to specify the current state of a top-level
1659       window.
1660
1661       The states are
1662
1663       Qt::WindowNoState - The window has no state set (in normal state).
1664
1665       Qt::WindowMinimized - The window is minimized (i.e. iconified).
1666
1667       Qt::WindowMaximized - The window is maximized with a frame around it.
1668
1669       Qt::WindowFullScreen - The window fills the entire screen without any
1670       frame around it.
1671
1672       Qt::WindowActive - The window is the active window, i.e. it has
1673       keyboard focus.
1674

Qt::WindowsVersion

1676       Qt::WV_32s - Windows 3.1 with Win 32s
1677
1678       Qt::WV_95 - Windows 95
1679
1680       Qt::WV_98 - Windows 98
1681
1682       Qt::WV_Me - Windows Me
1683
1684       Qt::WV_DOS_based
1685
1686       Qt::WV_NT - Windows NT
1687
1688       Qt::WV_2000 - Windows 2000
1689
1690       Qt::WV_XP - Windows XP
1691
1692       Qt::WV_2003 - Windows Server 2003
1693
1694       Qt::WV_NT_based
1695
1696       Qt::WV_VISTA - Windows Vista
1697
1698       Qt::WV_CE - Windows CE
1699
1700       Qt::WV_CENET - Windows CE .NET
1701
1702       Qt::WV_CE_based
1703
1704

SEE ALSO

1706       http://doc.trolltech.com/qt.html http://www.trolltech.com/faq/tech.html
1707
1709       Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com.  See the
1710       license file included in the distribution for a complete license
1711       statement.
1712

AUTHOR

1714       Generated automatically from the source code.
1715

BUGS

1717       If you find a bug in Qt, please report it as described in
1718       http://doc.trolltech.com/bughowto.html.  Good bug reports help us to
1719       help you. Thank you.
1720
1721       The definitive Qt documentation is provided in HTML format; it is
1722       located at $QTDIR/doc/html and can be read using Qt Assistant or with a
1723       web browser. This man page is provided as a convenience for those users
1724       who prefer man pages, although this format is not officially supported
1725       by Trolltech.
1726
1727       If you find errors in this manual page, please report them to qt-
1728       bugs@trolltech.com.  Please include the name of the manual page
1729       (qt.3qt) and the Qt version (3.3.8).
1730
1731
1732
1733Trolltech AS                    2 February 2007                        Qt(3qt)
Impressum