File: qt.html

package info (click to toggle)
python-qt4 4.0.1-5
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 18,632 kB
  • ctags: 2,639
  • sloc: python: 29,409; sh: 5,646; cpp: 3,168; xml: 149; makefile: 109
file content (4193 lines) | stat: -rw-r--r-- 163,157 bytes parent folder | download
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
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html><head><title>Qt Class Reference</title><style>h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm }
a:link { color: #004faf; text-decoration: none }
a:visited { color: #672967; text-decoration: none }
td.postheader { font-family: sans-serif }
tr.address { font-family: sans-serif }
body { background: #ffffff; color: black; }
</style></head><body><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr /><td align="left" valign="top" width="32"><img align="left" border="0" height="32" src="images/rb-logo.png" width="32" /></td><td width="1">&#160;&#160;</td><td class="postheader" valign="center"><a href="../pyqt4ref.html"><font color="#004faf">Home</font></a>&#160;&#183; <a href="classes.html"><font color="#004faf">All Classes</font></a>&#160;&#183; <a href="modules.html"><font color="#004faf">Modules</font></a></td></table><h1 align="center">Qt Class Reference<br /><sup><sup>[<a href="qtcore.html">QtCore</a> module]</sup></sup></h1><p>The Qt namespace contains miscellaneous identifiers used throughout the Qt library. <a href="#details">More...</a></p>
<h3>Types</h3><ul><li><div class="fn" />class <b><a href="qt-alignment.html">Alignment</a></b></li><li><div class="fn" />enum <b><a href="qt.html#AlignmentFlag-enum">AlignmentFlag</a></b> { AlignLeft, AlignLeading, AlignRight, AlignTrailing, ..., AlignCenter }</li><li><div class="fn" />enum <b><a href="qt.html#AnchorAttribute-enum">AnchorAttribute</a></b> { AnchorName, AnchorHref }</li><li><div class="fn" />enum <b><a href="qt.html#ArrowType-enum">ArrowType</a></b> { NoArrow, UpArrow, DownArrow, LeftArrow, RightArrow }</li><li><div class="fn" />enum <b><a href="qt.html#AspectRatioMode-enum">AspectRatioMode</a></b> { IgnoreAspectRatio, KeepAspectRatio, KeepAspectRatioByExpanding }</li><li><div class="fn" />enum <b><a href="qt.html#BGMode-enum">BGMode</a></b> { TransparentMode, OpaqueMode }</li><li><div class="fn" />enum <b><a href="qt.html#BrushStyle-enum">BrushStyle</a></b> { NoBrush, SolidPattern, Dense1Pattern, Dense2Pattern, ..., TexturePattern }</li><li><div class="fn" />enum <b><a href="qt.html#CaseSensitivity-enum">CaseSensitivity</a></b> { CaseInsensitive, CaseSensitive }</li><li><div class="fn" />enum <b><a href="qt.html#CheckState-enum">CheckState</a></b> { Unchecked, PartiallyChecked, Checked }</li><li><div class="fn" />enum <b><a href="qt.html#ClipOperation-enum">ClipOperation</a></b> { NoClip, ReplaceClip, IntersectClip, UniteClip }</li><li><div class="fn" />enum <b><a href="qt.html#ConnectionType-enum">ConnectionType</a></b> { AutoConnection, DirectConnection, QueuedConnection, AutoCompatConnection }</li><li><div class="fn" />enum <b><a href="qt.html#ContextMenuPolicy-enum">ContextMenuPolicy</a></b> { NoContextMenu, DefaultContextMenu, ActionsContextMenu, CustomContextMenu }</li><li><div class="fn" />enum <b><a href="qt.html#Corner-enum">Corner</a></b> { TopLeftCorner, TopRightCorner, BottomLeftCorner, BottomRightCorner }</li><li><div class="fn" />enum <b><a href="qt.html#CursorShape-enum">CursorShape</a></b> { ArrowCursor, UpArrowCursor, CrossCursor, WaitCursor, ..., BitmapCursor }</li><li><div class="fn" />enum <b><a href="qt.html#DateFormat-enum">DateFormat</a></b> { TextDate, ISODate, LocalDate }</li><li><div class="fn" />enum <b><a href="qt.html#DayOfWeek-enum">DayOfWeek</a></b> { Monday, Tuesday, Wednesday, Thursday, ..., Sunday }</li><li><div class="fn" />enum <b><a href="qt.html#DockWidgetArea-enum">DockWidgetArea</a></b> { LeftDockWidgetArea, RightDockWidgetArea, TopDockWidgetArea, BottomDockWidgetArea, DockWidgetArea_Mask, AllDockWidgetAreas }</li><li><div class="fn" />class <b><a href="qt-dockwidgetareas.html">DockWidgetAreas</a></b></li><li><div class="fn" />enum <b><a href="qt.html#DropAction-enum">DropAction</a></b> { CopyAction, MoveAction, LinkAction, ActionMask, TargetMoveAction, IgnoreAction }</li><li><div class="fn" />class <b><a href="qt-dropactions.html">DropActions</a></b></li><li><div class="fn" />enum <b><a href="qt.html#FillRule-enum">FillRule</a></b> { OddEvenFill, WindingFill }</li><li><div class="fn" />enum <b><a href="qt.html#FocusPolicy-enum">FocusPolicy</a></b> { NoFocus, TabFocus, ClickFocus, StrongFocus, WheelFocus }</li><li><div class="fn" />enum <b><a href="qt.html#FocusReason-enum">FocusReason</a></b> { MouseFocusReason, TabFocusReason, BacktabFocusReason, ActiveWindowFocusReason, ..., NoFocusReason }</li><li><div class="fn" />enum <b><a href="qt.html#GlobalColor-enum">GlobalColor</a></b> { color0, color1, black, white, ..., transparent }</li><li><div class="fn" />enum <b><a href="qt.html#HitTestAccuracy-enum">HitTestAccuracy</a></b> { ExactHit, FuzzyHit }</li><li><div class="fn" />enum <b><a href="qt.html#ImageConversionFlag-enum">ImageConversionFlag</a></b> { ColorMode_Mask, AutoColor, ColorOnly, MonoOnly, ..., AvoidDither }</li><li><div class="fn" />class <b><a href="qt-imageconversionflags.html">ImageConversionFlags</a></b></li><li><div class="fn" />enum <b><a href="qt.html#InputMethodQuery-enum">InputMethodQuery</a></b> { ImMicroFocus, ImFont, ImCursorPosition, ImSurroundingText, ImCurrentSelection }</li><li><div class="fn" />enum <b><a href="qt.html#ItemDataRole-enum">ItemDataRole</a></b> { DisplayRole, DecorationRole, EditRole, ToolTipRole, ..., UserRole }</li><li><div class="fn" />enum <b><a href="qt.html#ItemFlag-enum">ItemFlag</a></b> { ItemIsSelectable, ItemIsEditable, ItemIsDragEnabled, ItemIsDropEnabled, ..., ItemIsTristate }</li><li><div class="fn" />class <b><a href="qt-itemflags.html">ItemFlags</a></b></li><li><div class="fn" />enum <b><a href="qt.html#Key-enum">Key</a></b> { Key_Escape, Key_Tab, Key_Backtab, Key_Backspace, ..., Key_unknown }</li><li><div class="fn" />enum <b><a href="qt.html#KeyboardModifier-enum">KeyboardModifier</a></b> { NoModifier, ShiftModifier, ControlModifier, AltModifier, ..., KeyboardModifierMask }</li><li><div class="fn" />class <b><a href="qt-keyboardmodifiers.html">KeyboardModifiers</a></b></li><li><div class="fn" />enum <b><a href="qt.html#LayoutDirection-enum">LayoutDirection</a></b> { LeftToRight, RightToLeft }</li><li><div class="fn" />enum <b><a href="qt.html#MatchFlag-enum">MatchFlag</a></b> { MatchExactly, MatchContains, MatchStartsWith, MatchEndsWith, ..., MatchRecursive }</li><li><div class="fn" />class <b><a href="qt-matchflags.html">MatchFlags</a></b></li><li><div class="fn" />enum <b><a href="qt.html#Modifier-enum">Modifier</a></b> { META, SHIFT, CTRL, ALT, MODIFIER_MASK, UNICODE_ACCEL }</li><li><div class="fn" />enum <b><a href="qt.html#MouseButton-enum">MouseButton</a></b> { NoButton, LeftButton, RightButton, MidButton, ..., MouseButtonMask }</li><li><div class="fn" />class <b><a href="qt-mousebuttons.html">MouseButtons</a></b></li><li><div class="fn" />enum <b><a href="qt.html#Orientation-enum">Orientation</a></b> { Horizontal, Vertical }</li><li><div class="fn" />class <b><a href="qt-orientations.html">Orientations</a></b></li><li><div class="fn" />enum <b><a href="qt.html#PenCapStyle-enum">PenCapStyle</a></b> { FlatCap, SquareCap, RoundCap, MPenCapStyle }</li><li><div class="fn" />enum <b><a href="qt.html#PenJoinStyle-enum">PenJoinStyle</a></b> { MiterJoin, BevelJoin, RoundJoin, MPenJoinStyle }</li><li><div class="fn" />enum <b><a href="qt.html#PenStyle-enum">PenStyle</a></b> { NoPen, SolidLine, DashLine, DotLine, ..., MPenStyle }</li><li><div class="fn" />enum <b><a href="qt.html#ScrollBarPolicy-enum">ScrollBarPolicy</a></b> { ScrollBarAsNeeded, ScrollBarAlwaysOff, ScrollBarAlwaysOn }</li><li><div class="fn" />enum <b><a href="qt.html#ShortcutContext-enum">ShortcutContext</a></b> { WidgetShortcut, WindowShortcut, ApplicationShortcut }</li><li><div class="fn" />enum <b><a href="qt.html#SortOrder-enum">SortOrder</a></b> { AscendingOrder, DescendingOrder }</li><li><div class="fn" />enum <b><a href="qt.html#TextElideMode-enum">TextElideMode</a></b> { ElideLeft, ElideRight, ElideMiddle }</li><li><div class="fn" />enum <b><a href="qt.html#TextFlag-enum">TextFlag</a></b> { TextSingleLine, TextDontClip, TextExpandTabs, TextShowMnemonic, ..., TextHideMnemonic }</li><li><div class="fn" />enum <b><a href="qt.html#TextFormat-enum">TextFormat</a></b> { PlainText, RichText, AutoText, LogText }</li><li><div class="fn" />enum <b><a href="qt.html#TimeSpec-enum">TimeSpec</a></b> { LocalTime, UTC }</li><li><div class="fn" />enum <b><a href="qt.html#ToolBarArea-enum">ToolBarArea</a></b> { LeftToolBarArea, RightToolBarArea, TopToolBarArea, BottomToolBarArea, ToolBarArea_Mask, AllToolBarAreas }</li><li><div class="fn" />class <b><a href="qt-toolbarareas.html">ToolBarAreas</a></b></li><li><div class="fn" />enum <b><a href="qt.html#ToolButtonStyle-enum">ToolButtonStyle</a></b> { ToolButtonIconOnly, ToolButtonTextOnly, ToolButtonTextBesideIcon, ToolButtonTextUnderIcon }</li><li><div class="fn" />enum <b><a href="qt.html#TransformationMode-enum">TransformationMode</a></b> { FastTransformation, SmoothTransformation }</li><li><div class="fn" />enum <b><a href="qt.html#UIEffect-enum">UIEffect</a></b> { UI_General, UI_AnimateMenu, UI_FadeMenu, UI_AnimateCombo, ..., UI_AnimateToolBox }</li><li><div class="fn" />enum <b><a href="qt.html#WhiteSpaceMode-enum">WhiteSpaceMode</a></b> { WhiteSpaceNormal, WhiteSpacePre, WhiteSpaceNoWrap, WhiteSpaceModeUndefined }</li><li><div class="fn" />enum <b><a href="qt.html#WidgetAttribute-enum">WidgetAttribute</a></b> { WA_Disabled, WA_UnderMouse, WA_MouseTracking, WA_OpaquePaintEvent, ..., WA_AttributeCount }</li><li><div class="fn" />class <b><a href="qt-windowflags.html">WindowFlags</a></b></li><li><div class="fn" />enum <b><a href="qt.html#WindowModality-enum">WindowModality</a></b> { NonModal, WindowModal, ApplicationModal }</li><li><div class="fn" />enum <b><a href="qt.html#WindowState-enum">WindowState</a></b> { WindowNoState, WindowMinimized, WindowMaximized, WindowFullScreen, WindowActive }</li><li><div class="fn" />class <b><a href="qt-windowstates.html">WindowStates</a></b></li><li><div class="fn" />enum <b><a href="qt.html#WindowType-enum">WindowType</a></b> { Widget, Window, Dialog, Sheet, ..., WindowStaysOnTopHint }</li></ul><h3>Static Methods</h3><ul><li><div class="fn" />QString <b><a href="qt.html#convertFromPlainText">convertFromPlainText</a></b> (QString&#160;<i>plain</i>, WhiteSpaceMode&#160;<i>mode</i>&#160;=&#160;Qt.WhiteSpacePre)</li><li><div class="fn" />QString <b><a href="qt.html#escape">escape</a></b> (QString&#160;<i>plain</i>)</li><li><div class="fn" />bool <b><a href="qt.html#mightBeRichText">mightBeRichText</a></b> (QString)</li></ul><a name="details" /><hr /><h2>Detailed Description</h2><p>The Qt namespace contains miscellaneous identifiers used throughout the Qt library.</p>
<hr /><h2>Type Documentation</h2><h3 class="fn"><a name="AlignmentFlag-enum" />Qt.AlignmentFlag</h3><p>This enum type is used to describe alignment. It contains horizontal and vertical flags that can be combined to produce the required effect.</p>
<p>The <a href="qt.html#TextElideMode-enum">TextElideMode</a> enum can also be used in many situations to fine-tune the appearance of aligned text.</p>
<p>The horizontal flags are:</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.AlignLeft</tt></td>
<td align="center" valign="top"><tt>0x0001</tt></td>
<td valign="top">Aligns with the left edge.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.AlignRight</tt></td>
<td align="center" valign="top"><tt>0x0002</tt></td>
<td valign="top">Aligns with the right edge.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.AlignHCenter</tt></td>
<td align="center" valign="top"><tt>0x0004</tt></td>
<td valign="top">Centers horizontally in the available space.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.AlignJustify</tt></td>
<td align="center" valign="top"><tt>0x0008</tt></td>
<td valign="top">Justifies the text in the available space.</td>
</tr>
</table>
<br />
<br />
<p>The vertical flags are:</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.AlignTop</tt></td>
<td align="center" valign="top"><tt>0x0020</tt></td>
<td valign="top">Aligns with the top.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.AlignBottom</tt></td>
<td align="center" valign="top"><tt>0x0040</tt></td>
<td valign="top">Aligns with the bottom.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.AlignVCenter</tt></td>
<td align="center" valign="top"><tt>0x0080</tt></td>
<td valign="top">Centers vertically in the available space.</td>
</tr>
</table>
<br />
<br />
<p>You can use only one of the horizontal flags at a time. There is one two-dimensional flag:</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.AlignCenter</tt></td>
<td align="center" valign="top"><tt>AlignVCenter | AlignHCenter</tt></td>
<td valign="top">Centers in both dimensions.</td>
</tr>
</table>
<br />
<br />
<p>You can use at most one horizontal and one vertical flag at a time. Qt.AlignCenter counts as both horizontal and vertical.</p>
<p>Three enum values are useful in applications that can be run in right-to-left mode:</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.AlignAbsolute</tt></td>
<td align="center" valign="top"><tt>0x0010</tt></td>
<td valign="top">If the widget's layout direction is <a href="qt.html#LayoutDirection-enum">Qt.RightToLeft</a> (instead of <a href="qt.html#LayoutDirection-enum">Qt.LeftToRight</a>, the default), Qt.AlignLeft refers to the <i>right</i> edge and Qt.AlignRight to the <i>left</i> edge. This is normally the desired behavior. If you want Qt.AlignLeft to always mean "left" and Qt.AlignRight to always mean "right", combine the flag with Qt.AlignAbsolute.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.AlignLeading</tt></td>
<td align="center" valign="top"><tt>AlignLeft</tt></td>
<td valign="top">Synonym for Qt.AlignLeft.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.AlignTrailing</tt></td>
<td align="center" valign="top"><tt>AlignRight</tt></td>
<td valign="top">Synonym for Qt.AlignRight.</td>
</tr>
</table>
<br />
<br />
<p>Masks:</p>
<table border="1" cellpadding="2" cellspacing="1" width="40%">
<tr>
<th width="60%">Constant</th>
<th width="40%">Value</th>
</tr>
<tr>
<td valign="top"><tt>Qt.AlignHorizontal_Mask</tt></td>
<td align="center" valign="top"><tt>AlignLeft | AlignRight | AlignHCenter | AlignJustify | AlignAbsolute</tt></td>
</tr>
<tr>
<td valign="top"><tt>Qt.AlignVertical_Mask</tt></td>
<td align="center" valign="top"><tt>AlignTop | AlignBottom | AlignVCenter</tt></td>
</tr>
</table>
<br />
<br />
<p>Conflicting combinations of flags have undefined meanings.</p>
<p>The Alignment type is a typedef for <a href="qflags.html">QFlags</a>&lt;AlignmentFlag&gt;. It stores an OR combination of AlignmentFlag values.</p>
<h3 class="fn"><a name="AnchorAttribute-enum" />Qt.AnchorAttribute</h3><p>An anchor has one or more of the following attributes:</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.AnchorName</tt></td>
<td align="center" valign="top"><tt>0</tt></td>
<td valign="top">the name attribute of the anchor. This attribute is used when scrolling to an anchor in the document.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.AnchorHref</tt></td>
<td align="center" valign="top"><tt>1</tt></td>
<td valign="top">the href attribute of the anchor. This attribute is used when a link is clicked to determine what content to load.</td>
</tr>
</table>
<br />
<br />
<h3 class="fn"><a name="ArrowType-enum" />Qt.ArrowType</h3><table border="1" cellpadding="2" cellspacing="1" width="40%">
<tr>
<th width="60%">Constant</th>
<th width="40%">Value</th>
</tr>
<tr>
<td valign="top"><tt>Qt.NoArrow</tt></td>
<td align="center" valign="top"><tt>0</tt></td>
</tr>
<tr>
<td valign="top"><tt>Qt.UpArrow</tt></td>
<td align="center" valign="top"><tt>1</tt></td>
</tr>
<tr>
<td valign="top"><tt>Qt.DownArrow</tt></td>
<td align="center" valign="top"><tt>2</tt></td>
</tr>
<tr>
<td valign="top"><tt>Qt.LeftArrow</tt></td>
<td align="center" valign="top"><tt>3</tt></td>
</tr>
<tr>
<td valign="top"><tt>Qt.RightArrow</tt></td>
<td align="center" valign="top"><tt>4</tt></td>
</tr>
</table>
<br />
<br />
<h3 class="fn"><a name="AspectRatioMode-enum" />Qt.AspectRatioMode</h3><p>This enum type defines what happens to the aspect ratio when scaling an rectangle.</p>
<p align="center"><img src="images/qimage-scaling.png" /></p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.IgnoreAspectRatio</tt></td>
<td align="center" valign="top"><tt>0</tt></td>
<td valign="top">The size is scaled freely. The aspect ratio is not preserved.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.KeepAspectRatio</tt></td>
<td align="center" valign="top"><tt>1</tt></td>
<td valign="top">The size is scaled to a rectangle as large as possible inside a given rectangle, preserving the aspect ratio.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.KeepAspectRatioByExpanding</tt></td>
<td align="center" valign="top"><tt>2</tt></td>
<td valign="top">The size is scaled to a rectangle as small as possible outside a given rectangle, preserving the aspect ratio.</td>
</tr>
</table>
<br />
<br />
<p>See also <a href="qsize.html#scale">QSize.scale</a>() and <a href="qimage.html#scaled">QImage.scaled</a>().</p>
<h3 class="fn"><a name="BGMode-enum" />Qt.BGMode</h3><p>Background mode:</p>
<table border="1" cellpadding="2" cellspacing="1" width="40%">
<tr>
<th width="60%">Constant</th>
<th width="40%">Value</th>
</tr>
<tr>
<td valign="top"><tt>Qt.TransparentMode</tt></td>
<td align="center" valign="top"><tt>0</tt></td>
</tr>
<tr>
<td valign="top"><tt>Qt.OpaqueMode</tt></td>
<td align="center" valign="top"><tt>1</tt></td>
</tr>
</table>
<br />
<br />
<h3 class="fn"><a name="BrushStyle-enum" />Qt.BrushStyle</h3><p>This enum type defines the brush styles supported by Qt, i.e. the fill pattern of shapes drawn using <a href="qpainter.html">QPainter</a>.</p>
<p align="center"><img alt="Brush Styles" src="images/brush-styles.png" /></p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.NoBrush</tt></td>
<td align="center" valign="top"><tt>0</tt></td>
<td valign="top">No brush pattern.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.SolidPattern</tt></td>
<td align="center" valign="top"><tt>1</tt></td>
<td valign="top">Uniform color.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.Dense1Pattern</tt></td>
<td align="center" valign="top"><tt>2</tt></td>
<td valign="top">Extremely dense brush pattern.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.Dense2Pattern</tt></td>
<td align="center" valign="top"><tt>3</tt></td>
<td valign="top">Very dense brush pattern.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.Dense3Pattern</tt></td>
<td align="center" valign="top"><tt>4</tt></td>
<td valign="top">Somewhat dense brush pattern.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.Dense4Pattern</tt></td>
<td align="center" valign="top"><tt>5</tt></td>
<td valign="top">Half dense brush pattern.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.Dense5Pattern</tt></td>
<td align="center" valign="top"><tt>6</tt></td>
<td valign="top">Somewhat sparse brush pattern.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.Dense6Pattern</tt></td>
<td align="center" valign="top"><tt>7</tt></td>
<td valign="top">Very sparse brush pattern.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.Dense7Pattern</tt></td>
<td align="center" valign="top"><tt>8</tt></td>
<td valign="top">Extremely sparse brush pattern.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.HorPattern</tt></td>
<td align="center" valign="top"><tt>9</tt></td>
<td valign="top">Horizontal lines.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.VerPattern</tt></td>
<td align="center" valign="top"><tt>10</tt></td>
<td valign="top">Vertical lines.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.CrossPattern</tt></td>
<td align="center" valign="top"><tt>11</tt></td>
<td valign="top">Crossing horizontal and vertical lines.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.BDiagPattern</tt></td>
<td align="center" valign="top"><tt>12</tt></td>
<td valign="top">Backward diagonal lines.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.FDiagPattern</tt></td>
<td align="center" valign="top"><tt>13</tt></td>
<td valign="top">Forward diagonal lines.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.DiagCrossPattern</tt></td>
<td align="center" valign="top"><tt>14</tt></td>
<td valign="top">Crossing diagonal lines.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.LinearGradientPattern</tt></td>
<td align="center" valign="top"><tt>15</tt></td>
<td valign="top">Linear gradient (set using dedicated <a href="qbrush.html">QBrush</a> constructor).</td>
</tr>
<tr>
<td valign="top"><tt>Qt.ConicalGradientPattern</tt></td>
<td align="center" valign="top"><tt>17</tt></td>
<td valign="top">Linear gradient (set using dedicated <a href="qbrush.html">QBrush</a> constructor).</td>
</tr>
<tr>
<td valign="top"><tt>Qt.RadialGradientPattern</tt></td>
<td align="center" valign="top"><tt>16</tt></td>
<td valign="top">Linear gradient (set using dedicated <a href="qbrush.html">QBrush</a> constructor).</td>
</tr>
<tr>
<td valign="top"><tt>Qt.TexturePattern</tt></td>
<td align="center" valign="top"><tt>24</tt></td>
<td valign="top">Custom pattern (see <a href="qbrush.html#setTexture">QBrush.setTexture</a>()).</td>
</tr>
</table>
<br />
<br />
<p>See also <a href="qbrush.html">QBrush</a>.</p>
<h3 class="fn"><a name="CaseSensitivity-enum" />Qt.CaseSensitivity</h3><table border="1" cellpadding="2" cellspacing="1" width="40%">
<tr>
<th width="60%">Constant</th>
<th width="40%">Value</th>
</tr>
<tr>
<td valign="top"><tt>Qt.CaseInsensitive</tt></td>
<td align="center" valign="top"><tt>0</tt></td>
</tr>
<tr>
<td valign="top"><tt>Qt.CaseSensitive</tt></td>
<td align="center" valign="top"><tt>1</tt></td>
</tr>
</table>
<br />
<br />
<h3 class="fn"><a name="CheckState-enum" />Qt.CheckState</h3><p>This enum describes the state of checkable items, controls, and widgets.</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.Unchecked</tt></td>
<td align="center" valign="top"><tt>0</tt></td>
<td valign="top">The item is unchecked.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.PartiallyChecked</tt></td>
<td align="center" valign="top"><tt>1</tt></td>
<td valign="top">The item is partially checked. Items in hierarchical models may be partially checked if some, but not all, of their children are checked.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.Checked</tt></td>
<td align="center" valign="top"><tt>2</tt></td>
<td valign="top">The item is checked.</td>
</tr>
</table>
<br />
<br />
<p>See also <a href="qcheckbox.html">QCheckBox</a>, <a href="qt.html#ItemFlag-enum">Qt.ItemFlags</a>, and <a href="qt.html#ItemDataRole-enum">Qt.ItemDataRole</a>.</p>
<h3 class="fn"><a name="ClipOperation-enum" />Qt.ClipOperation</h3><table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.NoClip</tt></td>
<td align="center" valign="top"><tt>0</tt></td>
<td valign="top">This operation turns clipping off.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.ReplaceClip</tt></td>
<td align="center" valign="top"><tt>1</tt></td>
<td valign="top">Replaces the current clip path/rect/region with the one supplied in the function call.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.IntersectClip</tt></td>
<td align="center" valign="top"><tt>2</tt></td>
<td valign="top">Intersects the current clip path/rect/region with the one supplied in the function call.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.UniteClip</tt></td>
<td align="center" valign="top"><tt>3</tt></td>
<td valign="top">Unites the current clip path/rect/region with the one supplied in the function call.</td>
</tr>
</table>
<br />
<br />
<h3 class="fn"><a name="ConnectionType-enum" />Qt.ConnectionType</h3><p>This enum describes the types of connection that can be used between signals and slots. In particular, it determines whether a particular signal is delivered to a slot immediately or queued for delivery at a later time.</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.DirectConnection</tt></td>
<td align="center" valign="top"><tt>1</tt></td>
<td valign="top">When emitted, the signal is immediately delivered to the slot.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.QueuedConnection</tt></td>
<td align="center" valign="top"><tt>2</tt></td>
<td valign="top">When emitted, the signal is queued until the event loop is able to deliver it to the slot.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.AutoConnection</tt></td>
<td align="center" valign="top"><tt>0</tt></td>
<td valign="top">If the signal is emitted from the thread in which the receiving object lives, the slot is invoked directly, as with Qt.DirectConnection; otherwise the signal is queued, as with Qt.QueuedConnection.</td>
</tr>
</table>
<br />
<br />
<p>With queued connections, the parameters must be of types that are known to Qt's meta-object system, because Qt needs to copy the arguments to store them in an event behind the scenes. If you try to use a queued connection and get the error message</p>
<pre>
    QObject.connect: Cannot queue arguments of type 'MyType'
</pre>
<p>call <a href="qmetatype.html#qRegisterMetaType">qRegisterMetaType</a>() to register the data type before you establish the connection.</p>
<p>See also <a href="threads.html">Thread Support in Qt</a>, <a href="qobject.html#connect">QObject.connect</a>(), and <a href="qmetatype.html#qRegisterMetaType">qRegisterMetaType</a>().</p>
<h3 class="fn"><a name="ContextMenuPolicy-enum" />Qt.ContextMenuPolicy</h3><p>This enum type defines the various policies a widget can have with respect to showing a context menu.</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.NoContextMenu</tt></td>
<td align="center" valign="top"><tt>0</tt></td>
<td valign="top">the widget does not feature a context menu.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.DefaultContextMenu</tt></td>
<td align="center" valign="top"><tt>1</tt></td>
<td valign="top">the widget's <a href="qwidget.html#contextMenuEvent">QWidget.contextMenuEvent</a>() handler is called.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.ActionsContextMenu</tt></td>
<td align="center" valign="top"><tt>2</tt></td>
<td valign="top">the widget displays its <a href="qwidget.html#actions">QWidget.actions</a>() as context menu.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.CustomContextMenu</tt></td>
<td align="center" valign="top"><tt>3</tt></td>
<td valign="top">the widget emits the <a href="qwidget.html#customContextMenuRequested">QWidget.customContextMenuRequested</a>() signal.</td>
</tr>
</table>
<br />
<br />
<h3 class="fn"><a name="Corner-enum" />Qt.Corner</h3><p>This enum type specifies a corner in a rectangle:</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.TopLeftCorner</tt></td>
<td align="center" valign="top"><tt>0x00000</tt></td>
<td valign="top">The top-left corner of the rectangle.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.TopRightCorner</tt></td>
<td align="center" valign="top"><tt>0x00001</tt></td>
<td valign="top">The top-right corner of the rectangle.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.BottomLeftCorner</tt></td>
<td align="center" valign="top"><tt>0x00002</tt></td>
<td valign="top">The bottom-left corner of the rectangle.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.BottomRightCorner</tt></td>
<td align="center" valign="top"><tt>0x00003</tt></td>
<td valign="top">The bottom-right corner of the rectangle.</td>
</tr>
</table>
<br />
<br />
<h3 class="fn"><a name="CursorShape-enum" />Qt.CursorShape</h3><p>This enum type defines the various cursors that can be used.</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.ArrowCursor</tt></td>
<td align="center" valign="top"><tt>0</tt></td>
<td valign="top">standard arrow cursor</td>
</tr>
<tr>
<td valign="top"><tt>Qt.UpArrowCursor</tt></td>
<td align="center" valign="top"><tt>1</tt></td>
<td valign="top">upwards arrow</td>
</tr>
<tr>
<td valign="top"><tt>Qt.CrossCursor</tt></td>
<td align="center" valign="top"><tt>2</tt></td>
<td valign="top">crosshair</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WaitCursor</tt></td>
<td align="center" valign="top"><tt>3</tt></td>
<td valign="top">hourglass/watch</td>
</tr>
<tr>
<td valign="top"><tt>Qt.IBeamCursor</tt></td>
<td align="center" valign="top"><tt>4</tt></td>
<td valign="top">ibeam/text entry</td>
</tr>
<tr>
<td valign="top"><tt>Qt.SizeVerCursor</tt></td>
<td align="center" valign="top"><tt>5</tt></td>
<td valign="top">vertical resize</td>
</tr>
<tr>
<td valign="top"><tt>Qt.SizeHorCursor</tt></td>
<td align="center" valign="top"><tt>6</tt></td>
<td valign="top">horizontal resize</td>
</tr>
<tr>
<td valign="top"><tt>Qt.SizeFDiagCursor</tt></td>
<td align="center" valign="top"><tt>8</tt></td>
<td valign="top">diagonal resize ()</td>
</tr>
<tr>
<td valign="top"><tt>Qt.SizeBDiagCursor</tt></td>
<td align="center" valign="top"><tt>7</tt></td>
<td valign="top">diagonal resize (/)</td>
</tr>
<tr>
<td valign="top"><tt>Qt.SizeAllCursor</tt></td>
<td align="center" valign="top"><tt>9</tt></td>
<td valign="top">all directions resize</td>
</tr>
<tr>
<td valign="top"><tt>Qt.BlankCursor</tt></td>
<td align="center" valign="top"><tt>10</tt></td>
<td valign="top">blank/invisible cursor</td>
</tr>
<tr>
<td valign="top"><tt>Qt.SplitVCursor</tt></td>
<td align="center" valign="top"><tt>11</tt></td>
<td valign="top">vertical splitting</td>
</tr>
<tr>
<td valign="top"><tt>Qt.SplitHCursor</tt></td>
<td align="center" valign="top"><tt>12</tt></td>
<td valign="top">horizontal splitting</td>
</tr>
<tr>
<td valign="top"><tt>Qt.PointingHandCursor</tt></td>
<td align="center" valign="top"><tt>13</tt></td>
<td valign="top">a pointing hand</td>
</tr>
<tr>
<td valign="top"><tt>Qt.ForbiddenCursor</tt></td>
<td align="center" valign="top"><tt>14</tt></td>
<td valign="top">a slashed circle</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WhatsThisCursor</tt></td>
<td align="center" valign="top"><tt>15</tt></td>
<td valign="top">an arrow with a question mark</td>
</tr>
<tr>
<td valign="top"><tt>Qt.BusyCursor</tt></td>
<td align="center" valign="top"><tt>16</tt></td>
<td valign="top">standard arrow with hourglass/watch</td>
</tr>
<tr>
<td valign="top"><tt>Qt.BitmapCursor</tt></td>
<td align="center" valign="top"><tt>24</tt></td>
<td valign="top">ArrowCursor is the default for widgets in a normal state.</td>
</tr>
</table>
<br />
<br />
<p align="center"><img alt="Cursor Shapes" src="images/cursors.png" /></p>
<h3 class="fn"><a name="DateFormat-enum" />Qt.DateFormat</h3><table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.TextDate</tt></td>
<td align="center" valign="top"><tt>0</tt></td>
<td valign="top">The default Qt format.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.ISODate</tt></td>
<td align="center" valign="top"><tt>1</tt></td>
<td valign="top">ISO 8601 extended format (YYYY-MM-DD, or with time, YYYY-MM-DDTHH:MM:SS).</td>
</tr>
<tr>
<td valign="top"><tt>Qt.LocalDate</tt></td>
<td align="center" valign="top"><tt>2</tt></td>
<td valign="top">The locale-dependent format.</td>
</tr>
</table>
<br />
<br />
<h3 class="fn"><a name="DayOfWeek-enum" />Qt.DayOfWeek</h3><table border="1" cellpadding="2" cellspacing="1" width="40%">
<tr>
<th width="60%">Constant</th>
<th width="40%">Value</th>
</tr>
<tr>
<td valign="top"><tt>Qt.Monday</tt></td>
<td align="center" valign="top"><tt>1</tt></td>
</tr>
<tr>
<td valign="top"><tt>Qt.Tuesday</tt></td>
<td align="center" valign="top"><tt>2</tt></td>
</tr>
<tr>
<td valign="top"><tt>Qt.Wednesday</tt></td>
<td align="center" valign="top"><tt>3</tt></td>
</tr>
<tr>
<td valign="top"><tt>Qt.Thursday</tt></td>
<td align="center" valign="top"><tt>4</tt></td>
</tr>
<tr>
<td valign="top"><tt>Qt.Friday</tt></td>
<td align="center" valign="top"><tt>5</tt></td>
</tr>
<tr>
<td valign="top"><tt>Qt.Saturday</tt></td>
<td align="center" valign="top"><tt>6</tt></td>
</tr>
<tr>
<td valign="top"><tt>Qt.Sunday</tt></td>
<td align="center" valign="top"><tt>7</tt></td>
</tr>
</table>
<br />
<br />
<h3 class="fn"><a name="DockWidgetArea-enum" />Qt.DockWidgetArea</h3><table border="1" cellpadding="2" cellspacing="1" width="40%">
<tr>
<th width="60%">Constant</th>
<th width="40%">Value</th>
</tr>
<tr>
<td valign="top"><tt>Qt.LeftDockWidgetArea</tt></td>
<td align="center" valign="top"><tt>0x1</tt></td>
</tr>
<tr>
<td valign="top"><tt>Qt.RightDockWidgetArea</tt></td>
<td align="center" valign="top"><tt>0x2</tt></td>
</tr>
<tr>
<td valign="top"><tt>Qt.TopDockWidgetArea</tt></td>
<td align="center" valign="top"><tt>0x4</tt></td>
</tr>
<tr>
<td valign="top"><tt>Qt.BottomDockWidgetArea</tt></td>
<td align="center" valign="top"><tt>0x8</tt></td>
</tr>
<tr>
<td valign="top"><tt>Qt.AllDockWidgetAreas</tt></td>
<td align="center" valign="top"><tt>DockWidgetArea_Mask</tt></td>
</tr>
</table>
<br />
<br />
<p>The DockWidgetAreas type is a typedef for <a href="qflags.html">QFlags</a>&lt;DockWidgetArea&gt;. It stores an OR combination of DockWidgetArea values.</p>
<h3 class="fn"><a name="DropAction-enum" />Qt.DropAction</h3><table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.CopyAction</tt></td>
<td align="center" valign="top"><tt>0x1</tt></td>
<td valign="top">Copy the data to the target.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.MoveAction</tt></td>
<td align="center" valign="top"><tt>0x2</tt></td>
<td valign="top">Move the date from the source to the target.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.LinkAction</tt></td>
<td align="center" valign="top"><tt>0x4</tt></td>
<td valign="top">Create a link from the source to the target.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.ActionMask</tt></td>
<td align="center" valign="top"><tt>0xff</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.TargetMoveAction</tt></td>
<td align="center" valign="top"><tt>0x8002</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.IgnoreAction</tt></td>
<td align="center" valign="top"><tt>0x0</tt></td>
<td valign="top">Ignore the action (do nothing with the data).</td>
</tr>
</table>
<br />
<br />
<p>The DropActions type is a typedef for <a href="qflags.html">QFlags</a>&lt;DropAction&gt;. It stores an OR combination of DropAction values.</p>
<h3 class="fn"><a name="FillRule-enum" />Qt.FillRule</h3><p>Specifies which method should be used to fill the paths and polygons.</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.OddEvenFill</tt></td>
<td align="center" valign="top"><tt>0</tt></td>
<td valign="top">Specifies that the region is filled using the odd even fill rule. With this rule, we determine whether a point is inside the shape by using the following method. Draw a horizontal line from the point to a location outside the shape, and count the number of intersections. If the number of intersections is an odd number, the point is inside the shape. This mode is the default.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WindingFill</tt></td>
<td align="center" valign="top"><tt>1</tt></td>
<td valign="top">Specifies that the region is filled using the non zero winding rule. With this rule, we determine whether a point is inside the shape by using the following method. Draw a horizontal line from the point to a location outside the shape. Determine whether the direction of the line at each intersection point is up or down. The winding number is determined by summing the direction of each intersection. If the number is non zero, the point is inside the shape. This fill mode can also in most cases be considered as the intersection of closed shapes.</td>
</tr>
</table>
<br />
<br />
<h3 class="fn"><a name="FocusPolicy-enum" />Qt.FocusPolicy</h3><p>This enum type defines the various policies a widget can have with respect to acquiring keyboard focus.</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.TabFocus</tt></td>
<td align="center" valign="top"><tt>0x1</tt></td>
<td valign="top">the widget accepts focus by tabbing.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.ClickFocus</tt></td>
<td align="center" valign="top"><tt>0x2</tt></td>
<td valign="top">the widget accepts focus by clicking.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.StrongFocus</tt></td>
<td align="center" valign="top"><tt>TabFocus | ClickFocus | 0x8</tt></td>
<td valign="top">the widget accepts focus by both tabbing and clicking. On Mac OS X this will also be indicate that the widget accepts tab focus when in 'Text/List focus mode'.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WheelFocus</tt></td>
<td align="center" valign="top"><tt>StrongFocus | 0x4</tt></td>
<td valign="top">like Qt.StrongFocus plus the widget accepts focus by using the mouse wheel.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.NoFocus</tt></td>
<td align="center" valign="top"><tt>0</tt></td>
<td valign="top">the widget does not accept focus.</td>
</tr>
</table>
<br />
<br />
<h3 class="fn"><a name="FocusReason-enum" />Qt.FocusReason</h3><p>This enum specifies why the focus changed. It will be passed through QWidget.setFocus and can be retrieved in the <a href="qfocusevent.html">QFocusEvent</a> sent to the widget upon focus change.</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.MouseFocusReason</tt></td>
<td align="center" valign="top"><tt>0</tt></td>
<td valign="top">A mouse action occurred.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.TabFocusReason</tt></td>
<td align="center" valign="top"><tt>1</tt></td>
<td valign="top">The Tab key was pressed.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.BacktabFocusReason</tt></td>
<td align="center" valign="top"><tt>2</tt></td>
<td valign="top">A Backtab occurred. The input for this may include the Shift or Control keys; e.g. Shift+Tab.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.ActiveWindowFocusReason</tt></td>
<td align="center" valign="top"><tt>3</tt></td>
<td valign="top">The window system made this window either active or inactive.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.PopupFocusReason</tt></td>
<td align="center" valign="top"><tt>4</tt></td>
<td valign="top">The application opened/closed a popup that grabbed/released the keyboard focus.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.ShortcutFocusReason</tt></td>
<td align="center" valign="top"><tt>5</tt></td>
<td valign="top">The user typed a label's buddy shortcut</td>
</tr>
<tr>
<td valign="top"><tt>Qt.MenuBarFocusReason</tt></td>
<td align="center" valign="top"><tt>6</tt></td>
<td valign="top">The menu bar took focus.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.OtherFocusReason</tt></td>
<td align="center" valign="top"><tt>7</tt></td>
<td valign="top">Another reason, usually application-specific.</td>
</tr>
</table>
<br />
<br />
<p>No good reason, really.</p>
<p>See also <a href="focus.html">Keyboard Focus</a>.</p>
<h3 class="fn"><a name="GlobalColor-enum" />Qt.GlobalColor</h3><p>Qt's predefined <a href="qcolor.html">QColor</a> objects:</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.white</tt></td>
<td align="center" valign="top"><tt>3</tt></td>
<td valign="top">White <tt id="white">(#ffffff)</tt></td>
</tr>
<tr>
<td valign="top"><tt>Qt.black</tt></td>
<td align="center" valign="top"><tt>2</tt></td>
<td valign="top">Black <tt id="black">(#000000)</tt></td>
</tr>
<tr>
<td valign="top"><tt>Qt.red</tt></td>
<td align="center" valign="top"><tt>7</tt></td>
<td valign="top">Red <tt id="red">(#ff0000)</tt></td>
</tr>
<tr>
<td valign="top"><tt>Qt.darkRed</tt></td>
<td align="center" valign="top"><tt>13</tt></td>
<td valign="top">Dark red <tt id="darkRed">(#800000)</tt></td>
</tr>
<tr>
<td valign="top"><tt>Qt.green</tt></td>
<td align="center" valign="top"><tt>8</tt></td>
<td valign="top">Green <tt id="green">(#00ff00)</tt></td>
</tr>
<tr>
<td valign="top"><tt>Qt.darkGreen</tt></td>
<td align="center" valign="top"><tt>14</tt></td>
<td valign="top">Dark green <tt id="darkGreen">(#008000)</tt></td>
</tr>
<tr>
<td valign="top"><tt>Qt.blue</tt></td>
<td align="center" valign="top"><tt>9</tt></td>
<td valign="top">Blue <tt id="blue">(#0000ff)</tt></td>
</tr>
<tr>
<td valign="top"><tt>Qt.darkBlue</tt></td>
<td align="center" valign="top"><tt>15</tt></td>
<td valign="top">Dark blue <tt id="darkBlue">(#000080)</tt></td>
</tr>
<tr>
<td valign="top"><tt>Qt.cyan</tt></td>
<td align="center" valign="top"><tt>10</tt></td>
<td valign="top">Cyan <tt id="cyan">(#00ffff)</tt></td>
</tr>
<tr>
<td valign="top"><tt>Qt.darkCyan</tt></td>
<td align="center" valign="top"><tt>16</tt></td>
<td valign="top">Dark cyan <tt id="darkCyan">(#008080)</tt></td>
</tr>
<tr>
<td valign="top"><tt>Qt.magenta</tt></td>
<td align="center" valign="top"><tt>11</tt></td>
<td valign="top">Magenta <tt id="magenta">(#ff00ff)</tt></td>
</tr>
<tr>
<td valign="top"><tt>Qt.darkMagenta</tt></td>
<td align="center" valign="top"><tt>17</tt></td>
<td valign="top">Dark magenta <tt id="darkMagenta">(#800080)</tt></td>
</tr>
<tr>
<td valign="top"><tt>Qt.yellow</tt></td>
<td align="center" valign="top"><tt>12</tt></td>
<td valign="top">Yellow <tt id="yellow">(#ffff00)</tt></td>
</tr>
<tr>
<td valign="top"><tt>Qt.darkYellow</tt></td>
<td align="center" valign="top"><tt>18</tt></td>
<td valign="top">Dark yellow <tt id="darkYellow">(#808000)</tt></td>
</tr>
<tr>
<td valign="top"><tt>Qt.gray</tt></td>
<td align="center" valign="top"><tt>5</tt></td>
<td valign="top">Gray <tt id="gray">(#a0a0a4)</tt></td>
</tr>
<tr>
<td valign="top"><tt>Qt.darkGray</tt></td>
<td align="center" valign="top"><tt>4</tt></td>
<td valign="top">Dark gray <tt id="darkGray">(#808080)</tt></td>
</tr>
<tr>
<td valign="top"><tt>Qt.lightGray</tt></td>
<td align="center" valign="top"><tt>6</tt></td>
<td valign="top">Light gray <tt id="lightGray">(#c0c0c0)</tt></td>
</tr>
<tr>
<td valign="top"><tt>Qt.transparent</tt></td>
<td align="center" valign="top"><tt>19</tt></td>
<td valign="top">a transparent black value (i.e., <a href="qcolor.html">QColor</a>(0, 0, 0, 0))</td>
</tr>
<tr>
<td valign="top"><tt>Qt.color0</tt></td>
<td align="center" valign="top"><tt>0</tt></td>
<td valign="top">0 pixel value (for bitmaps)</td>
</tr>
<tr>
<td valign="top"><tt>Qt.color1</tt></td>
<td align="center" valign="top"><tt>1</tt></td>
<td valign="top">1 pixel value (for bitmaps)</td>
</tr>
</table>
<br />
<br />
<p>See also <a href="qcolor.html">QColor</a>.</p>
<h3 class="fn"><a name="HitTestAccuracy-enum" />Qt.HitTestAccuracy</h3><p>This type is only available if the QtGui module is imported.</p><p>This enum contains the types of accuracy that can be used by the <a href="qtextdocument.html">QTextDocument</a> class when testing for mouse clicks on text documents.</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.ExactHit</tt></td>
<td align="center" valign="top"><tt>0</tt></td>
<td valign="top">The point at which input occurred must coincide exactly with input-sensitive parts of the document.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.FuzzyHit</tt></td>
<td align="center" valign="top"><tt>1</tt></td>
<td valign="top">The point at which input occurred can lie close to input-sensitive parts of the document.</td>
</tr>
</table>
<br />
<br />
<p>This enum is defined in the <tt>&lt;QTextDocument&gt;</tt> header file.</p>
<h3 class="fn"><a name="ImageConversionFlag-enum" />Qt.ImageConversionFlag</h3><p>The options marked "(default)" are set if no other values from the list are included (since the defaults are zero):</p>
<p>Color/Mono preference (ignored for <a href="qbitmap.html">QBitmap</a>):</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.AutoColor</tt></td>
<td align="center" valign="top"><tt>0x00000000</tt></td>
<td valign="top">(default) - If the image has <a href="qimage.html#depth">depth</a> 1 and contains only black and white pixels, the pixmap becomes monochrome.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.ColorOnly</tt></td>
<td align="center" valign="top"><tt>0x00000003</tt></td>
<td valign="top">The pixmap is dithered/converted to the <a href="qpixmap.html#defaultDepth">native display depth</a>.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.MonoOnly</tt></td>
<td align="center" valign="top"><tt>0x00000002</tt></td>
<td valign="top">The pixmap becomes monochrome. If necessary, it is dithered using the chosen dithering algorithm.</td>
</tr>
</table>
<br />
<br />
<p>Dithering mode preference for RGB channels:</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.DiffuseDither</tt></td>
<td align="center" valign="top"><tt>0x00000000</tt></td>
<td valign="top">(default) - A high-quality dither.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.OrderedDither</tt></td>
<td align="center" valign="top"><tt>0x00000010</tt></td>
<td valign="top">A faster, more ordered dither.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.ThresholdDither</tt></td>
<td align="center" valign="top"><tt>0x00000020</tt></td>
<td valign="top">No dithering; closest color is used.</td>
</tr>
</table>
<br />
<br />
<p>Dithering mode preference for alpha channel:</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.ThresholdAlphaDither</tt></td>
<td align="center" valign="top"><tt>0x00000000</tt></td>
<td valign="top">(default) - No dithering.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.OrderedAlphaDither</tt></td>
<td align="center" valign="top"><tt>0x00000004</tt></td>
<td valign="top">A faster, more ordered dither.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.DiffuseAlphaDither</tt></td>
<td align="center" valign="top"><tt>0x00000008</tt></td>
<td valign="top">A high-quality dither.</td>
</tr>
</table>
<br />
<br />
<p>Color matching versus dithering preference:</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.PreferDither</tt></td>
<td align="center" valign="top"><tt>0x00000040</tt></td>
<td valign="top">(default when converting to a pixmap) - Always dither 32-bit images when the image is converted to 8 bits.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.AvoidDither</tt></td>
<td align="center" valign="top"><tt>0x00000080</tt></td>
<td valign="top">(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.</td>
</tr>
</table>
<br />
<br />
<p>The ImageConversionFlags type is a typedef for <a href="qflags.html">QFlags</a>&lt;ImageConversionFlag&gt;. It stores an OR combination of ImageConversionFlag values.</p>
<h3 class="fn"><a name="InputMethodQuery-enum" />Qt.InputMethodQuery</h3><table border="1" cellpadding="2" cellspacing="1" width="40%">
<tr>
<th width="60%">Constant</th>
<th width="40%">Value</th>
</tr>
<tr>
<td valign="top"><tt>Qt.ImMicroFocus</tt></td>
<td align="center" valign="top"><tt>0</tt></td>
</tr>
<tr>
<td valign="top"><tt>Qt.ImFont</tt></td>
<td align="center" valign="top"><tt>1</tt></td>
</tr>
<tr>
<td valign="top"><tt>Qt.ImCursorPosition</tt></td>
<td align="center" valign="top"><tt>2</tt></td>
</tr>
<tr>
<td valign="top"><tt>Qt.ImSurroundingText</tt></td>
<td align="center" valign="top"><tt>3</tt></td>
</tr>
<tr>
<td valign="top"><tt>Qt.ImCurrentSelection</tt></td>
<td align="center" valign="top"><tt>4</tt></td>
</tr>
</table>
<br />
<br />
<h3 class="fn"><a name="ItemDataRole-enum" />Qt.ItemDataRole</h3><p>Each item in the model has a set of data elements associated with it, each with its own role. The roles are used by the view to indicate to the model which type of data it needs.</p>
<p>The general purpose roles are:</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.DisplayRole</tt></td>
<td align="center" valign="top"><tt>0</tt></td>
<td valign="top">The key data to be rendered (usually text).</td>
</tr>
<tr>
<td valign="top"><tt>Qt.DecorationRole</tt></td>
<td align="center" valign="top"><tt>1</tt></td>
<td valign="top">The data to be rendered as a decoration (usually an icon).</td>
</tr>
<tr>
<td valign="top"><tt>Qt.EditRole</tt></td>
<td align="center" valign="top"><tt>2</tt></td>
<td valign="top">The data in a form suitable for editing in an editor.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.ToolTipRole</tt></td>
<td align="center" valign="top"><tt>3</tt></td>
<td valign="top">The data displayed in the item's tooltip.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.StatusTipRole</tt></td>
<td align="center" valign="top"><tt>4</tt></td>
<td valign="top">The data displayed in the status bar.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WhatsThisRole</tt></td>
<td align="center" valign="top"><tt>5</tt></td>
<td valign="top">The data displayed for the item in "What's This?" mode.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.SizeHintRole</tt></td>
<td align="center" valign="top"><tt>13</tt></td>
<td valign="top">The size hint for the item that will be supplied to views.</td>
</tr>
</table>
<br />
<br />
<p>Roles describing appearance and meta data:</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.FontRole</tt></td>
<td align="center" valign="top"><tt>6</tt></td>
<td valign="top">The font used for items rendered with the default delegate.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.TextAlignmentRole</tt></td>
<td align="center" valign="top"><tt>7</tt></td>
<td valign="top">The alignment of the text for items rendered with the default delegate.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.BackgroundColorRole</tt></td>
<td align="center" valign="top"><tt>8</tt></td>
<td valign="top">The background color used for items rendered with the default delegate.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.TextColorRole</tt></td>
<td align="center" valign="top"><tt>9</tt></td>
<td valign="top">The text color used for items rendered with the default delegate.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.CheckStateRole</tt></td>
<td align="center" valign="top"><tt>10</tt></td>
<td valign="top">This role is used to obtain the checked state of an item (see <a href="qt.html#CheckState-enum">Qt.CheckState</a>).</td>
</tr>
</table>
<br />
<br />
<p>Accessibility roles:</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.AccessibleTextRole</tt></td>
<td align="center" valign="top"><tt>11</tt></td>
<td valign="top">The text to be used by accessibility extensions and plugins, such as screen readers.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.AccessibleDescriptionRole</tt></td>
<td align="center" valign="top"><tt>12</tt></td>
<td valign="top">A description of the item for accessibility purposes.</td>
</tr>
</table>
<br />
<br />
<p>User roles:</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.UserRole</tt></td>
<td align="center" valign="top"><tt>32</tt></td>
<td valign="top">The first role that can be used for application-specific purposes.</td>
</tr>
</table>
<br />
<br />
<h3 class="fn"><a name="ItemFlag-enum" />Qt.ItemFlag</h3><p>This enum describes the properties of an item:</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.ItemIsSelectable</tt></td>
<td align="center" valign="top"><tt>1</tt></td>
<td valign="top">It can be selected.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.ItemIsEditable</tt></td>
<td align="center" valign="top"><tt>2</tt></td>
<td valign="top">It can be edited.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.ItemIsDragEnabled</tt></td>
<td align="center" valign="top"><tt>4</tt></td>
<td valign="top">It can be dragged.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.ItemIsDropEnabled</tt></td>
<td align="center" valign="top"><tt>8</tt></td>
<td valign="top">It can be used as a drop target.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.ItemIsUserCheckable</tt></td>
<td align="center" valign="top"><tt>16</tt></td>
<td valign="top">It can be checked or unchecked by the user.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.ItemIsEnabled</tt></td>
<td align="center" valign="top"><tt>32</tt></td>
<td valign="top">The user can interact with the item.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.ItemIsTristate</tt></td>
<td align="center" valign="top"><tt>64</tt></td>
<td valign="top">The item is checkable with three separate states.</td>
</tr>
</table>
<br />
<br />
<p>Note that checkable items need to be given both a suitable set of flags and an initial state, indicating whether the item is checked or not. This is handled automatically for model/view components, but needs to be explicitly set for instances of <a href="qlistwidgetitem.html">QListWidgetItem</a>, <a href="qtablewidgetitem.html">QTableWidgetItem</a>, and <a href="qtreewidgetitem.html">QTreeWidgetItem</a>.</p>
<p>The ItemFlags type is a typedef for <a href="qflags.html">QFlags</a>&lt;ItemFlag&gt;. It stores an OR combination of ItemFlag values.</p>
<p>See also <a href="qabstractitemmodel.html">QAbstractItemModel</a>.</p>
<h3 class="fn"><a name="Key-enum" />Qt.Key</h3><p>The key names used by Qt.</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Escape</tt></td>
<td align="center" valign="top"><tt>0x01000000</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Tab</tt></td>
<td align="center" valign="top"><tt>0x01000001</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Backtab</tt></td>
<td align="center" valign="top"><tt>0x01000002</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Backspace</tt></td>
<td align="center" valign="top"><tt>0x01000003</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Return</tt></td>
<td align="center" valign="top"><tt>0x01000004</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Enter</tt></td>
<td align="center" valign="top"><tt>0x01000005</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Insert</tt></td>
<td align="center" valign="top"><tt>0x01000006</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Delete</tt></td>
<td align="center" valign="top"><tt>0x01000007</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Pause</tt></td>
<td align="center" valign="top"><tt>0x01000008</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Print</tt></td>
<td align="center" valign="top"><tt>0x01000009</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_SysReq</tt></td>
<td align="center" valign="top"><tt>0x0100000a</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Clear</tt></td>
<td align="center" valign="top"><tt>0x0100000b</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Home</tt></td>
<td align="center" valign="top"><tt>0x01000010</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_End</tt></td>
<td align="center" valign="top"><tt>0x01000011</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Left</tt></td>
<td align="center" valign="top"><tt>0x01000012</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Up</tt></td>
<td align="center" valign="top"><tt>0x01000013</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Right</tt></td>
<td align="center" valign="top"><tt>0x01000014</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Down</tt></td>
<td align="center" valign="top"><tt>0x01000015</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_PageUp</tt></td>
<td align="center" valign="top"><tt>0x01000016</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_PageDown</tt></td>
<td align="center" valign="top"><tt>0x01000017</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Shift</tt></td>
<td align="center" valign="top"><tt>0x01000020</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Control</tt></td>
<td align="center" valign="top"><tt>0x01000021</tt></td>
<td valign="top">On Mac OS X, this corresponds to the Command keys.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Meta</tt></td>
<td align="center" valign="top"><tt>0x01000022</tt></td>
<td valign="top">On Mac OS X, this corresponds to the Control keys.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Alt</tt></td>
<td align="center" valign="top"><tt>0x01000023</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_AltGr</tt></td>
<td align="center" valign="top"><tt>0x01001103</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_CapsLock</tt></td>
<td align="center" valign="top"><tt>0x01000024</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_NumLock</tt></td>
<td align="center" valign="top"><tt>0x01000025</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_ScrollLock</tt></td>
<td align="center" valign="top"><tt>0x01000026</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_F1</tt></td>
<td align="center" valign="top"><tt>0x01000030</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_F2</tt></td>
<td align="center" valign="top"><tt>0x01000031</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_F3</tt></td>
<td align="center" valign="top"><tt>0x01000032</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_F4</tt></td>
<td align="center" valign="top"><tt>0x01000033</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_F5</tt></td>
<td align="center" valign="top"><tt>0x01000034</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_F6</tt></td>
<td align="center" valign="top"><tt>0x01000035</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_F7</tt></td>
<td align="center" valign="top"><tt>0x01000036</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_F8</tt></td>
<td align="center" valign="top"><tt>0x01000037</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_F9</tt></td>
<td align="center" valign="top"><tt>0x01000038</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_F10</tt></td>
<td align="center" valign="top"><tt>0x01000039</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_F11</tt></td>
<td align="center" valign="top"><tt>0x0100003a</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_F12</tt></td>
<td align="center" valign="top"><tt>0x0100003b</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_F13</tt></td>
<td align="center" valign="top"><tt>0x0100003c</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_F14</tt></td>
<td align="center" valign="top"><tt>0x0100003d</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_F15</tt></td>
<td align="center" valign="top"><tt>0x0100003e</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_F16</tt></td>
<td align="center" valign="top"><tt>0x0100003f</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_F17</tt></td>
<td align="center" valign="top"><tt>0x01000040</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_F18</tt></td>
<td align="center" valign="top"><tt>0x01000041</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_F19</tt></td>
<td align="center" valign="top"><tt>0x01000042</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_F20</tt></td>
<td align="center" valign="top"><tt>0x01000043</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_F21</tt></td>
<td align="center" valign="top"><tt>0x01000044</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_F22</tt></td>
<td align="center" valign="top"><tt>0x01000045</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_F23</tt></td>
<td align="center" valign="top"><tt>0x01000046</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_F24</tt></td>
<td align="center" valign="top"><tt>0x01000047</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_F25</tt></td>
<td align="center" valign="top"><tt>0x01000048</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_F26</tt></td>
<td align="center" valign="top"><tt>0x01000049</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_F27</tt></td>
<td align="center" valign="top"><tt>0x0100004a</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_F28</tt></td>
<td align="center" valign="top"><tt>0x0100004b</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_F29</tt></td>
<td align="center" valign="top"><tt>0x0100004c</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_F30</tt></td>
<td align="center" valign="top"><tt>0x0100004d</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_F31</tt></td>
<td align="center" valign="top"><tt>0x0100004e</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_F32</tt></td>
<td align="center" valign="top"><tt>0x0100004f</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_F33</tt></td>
<td align="center" valign="top"><tt>0x01000050</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_F34</tt></td>
<td align="center" valign="top"><tt>0x01000051</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_F35</tt></td>
<td align="center" valign="top"><tt>0x01000052</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Super_L</tt></td>
<td align="center" valign="top"><tt>0x01000053</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Super_R</tt></td>
<td align="center" valign="top"><tt>0x01000054</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Menu</tt></td>
<td align="center" valign="top"><tt>0x01000055</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Hyper_L</tt></td>
<td align="center" valign="top"><tt>0x01000056</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Hyper_R</tt></td>
<td align="center" valign="top"><tt>0x01000057</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Help</tt></td>
<td align="center" valign="top"><tt>0x01000058</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Direction_L</tt></td>
<td align="center" valign="top"><tt>0x01000059</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Direction_R</tt></td>
<td align="center" valign="top"><tt>0x01000060</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Space</tt></td>
<td align="center" valign="top"><tt>0x20</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Any</tt></td>
<td align="center" valign="top"><tt>Key_Space</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Exclam</tt></td>
<td align="center" valign="top"><tt>0x21</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_QuoteDbl</tt></td>
<td align="center" valign="top"><tt>0x22</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_NumberSign</tt></td>
<td align="center" valign="top"><tt>0x23</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Dollar</tt></td>
<td align="center" valign="top"><tt>0x24</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Percent</tt></td>
<td align="center" valign="top"><tt>0x25</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Ampersand</tt></td>
<td align="center" valign="top"><tt>0x26</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Apostrophe</tt></td>
<td align="center" valign="top"><tt>0x27</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_ParenLeft</tt></td>
<td align="center" valign="top"><tt>0x28</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_ParenRight</tt></td>
<td align="center" valign="top"><tt>0x29</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Asterisk</tt></td>
<td align="center" valign="top"><tt>0x2a</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Plus</tt></td>
<td align="center" valign="top"><tt>0x2b</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Comma</tt></td>
<td align="center" valign="top"><tt>0x2c</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Minus</tt></td>
<td align="center" valign="top"><tt>0x2d</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Period</tt></td>
<td align="center" valign="top"><tt>0x2e</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Slash</tt></td>
<td align="center" valign="top"><tt>0x2f</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_0</tt></td>
<td align="center" valign="top"><tt>0x30</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_1</tt></td>
<td align="center" valign="top"><tt>0x31</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_2</tt></td>
<td align="center" valign="top"><tt>0x32</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_3</tt></td>
<td align="center" valign="top"><tt>0x33</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_4</tt></td>
<td align="center" valign="top"><tt>0x34</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_5</tt></td>
<td align="center" valign="top"><tt>0x35</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_6</tt></td>
<td align="center" valign="top"><tt>0x36</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_7</tt></td>
<td align="center" valign="top"><tt>0x37</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_8</tt></td>
<td align="center" valign="top"><tt>0x38</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_9</tt></td>
<td align="center" valign="top"><tt>0x39</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Colon</tt></td>
<td align="center" valign="top"><tt>0x3a</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Semicolon</tt></td>
<td align="center" valign="top"><tt>0x3b</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Less</tt></td>
<td align="center" valign="top"><tt>0x3c</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Equal</tt></td>
<td align="center" valign="top"><tt>0x3d</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Greater</tt></td>
<td align="center" valign="top"><tt>0x3e</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Question</tt></td>
<td align="center" valign="top"><tt>0x3f</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_At</tt></td>
<td align="center" valign="top"><tt>0x40</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_A</tt></td>
<td align="center" valign="top"><tt>0x41</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_B</tt></td>
<td align="center" valign="top"><tt>0x42</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_C</tt></td>
<td align="center" valign="top"><tt>0x43</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_D</tt></td>
<td align="center" valign="top"><tt>0x44</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_E</tt></td>
<td align="center" valign="top"><tt>0x45</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_F</tt></td>
<td align="center" valign="top"><tt>0x46</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_G</tt></td>
<td align="center" valign="top"><tt>0x47</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_H</tt></td>
<td align="center" valign="top"><tt>0x48</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_I</tt></td>
<td align="center" valign="top"><tt>0x49</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_J</tt></td>
<td align="center" valign="top"><tt>0x4a</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_K</tt></td>
<td align="center" valign="top"><tt>0x4b</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_L</tt></td>
<td align="center" valign="top"><tt>0x4c</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_M</tt></td>
<td align="center" valign="top"><tt>0x4d</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_N</tt></td>
<td align="center" valign="top"><tt>0x4e</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_O</tt></td>
<td align="center" valign="top"><tt>0x4f</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_P</tt></td>
<td align="center" valign="top"><tt>0x50</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Q</tt></td>
<td align="center" valign="top"><tt>0x51</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_R</tt></td>
<td align="center" valign="top"><tt>0x52</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_S</tt></td>
<td align="center" valign="top"><tt>0x53</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_T</tt></td>
<td align="center" valign="top"><tt>0x54</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_U</tt></td>
<td align="center" valign="top"><tt>0x55</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_V</tt></td>
<td align="center" valign="top"><tt>0x56</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_W</tt></td>
<td align="center" valign="top"><tt>0x57</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_X</tt></td>
<td align="center" valign="top"><tt>0x58</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Y</tt></td>
<td align="center" valign="top"><tt>0x59</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Z</tt></td>
<td align="center" valign="top"><tt>0x5a</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_BracketLeft</tt></td>
<td align="center" valign="top"><tt>0x5b</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Backslash</tt></td>
<td align="center" valign="top"><tt>0x5c</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_BracketRight</tt></td>
<td align="center" valign="top"><tt>0x5d</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_AsciiCircum</tt></td>
<td align="center" valign="top"><tt>0x5e</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Underscore</tt></td>
<td align="center" valign="top"><tt>0x5f</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_QuoteLeft</tt></td>
<td align="center" valign="top"><tt>0x60</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_BraceLeft</tt></td>
<td align="center" valign="top"><tt>0x7b</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Bar</tt></td>
<td align="center" valign="top"><tt>0x7c</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_BraceRight</tt></td>
<td align="center" valign="top"><tt>0x7d</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_AsciiTilde</tt></td>
<td align="center" valign="top"><tt>0x7e</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_nobreakspace</tt></td>
<td align="center" valign="top"><tt>0x0a0</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_exclamdown</tt></td>
<td align="center" valign="top"><tt>0x0a1</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_cent</tt></td>
<td align="center" valign="top"><tt>0x0a2</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_sterling</tt></td>
<td align="center" valign="top"><tt>0x0a3</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_currency</tt></td>
<td align="center" valign="top"><tt>0x0a4</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_yen</tt></td>
<td align="center" valign="top"><tt>0x0a5</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_brokenbar</tt></td>
<td align="center" valign="top"><tt>0x0a6</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_section</tt></td>
<td align="center" valign="top"><tt>0x0a7</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_diaeresis</tt></td>
<td align="center" valign="top"><tt>0x0a8</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_copyright</tt></td>
<td align="center" valign="top"><tt>0x0a9</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_ordfeminine</tt></td>
<td align="center" valign="top"><tt>0x0aa</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_guillemotleft</tt></td>
<td align="center" valign="top"><tt>0x0ab</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_notsign</tt></td>
<td align="center" valign="top"><tt>0x0ac</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_hyphen</tt></td>
<td align="center" valign="top"><tt>0x0ad</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_registered</tt></td>
<td align="center" valign="top"><tt>0x0ae</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_macron</tt></td>
<td align="center" valign="top"><tt>0x0af</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_degree</tt></td>
<td align="center" valign="top"><tt>0x0b0</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_plusminus</tt></td>
<td align="center" valign="top"><tt>0x0b1</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_twosuperior</tt></td>
<td align="center" valign="top"><tt>0x0b2</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_threesuperior</tt></td>
<td align="center" valign="top"><tt>0x0b3</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_acute</tt></td>
<td align="center" valign="top"><tt>0x0b4</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_mu</tt></td>
<td align="center" valign="top"><tt>0x0b5</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_paragraph</tt></td>
<td align="center" valign="top"><tt>0x0b6</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_periodcentered</tt></td>
<td align="center" valign="top"><tt>0x0b7</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_cedilla</tt></td>
<td align="center" valign="top"><tt>0x0b8</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_onesuperior</tt></td>
<td align="center" valign="top"><tt>0x0b9</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_masculine</tt></td>
<td align="center" valign="top"><tt>0x0ba</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_guillemotright</tt></td>
<td align="center" valign="top"><tt>0x0bb</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_onequarter</tt></td>
<td align="center" valign="top"><tt>0x0bc</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_onehalf</tt></td>
<td align="center" valign="top"><tt>0x0bd</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_threequarters</tt></td>
<td align="center" valign="top"><tt>0x0be</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_questiondown</tt></td>
<td align="center" valign="top"><tt>0x0bf</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Agrave</tt></td>
<td align="center" valign="top"><tt>0x0c0</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Aacute</tt></td>
<td align="center" valign="top"><tt>0x0c1</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Acircumflex</tt></td>
<td align="center" valign="top"><tt>0x0c2</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Atilde</tt></td>
<td align="center" valign="top"><tt>0x0c3</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Adiaeresis</tt></td>
<td align="center" valign="top"><tt>0x0c4</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Aring</tt></td>
<td align="center" valign="top"><tt>0x0c5</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_AE</tt></td>
<td align="center" valign="top"><tt>0x0c6</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Ccedilla</tt></td>
<td align="center" valign="top"><tt>0x0c7</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Egrave</tt></td>
<td align="center" valign="top"><tt>0x0c8</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Eacute</tt></td>
<td align="center" valign="top"><tt>0x0c9</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Ecircumflex</tt></td>
<td align="center" valign="top"><tt>0x0ca</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Ediaeresis</tt></td>
<td align="center" valign="top"><tt>0x0cb</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Igrave</tt></td>
<td align="center" valign="top"><tt>0x0cc</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Iacute</tt></td>
<td align="center" valign="top"><tt>0x0cd</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Icircumflex</tt></td>
<td align="center" valign="top"><tt>0x0ce</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Idiaeresis</tt></td>
<td align="center" valign="top"><tt>0x0cf</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_ETH</tt></td>
<td align="center" valign="top"><tt>0x0d0</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Ntilde</tt></td>
<td align="center" valign="top"><tt>0x0d1</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Ograve</tt></td>
<td align="center" valign="top"><tt>0x0d2</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Oacute</tt></td>
<td align="center" valign="top"><tt>0x0d3</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Ocircumflex</tt></td>
<td align="center" valign="top"><tt>0x0d4</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Otilde</tt></td>
<td align="center" valign="top"><tt>0x0d5</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Odiaeresis</tt></td>
<td align="center" valign="top"><tt>0x0d6</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_multiply</tt></td>
<td align="center" valign="top"><tt>0x0d7</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Ooblique</tt></td>
<td align="center" valign="top"><tt>0x0d8</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Ugrave</tt></td>
<td align="center" valign="top"><tt>0x0d9</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Uacute</tt></td>
<td align="center" valign="top"><tt>0x0da</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Ucircumflex</tt></td>
<td align="center" valign="top"><tt>0x0db</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Udiaeresis</tt></td>
<td align="center" valign="top"><tt>0x0dc</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Yacute</tt></td>
<td align="center" valign="top"><tt>0x0dd</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_THORN</tt></td>
<td align="center" valign="top"><tt>0x0de</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_ssharp</tt></td>
<td align="center" valign="top"><tt>0x0df</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_division</tt></td>
<td align="center" valign="top"><tt>0x0f7</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_ydiaeresis</tt></td>
<td align="center" valign="top"><tt>0x0ff</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Multi_key</tt></td>
<td align="center" valign="top"><tt>0x01001120</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Codeinput</tt></td>
<td align="center" valign="top"><tt>0x01001137</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_SingleCandidate</tt></td>
<td align="center" valign="top"><tt>0x0100113c</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_MultipleCandidate</tt></td>
<td align="center" valign="top"><tt>0x0100113d</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_PreviousCandidate</tt></td>
<td align="center" valign="top"><tt>0x0100113e</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Mode_switch</tt></td>
<td align="center" valign="top"><tt>0x0100117e</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Kanji</tt></td>
<td align="center" valign="top"><tt>0x01001121</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Muhenkan</tt></td>
<td align="center" valign="top"><tt>0x01001122</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Henkan</tt></td>
<td align="center" valign="top"><tt>0x01001123</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Romaji</tt></td>
<td align="center" valign="top"><tt>0x01001124</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Hiragana</tt></td>
<td align="center" valign="top"><tt>0x01001125</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Katakana</tt></td>
<td align="center" valign="top"><tt>0x01001126</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Hiragana_Katakana</tt></td>
<td align="center" valign="top"><tt>0x01001127</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Zenkaku</tt></td>
<td align="center" valign="top"><tt>0x01001128</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Hankaku</tt></td>
<td align="center" valign="top"><tt>0x01001129</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Zenkaku_Hankaku</tt></td>
<td align="center" valign="top"><tt>0x0100112a</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Touroku</tt></td>
<td align="center" valign="top"><tt>0x0100112b</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Massyo</tt></td>
<td align="center" valign="top"><tt>0x0100112c</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Kana_Lock</tt></td>
<td align="center" valign="top"><tt>0x0100112d</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Kana_Shift</tt></td>
<td align="center" valign="top"><tt>0x0100112e</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Eisu_Shift</tt></td>
<td align="center" valign="top"><tt>0x0100112f</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Eisu_toggle</tt></td>
<td align="center" valign="top"><tt>0x01001130</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Hangul</tt></td>
<td align="center" valign="top"><tt>0x01001131</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Hangul_Start</tt></td>
<td align="center" valign="top"><tt>0x01001132</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Hangul_End</tt></td>
<td align="center" valign="top"><tt>0x01001133</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Hangul_Hanja</tt></td>
<td align="center" valign="top"><tt>0x01001134</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Hangul_Jamo</tt></td>
<td align="center" valign="top"><tt>0x01001135</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Hangul_Romaja</tt></td>
<td align="center" valign="top"><tt>0x01001136</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Hangul_Jeonja</tt></td>
<td align="center" valign="top"><tt>0x01001138</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Hangul_Banja</tt></td>
<td align="center" valign="top"><tt>0x01001139</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Hangul_PreHanja</tt></td>
<td align="center" valign="top"><tt>0x0100113a</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Hangul_PostHanja</tt></td>
<td align="center" valign="top"><tt>0x0100113b</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Hangul_Special</tt></td>
<td align="center" valign="top"><tt>0x0100113f</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Dead_Grave</tt></td>
<td align="center" valign="top"><tt>0x01001250</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Dead_Acute</tt></td>
<td align="center" valign="top"><tt>0x01001251</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Dead_Circumflex</tt></td>
<td align="center" valign="top"><tt>0x01001252</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Dead_Tilde</tt></td>
<td align="center" valign="top"><tt>0x01001253</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Dead_Macron</tt></td>
<td align="center" valign="top"><tt>0x01001254</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Dead_Breve</tt></td>
<td align="center" valign="top"><tt>0x01001255</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Dead_Abovedot</tt></td>
<td align="center" valign="top"><tt>0x01001256</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Dead_Diaeresis</tt></td>
<td align="center" valign="top"><tt>0x01001257</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Dead_Abovering</tt></td>
<td align="center" valign="top"><tt>0x01001258</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Dead_Doubleacute</tt></td>
<td align="center" valign="top"><tt>0x01001259</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Dead_Caron</tt></td>
<td align="center" valign="top"><tt>0x0100125a</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Dead_Cedilla</tt></td>
<td align="center" valign="top"><tt>0x0100125b</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Dead_Ogonek</tt></td>
<td align="center" valign="top"><tt>0x0100125c</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Dead_Iota</tt></td>
<td align="center" valign="top"><tt>0x0100125d</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Dead_Voiced_Sound</tt></td>
<td align="center" valign="top"><tt>0x0100125e</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Dead_Semivoiced_Sound</tt></td>
<td align="center" valign="top"><tt>0x0100125f</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Dead_Belowdot</tt></td>
<td align="center" valign="top"><tt>0x01001260</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Dead_Hook</tt></td>
<td align="center" valign="top"><tt>0x01001261</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Dead_Horn</tt></td>
<td align="center" valign="top"><tt>0x01001262</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Back</tt></td>
<td align="center" valign="top"><tt>0x01000061</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Forward</tt></td>
<td align="center" valign="top"><tt>0x01000062</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Stop</tt></td>
<td align="center" valign="top"><tt>0x01000063</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Refresh</tt></td>
<td align="center" valign="top"><tt>0x01000064</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_VolumeDown</tt></td>
<td align="center" valign="top"><tt>0x01000070</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_VolumeMute</tt></td>
<td align="center" valign="top"><tt>0x01000071</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_VolumeUp</tt></td>
<td align="center" valign="top"><tt>0x01000072</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_BassBoost</tt></td>
<td align="center" valign="top"><tt>0x01000073</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_BassUp</tt></td>
<td align="center" valign="top"><tt>0x01000074</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_BassDown</tt></td>
<td align="center" valign="top"><tt>0x01000075</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_TrebleUp</tt></td>
<td align="center" valign="top"><tt>0x01000076</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_TrebleDown</tt></td>
<td align="center" valign="top"><tt>0x01000077</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_MediaPlay</tt></td>
<td align="center" valign="top"><tt>0x01000080</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_MediaStop</tt></td>
<td align="center" valign="top"><tt>0x01000081</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_MediaPrevious</tt></td>
<td align="center" valign="top"><tt>0x01000082</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_MediaNext</tt></td>
<td align="center" valign="top"><tt>0x01000083</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_MediaRecord</tt></td>
<td align="center" valign="top"><tt>0x01000084</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_HomePage</tt></td>
<td align="center" valign="top"><tt>0x01000090</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Favorites</tt></td>
<td align="center" valign="top"><tt>0x01000091</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Search</tt></td>
<td align="center" valign="top"><tt>0x01000092</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Standby</tt></td>
<td align="center" valign="top"><tt>0x01000093</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_OpenUrl</tt></td>
<td align="center" valign="top"><tt>0x01000094</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_LaunchMail</tt></td>
<td align="center" valign="top"><tt>0x010000a0</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_LaunchMedia</tt></td>
<td align="center" valign="top"><tt>0x010000a1</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Launch0</tt></td>
<td align="center" valign="top"><tt>0x010000a2</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Launch1</tt></td>
<td align="center" valign="top"><tt>0x010000a3</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Launch2</tt></td>
<td align="center" valign="top"><tt>0x010000a4</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Launch3</tt></td>
<td align="center" valign="top"><tt>0x010000a5</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Launch4</tt></td>
<td align="center" valign="top"><tt>0x010000a6</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Launch5</tt></td>
<td align="center" valign="top"><tt>0x010000a7</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Launch6</tt></td>
<td align="center" valign="top"><tt>0x010000a8</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Launch7</tt></td>
<td align="center" valign="top"><tt>0x010000a9</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Launch8</tt></td>
<td align="center" valign="top"><tt>0x010000aa</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Launch9</tt></td>
<td align="center" valign="top"><tt>0x010000ab</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_LaunchA</tt></td>
<td align="center" valign="top"><tt>0x010000ac</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_LaunchB</tt></td>
<td align="center" valign="top"><tt>0x010000ad</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_LaunchC</tt></td>
<td align="center" valign="top"><tt>0x010000ae</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_LaunchD</tt></td>
<td align="center" valign="top"><tt>0x010000af</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_LaunchE</tt></td>
<td align="center" valign="top"><tt>0x010000b0</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_LaunchF</tt></td>
<td align="center" valign="top"><tt>0x010000b1</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_MediaLast</tt></td>
<td align="center" valign="top"><tt>0x0100ffff</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_unknown</tt></td>
<td align="center" valign="top"><tt>0x01ffffff</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Call</tt></td>
<td align="center" valign="top"><tt>0x01100004</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Context1</tt></td>
<td align="center" valign="top"><tt>0x01100000</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Context2</tt></td>
<td align="center" valign="top"><tt>0x01100001</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Context3</tt></td>
<td align="center" valign="top"><tt>0x01100002</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Context4</tt></td>
<td align="center" valign="top"><tt>0x01100003</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Flip</tt></td>
<td align="center" valign="top"><tt>0x01100006</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Hangup</tt></td>
<td align="center" valign="top"><tt>0x01100005</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_No</tt></td>
<td align="center" valign="top"><tt>0x01010002</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Select</tt></td>
<td align="center" valign="top"><tt>0x01010000</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.Key_Yes</tt></td>
<td align="center" valign="top"><tt>0x01010001</tt></td>
<td valign="top"> </td>
</tr>
</table>
<br />
<br />
<p>See also <a href="qkeyevent.html#key">QKeyEvent.key</a>().</p>
<h3 class="fn"><a name="KeyboardModifier-enum" />Qt.KeyboardModifier</h3><p>This enum describes the modifier keys.</p>
<p><b>Note:</b> On Mac OS X, the <tt>ControlModifier</tt> value corresponds to the Command keys on the Macintosh keyboard, and the <tt>MetaModifier</tt> value corresponds to the Control keys.</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.NoModifier</tt></td>
<td align="center" valign="top"><tt>0x00000000</tt></td>
<td valign="top">No modifier key is pressed.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.ShiftModifier</tt></td>
<td align="center" valign="top"><tt>0x02000000</tt></td>
<td valign="top">A Shift key on the keyboard is pressed.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.ControlModifier</tt></td>
<td align="center" valign="top"><tt>0x04000000</tt></td>
<td valign="top">A Ctrl key on the keyboard is pressed.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.AltModifier</tt></td>
<td align="center" valign="top"><tt>0x08000000</tt></td>
<td valign="top">An Alt key on the keyboard is pressed.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.MetaModifier</tt></td>
<td align="center" valign="top"><tt>0x10000000</tt></td>
<td valign="top">A Meta key on the keyboard is pressed.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.KeypadModifier</tt></td>
<td align="center" valign="top"><tt>0x20000000</tt></td>
<td valign="top">A keypad button is pressed.</td>
</tr>
</table>
<br />
<br />
<p>The KeyboardModifiers type is a typedef for <a href="qflags.html">QFlags</a>&lt;KeyboardModifier&gt;. It stores an OR combination of KeyboardModifier values.</p>
<p>See also <a href="qt.html#MouseButton-enum">MouseButton</a> and <a href="qt.html#Modifier-enum">Modifier</a>.</p>
<h3 class="fn"><a name="LayoutDirection-enum" />Qt.LayoutDirection</h3><p>Specifies the direction of Qt's layouts:</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.LeftToRight</tt></td>
<td align="center" valign="top"><tt>0</tt></td>
<td valign="top">Left-to-right layout.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.RightToLeft</tt></td>
<td align="center" valign="top"><tt>1</tt></td>
<td valign="top">Right-to-left layout.</td>
</tr>
</table>
<br />
<br />
<p>Right-to-left layouts are necessary for certain languages, notably Arabic and Hebrew.</p>
<p>See also <a href="qapplication.html#layoutDirection-prop">QApplication.setLayoutDirection</a>() and <a href="qwidget.html#layoutDirection-prop">QWidget.setLayoutDirection</a>().</p>
<h3 class="fn"><a name="MatchFlag-enum" />Qt.MatchFlag</h3><p>This enum describes the type of matches that can be used when searching for items in a model.</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.MatchExactly</tt></td>
<td align="center" valign="top"><tt>0</tt></td>
<td valign="top">The value matches the item exactly.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.MatchContains</tt></td>
<td align="center" valign="top"><tt>1</tt></td>
<td valign="top">The value is contained in the item.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.MatchStartsWith</tt></td>
<td align="center" valign="top"><tt>2</tt></td>
<td valign="top">The value matches the start of the item.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.MatchEndsWith</tt></td>
<td align="center" valign="top"><tt>3</tt></td>
<td valign="top">The value matches the end of the item.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.MatchCaseSensitive</tt></td>
<td align="center" valign="top"><tt>16</tt></td>
<td valign="top">The search is case sensitive.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.MatchRegExp</tt></td>
<td align="center" valign="top"><tt>4</tt></td>
<td valign="top">The value is a regular expression.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.MatchWildcard</tt></td>
<td align="center" valign="top"><tt>5</tt></td>
<td valign="top">The value is a string with wildcards.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.MatchWrap</tt></td>
<td align="center" valign="top"><tt>32</tt></td>
<td valign="top">The search wraps around.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.MatchRecursive</tt></td>
<td align="center" valign="top"><tt>64</tt></td>
<td valign="top">The the entire hierarchy is searched.</td>
</tr>
</table>
<br />
<br />
<p>The MatchFlags type is a typedef for <a href="qflags.html">QFlags</a>&lt;MatchFlag&gt;. It stores an OR combination of MatchFlag values.</p>
<h3 class="fn"><a name="Modifier-enum" />Qt.Modifier</h3><p>This enum provides shorter names for the keyboard modifier keys supported by Qt.</p>
<p><b>Note:</b> On Mac OS X, the <tt>CTRL</tt> value corresponds to the Command keys on the Macintosh keyboard, and the <tt>META</tt> value corresponds to the Control keys.</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.SHIFT</tt></td>
<td align="center" valign="top"><tt>Qt.ShiftModifier</tt></td>
<td valign="top">The Shift keys provided on all standard keyboards.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.META</tt></td>
<td align="center" valign="top"><tt>Qt.MetaModifier</tt></td>
<td valign="top">The Meta keys.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.CTRL</tt></td>
<td align="center" valign="top"><tt>Qt.ControlModifier</tt></td>
<td valign="top">The Ctrl keys.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.ALT</tt></td>
<td align="center" valign="top"><tt>Qt.AltModifier</tt></td>
<td valign="top">The normal Alt keys, but not keys like AltGr.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.UNICODE_ACCEL</tt></td>
<td align="center" valign="top"><tt>0x00000000</tt></td>
<td valign="top">The shortcut is specified as a Unicode code point, not as a Qt Key.</td>
</tr>
</table>
<br />
<br />
<p>See also <a href="qt.html#KeyboardModifier-enum">KeyboardModifier</a> and <a href="qt.html#MouseButton-enum">MouseButton</a>.</p>
<h3 class="fn"><a name="MouseButton-enum" />Qt.MouseButton</h3><p>This enum type describes the different mouse buttons.</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.NoButton</tt></td>
<td align="center" valign="top"><tt>0x00000000</tt></td>
<td valign="top">The button state does not refer to any button (see <a href="qmouseevent.html#button">QMouseEvent.button</a>()).</td>
</tr>
<tr>
<td valign="top"><tt>Qt.LeftButton</tt></td>
<td align="center" valign="top"><tt>0x00000001</tt></td>
<td valign="top">The left button is pressed, or an event refers to the left button. (The left button may be the right button on left-handed mice.)</td>
</tr>
<tr>
<td valign="top"><tt>Qt.RightButton</tt></td>
<td align="center" valign="top"><tt>0x00000002</tt></td>
<td valign="top">The right button.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.MidButton</tt></td>
<td align="center" valign="top"><tt>0x00000004</tt></td>
<td valign="top">The middle button.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.XButton1</tt></td>
<td align="center" valign="top"><tt>0x00000008</tt></td>
<td valign="top">The first X button.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.XButton2</tt></td>
<td align="center" valign="top"><tt>0x00000010</tt></td>
<td valign="top">The second X button.</td>
</tr>
</table>
<br />
<br />
<p>The MouseButtons type is a typedef for <a href="qflags.html">QFlags</a>&lt;MouseButton&gt;. It stores an OR combination of MouseButton values.</p>
<p>See also <a href="qt.html#KeyboardModifier-enum">KeyboardModifier</a> and <a href="qt.html#Modifier-enum">Modifier</a>.</p>
<h3 class="fn"><a name="Orientation-enum" />Qt.Orientation</h3><p>This type is used to signify an object's orientation.</p>
<table border="1" cellpadding="2" cellspacing="1" width="40%">
<tr>
<th width="60%">Constant</th>
<th width="40%">Value</th>
</tr>
<tr>
<td valign="top"><tt>Qt.Horizontal</tt></td>
<td align="center" valign="top"><tt>0x1</tt></td>
</tr>
<tr>
<td valign="top"><tt>Qt.Vertical</tt></td>
<td align="center" valign="top"><tt>0x2</tt></td>
</tr>
</table>
<br />
<br />
<p>Orientation is used with <a href="qscrollbar.html">QScrollBar</a> for example.</p>
<p>The Orientations type is a typedef for <a href="qflags.html">QFlags</a>&lt;Orientation&gt;. It stores an OR combination of Orientation values.</p>
<h3 class="fn"><a name="PenCapStyle-enum" />Qt.PenCapStyle</h3><p>This enum type defines the pen cap styles supported by Qt, i.e. the line end caps that can be drawn using <a href="qpainter.html">QPainter</a>.</p>
<table align="center" border="0" cellpadding="2" cellspacing="1">
<tr bgcolor="#F0F0F0" valign="top">
<td><img src="images/qpen-square.png" /></td>
<td><img src="images/qpen-flat.png" /></td>
<td><img src="images/qpen-roundcap.png" /></td>
</tr>
<tr bgcolor="#E0E0E0" valign="top">
<td>Qt.SquareCap</td>
<td>Qt.FlatCap</td>
<td>Qt.RoundCap</td>
</tr>
</table>
<br />
<br />
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.FlatCap</tt></td>
<td align="center" valign="top"><tt>0x00</tt></td>
<td valign="top">a square line end that does not cover the end point of the line.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.SquareCap</tt></td>
<td align="center" valign="top"><tt>0x10</tt></td>
<td valign="top">a square line end that covers the end point and extends beyond it by half the line width.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.RoundCap</tt></td>
<td align="center" valign="top"><tt>0x20</tt></td>
<td valign="top">a rounded line end.</td>
</tr>
</table>
<br />
<br />
<p>See also <a href="qpen.html">QPen</a>.</p>
<h3 class="fn"><a name="PenJoinStyle-enum" />Qt.PenJoinStyle</h3><p>This enum type defines the pen join styles supported by Qt, i.e. which joins between two connected lines can be drawn using <a href="qpainter.html">QPainter</a>.</p>
<table align="center" border="0" cellpadding="2" cellspacing="1">
<tr bgcolor="#F0F0F0" valign="top">
<td><img src="images/qpen-bevel.png" /></td>
<td><img src="images/qpen-miter.png" /></td>
<td><img src="images/qpen-roundjoin.png" /></td>
</tr>
<tr bgcolor="#E0E0E0" valign="top">
<td>Qt.BevelJoin</td>
<td>Qt.MiterJoin</td>
<td>Qt.RoundJoin</td>
</tr>
</table>
<br />
<br />
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.MiterJoin</tt></td>
<td align="center" valign="top"><tt>0x00</tt></td>
<td valign="top">The outer edges of the lines are extended to meet at an angle, and this area is filled.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.BevelJoin</tt></td>
<td align="center" valign="top"><tt>0x40</tt></td>
<td valign="top">The triangular notch between the two lines is filled.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.RoundJoin</tt></td>
<td align="center" valign="top"><tt>0x80</tt></td>
<td valign="top">A circular arc between the two lines is filled.</td>
</tr>
</table>
<br />
<br />
<p>See also <a href="qpen.html">QPen</a>.</p>
<h3 class="fn"><a name="PenStyle-enum" />Qt.PenStyle</h3><p>This enum type defines the pen styles that can be drawn using <a href="qpainter.html">QPainter</a>. The styles are:</p>
<table align="center" border="0" cellpadding="2" cellspacing="1">
<tr bgcolor="#F0F0F0" valign="top">
<td><img src="images/qpen-solid.png" /></td>
<td><img src="images/qpen-dash.png" /></td>
<td><img src="images/qpen-dot.png" /></td>
</tr>
<tr bgcolor="#E0E0E0" valign="top">
<td>Qt.SolidLine</td>
<td>Qt.DashLine</td>
<td>Qt.DotLine</td>
</tr>
<tr bgcolor="#F0F0F0" valign="top">
<td><img src="images/qpen-dashdot.png" /></td>
<td><img src="images/qpen-dashdotdot.png" /></td>
<td><img src="images/qpen-custom.png" /></td>
</tr>
<tr bgcolor="#E0E0E0" valign="top">
<td>Qt.DashDotLine</td>
<td>Qt.DashDotDotLine</td>
<td>Qt.CustomDashLine</td>
</tr>
</table>
<br />
<br />
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.NoPen</tt></td>
<td align="center" valign="top"><tt>0</tt></td>
<td valign="top">no line at all. For example, <a href="qpainter.html#drawRect">QPainter.drawRect</a>() fills but does not draw any boundary line.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.SolidLine</tt></td>
<td align="center" valign="top"><tt>1</tt></td>
<td valign="top">A plain line.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.DashLine</tt></td>
<td align="center" valign="top"><tt>2</tt></td>
<td valign="top">Dashes separated by a few pixels.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.DotLine</tt></td>
<td align="center" valign="top"><tt>3</tt></td>
<td valign="top">Dots separated by a few pixels.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.DashDotLine</tt></td>
<td align="center" valign="top"><tt>4</tt></td>
<td valign="top">Alternate dots and dashes.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.DashDotDotLine</tt></td>
<td align="center" valign="top"><tt>5</tt></td>
<td valign="top">One dash, two dots, one dash, two dots.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.CustomDashLine</tt></td>
<td align="center" valign="top"><tt>6</tt></td>
<td valign="top">A custom pattern defined using <a href="qpainterpathstroker.html#setDashPattern">QPainterPathStroker.setDashPattern</a>().</td>
</tr>
</table>
<br />
<br />
<p>See also <a href="qpen.html">QPen</a>.</p>
<h3 class="fn"><a name="ScrollBarPolicy-enum" />Qt.ScrollBarPolicy</h3><p>This enum type describes the various modes of <a href="qabstractscrollarea.html">QAbstractScrollArea</a>'s scroll bars.</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.ScrollBarAsNeeded</tt></td>
<td align="center" valign="top"><tt>0</tt></td>
<td valign="top"><a href="qabstractscrollarea.html">QAbstractScrollArea</a> shows a scroll bar when the content is too large to fit and not otherwise. This is the default.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.ScrollBarAlwaysOff</tt></td>
<td align="center" valign="top"><tt>1</tt></td>
<td valign="top"><a href="qabstractscrollarea.html">QAbstractScrollArea</a> never shows a scroll bar.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.ScrollBarAlwaysOn</tt></td>
<td align="center" valign="top"><tt>2</tt></td>
<td valign="top"><a href="qabstractscrollarea.html">QAbstractScrollArea</a> always shows a scroll bar.</td>
</tr>
</table>
<br />
<br />
<p>(The modes for the horizontal and vertical scroll bars are independent.)</p>
<h3 class="fn"><a name="ShortcutContext-enum" />Qt.ShortcutContext</h3><p>For a <a href="qevent.html#Type-enum">QEvent.Shortcut</a> event to occur, the shortcut's key sequence must be entered by the user in a context where the shortcut is active. The possible contexts are these:</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.WidgetShortcut</tt></td>
<td align="center" valign="top"><tt>0</tt></td>
<td valign="top">The shortcut is only triggered when its parent widget has focus.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WindowShortcut</tt></td>
<td align="center" valign="top"><tt>1</tt></td>
<td valign="top">The shortcut is triggered when its parent widget is a logical subwidget of the active top-level window.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.ApplicationShortcut</tt></td>
<td align="center" valign="top"><tt>2</tt></td>
<td valign="top">The shortcut is triggered when the application is active.</td>
</tr>
</table>
<br />
<br />
<h3 class="fn"><a name="SortOrder-enum" />Qt.SortOrder</h3><p>This enum describes how the items in a widget are sorted.</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.AscendingOrder</tt></td>
<td align="center" valign="top"><tt>0</tt></td>
<td valign="top">The items are sorted ascending e.g. starts with 'AAA' ends with 'ZZZ' in Latin-1 locales</td>
</tr>
<tr>
<td valign="top"><tt>Qt.DescendingOrder</tt></td>
<td align="center" valign="top"><tt>1</tt></td>
<td valign="top">The items are sorted descending e.g. starts with 'ZZZ' ends with 'AAA' in Latin-1 locales</td>
</tr>
</table>
<br />
<br />
<h3 class="fn"><a name="TextElideMode-enum" />Qt.TextElideMode</h3><p>This enum specifies where the ellipsis should appear when displaying texts that don't fit:</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.ElideLeft</tt></td>
<td align="center" valign="top"><tt>0</tt></td>
<td valign="top">The ellipsis should appear at the beginning of the text.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.ElideRight</tt></td>
<td align="center" valign="top"><tt>1</tt></td>
<td valign="top">The ellipsis should appear at the end of the text.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.ElideMiddle</tt></td>
<td align="center" valign="top"><tt>2</tt></td>
<td valign="top">The ellipsis should appear in the middle of the text.</td>
</tr>
</table>
<br />
<br />
<p>Qt.ElideMiddle is normally the most appropriate choice for URLs (e.g., "<a href="http://www.trolltech.cn/newsroom/announcements/Beijing-Office-Opening.pdf">http://www.trolltech.cn/news...s/Beijing-Office-Opening.pdf</a>"), whereas Qt.ElideRight is appropriate for other strings (e.g., "<a href="http://doc.trolltech.com/qq/qq09-mac-deployment.html">Deploying Applications on Ma...</a>").</p>
<p>See also <a href="qabstractitemview.html#textElideMode-prop">QAbstractItemView.textElideMode</a>, <a href="qabstractitemdelegate.html#elidedText">QAbstractItemDelegate.elidedText</a>(), and <a href="qt.html#AlignmentFlag-enum">AlignmentFlag</a>.</p>
<h3 class="fn"><a name="TextFlag-enum" />Qt.TextFlag</h3><p>This enum type is used to define some modifier flags. Some of these flags only make sense in the context of printing:</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.TextSingleLine</tt></td>
<td align="center" valign="top"><tt>0x0100</tt></td>
<td valign="top">Treats all whitespace as spaces and prints just one line.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.TextDontClip</tt></td>
<td align="center" valign="top"><tt>0x0200</tt></td>
<td valign="top">If it's impossible to stay within the given bounds, it prints outside.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.TextExpandTabs</tt></td>
<td align="center" valign="top"><tt>0x0400</tt></td>
<td valign="top">Makes the U+0009 (ASCII tab) character move to the next tab stop.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.TextShowMnemonic</tt></td>
<td align="center" valign="top"><tt>0x0800</tt></td>
<td valign="top">Displays the string "&amp;P" as <u>P</u> (see <a href="porting4.html#qbutton">QButton</a> for an example). For an ampersand, use "&amp;&amp;".</td>
</tr>
<tr>
<td valign="top"><tt>Qt.TextWordWrap</tt></td>
<td align="center" valign="top"><tt>0x1000</tt></td>
<td valign="top">Breaks lines at appropriate points, e.g. at word boundaries.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.TextWrapAnywhere</tt></td>
<td align="center" valign="top"><tt>0x2000</tt></td>
<td valign="top">Breaks lines anywhere, even within words.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.TextHideMnemonic</tt></td>
<td align="center" valign="top"><tt>0x8000</tt></td>
<td valign="top">Same as Qt.TextShowMnemonic but doesn't draw the underlines.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.TextDontPrint</tt></td>
<td align="center" valign="top"><tt>0x4000</tt></td>
<td valign="top">Treat this text as "hidden" and don't print it.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.TextIncludeTrailingSpaces</tt></td>
<td align="center" valign="top"><tt>0x08000000</tt></td>
<td valign="top">Don't automatically delete trailing whitespace.</td>
</tr>
</table>
<br />
<br />
<p>You can use as many modifier flags as you want, except that Qt.TextSingleLine and Qt.TextWordWrap cannot be combined.</p>
<p>Flags that are inappropriate for a given use are generally ignored.</p>
<h3 class="fn"><a name="TextFormat-enum" />Qt.TextFormat</h3><p>This enum is used in widgets that can display both plain text and rich text, e.g. <a href="qlabel.html">QLabel</a>. It is used for deciding whether a text string should be interpreted as one or the other. This is normally done by passing one of the enum values to a setTextFormat() function.</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.PlainText</tt></td>
<td align="center" valign="top"><tt>0</tt></td>
<td valign="top">The text string is interpreted as a plain text string.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.RichText</tt></td>
<td align="center" valign="top"><tt>1</tt></td>
<td valign="top">The text string is interpreted as a rich text string using the current <a href="q3stylesheet.html#defaultSheet">Q3StyleSheet.defaultSheet</a>().</td>
</tr>
<tr>
<td valign="top"><tt>Qt.AutoText</tt></td>
<td align="center" valign="top"><tt>2</tt></td>
<td valign="top">The text string is interpreted as for Qt.RichText if <a href="qt.html#mightBeRichText">Qt.mightBeRichText</a>() returns true, otherwise as Qt.PlainText.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.LogText</tt></td>
<td align="center" valign="top"><tt>3</tt></td>
<td valign="top">A special, limited text format which is only used by <a href="qtextedit.html">QTextEdit</a> in an optimized mode.</td>
</tr>
</table>
<br />
<br />
<h3 class="fn"><a name="TimeSpec-enum" />Qt.TimeSpec</h3><table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.LocalTime</tt></td>
<td align="center" valign="top"><tt>0</tt></td>
<td valign="top">Locale dependent time (Timezones and Daylight Savings Time).</td>
</tr>
<tr>
<td valign="top"><tt>Qt.UTC</tt></td>
<td align="center" valign="top"><tt>1</tt></td>
<td valign="top">Coordinated Universal Time, replaces Greenwich Mean Time.</td>
</tr>
</table>
<br />
<br />
<h3 class="fn"><a name="ToolBarArea-enum" />Qt.ToolBarArea</h3><table border="1" cellpadding="2" cellspacing="1" width="40%">
<tr>
<th width="60%">Constant</th>
<th width="40%">Value</th>
</tr>
<tr>
<td valign="top"><tt>Qt.LeftToolBarArea</tt></td>
<td align="center" valign="top"><tt>0x1</tt></td>
</tr>
<tr>
<td valign="top"><tt>Qt.RightToolBarArea</tt></td>
<td align="center" valign="top"><tt>0x2</tt></td>
</tr>
<tr>
<td valign="top"><tt>Qt.TopToolBarArea</tt></td>
<td align="center" valign="top"><tt>0x4</tt></td>
</tr>
<tr>
<td valign="top"><tt>Qt.BottomToolBarArea</tt></td>
<td align="center" valign="top"><tt>0x8</tt></td>
</tr>
<tr>
<td valign="top"><tt>Qt.AllToolBarAreas</tt></td>
<td align="center" valign="top"><tt>ToolBarArea_Mask</tt></td>
</tr>
</table>
<br />
<br />
<p>The ToolBarAreas type is a typedef for <a href="qflags.html">QFlags</a>&lt;ToolBarArea&gt;. It stores an OR combination of ToolBarArea values.</p>
<h3 class="fn"><a name="ToolButtonStyle-enum" />Qt.ToolButtonStyle</h3><p>The style of the tool button, describing how the button's text and icon should be displayed.</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.ToolButtonIconOnly</tt></td>
<td align="center" valign="top"><tt>0</tt></td>
<td valign="top">Only display the icon.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.ToolButtonTextOnly</tt></td>
<td align="center" valign="top"><tt>1</tt></td>
<td valign="top">Only display the text.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.ToolButtonTextBesideIcon</tt></td>
<td align="center" valign="top"><tt>2</tt></td>
<td valign="top">The text appears beside the icon.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.ToolButtonTextUnderIcon</tt></td>
<td align="center" valign="top"><tt>3</tt></td>
<td valign="top">The text appears under the icon.</td>
</tr>
</table>
<br />
<br />
<h3 class="fn"><a name="TransformationMode-enum" />Qt.TransformationMode</h3><p>This enum type defines whether image transformations (e.g., scaling) should be smooth or not.</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.FastTransformation</tt></td>
<td align="center" valign="top"><tt>0</tt></td>
<td valign="top">The transformation is performed quickly, with no smoothing.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.SmoothTransformation</tt></td>
<td align="center" valign="top"><tt>1</tt></td>
<td valign="top">The resulting image has smoothed edges.</td>
</tr>
</table>
<br />
<br />
<p>See also <a href="qimage.html#scaled">QImage.scaled</a>().</p>
<h3 class="fn"><a name="UIEffect-enum" />Qt.UIEffect</h3><table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.UI_General</tt></td>
<td align="center" valign="top"><tt>0</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.UI_AnimateMenu</tt></td>
<td align="center" valign="top"><tt>1</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.UI_FadeMenu</tt></td>
<td align="center" valign="top"><tt>2</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.UI_AnimateCombo</tt></td>
<td align="center" valign="top"><tt>3</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.UI_AnimateTooltip</tt></td>
<td align="center" valign="top"><tt>4</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.UI_FadeTooltip</tt></td>
<td align="center" valign="top"><tt>5</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.UI_AnimateToolBox</tt></td>
<td align="center" valign="top"><tt>6</tt></td>
<td valign="top">Reserved</td>
</tr>
</table>
<br />
<br />
<p>See also <a href="qapplication.html#setEffectEnabled">QApplication.setEffectEnabled</a>().</p>
<h3 class="fn"><a name="WhiteSpaceMode-enum" />Qt.WhiteSpaceMode</h3><p>This type is only available if the QtGui module is imported.</p><p>This enum describes the types of whitespace mode that are used by the <a href="qtextdocument.html">QTextDocument</a> class to meet the requirements of different kinds of textual information.</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.WhiteSpaceNormal</tt></td>
<td align="center" valign="top"><tt>0</tt></td>
<td valign="top">The whitespace mode used to display normal word wrapped text in paragraphs.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WhiteSpacePre</tt></td>
<td align="center" valign="top"><tt>1</tt></td>
<td valign="top">A preformatted text mode in which whitespace is reproduced exactly.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WhiteSpaceNoWrap</tt></td>
<td align="center" valign="top"><tt>2</tt></td>
<td valign="top"> </td>
</tr>
</table>
<br />
<br />
<p>This enum is defined in the <tt>&lt;QTextDocument&gt;</tt> header file.</p>
<h3 class="fn"><a name="WidgetAttribute-enum" />Qt.WidgetAttribute</h3><a id="widget-attributes" name="widget-attributes" />
<p>This enum type is used to specify various widget attributes. Attributes are set and cleared with <a href="qwidget.html#setAttribute">QWidget.setAttribute</a>(), and queried with <a href="qwidget.html#testAttribute">QWidget.testAttribute</a>(), although some have special convenience functions which are mentioned below.</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_AcceptDrops</tt></td>
<td align="center" valign="top"><tt>78</tt></td>
<td valign="top">Allows data from drag and drop operations to be dropped onto the widget (see <a href="qwidget.html#acceptDrops-prop">QWidget.setAcceptDrops</a>()).</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_DeleteOnClose</tt></td>
<td align="center" valign="top"><tt>55</tt></td>
<td valign="top">Makes Qt delete this widget when the widget has accepted the close event (see <a href="qwidget.html#closeEvent">QWidget.closeEvent</a>()).</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_QuitOnClose</tt></td>
<td align="center" valign="top"><tt>76</tt></td>
<td valign="top">Makes Qt quit the application when the last widget with the attribute set has accepted closeEvent(). This behavior can be adjusted with the <a href="qapplication.html#quitOnLastWindowClosed-prop">QApplication.quitOnLastWindowClosed</a> property. By default the attribute is set for all widgets of type <a href="qt.html#WindowType-enum">Qt.Window</a>.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_KeyCompression</tt></td>
<td align="center" valign="top"><tt>33</tt></td>
<td valign="top">Enables key event compression if set, and disables it if not set. By default key compression is off, so widgets receive one key press event for each key press (or more, since autorepeat is usually on). If you turn it on and your program doesn't keep up with key input, Qt may try to compress key events so that more than one character can be processed in each event. For example, a word processor widget might receive 2, 3 or more characters in each <a href="qkeyevent.html#text">QKeyEvent.text</a>(), if the layout recalculation takes too long for the CPU. If a widget supports multiple character unicode input, it is always safe to turn the compression on. Qt performs key event compression only for printable characters. <a href="qt.html#Modifier-enum">Qt.Modifier</a> keys, cursor movement keys, function keys and miscellaneous action keys (e.g. Escape, Enter, Backspace, PrintScreen) will stop key event compression, even if there are more compressible key events available. Not all platforms support this compression, in which case turning it on will have no effect. This is set/cleared by the widget's author.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_PendingMoveEvent</tt></td>
<td align="center" valign="top"><tt>34</tt></td>
<td valign="top">Indicates that a move event is pending, e.g. when a hidden widget was moved. This is set/cleared by the Qt kernel</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_PendingResizeEvent</tt></td>
<td align="center" valign="top"><tt>35</tt></td>
<td valign="top">Indicates that a resize event is pending, e.g. when a hidden widget was resized. This is set/cleared by the Qt kernel.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_UnderMouse</tt></td>
<td align="center" valign="top"><tt>1</tt></td>
<td valign="top">Indicates that the widget is under the mouse cursor. The value is not updated correctly during drag and drop operations. There is also a getter function <a href="qwidget.html#underMouse">QWidget.underMouse</a>(). This is set/cleared by the Qt kernel.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_Disabled</tt></td>
<td align="center" valign="top"><tt>0</tt></td>
<td valign="top">Indicates that the widget is disabled, i.e. it does not receive any mouse or keyboard events. There is also a getter functions <a href="qwidget.html#enabled-prop">QWidget.isEnabled</a>(). This is set/cleared by the Qt kernel.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_ContentsPropagated</tt></td>
<td align="center" valign="top"><tt>3</tt></td>
<td valign="top">This flag is superfluous and obsolete; it no longer has any effect. Since Qt 4.1, all widgets that do not set WA_PaintOnScreen propagate their contents.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_ForceDisabled</tt></td>
<td align="center" valign="top"><tt>32</tt></td>
<td valign="top">Indicates that the widget is explicitly disabled, i.e. it will remain disabled even when all its ancestors are set to the enabled state. This implies WA_Disabled. This is set/cleared by <a href="qwidget.html#enabled-prop">QWidget.setEnabled</a>() and <a href="qwidget.html#setDisabled">QWidget.setDisabled</a>().</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_SetPalette</tt></td>
<td align="center" valign="top"><tt>36</tt></td>
<td valign="top">Indicates that the widgets has a palette of its own. This is set/cleared by <a href="qwidget.html#palette-prop">QWidget.setPalette</a>().</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_SetFont</tt></td>
<td align="center" valign="top"><tt>37</tt></td>
<td valign="top">Indicates that the widgets has a font of its own. This is set/cleared by <a href="qwidget.html#font-prop">QWidget.setFont</a>().</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_SetCursor</tt></td>
<td align="center" valign="top"><tt>38</tt></td>
<td valign="top">Indicates that the widgets has a cursor of its own. This is set/cleared by <a href="qwidget.html#cursor-prop">QWidget.setCursor</a>() and <a href="qwidget.html#cursor-prop">QWidget.unsetCursor</a>().</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_NoBackground</tt></td>
<td align="center" valign="top"><tt>WA_OpaquePaintEvent</tt></td>
<td valign="top">This value is obsolete. Use WA_OpaquePaintEvent instead.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_OpaquePaintEvent</tt></td>
<td align="center" valign="top"><tt>4</tt></td>
<td valign="top">Indicates that the widget paints all its pixels when it receives a paint event. It is thus not required for operations like updating, resizing, scrolling and focus changes to call erase the widget before generating paint events. Using WA_OpaquePaintEvent is a small optimization. It can help to reduce flicker on systems that do not provide double buffer support, and it avoids the computational cycles necessary to erase the background prior to paint. <b>Note:</b> Unlike WA_NoSystemBackground, WA_OpaquePaintEvent makes an effort to avoid transparent window backgrounds. This is set/cleared by the widget's author.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_NoSystemBackground</tt></td>
<td align="center" valign="top"><tt>9</tt></td>
<td valign="top">Indicates that the widget has no background, i.e. when the widget receives paint events, the background is not automatically repainted. <b>Note:</b> Unlike WA_OpaquePaintEvent, newly exposed areas are <i>never</i> filled with the background (e.g after showing a window for the first time the user can see "through" it until the application processes the paint events). Setting this flag implicitly disables double buffering for the widget. This is set/cleared by the widget's author.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_UpdatesDisabled</tt></td>
<td align="center" valign="top"><tt>10</tt></td>
<td valign="top">Indicates that updates are blocked (including the system background). This flag must never be set/cleared by the widget author. It is set/cleared by the Qt kernel.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_ForceUpdatesDisabled</tt></td>
<td align="center" valign="top"><tt>59</tt></td>
<td valign="top">Indicates that the widget is explicitly updates disabled, i.e. it will remain disabled even when all its ancestors are set to the updates enabled state. This implies WA_UpdatesDisabled. This is set/cleared by <a href="qwidget.html#updatesEnabled-prop">QWidget.setUpdatesEnabled</a>().</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_StaticContents</tt></td>
<td align="center" valign="top"><tt>5</tt></td>
<td valign="top">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. This is set/cleared by the widget's author.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_PaintOnScreen</tt></td>
<td align="center" valign="top"><tt>8</tt></td>
<td valign="top">Indicates that the widget wants to draw directly onto the screen. Widgets with this attribute set do not participate in composition management, i.e. they cannot be semi-transparent or shine through semi-transparent overlapping widgets. This is only supported on X11. The flag is set or cleared by the widget's author. This flag is required for rendering outside of Qt's paint system; e.g. if you need to use native X11 painting primitives.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_PaintUnclipped</tt></td>
<td align="center" valign="top"><tt>52</tt></td>
<td valign="top">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. This flag is only supported on X11 for widgets for which the WA_PaintOnScreen flag is set. The preferred way to do this in a cross platform way is to create a transparent widget that lies in front of the other widgets.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_PaintOutsidePaintEvent</tt></td>
<td align="center" valign="top"><tt>13</tt></td>
<td valign="top">Makes it possible to use <a href="qpainter.html">QPainter</a> to paint on the widget outside <a href="qwidget.html#paintEvent">paintEvent()</a>. This is not supported on Windows or Mac OS X. We recommend that you use this attribute only when porting Qt 3 code to Qt 4.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_Hover</tt></td>
<td align="center" valign="top"><tt>74</tt></td>
<td valign="top">Forces Qt to generate paint events when the mouse enters or leaves the widget. This feature is typically used when implementing custom styles; see the <a href="widgets-styles.html">Styles</a> example for details.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_WindowModified</tt></td>
<td align="center" valign="top"><tt>41</tt></td>
<td valign="top">Indicates that the window is marked as modified. On some platforms this will mean nothing, on others (including Mac OS X and Windows) the window will take a modified appearance. This is set/cleared by <a href="qwidget.html#windowModified-prop">QWidget.setWindowModified</a>().</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_Resized</tt></td>
<td align="center" valign="top"><tt>42</tt></td>
<td valign="top">Indicates that the widget has an explicit size. This is set/cleared by <a href="qwidget.html#size-prop">QWidget.resize</a>() and by <a href="qwidget.html#geometry-prop">QWidget.setGeometry</a>().</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_Moved</tt></td>
<td align="center" valign="top"><tt>43</tt></td>
<td valign="top">Indicates that the widget has an explicit position. This is set/cleared by <a href="qwidget.html#pos-prop">QWidget.move</a>() and by <a href="qwidget.html#geometry-prop">QWidget.setGeometry</a>().</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_Mapped</tt></td>
<td align="center" valign="top"><tt>11</tt></td>
<td valign="top">Indicates that the widget is mapped on screen. This is set/cleared by the Qt kernel.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_NoMouseReplay</tt></td>
<td align="center" valign="top"><tt>54</tt></td>
<td valign="top">Used for popup widgets. Indicates that the most recent mouse press event should not be replayed when the popup widget closes. The flag is set by the widget's author and cleared by the Qt kernel every time the widget receives a new mouse event.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_OutsideWSRange</tt></td>
<td align="center" valign="top"><tt>49</tt></td>
<td valign="top">Indicates that the widget is outside the valid range of the window system's coordinate system. A widget outside the valid range cannot be mapped on screen. This is set/cleared by the Qt kernel.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_MacMetalStyle</tt></td>
<td align="center" valign="top"><tt>46</tt></td>
<td valign="top">Indicates the the widget should be drawn in metal style as supported by the windowing system (only meaningfull on Mac OS X). This is set by widget's author.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_CustomWhatsThis</tt></td>
<td align="center" valign="top"><tt>47</tt></td>
<td valign="top">Indicates that the widget wants to continue operating normally in What's This mode This is set by the widget's author.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_LayoutOnEntireRect</tt></td>
<td align="center" valign="top"><tt>48</tt></td>
<td valign="top">Indicates that the widget wants <a href="qlayout.html">QLayout</a> to operate on the entire <a href="qwidget.html#rect-prop">QWidget.rect</a>(), not only on <a href="qwidget.html#contentsRect">QWidget.contentsRect</a>(). This is set by the widget's author.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_NoChildEventsForParent</tt></td>
<td align="center" valign="top"><tt>58</tt></td>
<td valign="top">Indicates that the widget does not want ChildAdded or ChildRemoved events sent to its parent. This is rarely necessary but can help to avoid automatic insertion widgets like splitters and layouts. This is set by a widget's author.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_NoChildEventsFromChildren</tt></td>
<td align="center" valign="top"><tt>39</tt></td>
<td valign="top">Indicates that the widget does not want to receive ChildAdded or ChildRemoved events sent from its children. This is set by a widget's author.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_MouseTracking</tt></td>
<td align="center" valign="top"><tt>2</tt></td>
<td valign="top">Indicates that the widget has mouse tracking enabled. See <a href="qwidget.html#mouseTracking-prop">QWidget.mouseTracking</a>.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_GroupLeader</tt></td>
<td align="center" valign="top"><tt>72</tt></td>
<td valign="top"><i>This attribute has been deprecated.</i> Use <a href="qwidget.html#windowModality-prop">QWidget.windowModality</a> instead.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_KeyboardFocusChange</tt></td>
<td align="center" valign="top"><tt>77</tt></td>
<td valign="top">Set on a toplevel window when the users changes focus with the keyboard (tab, backtab, or shortcut).</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_WindowPropagation</tt></td>
<td align="center" valign="top"><tt>80</tt></td>
<td valign="top">Makes a toplevel window inherit font and palette from its parent.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_InputMethodEnabled</tt></td>
<td align="center" valign="top"><tt>14</tt></td>
<td valign="top">Enables input methods for asian languages. Must be set when creating custom text editing widgets.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_MacNoClickThrough</tt></td>
<td align="center" valign="top"><tt>12</tt></td>
<td valign="top">Indicates that the window is only activated when clicked.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_MouseNoMask</tt></td>
<td align="center" valign="top"><tt>71</tt></td>
<td valign="top">Makes the widget receive mouse events for the entire widget regardless of the currently set mask.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_NoMousePropagation</tt></td>
<td align="center" valign="top"><tt>73</tt></td>
<td valign="top">Prohibits mouse events from being propagated to the widget's parent.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_RightToLeft</tt></td>
<td align="center" valign="top"><tt>56</tt></td>
<td valign="top">Indicates that the layout direction for the widget is right to left.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WA_ShowModal</tt></td>
<td align="center" valign="top"><tt>70</tt></td>
<td valign="top"><i>This attribute has been deprecated.</i> Use <a href="qwidget.html#windowModality-prop">QWidget.windowModality</a> instead.</td>
</tr>
</table>
<br />
<br />
<h3 class="fn"><a name="WindowModality-enum" />Qt.WindowModality</h3><a id="modal" name="modal" />
<p>This enum specifies the behavior of a modal window. A modal window is one that blocks input to other windows. Note that windows that are children of a modal window are not blocked.</p>
<p>The values are:</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.NonModal</tt></td>
<td align="center" valign="top"><tt>0</tt></td>
<td valign="top">The window is not modal and does not block input to other windows.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WindowModal</tt></td>
<td align="center" valign="top"><tt>1</tt></td>
<td valign="top">The window is modal to a single window hierarchy and blocks input to its parent window, all grandparent windows, and all siblings of its parent and grandparent windows.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.ApplicationModal</tt></td>
<td align="center" valign="top"><tt>2</tt></td>
<td valign="top">The window is modal to the application and blocks input to all windows.</td>
</tr>
</table>
<br />
<br />
<p>See also <a href="qwidget.html#windowModality-prop">QWidget.windowModality</a> and <a href="qdialog.html">QDialog</a>.</p>
<h3 class="fn"><a name="WindowState-enum" />Qt.WindowState</h3><a id="window-state" name="window-state" />
<p>This enum type is used to specify the current state of a top-level window.</p>
<p>The states are</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.WindowNoState</tt></td>
<td align="center" valign="top"><tt>0x00000000</tt></td>
<td valign="top">The window has no state set (in normal state).</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WindowMinimized</tt></td>
<td align="center" valign="top"><tt>0x00000001</tt></td>
<td valign="top">The window is minimized (i.e. iconified).</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WindowMaximized</tt></td>
<td align="center" valign="top"><tt>0x00000002</tt></td>
<td valign="top">The window is maximized with a frame around it.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WindowFullScreen</tt></td>
<td align="center" valign="top"><tt>0x00000004</tt></td>
<td valign="top">The window fills the entire screen without any frame around it.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WindowActive</tt></td>
<td align="center" valign="top"><tt>0x00000008</tt></td>
<td valign="top">The window is the active window, i.e. it has keyboard focus.</td>
</tr>
</table>
<br />
<br />
<p>The WindowStates type is a typedef for <a href="qflags.html">QFlags</a>&lt;WindowState&gt;. It stores an OR combination of WindowState values.</p>
<h3 class="fn"><a name="WindowType-enum" />Qt.WindowType</h3><a id="window-flag" name="window-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.</p>
<p>The main types are</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.Widget</tt></td>
<td align="center" valign="top"><tt>0x00000000</tt></td>
<td valign="top">This is the default type for <a href="qwidget.html">QWidget</a>. Widgets of this type are child widgets if they have a parent, and independent windows if they have no parent. See also Qt.Window and Qt.SubWindow.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.Window</tt></td>
<td align="center" valign="top"><tt>0x00000001</tt></td>
<td valign="top">Indicates that the widget is a window, usually with a window system frame and a title bar, irrespective of whether the widget has a parent or not.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.Dialog</tt></td>
<td align="center" valign="top"><tt>0x00000002 | Window</tt></td>
<td valign="top">Indicates that the widget is a window that should be decorated as a dialog (i.e., typically no maximize or minimize buttons in the title bar). This is the default type for <a href="qdialog.html">QDialog</a>. If you want to use it as a modal dialog, it should be launched from another window, or have a parent and used with the <a href="qwidget.html#windowModality-prop">QWidget.windowModality</a> property. If you make it modal, the dialog will prevent other top-level windows in the application from getting any input. We refer to a top-level window that has a parent as a <i>secondary</i> window.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.Sheet</tt></td>
<td align="center" valign="top"><tt>0x00000004 | Window</tt></td>
<td valign="top">Indicates that the widget is a Macintosh sheet.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.Drawer</tt></td>
<td align="center" valign="top"><tt>0x00000006 | Window</tt></td>
<td valign="top">Indicates that the widget is a Macintosh drawer.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.Popup</tt></td>
<td align="center" valign="top"><tt>0x00000008 | Window</tt></td>
<td valign="top">Indicates that the widget is a popup top-level window, i.e. that it is modal, but has a window system frame appropriate for popup menus.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.Tool</tt></td>
<td align="center" valign="top"><tt>0x0000000a | Window</tt></td>
<td valign="top">Indicates that the widget is 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 using Qt.WindowStaysOnTopHint 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 Qt.FramelessWindowHint.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.ToolTip</tt></td>
<td align="center" valign="top"><tt>0x0000000c | Window</tt></td>
<td valign="top">Indicates that the widget is a tooltip. This is used internally to implement <a href="qwidget.html#toolTip-prop">tooltips</a>.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.SplashScreen</tt></td>
<td align="center" valign="top"><tt>0x0000000e | Window</tt></td>
<td valign="top">Indicates that the window is a splash screen. This is the default type for <a href="qsplashscreen.html">QSplashScreen</a>.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.Desktop</tt></td>
<td align="center" valign="top"><tt>0x00000010 | Window</tt></td>
<td valign="top">Indicates that this widget is the desktop. This is the type for <a href="qdesktopwidget.html">QDesktopWidget</a>.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.SubWindow</tt></td>
<td align="center" valign="top"><tt>0x00000012</tt></td>
<td valign="top">Indicates that this widget is a child widget, irrespective of whether the widget has a parent or not.</td>
</tr>
</table>
<br />
<br />
<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:</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.MSWindowsFixedSizeDialogHint</tt></td>
<td align="center" valign="top"><tt>0x00000100</tt></td>
<td valign="top">Gives the window a thin dialog border on Windows. This style is traditionally used for fixed-size dialogs.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.MSWindowsOwnDC</tt></td>
<td align="center" valign="top"><tt>0x00000200</tt></td>
<td valign="top">Gives the window its own display context on Windows.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.X11BypassWindowManagerHint</tt></td>
<td align="center" valign="top"><tt>0x00000400</tt></td>
<td valign="top">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 <a href="qwidget.html#activateWindow">QWidget.activateWindow</a>() manually).</td>
</tr>
<tr>
<td valign="top"><tt>Qt.FramelessWindowHint</tt></td>
<td align="center" valign="top"><tt>0x00000800</tt></td>
<td valign="top">Produces a borderless window. The user cannot move or resize a borderless window via the window system. 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.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WindowTitleHint</tt></td>
<td align="center" valign="top"><tt>0x00001000</tt></td>
<td valign="top">Gives the window a title bar.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WindowSystemMenuHint</tt></td>
<td align="center" valign="top"><tt>0x00002000</tt></td>
<td valign="top">Adds a window system menu, and possibly a close button.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WindowMinimizeButtonHint</tt></td>
<td align="center" valign="top"><tt>0x00004000</tt></td>
<td valign="top">Adds a minimize button. On some platforms this implies Qt.WindowSystemMenuHint for it to work.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WindowMaximizeButtonHint</tt></td>
<td align="center" valign="top"><tt>0x00008000</tt></td>
<td valign="top">Adds a maximize button. On some platforms this implies Qt.WindowSystemMenuHint for it to work.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WindowMinMaxButtonsHint</tt></td>
<td align="center" valign="top"><tt>WindowMinimizeButtonHint | WindowMaximizeButtonHint</tt></td>
<td valign="top">Adds a minimize and a maximize button. On some platforms this implies Qt.WindowSystemMenuHint for it to work.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WindowContextHelpButtonHint</tt></td>
<td align="center" valign="top"><tt>0x00010000</tt></td>
<td valign="top">Adds a context help button to dialogs. On some platforms this implies Qt.WindowSystemMenuHint for it to work.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WindowShadeButtonHint</tt></td>
<td align="center" valign="top"><tt>0x00020000</tt></td>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top"><tt>Qt.WindowStaysOnTopHint</tt></td>
<td align="center" valign="top"><tt>0x00040000</tt></td>
<td valign="top">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 Qt.X11BypassWindowManagerHint for this flag to work correctly.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WindowType_Mask</tt></td>
<td align="center" valign="top"><tt>0x000000ff</tt></td>
<td valign="top">A mask for extracting the window type part of the window flags.</td>
</tr>
</table>
<br />
<br />
<p>Obsolete flags:</p>
<table border="1" cellpadding="2" cellspacing="1" width="100%">
<tr>
<th width="25%">Constant</th>
<th width="15%">Value</th>
<th width="60%">Description</th>
</tr>
<tr>
<td valign="top"><tt>Qt.WMouseNoMask</tt></td>
<td align="center" valign="top"><tt>0x00080000</tt></td>
<td valign="top">Use <a href="qt.html#WidgetAttribute-enum">Qt.WA_MouseNoMask</a> instead.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WDestructiveClose</tt></td>
<td align="center" valign="top"><tt>0x00100000</tt></td>
<td valign="top">Use <a href="qt.html#WidgetAttribute-enum">Qt.WA_DeleteOnClose</a> instead.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WStaticContents</tt></td>
<td align="center" valign="top"><tt>0x00200000</tt></td>
<td valign="top">Use <a href="qt.html#WidgetAttribute-enum">Qt.WA_StaticContents</a> instead.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WGroupLeader</tt></td>
<td align="center" valign="top"><tt>0x00400000</tt></td>
<td valign="top">No longer needed.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WShowModal</tt></td>
<td align="center" valign="top"><tt>0x00800000</tt></td>
<td valign="top">Use <a href="qwidget.html#windowModality-prop">QWidget.windowModality</a> instead.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WNoMousePropagation</tt></td>
<td align="center" valign="top"><tt>0x01000000</tt></td>
<td valign="top">Use <a href="qt.html#WidgetAttribute-enum">Qt.WA_NoMousePropagation</a> instead.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WType_TopLevel</tt></td>
<td align="center" valign="top"><tt>Window</tt></td>
<td valign="top">Use Qt.Window instead.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WType_Dialog</tt></td>
<td align="center" valign="top"><tt>Dialog</tt></td>
<td valign="top">Use Qt.Dialog instead.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WType_Popup</tt></td>
<td align="center" valign="top"><tt>Popup</tt></td>
<td valign="top">Use Qt.Popup instead.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WType_Desktop</tt></td>
<td align="center" valign="top"><tt>Desktop</tt></td>
<td valign="top">Use Qt.Desktop instead.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WType_Mask</tt></td>
<td align="center" valign="top"><tt>WindowType_Mask</tt></td>
<td valign="top">Use Qt.WindowType_Mask instead.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WStyle_Customize</tt></td>
<td align="center" valign="top"><tt>0</tt></td>
<td valign="top">No longer needed.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WStyle_NormalBorder</tt></td>
<td align="center" valign="top"><tt>0</tt></td>
<td valign="top">No longer needed.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WStyle_DialogBorder</tt></td>
<td align="center" valign="top"><tt>MSWindowsFixedSizeDialogHint</tt></td>
<td valign="top">Use Qt.MSWindowsFixedSizeDialogHint instead.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WStyle_NoBorder</tt></td>
<td align="center" valign="top"><tt>FramelessWindowHint</tt></td>
<td valign="top">Use Qt.FramelessWindowHint instead.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WStyle_Title</tt></td>
<td align="center" valign="top"><tt>WindowTitleHint</tt></td>
<td valign="top">Use Qt.WindowTitleHint instead.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WStyle_SysMenu</tt></td>
<td align="center" valign="top"><tt>WindowSystemMenuHint</tt></td>
<td valign="top">Use Qt.WindowSystemMenuHint instead.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WStyle_Minimize</tt></td>
<td align="center" valign="top"><tt>WindowMinimizeButtonHint</tt></td>
<td valign="top">Use Qt.WindowMinimizeButtonHint instead.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WStyle_Maximize</tt></td>
<td align="center" valign="top"><tt>WindowMaximizeButtonHint</tt></td>
<td valign="top">Use Qt.WindowMaximizeButtonHint instead.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WStyle_MinMax</tt></td>
<td align="center" valign="top"><tt>WStyle_Minimize | WStyle_Maximize</tt></td>
<td valign="top">Use Qt.WindowMinMaxButtonsHint instead.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WStyle_Tool</tt></td>
<td align="center" valign="top"><tt>Tool</tt></td>
<td valign="top">Use Qt.Tool instead.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WStyle_StaysOnTop</tt></td>
<td align="center" valign="top"><tt>WindowStaysOnTopHint</tt></td>
<td valign="top">Use Qt.WindowStaysOnTopHint instead.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WStyle_ContextHelp</tt></td>
<td align="center" valign="top"><tt>WindowContextHelpButtonHint</tt></td>
<td valign="top">Use Qt.WindowContextHelpButtonHint instead.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WPaintDesktop</tt></td>
<td align="center" valign="top"><tt>0</tt></td>
<td valign="top">No longer needed.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WPaintClever</tt></td>
<td align="center" valign="top"><tt>0</tt></td>
<td valign="top">No longer needed.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WX11BypassWM</tt></td>
<td align="center" valign="top"><tt>X11BypassWindowManagerHint</tt></td>
<td valign="top">Use Qt.X11BypassWindowManagerHint instead.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WWinOwnDC</tt></td>
<td align="center" valign="top"><tt>MSWindowsOwnDC</tt></td>
<td valign="top">Use Qt.MSWindowsOwnDC instead.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WMacSheet</tt></td>
<td align="center" valign="top"><tt>Sheet</tt></td>
<td valign="top">Use Qt.Sheet instead.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WMacDrawer</tt></td>
<td align="center" valign="top"><tt>Drawer</tt></td>
<td valign="top">Use Qt.Drawer instead.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WStyle_Splash</tt></td>
<td align="center" valign="top"><tt>SplashScreen</tt></td>
<td valign="top">Use Qt.SplashScreen instead.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WNoAutoErase</tt></td>
<td align="center" valign="top"><tt>0</tt></td>
<td valign="top">No longer needed.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WRepaintNoErase</tt></td>
<td align="center" valign="top"><tt>0</tt></td>
<td valign="top">No longer needed.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WNorthWestGravity</tt></td>
<td align="center" valign="top"><tt>WStaticContents</tt></td>
<td valign="top">Use <a href="qt.html#WidgetAttribute-enum">Qt.WA_StaticContents</a> instead.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WType_Modal</tt></td>
<td align="center" valign="top"><tt>Dialog | WShowModal</tt></td>
<td valign="top">Use Qt.Dialog and <a href="qwidget.html#windowModality-prop">QWidget.windowModality</a> instead.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WStyle_Dialog</tt></td>
<td align="center" valign="top"><tt>Dialog</tt></td>
<td valign="top">Use Qt.Dialog instead.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WStyle_NoBorderEx</tt></td>
<td align="center" valign="top"><tt>FramelessWindowHint</tt></td>
<td valign="top">Use Qt.FramelessWindowHint instead.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WResizeNoErase</tt></td>
<td align="center" valign="top"><tt>0</tt></td>
<td valign="top">No longer needed.</td>
</tr>
<tr>
<td valign="top"><tt>Qt.WMacNoSheet</tt></td>
<td align="center" valign="top"><tt>0</tt></td>
<td valign="top">No longer needed.</td>
</tr>
</table>
<br />
<br />
<p>The WindowFlags type is a typedef for <a href="qflags.html">QFlags</a>&lt;WindowType&gt;. It stores an OR combination of WindowType values.</p>
<hr /><h2>Method Documentation</h2><h3 class="fn"><a name="convertFromPlainText" /><a href="qstring.html">QString</a> Qt.convertFromPlainText (<a href="qstring.html">QString</a>&#160;<i>plain</i>, <a href="qt.html#WhiteSpaceMode-enum">WhiteSpaceMode</a>&#160;<i>mode</i>&#160;=&#160;Qt.WhiteSpacePre)</h3><p>This method is only available if the QtGui module is imported.</p><p>Converts the plain text string <i>plain</i> to an HTML-formatted paragraph while preserving most of its look.</p>
<p><i>mode</i> defines how whitespace is handled.</p>
<p>This function is defined in the <tt>&lt;QTextDocument&gt;</tt> header file.</p>
<p>See also <a href="qt.html#escape">escape</a>() and <a href="qt.html#mightBeRichText">mightBeRichText</a>().</p>
<h3 class="fn"><a name="escape" /><a href="qstring.html">QString</a> Qt.escape (<a href="qstring.html">QString</a>&#160;<i>plain</i>)</h3><p>This method is only available if the QtGui module is imported.</p><p>Converts the plain text string <i>plain</i> to a HTML string with HTML metacharacters <tt>&lt;</tt>, <tt>&gt;</tt>, and <tt>&amp;</tt> replaced by HTML entities.</p>
<p>Example:</p>
<pre>
    QString plain = "#include &lt;QtCore&gt;"
    QString html = Qt.escape(plain);
    // html == "#include &amp;lt;QtCore&amp;gt;"
</pre>
<p>This function is defined in the <tt>&lt;QTextDocument&gt;</tt> header file.</p>
<p>See also <a href="qt.html#convertFromPlainText">convertFromPlainText</a>() and <a href="qt.html#mightBeRichText">mightBeRichText</a>().</p>
<h3 class="fn"><a name="mightBeRichText" />bool Qt.mightBeRichText (<a href="qstring.html">QString</a>)</h3><p>This method is only available if the QtGui module is imported.</p><p>Returns true if the string <i>text</i> is likely to be rich text; otherwise returns false.</p>
<p>This function uses a fast and therefore simple heuristic. It mainly checks whether there is something that looks like a tag before the first line break. Although the result may be correct for common cases, there is no guarantee.</p>
<p>This function is defined in the <tt>&lt;QTextDocument&gt;</tt> header file.</p>
<address><hr /><div align="center"><table border="0" cellspacing="0" width="100%"><tr class="address"><td width="25%">PyQt&#160;4.0.1 for X11</td><td align="center" width="50%">Copyright &#169; <a href="http://www.riverbankcomputing.com">Riverbank&#160;Computing&#160;Ltd</a> and <a href="http://www.trolltech.com">Trolltech&#160;AS</a> 2006</td><td align="right" width="25%">Qt&#160;4.1.4</td></tr></table></div></address></body></html>