summaryrefslogtreecommitdiffstats
path: root/doc/html/tqt.html
blob: 5eace10cfd1ea7458e058269d7469cf43b32f13a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/kernel/tqobject.cpp:75 -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>TQt Class</title>
<style type="text/css"><!--
fn { margin-left: 1cm; text-indent: -1cm; }
a:link { color: #004faf; text-decoration: none }
a:visited { color: #672967; text-decoration: none }
body { background: #ffffff; color: black; }
--></style>
</head>
<body>

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

<p>The TQt class is a namespace for miscellaneous identifiers
that need to be global-like.
<a href="#details">More...</a>
<p><tt>#include &lt;<a href="tqnamespace-h.html">tqnamespace.h</a>&gt;</tt>
<p>Inherited by <a href="tqobject.html">TQObject</a>, <a href="tqpixmap.html">TQPixmap</a>, <a href="tqbrush.html">TQBrush</a>, <a href="tqcanvasitem.html">TQCanvasItem</a>, <a href="tqcursor.html">TQCursor</a>, <a href="tqpainter.html">TQPainter</a>, <a href="tqevent.html">TQEvent</a>, <a href="tqiconviewitem.html">TQIconViewItem</a>, <a href="tqkeysequence.html">TQKeySequence</a>, <a href="tqlistviewitem.html">TQListViewItem</a>, <a href="tqcustommenuitem.html">TQCustomMenuItem</a>, <a href="tqpen.html">TQPen</a>, <a href="tqstylesheetitem.html">TQStyleSheetItem</a>, <a href="tqsyntaxhighlighter.html">TQSyntaxHighlighter</a>, <a href="tqtab.html">TQTab</a>, <a href="tqtableitem.html">TQTableItem</a>, <a href="tqthread.html">TQThread</a>, <a href="tqtooltip.html">TQToolTip</a>, and <a href="tqwhatsthis.html">TQWhatsThis</a>.
<p><a href="qt-members.html">List of all member functions.</a>
<h2>Public Members</h2>
<ul>
<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>
<li class=fn>enum <a href="#Orientation-enum"><b>Orientation</b></a> { Horizontal = 0, Vertical }</li>
<li class=fn>enum <a href="#SortOrder-enum"><b>SortOrder</b></a> { Ascending, Descending }</li>
<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>
<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>
<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>
<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>
<li class=fn>enum <a href="#WindowState-enum"><b>WindowState</b></a> { WindowNoState = 0x00000000, WindowMinimized = 0x00000001, WindowMaximized = 0x00000002, WindowFullScreen = 0x00000004, WindowActive = 0x00000008 }</li>
<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>
<li class=fn>enum <a href="#BGMode-enum"><b>BGMode</b></a> { TransparentMode, OpaqueMode }</li>
<li class=fn>enum <a href="#PaintUnit-enum"><b>PaintUnit</b></a> { PixelUnit, LoMetricUnit, HiMetricUnit, LoEnglishUnit, HiEnglishUnit, TwipsUnit }</li>
<li class=fn>enum GUIStyle { MacStyle, WindowsStyle, Win3Style, PMStyle, MotifStyle } &nbsp;<em>(obsolete)</em></li>
<li class=fn>enum <a href="#SequenceMatch-enum"><b>SequenceMatch</b></a> { NoMatch, PartialMatch, Identical }</li>
<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>
<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_MonBrightnessUp = 0x010b2, Key_MonBrightnessDown = 0x010b3, Key_KeyboardLightOnOff = 0x010b4, Key_KeyboardBrightnessUp = 0x010b5, Key_KeyboardBrightnessDown = 0x010b6, Key_MediaLast = 0x1fff, Key_unknown = 0xffff }</li>
<li class=fn>enum <a href="#ArrowType-enum"><b>ArrowType</b></a> { UpArrow, DownArrow, LeftArrow, RightArrow }</li>
<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>
<li class=fn>enum <a href="#PenStyle-enum"><b>PenStyle</b></a> { NoPen, SolidLine, DashLine, DotLine, DashDotLine, DashDotDotLine, MPenStyle = 0x0f }</li>
<li class=fn>enum <a href="#PenCapStyle-enum"><b>PenCapStyle</b></a> { FlatCap = 0x00, SquareCap = 0x10, RoundCap = 0x20, MPenCapStyle = 0x30 }</li>
<li class=fn>enum <a href="#PenJoinStyle-enum"><b>PenJoinStyle</b></a> { MiterJoin = 0x00, BevelJoin = 0x40, RoundJoin = 0x80, MPenJoinStyle = 0xc0 }</li>
<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>
<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>
<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>
<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>
<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>
<li class=fn>enum <a href="#TextFormat-enum"><b>TextFormat</b></a> { PlainText, RichText, AutoText, LogText }</li>
<li class=fn>enum <a href="#AnchorAttribute-enum"><b>AnchorAttribute</b></a> { AnchorName, AnchorHref }</li>
<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>
<li class=fn>enum <a href="#DateFormat-enum"><b>DateFormat</b></a> { TextDate, ISODate, LocalDate }</li>
<li class=fn>enum <a href="#TimeSpec-enum"><b>TimeSpec</b></a> { LocalTime, UTC }</li>
<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>
<li class=fn>enum <a href="#StringComparisonMode-enum"><b>StringComparisonMode</b></a> { CaseSensitive = 0x00001, BeginsWith = 0x00002, EndsWith = 0x00004, Contains = 0x00008, ExactMatch = 0x00010 }</li>
<li class=fn>enum <a href="#Corner-enum"><b>Corner</b></a> { TopLeft = 0x00000, TopRight = 0x00001, BottomLeft = 0x00002, BottomRight = 0x00003 }</li>
<li class=fn>typedef void&nbsp;*&nbsp;<b>HANDLE</b></li>
</ul>
<hr><a name="details"></a><h2>Detailed Description</h2>


<p> The TQt class is a namespace for miscellaneous identifiers
that need to be global-like.
<p> 
<p> Normally, you can ignore this class. <a href="tqobject.html">TQObject</a> and a few other
classes inherit it, so all the identifiers in the TQt namespace are
normally usable without qualification.
<p> However, you may occasionally need to say <tt>TQt::black</tt> instead of
just <tt>black</tt>, particularly in static utility functions (such as
many class factories).
<p> <p>See also <a href="misc.html">Miscellaneous Classes</a>.

<hr><h2>Member Type Documentation</h2>
<h3 class=fn><a name="AlignmentFlags-enum"></a>TQt::AlignmentFlags</h3>

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

<h3 class=fn><a name="AnchorAttribute-enum"></a>TQt::AnchorAttribute</h3>

<p> An anchor has one or more of the following attributes:
<ul>
<li><tt>TQt::AnchorName</tt> - the name attribute of the anchor. This attribute is
used when scrolling to an anchor in the document.
<li><tt>TQt::AnchorHref</tt> - the href attribute of the anchor. This attribute is
used when a link is clicked to determine what content to load.
</ul>
<h3 class=fn><a name="ArrowType-enum"></a>TQt::ArrowType</h3>

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

<p> Background mode
<ul>
<li><tt>TQt::TransparentMode</tt>
<li><tt>TQt::OpaqueMode</tt>
</ul>
<h3 class=fn><a name="BackgroundMode-enum"></a>TQt::BackgroundMode</h3>

<p> This enum describes how the background of a widget changes, as the
widget's palette changes.
<p> The background is what the widget contains when <a href="tqwidget.html#paintEvent">paintEvent()</a> is called. To minimize
flicker, this should be the most common color or pixmap in the
widget. For <a href="#BackgroundMode-enum">PaletteBackground</a>, use colorGroup().brush( <a href="tqcolorgroup.html#ColorRole-enum">TQColorGroup::Background</a> ), and so on.
<ul>
<li><tt>TQt::PaletteForeground</tt>
<li><tt>TQt::PaletteBackground</tt>
<li><tt>TQt::PaletteButton</tt>
<li><tt>TQt::PaletteLight</tt>
<li><tt>TQt::PaletteMidlight</tt>
<li><tt>TQt::PaletteDark</tt>
<li><tt>TQt::PaletteMid</tt>
<li><tt>TQt::PaletteText</tt>
<li><tt>TQt::PaletteBrightText</tt>
<li><tt>TQt::PaletteButtonText</tt>
<li><tt>TQt::PaletteBase</tt>
<li><tt>TQt::PaletteShadow</tt>
<li><tt>TQt::PaletteHighlight</tt>
<li><tt>TQt::PaletteHighlightedText</tt>
<li><tt>TQt::PaletteLink</tt>
<li><tt>TQt::PaletteLinkVisited</tt>
<li><tt>TQt::X11ParentRelative</tt> - (internal use only)
</ul><p> The final three values have special meaning:
<ul>
<li><tt>TQt::NoBackground</tt> - the widget is not cleared before paintEvent().
If the widget's paint event always draws on all the pixels, using
this mode can be both fast and flicker-free.
<li><tt>TQt::FixedColor</tt> - the widget is cleared to a fixed color, normally
different from all the ones in the palette(). Set using <a href="tqwidget.html#setPaletteBackgroundColor">setPaletteBackgroundColor()</a>.
<li><tt>TQt::FixedPixmap</tt> - the widget is cleared to a fixed pixmap,
normally different from all the ones in the palette(). Set using
<a href="tqwidget.html#setPaletteBackgroundPixmap">setPaletteBackgroundPixmap()</a>.
</ul><p> Although <a href="#BackgroundMode-enum">FixedColor</a> and <a href="#BackgroundMode-enum">FixedPixmap</a> are sometimes just
right, if you use them, make sure that you test your application
when the desktop color scheme has been changed. (On X11, a quick
way to test this is e.g. "./myapp -bg paleblue". On Windows, you
must use the control panel.)
<p> <p>See also <a href="tqwidget.html#backgroundMode-prop">TQWidget::backgroundMode</a>, <a href="tqwidget.html#backgroundMode-prop">TQWidget::backgroundMode</a>, <a href="tqwidget.html#setBackgroundPixmap">TQWidget::setBackgroundPixmap</a>(), and <a href="tqwidget.html#paletteBackgroundColor-prop">TQWidget::paletteBackgroundColor</a>.

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

<ul>
<li><tt>TQt::NoBrush</tt>
<li><tt>TQt::SolidPattern</tt>
<li><tt>TQt::Dense1Pattern</tt>
<li><tt>TQt::Dense2Pattern</tt>
<li><tt>TQt::Dense3Pattern</tt>
<li><tt>TQt::Dense4Pattern</tt>
<li><tt>TQt::Dense5Pattern</tt>
<li><tt>TQt::Dense6Pattern</tt>
<li><tt>TQt::Dense7Pattern</tt>
<li><tt>TQt::HorPattern</tt>
<li><tt>TQt::VerPattern</tt>
<li><tt>TQt::CrossPattern</tt>
<li><tt>TQt::BDiagPattern</tt>
<li><tt>TQt::FDiagPattern</tt>
<li><tt>TQt::DiagCrossPattern</tt>
<li><tt>TQt::CustomPattern</tt>
</ul><p> <center><img src="brush-styles.png" alt="Brush Styles"></center> 
<p> 
<h3 class=fn><a name="ButtonState-enum"></a>TQt::ButtonState</h3>

<p> This enum type describes the state of the mouse and the modifier
buttons.
<ul>
<li><tt>TQt::NoButton</tt> - used when the button state does not refer to any
button (see <a href="tqmouseevent.html#button">TQMouseEvent::button</a>()).
<li><tt>TQt::LeftButton</tt> - set if the left button is pressed, or if this
event refers to the left button. (The left button may be
the right button on left-handed mice.)
<li><tt>TQt::RightButton</tt> - the right button.
<li><tt>TQt::MidButton</tt> - the middle button.
<li><tt>TQt::ShiftButton</tt> - a Shift key on the keyboard is also pressed.
<li><tt>TQt::ControlButton</tt> - a Ctrl key on the keyboard is also pressed.
<li><tt>TQt::AltButton</tt> - an Alt key on the keyboard is also pressed.
<li><tt>TQt::MetaButton</tt> - a Meta key on the keyboard is also pressed.
<li><tt>TQt::Keypad</tt> - a keypad button is pressed.
<li><tt>TQt::KeyButtonMask</tt> - a mask for ShiftButton, ControlButton,
AltButton and MetaButton.
<li><tt>TQt::MouseButtonMask</tt> - a mask for LeftButton, RightButton and MidButton.
</ul>
<h3 class=fn><a name="Corner-enum"></a>TQt::Corner</h3>

This enum type specifies a corner in a rectangle:
<ul>
<li><tt>TQt::TopLeft</tt> - top left corner
<li><tt>TQt::TopRight</tt> - top right corner
<li><tt>TQt::BottomLeft</tt> - bottom left corner
<li><tt>TQt::BottomRight</tt> - bottom right corner
</ul>
<h3 class=fn><a name="CursorShape-enum"></a>TQt::CursorShape</h3>

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

<ul>
<li><tt>TQt::TextDate</tt> - (default) TQt format
<li><tt>TQt::ISODate</tt> - ISO 8601 extended format (YYYY-MM-DD, or with time,
YYYY-MM-DDTHH:MM:SS)
<li><tt>TQt::LocalDate</tt> - locale dependent format
</ul>
<h3 class=fn><a name="Dock-enum"></a>TQt::Dock</h3>

<p> Each dock window can be in one of the following positions:
<ul>
<li><tt>TQt::DockTop</tt> - above the central widget, below the menu bar.
<li><tt>TQt::DockBottom</tt> - below the central widget, above the status bar.
<li><tt>TQt::DockLeft</tt> - to the left of the central widget.
<li><tt>TQt::DockRight</tt> - to the right of the central widget.
<li><tt>TQt::DockMinimized</tt> - the dock window is not shown (this is
effectively a 'hidden' dock area); the handles of all minimized
dock windows are drawn in one row below the menu bar.
<li><tt>TQt::DockTornOff</tt> - the dock window floats as its own top level
window which always stays on top of the main window.
<li><tt>TQt::DockUnmanaged</tt> - not managed by a <a href="tqmainwindow.html">TQMainWindow</a>.
</ul>
<h3 class=fn><a name="GUIStyle-enum"></a>TQt::GUIStyle</h3>

<p> <b>This type is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code.
<p> <ul>
<li><tt>TQt::WindowsStyle</tt>
<li><tt>TQt::MotifStyle</tt>
<li><tt>TQt::MacStyle</tt>
<li><tt>TQt::Win3Style</tt>
<li><tt>TQt::PMStyle</tt>
</ul>
<h3 class=fn><a name="ImageConversionFlags-enum"></a>TQt::ImageConversionFlags</h3>

<p> The conversion flag is a bitwise-OR of the following values. The
options marked "(default)" are set if no other values from the
list are included (since the defaults are zero):
<p> Color/Mono preference (ignored for <a href="tqbitmap.html">TQBitmap</a>)
<ul>
<li><tt>TQt::AutoColor</tt> - (default) - If the image has <a href="tqimage.html#depth">depth</a> 1 and contains only
black and white pixels, the pixmap becomes monochrome.
<li><tt>TQt::ColorOnly</tt> - The pixmap is dithered/converted to the
<a href="tqpixmap.html#defaultDepth">native display depth</a>.
<li><tt>TQt::MonoOnly</tt> - The pixmap becomes monochrome. If necessary,
it is dithered using the chosen dithering algorithm.
</ul><p> Dithering mode preference for RGB channels
<ul>
<li><tt>TQt::DiffuseDither</tt> - (default) - A high-quality dither.
<li><tt>TQt::OrderedDither</tt> - A faster, more ordered dither.
<li><tt>TQt::ThresholdDither</tt> - No dithering; closest color is used.
</ul><p> Dithering mode preference for alpha channel
<ul>
<li><tt>TQt::ThresholdAlphaDither</tt> - (default) - No dithering.
<li><tt>TQt::OrderedAlphaDither</tt> - A faster, more ordered dither.
<li><tt>TQt::DiffuseAlphaDither</tt> - A high-quality dither.
<li><tt>TQt::NoAlpha</tt> - Not supported.
</ul><p> Color matching versus dithering preference
<ul>
<li><tt>TQt::PreferDither</tt> - (default when converting to a pixmap) - Always dither
32-bit images when the image is converted to 8 bits.
<li><tt>TQt::AvoidDither</tt> - (default when converting for the purpose of saving to
file) - Dither 32-bit images only if the image has more than 256
colors and it is being converted to 8 bits.
<li><tt>TQt::AutoDither</tt> - Not supported.
</ul><p> The following are not values that are used directly, but masks for
the above classes:
<ul>
<li><tt>TQt::ColorMode_Mask</tt> - Mask for the color mode.
<li><tt>TQt::Dither_Mask</tt> - Mask for the dithering mode for RGB channels.
<li><tt>TQt::AlphaDither_Mask</tt> - Mask for the dithering mode for the alpha channel.
<li><tt>TQt::DitherMode_Mask</tt> - Mask for the mode that determines the preference of
color matching versus dithering.
</ul><p> Using 0 as the conversion flag sets all the default options.

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

<p> The key names used by TQt.
<ul>
<li><tt>TQt::Key_Escape</tt>
<li><tt>TQt::Key_Tab</tt>
<li><tt>TQt::Key_Backtab</tt>
<li><tt>TQt::Key_Backspace</tt>
<li><tt>TQt::Key_Return</tt>
<li><tt>TQt::Key_Enter</tt>
<li><tt>TQt::Key_Insert</tt>
<li><tt>TQt::Key_Delete</tt>
<li><tt>TQt::Key_Pause</tt>
<li><tt>TQt::Key_Print</tt>
<li><tt>TQt::Key_SysReq</tt>
<li><tt>TQt::Key_Home</tt>
<li><tt>TQt::Key_End</tt>
<li><tt>TQt::Key_Left</tt>
<li><tt>TQt::Key_Up</tt>
<li><tt>TQt::Key_Right</tt>
<li><tt>TQt::Key_Down</tt>
<li><tt>TQt::Key_Prior</tt>
<li><tt>TQt::Key_Next</tt>
<li><tt>TQt::Key_Shift</tt>
<li><tt>TQt::Key_Control</tt>
<li><tt>TQt::Key_Meta</tt>
<li><tt>TQt::Key_Alt</tt>
<li><tt>TQt::Key_CapsLock</tt>
<li><tt>TQt::Key_NumLock</tt>
<li><tt>TQt::Key_ScrollLock</tt>
<li><tt>TQt::Key_Clear</tt>
<li><tt>TQt::Key_F1</tt>
<li><tt>TQt::Key_F2</tt>
<li><tt>TQt::Key_F3</tt>
<li><tt>TQt::Key_F4</tt>
<li><tt>TQt::Key_F5</tt>
<li><tt>TQt::Key_F6</tt>
<li><tt>TQt::Key_F7</tt>
<li><tt>TQt::Key_F8</tt>
<li><tt>TQt::Key_F9</tt>
<li><tt>TQt::Key_F10</tt>
<li><tt>TQt::Key_F11</tt>
<li><tt>TQt::Key_F12</tt>
<li><tt>TQt::Key_F13</tt>
<li><tt>TQt::Key_F14</tt>
<li><tt>TQt::Key_F15</tt>
<li><tt>TQt::Key_F16</tt>
<li><tt>TQt::Key_F17</tt>
<li><tt>TQt::Key_F18</tt>
<li><tt>TQt::Key_F19</tt>
<li><tt>TQt::Key_F20</tt>
<li><tt>TQt::Key_F21</tt>
<li><tt>TQt::Key_F22</tt>
<li><tt>TQt::Key_F23</tt>
<li><tt>TQt::Key_F24</tt>
<li><tt>TQt::Key_F25</tt>
<li><tt>TQt::Key_F26</tt>
<li><tt>TQt::Key_F27</tt>
<li><tt>TQt::Key_F28</tt>
<li><tt>TQt::Key_F29</tt>
<li><tt>TQt::Key_F30</tt>
<li><tt>TQt::Key_F31</tt>
<li><tt>TQt::Key_F32</tt>
<li><tt>TQt::Key_F33</tt>
<li><tt>TQt::Key_F34</tt>
<li><tt>TQt::Key_F35</tt>
<li><tt>TQt::Key_Super_L</tt>
<li><tt>TQt::Key_Super_R</tt>
<li><tt>TQt::Key_Menu</tt>
<li><tt>TQt::Key_Hyper_L</tt>
<li><tt>TQt::Key_Hyper_R</tt>
<li><tt>TQt::Key_Help</tt>
<li><tt>TQt::Key_Space</tt>
<li><tt>TQt::Key_Any</tt>
<li><tt>TQt::Key_Exclam</tt>
<li><tt>TQt::Key_QuoteDbl</tt>
<li><tt>TQt::Key_NumberSign</tt>
<li><tt>TQt::Key_Dollar</tt>
<li><tt>TQt::Key_Percent</tt>
<li><tt>TQt::Key_Ampersand</tt>
<li><tt>TQt::Key_Apostrophe</tt>
<li><tt>TQt::Key_ParenLeft</tt>
<li><tt>TQt::Key_ParenRight</tt>
<li><tt>TQt::Key_Asterisk</tt>
<li><tt>TQt::Key_Plus</tt>
<li><tt>TQt::Key_Comma</tt>
<li><tt>TQt::Key_Minus</tt>
<li><tt>TQt::Key_Period</tt>
<li><tt>TQt::Key_Slash</tt>
<li><tt>TQt::Key_0</tt>
<li><tt>TQt::Key_1</tt>
<li><tt>TQt::Key_2</tt>
<li><tt>TQt::Key_3</tt>
<li><tt>TQt::Key_4</tt>
<li><tt>TQt::Key_5</tt>
<li><tt>TQt::Key_6</tt>
<li><tt>TQt::Key_7</tt>
<li><tt>TQt::Key_8</tt>
<li><tt>TQt::Key_9</tt>
<li><tt>TQt::Key_Colon</tt>
<li><tt>TQt::Key_Semicolon</tt>
<li><tt>TQt::Key_Less</tt>
<li><tt>TQt::Key_Equal</tt>
<li><tt>TQt::Key_Greater</tt>
<li><tt>TQt::Key_Question</tt>
<li><tt>TQt::Key_At</tt>
<li><tt>TQt::Key_A</tt>
<li><tt>TQt::Key_B</tt>
<li><tt>TQt::Key_C</tt>
<li><tt>TQt::Key_D</tt>
<li><tt>TQt::Key_E</tt>
<li><tt>TQt::Key_F</tt>
<li><tt>TQt::Key_G</tt>
<li><tt>TQt::Key_H</tt>
<li><tt>TQt::Key_I</tt>
<li><tt>TQt::Key_J</tt>
<li><tt>TQt::Key_K</tt>
<li><tt>TQt::Key_L</tt>
<li><tt>TQt::Key_M</tt>
<li><tt>TQt::Key_N</tt>
<li><tt>TQt::Key_O</tt>
<li><tt>TQt::Key_P</tt>
<li><tt>TQt::Key_Q</tt>
<li><tt>TQt::Key_R</tt>
<li><tt>TQt::Key_S</tt>
<li><tt>TQt::Key_T</tt>
<li><tt>TQt::Key_U</tt>
<li><tt>TQt::Key_V</tt>
<li><tt>TQt::Key_W</tt>
<li><tt>TQt::Key_X</tt>
<li><tt>TQt::Key_Y</tt>
<li><tt>TQt::Key_Z</tt>
<li><tt>TQt::Key_BracketLeft</tt>
<li><tt>TQt::Key_Backslash</tt>
<li><tt>TQt::Key_BracketRight</tt>
<li><tt>TQt::Key_AsciiCircum</tt>
<li><tt>TQt::Key_Underscore</tt>
<li><tt>TQt::Key_QuoteLeft</tt>
<li><tt>TQt::Key_BraceLeft</tt>
<li><tt>TQt::Key_Bar</tt>
<li><tt>TQt::Key_BraceRight</tt>
<li><tt>TQt::Key_AsciiTilde</tt>
<li><tt>TQt::Key_nobreakspace</tt>
<li><tt>TQt::Key_exclamdown</tt>
<li><tt>TQt::Key_cent</tt>
<li><tt>TQt::Key_sterling</tt>
<li><tt>TQt::Key_currency</tt>
<li><tt>TQt::Key_yen</tt>
<li><tt>TQt::Key_brokenbar</tt>
<li><tt>TQt::Key_section</tt>
<li><tt>TQt::Key_diaeresis</tt>
<li><tt>TQt::Key_copyright</tt>
<li><tt>TQt::Key_ordfeminine</tt>
<li><tt>TQt::Key_guillemotleft</tt>
<li><tt>TQt::Key_notsign</tt>
<li><tt>TQt::Key_hyphen</tt>
<li><tt>TQt::Key_registered</tt>
<li><tt>TQt::Key_macron</tt>
<li><tt>TQt::Key_degree</tt>
<li><tt>TQt::Key_plusminus</tt>
<li><tt>TQt::Key_twosuperior</tt>
<li><tt>TQt::Key_threesuperior</tt>
<li><tt>TQt::Key_acute</tt>
<li><tt>TQt::Key_mu</tt>
<li><tt>TQt::Key_paragraph</tt>
<li><tt>TQt::Key_periodcentered</tt>
<li><tt>TQt::Key_cedilla</tt>
<li><tt>TQt::Key_onesuperior</tt>
<li><tt>TQt::Key_masculine</tt>
<li><tt>TQt::Key_guillemotright</tt>
<li><tt>TQt::Key_onequarter</tt>
<li><tt>TQt::Key_onehalf</tt>
<li><tt>TQt::Key_threequarters</tt>
<li><tt>TQt::Key_questiondown</tt>
<li><tt>TQt::Key_Agrave</tt>
<li><tt>TQt::Key_Aacute</tt>
<li><tt>TQt::Key_Acircumflex</tt>
<li><tt>TQt::Key_Atilde</tt>
<li><tt>TQt::Key_Adiaeresis</tt>
<li><tt>TQt::Key_Aring</tt>
<li><tt>TQt::Key_AE</tt>
<li><tt>TQt::Key_Ccedilla</tt>
<li><tt>TQt::Key_Egrave</tt>
<li><tt>TQt::Key_Eacute</tt>
<li><tt>TQt::Key_Ecircumflex</tt>
<li><tt>TQt::Key_Ediaeresis</tt>
<li><tt>TQt::Key_Igrave</tt>
<li><tt>TQt::Key_Iacute</tt>
<li><tt>TQt::Key_Icircumflex</tt>
<li><tt>TQt::Key_Idiaeresis</tt>
<li><tt>TQt::Key_ETH</tt>
<li><tt>TQt::Key_Ntilde</tt>
<li><tt>TQt::Key_Ograve</tt>
<li><tt>TQt::Key_Oacute</tt>
<li><tt>TQt::Key_Ocircumflex</tt>
<li><tt>TQt::Key_Otilde</tt>
<li><tt>TQt::Key_Odiaeresis</tt>
<li><tt>TQt::Key_multiply</tt>
<li><tt>TQt::Key_Ooblique</tt>
<li><tt>TQt::Key_Ugrave</tt>
<li><tt>TQt::Key_Uacute</tt>
<li><tt>TQt::Key_Ucircumflex</tt>
<li><tt>TQt::Key_Udiaeresis</tt>
<li><tt>TQt::Key_Yacute</tt>
<li><tt>TQt::Key_THORN</tt>
<li><tt>TQt::Key_ssharp</tt>
<li><tt>TQt::Key_agrave</tt>
<li><tt>TQt::Key_aacute</tt>
<li><tt>TQt::Key_acircumflex</tt>
<li><tt>TQt::Key_atilde</tt>
<li><tt>TQt::Key_adiaeresis</tt>
<li><tt>TQt::Key_aring</tt>
<li><tt>TQt::Key_ae</tt>
<li><tt>TQt::Key_ccedilla</tt>
<li><tt>TQt::Key_egrave</tt>
<li><tt>TQt::Key_eacute</tt>
<li><tt>TQt::Key_ecircumflex</tt>
<li><tt>TQt::Key_ediaeresis</tt>
<li><tt>TQt::Key_igrave</tt>
<li><tt>TQt::Key_iacute</tt>
<li><tt>TQt::Key_icircumflex</tt>
<li><tt>TQt::Key_idiaeresis</tt>
<li><tt>TQt::Key_eth</tt>
<li><tt>TQt::Key_ntilde</tt>
<li><tt>TQt::Key_ograve</tt>
<li><tt>TQt::Key_oacute</tt>
<li><tt>TQt::Key_ocircumflex</tt>
<li><tt>TQt::Key_otilde</tt>
<li><tt>TQt::Key_odiaeresis</tt>
<li><tt>TQt::Key_division</tt>
<li><tt>TQt::Key_oslash</tt>
<li><tt>TQt::Key_ugrave</tt>
<li><tt>TQt::Key_uacute</tt>
<li><tt>TQt::Key_ucircumflex</tt>
<li><tt>TQt::Key_udiaeresis</tt>
<li><tt>TQt::Key_yacute</tt>
<li><tt>TQt::Key_thorn</tt>
<li><tt>TQt::Key_ydiaeresis</tt>
</ul><p> Multimedia keys
<ul>
<li><tt>TQt::Key_Back</tt>
<li><tt>TQt::Key_Forward</tt>
<li><tt>TQt::Key_Stop</tt>
<li><tt>TQt::Key_Refresh</tt>
<li><tt>TQt::Key_VolumeDown</tt>
<li><tt>TQt::Key_VolumeMute</tt>
<li><tt>TQt::Key_VolumeUp</tt>
<li><tt>TQt::Key_BassBoost</tt>
<li><tt>TQt::Key_BassUp</tt>
<li><tt>TQt::Key_BassDown</tt>
<li><tt>TQt::Key_TrebleUp</tt>
<li><tt>TQt::Key_TrebleDown</tt>
<li><tt>TQt::Key_MediaPlay</tt>
<li><tt>TQt::Key_MediaStop</tt>
<li><tt>TQt::Key_MediaPrev</tt>
<li><tt>TQt::Key_MediaNext</tt>
<li><tt>TQt::Key_MediaRecord</tt>
<li><tt>TQt::Key_HomePage</tt>
<li><tt>TQt::Key_Favorites</tt>
<li><tt>TQt::Key_Search</tt>
<li><tt>TQt::Key_Standby</tt>
<li><tt>TQt::Key_OpenUrl</tt>
<li><tt>TQt::Key_LaunchMail</tt>
<li><tt>TQt::Key_LaunchMedia</tt>
<li><tt>TQt::Key_Launch0</tt>
<li><tt>TQt::Key_Launch1</tt>
<li><tt>TQt::Key_Launch2</tt>
<li><tt>TQt::Key_Launch3</tt>
<li><tt>TQt::Key_Launch4</tt>
<li><tt>TQt::Key_Launch5</tt>
<li><tt>TQt::Key_Launch6</tt>
<li><tt>TQt::Key_Launch7</tt>
<li><tt>TQt::Key_Launch8</tt>
<li><tt>TQt::Key_Launch9</tt>
<li><tt>TQt::Key_LaunchA</tt>
<li><tt>TQt::Key_LaunchB</tt>
<li><tt>TQt::Key_LaunchC</tt>
<li><tt>TQt::Key_LaunchD</tt>
<li><tt>TQt::Key_LaunchE</tt>
<li><tt>TQt::Key_LaunchF</tt>
<li><tt>TQt::Key_MonBrightnessUp</tt>
<li><tt>TQt::Key_MonBrightnessDown</tt>
<li><tt>TQt::Key_KeyboardLightOnOff</tt>
<li><tt>TQt::Key_KeyboardBrightnessUp</tt>
<li><tt>TQt::Key_KeyboardBrightnessDown</tt>
<li><tt>TQt::Key_MediaLast</tt>
<li><tt>TQt::Key_unknown</tt>
<li><tt>TQt::Key_Direction_L</tt> - internal use only
<li><tt>TQt::Key_Direction_R</tt> - internal use only
</ul><p> 
<h3 class=fn><a name="MacintoshVersion-enum"></a>TQt::MacintoshVersion</h3>

<ul>
<li><tt>TQt::MV_Unknown</tt> - Version cannot be detected
<li><tt>TQt::MV_9</tt> - Mac OS 9
<li><tt>TQt::MV_10_DOT_3</tt> - Mac OS X 10.3
<li><tt>TQt::MV_10_DOT_2</tt> - Mac OS X 10.2
<li><tt>TQt::MV_10_DOT_1</tt> - Mac OS X 10.1
<li><tt>TQt::MV_10_DOT_0</tt> - Mac OS X 10.0
<li><tt>TQt::MV_10_DOT_4</tt> - Mac OS X 10.4
<li><tt>TQt::MV_CHEETAH</tt> - 10.0 Codename
<li><tt>TQt::MV_PUMA</tt> - 10.1 Codename
<li><tt>TQt::MV_JAGUAR</tt> - 10.2 Codename
<li><tt>TQt::MV_PANTHER</tt> - 10.3 Codename
<li><tt>TQt::MV_TIGER</tt> - 10.4 Codename
</ul>
<h3 class=fn><a name="Modifier-enum"></a>TQt::Modifier</h3>

<p> This enum type describes the keyboard modifier keys supported by
TQt.
<ul>
<li><tt>TQt::SHIFT</tt> - the Shift keys provided on all standard keyboards.
<li><tt>TQt::META</tt> - the Meta keys.
<li><tt>TQt::CTRL</tt> - the Ctrl keys.
<li><tt>TQt::ALT</tt> - the normal Alt keys, but not e.g. AltGr.
<li><tt>TQt::MODIFIER_MASK</tt> - is a mask of Shift, Ctrl, Alt and Meta.
<li><tt>TQt::UNICODE_ACCEL</tt> - the accelerator is specified as a Unicode code
point, not as a TQt Key.
</ul>
<h3 class=fn><a name="Orientation-enum"></a>TQt::Orientation</h3>

<p> This type is used to signify an object's orientation.
<ul>
<li><tt>TQt::Horizontal</tt>
<li><tt>TQt::Vertical</tt>
</ul><p> Orientation is used with <a href="tqscrollbar.html">TQScrollBar</a> for example.

<h3 class=fn><a name="PaintUnit-enum"></a>TQt::PaintUnit</h3>

<ul>
<li><tt>TQt::PixelUnit</tt>
<li><tt>TQt::LoMetricUnit</tt> - <em>obsolete</em>
<li><tt>TQt::HiMetricUnit</tt> - <em>obsolete</em>
<li><tt>TQt::LoEnglishUnit</tt> - <em>obsolete</em>
<li><tt>TQt::HiEnglishUnit</tt> - <em>obsolete</em>
<li><tt>TQt::TwipsUnit</tt> - <em>obsolete</em>
</ul>
<h3 class=fn><a name="PenCapStyle-enum"></a>TQt::PenCapStyle</h3>

<p> This enum type defines the pen cap styles supported by TQt, i.e.
the line end caps that can be drawn using <a href="tqpainter.html">TQPainter</a>.
<ul>
<li><tt>TQt::FlatCap</tt> - a square line end that does not cover the end
point of the line.
<li><tt>TQt::SquareCap</tt> - a square line end that covers the end point and
extends beyond it with half the line width.
<li><tt>TQt::RoundCap</tt> - a rounded line end.
<li><tt>TQt::MPenCapStyle</tt> - mask of the pen cap styles.
</ul><p> <center><img src="pen-cap-styles.png" alt="Pen Cap Styles"></center> 
<h3 class=fn><a name="PenJoinStyle-enum"></a>TQt::PenJoinStyle</h3>

<p> This enum type defines the pen join styles supported by TQt, i.e.
which joins between two connected lines can be drawn using
<a href="tqpainter.html">TQPainter</a>.
<ul>
<li><tt>TQt::MiterJoin</tt> - The outer edges of the lines are extended to
meet at an angle, and this area is filled.
<li><tt>TQt::BevelJoin</tt> - The triangular notch between the two lines is filled.
<li><tt>TQt::RoundJoin</tt> - A circular arc between the two lines is filled.
<li><tt>TQt::MPenJoinStyle</tt> - mask of the pen join styles.
</ul><p> <center><img src="pen-join-styles.png" alt="Pen Join Styles"></center> 
<h3 class=fn><a name="PenStyle-enum"></a>TQt::PenStyle</h3>

<p> This enum type defines the pen styles that can be drawn using
<a href="tqpainter.html">TQPainter</a>. The styles are
<ul>
<li><tt>TQt::NoPen</tt> - no line at all. For example, <a href="tqpainter.html#drawRect">TQPainter::drawRect</a>()
fills but does not draw any boundary line.
<li><tt>TQt::SolidLine</tt> - a simple line.
<li><tt>TQt::DashLine</tt> - dashes separated by a few pixels.
<li><tt>TQt::DotLine</tt> - dots separated by a few pixels.
<li><tt>TQt::DashDotLine</tt> - alternate dots and dashes.
<li><tt>TQt::DashDotDotLine</tt> - one dash, two dots, one dash, two dots.
<li><tt>TQt::MPenStyle</tt> - mask of the pen styles.
</ul><p> <center><img src="pen-styles.png" alt="Pen Styles"></center> 
<h3 class=fn><a name="RasterOp-enum"></a>TQt::RasterOp</h3>

<p> This enum type is used to describe the way things are written to
the paint device. Each bit of the <em>src</em> (what you write)
interacts with the corresponding bit of the <em>dst</em> pixel.
<ul>
<li><tt>TQt::CopyROP</tt> - dst = src
<li><tt>TQt::OrROP</tt> - dst = src OR dst
<li><tt>TQt::XorROP</tt> - dst = src XOR dst
<li><tt>TQt::NotAndROP</tt> - dst = (NOT src) AND dst
<li><tt>TQt::EraseROP</tt> - an alias for <a href="#RasterOp-enum">NotAndROP</a>
<li><tt>TQt::NotCopyROP</tt> - dst = NOT src
<li><tt>TQt::NotOrROP</tt> - dst = (NOT src) OR dst
<li><tt>TQt::NotXorROP</tt> - dst = (NOT src) XOR dst
<li><tt>TQt::AndROP</tt> - dst = src AND dst
<li><tt>TQt::NotEraseROP</tt> - an alias for <a href="#RasterOp-enum">AndROP</a>
<li><tt>TQt::NotROP</tt> - dst = NOT dst
<li><tt>TQt::ClearROP</tt> - dst = 0
<li><tt>TQt::SetROP</tt> - dst = 1
<li><tt>TQt::NopROP</tt> - dst = dst
<li><tt>TQt::AndNotROP</tt> - dst = src AND (NOT dst)
<li><tt>TQt::OrNotROP</tt> - dst = src OR (NOT dst)
<li><tt>TQt::NandROP</tt> - dst = NOT (src AND dst)
<li><tt>TQt::NorROP</tt> - dst = NOT (src OR dst)
</ul><p> By far the most useful ones are <a href="#RasterOp-enum">CopyROP</a> and <a href="#RasterOp-enum">XorROP</a>.

<h3 class=fn><a name="SequenceMatch-enum"></a>TQt::SequenceMatch</h3>

<ul>
<li><tt>TQt::NoMatch</tt> - Sequences have nothing in common
<li><tt>TQt::PartialMatch</tt> - Sequences match partially, but are not complete
<li><tt>TQt::Identical</tt> - Sequences do not differ
</ul>
<h3 class=fn><a name="SortOrder-enum"></a>TQt::SortOrder</h3>

<p> This enum describes how the items in a widget are sorted.
<ul>
<li><tt>TQt::Ascending</tt> - The items are sorted ascending e.g. starts with
'AAA' ends with 'ZZZ' in Latin-1 locales
<li><tt>TQt::Descending</tt> - The items are sorted descending e.g. starts with
'ZZZ' ends with 'AAA' in Latin-1 locales
</ul>
<h3 class=fn><a name="StringComparisonMode-enum"></a>TQt::StringComparisonMode</h3>

<p> This enum type is used to set the string comparison mode when
searching for an item. It is used by <a href="tqlistbox.html">TQListBox</a>, <a href="tqlistview.html">TQListView</a> and
<a href="tqiconview.html">TQIconView</a>, for example. We'll refer to the string being searched
as the 'target' string.
<ul>
<li><tt>TQt::CaseSensitive</tt> - The strings must match case sensitively.
<li><tt>TQt::ExactMatch</tt> - The target and search strings must match exactly.
<li><tt>TQt::BeginsWith</tt> - The target string begins with the search string.
<li><tt>TQt::EndsWith</tt> - The target string ends with the search string.
<li><tt>TQt::Contains</tt> - The target string contains the search string.
</ul><p> If you OR these flags together (excluding <a href="#StringComparisonMode-enum">CaseSensitive</a>), the
search criteria be applied in the following order: <a href="#StringComparisonMode-enum">ExactMatch</a>,
<a href="#StringComparisonMode-enum">BeginsWith</a>, <a href="#StringComparisonMode-enum">EndsWith</a>, <a href="#StringComparisonMode-enum">Contains</a>.
<p> Matching is case-insensitive unless <a href="#StringComparisonMode-enum">CaseSensitive</a> is set. <a href="#StringComparisonMode-enum">CaseSensitive</a> can be OR-ed with any combination of the other
flags.
<p> 
<h3 class=fn><a name="TextFlags-enum"></a>TQt::TextFlags</h3>

<p> This enum type is used to define some modifier flags. Some of
these flags only make sense in the context of printing:
<ul>
<li><tt>TQt::SingleLine</tt> - Treats all whitespace as spaces and prints just
one line.
<li><tt>TQt::DontClip</tt> - If it's impossible to stay within the given bounds,
it prints outside.
<li><tt>TQt::ExpandTabs</tt> - Makes the U+0009 (ASCII tab) character move to
the next tab stop.
<li><tt>TQt::ShowPrefix</tt> - Displays the string "&amp;P" as <u>P</u>
(see <a href="tqbutton.html">TQButton</a> for an example). For an ampersand, use "&amp;&amp;".
<li><tt>TQt::WordBreak</tt> - Breaks lines at appropriate points, e.g. at word
boundaries.
<li><tt>TQt::BreakAnywhere</tt> - Breaks lines anywhere, even within words.
<li><tt>TQt::NoAccel</tt> - Same as ShowPrefix but doesn't draw the underlines.
</ul><p> You can use as many modifier flags as you want, except that <a href="#TextFlags-enum">SingleLine</a> and <a href="#TextFlags-enum">WordBreak</a> cannot be combined.
<p> Flags that are inappropriate for a given use (e.g. ShowPrefix to
<a href="tqgridlayout.html#addWidget">TQGridLayout::addWidget</a>()) are generally ignored.
<p> 
<h3 class=fn><a name="TextFormat-enum"></a>TQt::TextFormat</h3>

<p> This enum is used in widgets that can display both plain text and
rich text, e.g. <a href="tqlabel.html">TQLabel</a>. It is used for deciding whether a text
string should be interpreted as one or the other. This is normally
done by passing one of the enum values to a setTextFormat()
function.
<ul>
<li><tt>TQt::PlainText</tt> - The text string is interpreted as a plain text
string.
<li><tt>TQt::RichText</tt> - The text string is interpreted as a rich text
string using the current <a href="tqstylesheet.html#defaultSheet">TQStyleSheet::defaultSheet</a>().
<li><tt>TQt::AutoText</tt> - The text string is interpreted as for <a href="#TextFormat-enum">RichText</a>
if <a href="tqstylesheet.html#mightBeRichText">TQStyleSheet::mightBeRichText</a>() returns TRUE, otherwise as
<a href="#TextFormat-enum">PlainText</a>.
<li><tt>TQt::LogText</tt> - A special, limited text format which is only used
by <a href="tqtextedit.html">TQTextEdit</a> in an optimized mode.
</ul>
<h3 class=fn><a name="TimeSpec-enum"></a>TQt::TimeSpec</h3>

<ul>
<li><tt>TQt::LocalTime</tt> - Locale dependent time (Timezones and Daylight Savings Time)
<li><tt>TQt::UTC</tt> - Coordinated Universal Time, replaces Greenwich Time
</ul>
<h3 class=fn><a name="UIEffect-enum"></a>TQt::UIEffect</h3>

<ul>
<li><tt>TQt::UI_General</tt>
<li><tt>TQt::UI_AnimateMenu</tt>
<li><tt>TQt::UI_FadeMenu</tt>
<li><tt>TQt::UI_AnimateCombo</tt>
<li><tt>TQt::UI_AnimateTooltip</tt>
<li><tt>TQt::UI_FadeTooltip</tt>
<li><tt>TQt::UI_AnimateToolBox</tt> - Reserved
</ul>
<h3 class=fn><a name="WidgetFlags-enum"></a>TQt::WidgetFlags</h3>

<p> <!-- index widget flag -->
<p> This enum type is used to specify various window-system properties
for the widget. They are fairly unusual but necessary in a few
cases. Some of these flags depend on whether the underlying window
manager supports them. (See the <a href="toplevel-example.html">toplevel example</a> for an explanation and example of their
use.)
<p> The main types are
<ul>
<li><tt>TQt::WType_TopLevel</tt> - indicates that this widget is a top-level
widget, usually with a window-system frame and so on.
<li><tt>TQt::WType_Dialog</tt> - indicates that this widget is a top-level
window that should be decorated as a dialog (i.e. typically no
maximize or minimize buttons in the title bar). If you want to use
it as a modal dialog it should be launched from another window, or
have a parent and this flag should be combined with <a href="#WidgetFlags-enum">WShowModal</a>.
If you make it modal, the dialog will prevent other top-level
windows in the application from getting any input. <a href="#WidgetFlags-enum">WType_Dialog</a>
implies <a href="#WidgetFlags-enum">WType_TopLevel</a>. We refer to a top-level window that has
a parent as a <em>secondary</em> window. (See also <a href="#WidgetFlags-enum">WGroupLeader</a>.)
<li><tt>TQt::WType_Popup</tt> - indicates that this widget is a popup
top-level window, i.e. that it is modal, but has a window system
frame appropriate for popup menus. <a href="#WidgetFlags-enum">WType_Popup</a> implies
WType_TopLevel.
<li><tt>TQt::WType_Desktop</tt> - indicates that this widget is the desktop.
See also <a href="#WidgetFlags-enum">WPaintDesktop</a> below. <a href="#WidgetFlags-enum">WType_Desktop</a> implies <a href="#WidgetFlags-enum">WType_TopLevel</a>.
</ul><p> There are also a number of flags which you can use to customize
the appearance of top-level windows. These have no effect on other
windows:
<ul>
<li><tt>TQt::WStyle_Customize</tt> - indicates that the <tt>WStyle_*</tt> flags
should be used to build the window instead of the default flags.
<li><tt>TQt::WStyle_NormalBorder</tt> - gives the window a normal border.
This cannot be combined with <a href="#WidgetFlags-enum">WStyle_DialogBorder</a> or <a href="#WidgetFlags-enum">WStyle_NoBorder</a>.
<li><tt>TQt::WStyle_DialogBorder</tt> - gives the window a thin dialog border.
This cannot be combined with <a href="#WidgetFlags-enum">WStyle_NormalBorder</a> or <a href="#WidgetFlags-enum">WStyle_NoBorder</a>.
<li><tt>TQt::WStyle_NoBorder</tt> - produces a borderless window. Note that
the user cannot move or resize a borderless window via the window
system. 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
result of the flag is dependent on the window manager and its
ability to understand MOTIF and/or NETWM hints: most existing
modern window managers can handle this. With <a href="#WidgetFlags-enum">WX11BypassWM</a>, you
can bypass the window manager completely. This results in a
borderless window that is not managed at all (i.e. no keyboard
input unless you call setActiveWindow() manually).
<li><tt>TQt::WStyle_NoBorderEx</tt> - this value is obsolete. It has the same
effect as using <a href="#WidgetFlags-enum">WStyle_NoBorder</a>.
<li><tt>TQt::WStyle_Title</tt> - gives the window a title bar.
<li><tt>TQt::WStyle_SysMenu</tt> - adds a window system menu.
<li><tt>TQt::WStyle_Minimize</tt> - adds a minimize button. Note that on
Windows this has to be combined with <a href="#WidgetFlags-enum">WStyle_SysMenu</a> for it to
work.
<li><tt>TQt::WStyle_Maximize</tt> - adds a maximize button. Note that on
Windows this has to be combined with <a href="#WidgetFlags-enum">WStyle_SysMenu</a> for it to work.
<li><tt>TQt::WStyle_MinMax</tt> - is equal to <tt>WStyle_Minimize|WStyle_Maximize</tt>. Note that on Windows this has to
be combined with <a href="#WidgetFlags-enum">WStyle_SysMenu</a> to work.
<li><tt>TQt::WStyle_ContextHelp</tt> - adds a context help button to dialogs.
<li><tt>TQt::WStyle_Tool</tt> - makes the window a tool window. A tool window
is often a small window with a smaller than usual title bar and
decoration, typically used for collections of tool buttons. It
there is a parent, the tool window will always be kept on top of
it. If there isn't a parent, you may consider passing <a href="#WidgetFlags-enum">WStyle_StaysOnTop</a> as well. If the window system supports it, a
tool window can be decorated with a somewhat lighter frame. It can
also be combined with <a href="#WidgetFlags-enum">WStyle_NoBorder</a>.
<li><tt>TQt::WStyle_StaysOnTop</tt> - informs the window system that the
window should stay on top of all other windows. Note that on some
window managers on X11 you also have to pass <a href="#WidgetFlags-enum">WX11BypassWM</a> for
this flag to work correctly.
<li><tt>TQt::WStyle_Dialog</tt> - indicates that the window is a logical
subwindow of its parent (i.e. a dialog). The window will not get
its own taskbar entry and will be kept on top of its parent by the
window system. Usually it will also be minimized when the parent
is minimized. If not customized, the window is decorated with a
slightly simpler title bar. This is the flag <a href="tqdialog.html">TQDialog</a> uses.
<li><tt>TQt::WStyle_Splash</tt> - indicates that the window is a splash screen.
On X11, we try to follow NETWM standard for a splash screen window if the
window manager supports is otherwise it is equivalent to <a href="#WidgetFlags-enum">WX11BypassWM</a>. On
other platforms, it is equivalent to <a href="#WidgetFlags-enum">WStyle_NoBorder</a> <tt>|</tt> <a href="#WidgetFlags-enum">WMacNoSheet</a> <tt>|</tt>
<a href="#WidgetFlags-enum">WStyle_Tool</a> <tt>|</tt> <a href="#WidgetFlags-enum">WWinOwnDC</a>
</ul><p> Modifier flags:
<ul>
<li><tt>TQt::WDestructiveClose</tt> - makes TQt delete this widget when the
widget has accepted closeEvent(), or when the widget tried to
ignore closeEvent() but could not.
<li><tt>TQt::WPaintDesktop</tt> - gives this widget paint events for the
desktop.
<li><tt>TQt::WPaintUnclipped</tt> - makes all painters operating on this
widget unclipped. Children of this widget or other widgets in
front of it do not clip the area the painter can paint on.
<li><tt>TQt::WPaintClever</tt> - indicates that TQt should <em>not</em> try to
optimize repainting for the widget, but instead pass on window
system repaint events directly. (This tends to produce more events
and smaller repaint regions.)
<li><tt>TQt::WMouseNoMask</tt> - indicates that even if the widget has a mask,
it wants mouse events for its entire rectangle.
<li><tt>TQt::WStaticContents</tt> - indicates that the widget contents are
north-west aligned and static. On resize, such a widget will
receive paint events only for the newly visible part of itself.
<li><tt>TQt::WNoAutoErase</tt> - indicates that the widget paints all its
pixels. Updating, resizing, scrolling and focus changes should
therefore not erase the widget. This allows smart-repainting to
avoid flicker.
<li><tt>TQt::WResizeNoErase</tt> - this value is obsolete; use WNoAutoErase instead.
<li><tt>TQt::WRepaintNoErase</tt> - this value is obsolete; use WNoAutoErase instead.
<li><tt>TQt::WGroupLeader</tt> - makes this window a group leader. A group
leader should <em>not</em> have a parent (i.e. it should be a top-level
window). Any decendant windows (direct or indirect) of a group
leader are in its group; other windows are not. If you show a
secondary window from the group (i.e. show a window whose top-most
parent is a group leader), that window will be modal with respect
to the other windows in the group, but modeless with respect to
windows in other groups.
</ul><p> Miscellaneous flags
<ul>
<li><tt>TQt::WShowModal</tt> - see WType_Dialog
</ul><p> Internal flags.
<ul>
<li><tt>TQt::WNoMousePropagation</tt>
<li><tt>TQt::WStaticContents</tt>
<li><tt>TQt::WStyle_Reserved</tt>
<li><tt>TQt::WSubWindow</tt>
<li><tt>TQt::WType_Modal</tt>
<li><tt>TQt::WWinOwnDC</tt>
<li><tt>TQt::WX11BypassWM</tt>
<li><tt>TQt::WMacNoSheet</tt>
<li><tt>TQt::WMacDrawer</tt>
<li><tt>TQt::WStyle_Mask</tt>
<li><tt>TQt::WType_Mask</tt>
</ul><p> 
<h3 class=fn><a name="WidgetState-enum"></a>TQt::WidgetState</h3>

<p> Internal flags.
<ul>
<li><tt>TQt::WState_Created</tt>
<li><tt>TQt::WState_Disabled</tt>
<li><tt>TQt::WState_Visible</tt>
<li><tt>TQt::WState_ForceHide</tt>
<li><tt>TQt::WState_OwnCursor</tt>
<li><tt>TQt::WState_MouseTracking</tt>
<li><tt>TQt::WState_CompressKeys</tt>
<li><tt>TQt::WState_BlockUpdates</tt>
<li><tt>TQt::WState_InPaintEvent</tt>
<li><tt>TQt::WState_Reparented</tt>
<li><tt>TQt::WState_ConfigPending</tt>
<li><tt>TQt::WState_Resized</tt>
<li><tt>TQt::WState_AutoMask</tt>
<li><tt>TQt::WState_Polished</tt>
<li><tt>TQt::WState_DND</tt>
<li><tt>TQt::WState_Reserved0</tt> - <em>internal</em>
<li><tt>TQt::WState_CreatedHidden</tt>
<li><tt>TQt::WState_Maximized</tt>
<li><tt>TQt::WState_Minimized</tt>
<li><tt>TQt::WState_ForceDisabled</tt>
<li><tt>TQt::WState_Exposed</tt>
<li><tt>TQt::WState_HasMouse</tt>
<li><tt>TQt::WState_CreatedHidden</tt>
<li><tt>TQt::WState_OwnSizePolicy</tt>
<li><tt>TQt::WState_FullScreen</tt>
</ul>
<h3 class=fn><a name="WindowState-enum"></a>TQt::WindowState</h3>

<p> <!-- index window state -->
<p> This enum type is used to specify the current state of a top-level
window.
<p> The states are
<ul>
<li><tt>TQt::WindowNoState</tt> - The window has no state set (in normal state).
<li><tt>TQt::WindowMinimized</tt> - The window is minimized (i.e. iconified).
<li><tt>TQt::WindowMaximized</tt> - The window is maximized with a frame around it.
<li><tt>TQt::WindowFullScreen</tt> - The window fills the entire screen without any frame around it.
<li><tt>TQt::WindowActive</tt> - The window is the active window, i.e. it has <a href="focus.html#keyboard-focus">keyboard focus</a>.
</ul><p> 
<h3 class=fn><a name="WindowsVersion-enum"></a>TQt::WindowsVersion</h3>

<ul>
<li><tt>TQt::WV_32s</tt> - Windows 3.1 with Win 32s
<li><tt>TQt::WV_95</tt> - Windows 95
<li><tt>TQt::WV_98</tt> - Windows 98
<li><tt>TQt::WV_Me</tt> - Windows Me
<li><tt>TQt::WV_DOS_based</tt>
<li><tt>TQt::WV_NT</tt> - Windows NT
<li><tt>TQt::WV_2000</tt> - Windows 2000
<li><tt>TQt::WV_XP</tt> - Windows XP
<li><tt>TQt::WV_2003</tt> - Windows Server 2003
<li><tt>TQt::WV_NT_based</tt>
<li><tt>TQt::WV_VISTA</tt> - Windows Vista
<li><tt>TQt::WV_CE</tt> - Windows CE
<li><tt>TQt::WV_CENET</tt> - Windows CE .NET
<li><tt>TQt::WV_CE_based</tt>
</ul>
<!-- eof -->
<hr><p>
This file is part of the <a href="index.html">TQt toolkit</a>.
Copyright &copy; 1995-2007
<a href="http://www.trolltech.com/">Trolltech</a>. All Rights Reserved.<p><address><hr><div align=center>
<table width=100% cellspacing=0 border=0><tr>
<td>Copyright &copy; 2007
<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a>
<td align=right><div align=right>TQt 3.3.8</div>
</table></div></address></body>
</html>