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 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876
|
<?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">  </td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a> · <a href="classes.html"><font color="#004faf">All Classes</font></a> · <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#AnchorPoint-enum">AnchorPoint</a></b> { AnchorLeft, AnchorHorizontalCenter, AnchorRight, AnchorTop, AnchorVerticalCenter, AnchorBottom }</li><li><div class="fn" />enum <b><a href="qt.html#ApplicationAttribute-enum">ApplicationAttribute</a></b> { AA_ImmediateWidgetCreation, AA_MSWindowsUseDirect3DByDefault, AA_DontShowIconsInMenus, AA_NativeWindows, ..., AA_CaptureMultimediaKeys }</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#Axis-enum">Axis</a></b> { XAxis, YAxis, ZAxis }</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, BlockingQueuedConnection, UniqueConnection }</li><li><div class="fn" />enum <b><a href="qt.html#ContextMenuPolicy-enum">ContextMenuPolicy</a></b> { NoContextMenu, PreventContextMenu, DefaultContextMenu, ActionsContextMenu, CustomContextMenu }</li><li><div class="fn" />enum <b><a href="qt.html#CoordinateSystem-enum">CoordinateSystem</a></b> { DeviceCoordinates, LogicalCoordinates }</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#CursorMoveStyle-enum">CursorMoveStyle</a></b> { LogicalMoveStyle, VisualMoveStyle }</li><li><div class="fn" />enum <b><a href="qt.html#CursorShape-enum">CursorShape</a></b> { ArrowCursor, UpArrowCursor, CrossCursor, WaitCursor, ..., DragLinkCursor }</li><li><div class="fn" />enum <b><a href="qt.html#DateFormat-enum">DateFormat</a></b> { TextDate, ISODate, LocalDate, SystemLocaleDate, ..., DefaultLocaleLongDate }</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, ..., NoDockWidgetArea }</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#EventPriority-enum">EventPriority</a></b> { HighEventPriority, NormalEventPriority, LowEventPriority }</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#GestureFlag-enum">GestureFlag</a></b> { DontStartGestureOnChildren, ReceivePartialGestures, IgnoredGesturesPropagateToParent }</li><li><div class="fn" />class <b><a href="qt-gestureflags.html">GestureFlags</a></b></li><li><div class="fn" />enum <b><a href="qt.html#GestureState-enum">GestureState</a></b> { GestureStarted, GestureUpdated, GestureFinished, GestureCanceled }</li><li><div class="fn" />enum <b><a href="qt.html#GestureType-enum">GestureType</a></b> { TapGesture, TapAndHoldGesture, PanGesture, PinchGesture, SwipeGesture, CustomGesture }</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> { AutoColor, ColorOnly, MonoOnly, ThresholdAlphaDither, ..., 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#InputMethodHint-enum">InputMethodHint</a></b> { ImhNone, ImhHiddenText, ImhNoAutoUppercase, ImhPreferNumbers, ..., ImhExclusiveInputMask }</li><li><div class="fn" />class <b><a href="qt-inputmethodhints.html">InputMethodHints</a></b></li><li><div class="fn" />enum <b><a href="qt.html#InputMethodQuery-enum">InputMethodQuery</a></b> { ImMicroFocus, ImFont, ImCursorPosition, ImSurroundingText, ..., ImAnchorPosition }</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> { NoItemFlags, ItemIsSelectable, ItemIsEditable, ItemIsDragEnabled, ..., 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#ItemSelectionMode-enum">ItemSelectionMode</a></b> { ContainsItemShape, IntersectsItemShape, ContainsItemBoundingRect, IntersectsItemBoundingRect }</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_CameraFocus }</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, LayoutDirectionAuto }</li><li><div class="fn" />enum <b><a href="qt.html#MaskMode-enum">MaskMode</a></b> { MaskInColor, MaskOutColor }</li><li><div class="fn" />enum <b><a href="qt.html#MatchFlag-enum">MatchFlag</a></b> { MatchExactly, MatchFixedString, MatchContains, MatchStartsWith, ..., 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, ..., XButton2 }</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#NavigationMode-enum">NavigationMode</a></b> { NavigationModeNone, NavigationModeKeypadTabOrder, NavigationModeKeypadDirectional, NavigationModeCursorAuto, NavigationModeCursorForceVisible }</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, SvgMiterJoin }</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, WidgetWithChildrenShortcut }</li><li><div class="fn" />enum <b><a href="qt.html#SizeHint-enum">SizeHint</a></b> { MinimumSize, PreferredSize, MaximumSize, MinimumDescent }</li><li><div class="fn" />enum <b><a href="qt.html#SizeMode-enum">SizeMode</a></b> { AbsoluteSize, RelativeSize }</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, ElideNone }</li><li><div class="fn" />enum <b><a href="qt.html#TextFlag-enum">TextFlag</a></b> { TextSingleLine, TextDontClip, TextExpandTabs, TextShowMnemonic, ..., TextJustificationForced }</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#TextInteractionFlag-enum">TextInteractionFlag</a></b> { NoTextInteraction, TextSelectableByMouse, TextSelectableByKeyboard, LinksAccessibleByMouse, ..., TextBrowserInteraction }</li><li><div class="fn" />class <b><a href="qt-textinteractionflags.html">TextInteractionFlags</a></b></li><li><div class="fn" />enum <b><a href="qt.html#TileRule-enum">TileRule</a></b> { StretchTile, RepeatTile, RoundTile }</li><li><div class="fn" />enum <b><a href="qt.html#TimeSpec-enum">TimeSpec</a></b> { LocalTime, UTC, OffsetFromUTC }</li><li><div class="fn" />enum <b><a href="qt.html#ToolBarArea-enum">ToolBarArea</a></b> { LeftToolBarArea, RightToolBarArea, TopToolBarArea, BottomToolBarArea, ..., NoToolBarArea }</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, ToolButtonFollowStyle }</li><li><div class="fn" />enum <b><a href="qt.html#TouchPointState-enum">TouchPointState</a></b> { TouchPointPressed, TouchPointMoved, TouchPointStationary, TouchPointReleased }</li><li><div class="fn" />class <b><a href="qt-touchpointstates.html">TouchPointStates</a></b></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_MacNoShadow }</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#WindowFrameSection-enum">WindowFrameSection</a></b> { NoSection, LeftSection, TopLeftSection, TopSection, ..., TitleBarArea }</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, ..., WindowSoftkeysRespondHint }</li></ul><h3>Static Methods</h3><ul><li><div class="fn" />QString <b><a href="qt.html#convertFromPlainText">convertFromPlainText</a></b> (QString <i>plain</i>, WhiteSpaceMode <i>mode</i> = Qt.WhiteSpacePre)</li><li><div class="fn" />QString <b><a href="qt.html#escape">escape</a></b> (QString <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><a id="qt-namespace" name="qt-namespace" />
<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 class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AlignLeft</tt></td>
<td class="topAlign"><tt>0x0001</tt></td>
<td class="topAlign">Aligns with the left edge.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AlignRight</tt></td>
<td class="topAlign"><tt>0x0002</tt></td>
<td class="topAlign">Aligns with the right edge.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AlignHCenter</tt></td>
<td class="topAlign"><tt>0x0004</tt></td>
<td class="topAlign">Centers horizontally in the available
space.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AlignJustify</tt></td>
<td class="topAlign"><tt>0x0008</tt></td>
<td class="topAlign">Justifies the text in the available
space.</td>
</tr>
</table>
<p>The vertical flags are:</p>
<table class="valuelist">
<tr class="even" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AlignTop</tt></td>
<td class="topAlign"><tt>0x0020</tt></td>
<td class="topAlign">Aligns with the top.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AlignBottom</tt></td>
<td class="topAlign"><tt>0x0040</tt></td>
<td class="topAlign">Aligns with the bottom.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AlignVCenter</tt></td>
<td class="topAlign"><tt>0x0080</tt></td>
<td class="topAlign">Centers vertically in the available
space.</td>
</tr>
</table>
<p>You can use only one of the horizontal flags at a time. There is
one two-dimensional flag:</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AlignCenter</tt></td>
<td class="topAlign"><tt>AlignVCenter | AlignHCenter</tt></td>
<td class="topAlign">Centers in both dimensions.</td>
</tr>
</table>
<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 class="valuelist">
<tr class="even" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AlignAbsolute</tt></td>
<td class="topAlign"><tt>0x0010</tt></td>
<td class="topAlign">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 class="topAlign"><tt>Qt.AlignLeading</tt></td>
<td class="topAlign"><tt>AlignLeft</tt></td>
<td class="topAlign">Synonym for Qt.AlignLeft.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AlignTrailing</tt></td>
<td class="topAlign"><tt>AlignRight</tt></td>
<td class="topAlign">Synonym for Qt.AlignRight.</td>
</tr>
</table>
<p>Masks:</p>
<table class="valuelist">
<tr>
<th class="tblConst">Constant</th>
<th class="tblVal">Value</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AlignHorizontal_Mask</tt></td>
<td class="topAlign"><tt>AlignLeft | AlignRight | AlignHCenter |
AlignJustify | AlignAbsolute</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AlignVertical_Mask</tt></td>
<td class="topAlign"><tt>AlignTop | AlignBottom |
AlignVCenter</tt></td>
</tr>
</table>
<p>Conflicting combinations of flags have undefined meanings.</p>
<p>The Alignment type is a typedef for <a href="qflags.html">QFlags</a><AlignmentFlag>. 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 class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AnchorName</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">the name attribute of the anchor. This
attribute is used when scrolling to an anchor in the document.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AnchorHref</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">the href attribute of the anchor. This
attribute is used when a link is clicked to determine what content
to load.</td>
</tr>
</table>
<h3 class="fn"><a name="AnchorPoint-enum" />Qt.AnchorPoint</h3><p>Specifies a side of a layout item that can be anchored. This is
used by <a href="qgraphicsanchorlayout.html">QGraphicsAnchorLayout</a>.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AnchorLeft</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">The left side of a layout item.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AnchorHorizontalCenter</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">A "virtual" side that is centered between the
left and the right side of a layout item.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AnchorRight</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">The right side of a layout item.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AnchorTop</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">The top side of a layout item.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AnchorVerticalCenter</tt></td>
<td class="topAlign"><tt>4</tt></td>
<td class="topAlign">A "virtual" side that is centered between the
top and the bottom side of a layout item.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AnchorBottom</tt></td>
<td class="topAlign"><tt>5</tt></td>
<td class="topAlign">The bottom side of a layout item.</td>
</tr>
</table>
<p><b>See also</b> <a href="qgraphicsanchorlayout.html">QGraphicsAnchorLayout</a>.</p>
<h3 class="fn"><a name="ApplicationAttribute-enum" />Qt.ApplicationAttribute</h3><p>This enum describes attributes that change the behavior of
application-wide features. These are enabled and disabled using
<a href="qcoreapplication.html#setAttribute">QCoreApplication.setAttribute</a>(),
and can be tested for with <a href="qcoreapplication.html#testAttribute">QCoreApplication.testAttribute</a>().</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AA_ImmediateWidgetCreation</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">Ensures that widgets are created as soon as
they are constructed. By default, resources for widgets are
allocated on demand to improve efficiency and minimize resource
usage. Setting or clearing this attribute affects widgets
constructed after the change. Setting it tells Qt to create
toplevel windows immediately. Therefore, if it is important to
minimize resource consumption, do not set this attribute.</td>
</tr>
<tr>
<td class="topAlign">
<tt>Qt.AA_MSWindowsUseDirect3DByDefault</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">This value is obsolete and has no effect.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AA_DontShowIconsInMenus</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">Actions with the Icon property won't be shown
in any menus unless specifically set by the <a href="qaction.html#iconVisibleInMenu-prop">QAction.iconVisibleInMenu</a>
property. Menus that are currently open or menus already created in
the native Mac OS X menubar <i>may not</i> pick up a change in this
attribute. Changes in the <a href="qaction.html#iconVisibleInMenu-prop">QAction.iconVisibleInMenu</a>
property will always be picked up.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AA_NativeWindows</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">Ensures that widgets have native windows.</td>
</tr>
<tr>
<td class="topAlign">
<tt>Qt.AA_DontCreateNativeWidgetSiblings</tt></td>
<td class="topAlign"><tt>4</tt></td>
<td class="topAlign">Ensures that siblings of native widgets stay
non-native unless specifically set by the <a href="qt.html#WidgetAttribute-enum">Qt.WA_NativeWindow</a>
attribute.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AA_MacPluginApplication</tt></td>
<td class="topAlign"><tt>5</tt></td>
<td class="topAlign">Stops the Qt mac application from doing
specific initializations that do not necessarily make sense when
using Qt to author a plugin. This includes avoiding loading our nib
for the main menu and not taking possession of the native menu bar.
When setting this attribute to true will also set the
AA_DontUseNativeMenuBar attribute to true.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AA_DontUseNativeMenuBar</tt></td>
<td class="topAlign"><tt>6</tt></td>
<td class="topAlign">All menubars created while this attribute is
set to true won't be used as a native menubar (e.g, the menubar at
the top of the main screen on Mac OS X or at the bottom in Windows
CE).</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AA_MacDontSwapCtrlAndMeta</tt></td>
<td class="topAlign"><tt>7</tt></td>
<td class="topAlign">On Mac OS X by default, Qt swaps the Control
and Meta (Command) keys (i.e., whenever Control is pressed, Qt
sends Meta, and whenever Meta is pressed Control is sent). When
this attribute is true, Qt will not do the flip.
QKeySequence.StandardShortcuts will also flip accordingly (i.e.,
<a href="qkeysequence.html#StandardKey-enum">QKeySequence.Copy</a>
will be Command+C on the keyboard regardless of the value set,
though what is output for QKeySequence.toString(<a href="qkeysequence.html#SequenceFormat-enum">QKeySequence.PortableText</a>)
will be different).</td>
</tr>
<tr>
<td class="topAlign">
<tt>Qt.AA_S60DontConstructApplicationPanes</tt></td>
<td class="topAlign"><tt>8</tt></td>
<td class="topAlign">Stops Qt from initializing the S60 status pane
and softkey pane on Symbian. This is useful to save memory and
reduce startup time for applications that will run in fullscreen
mode during their whole lifetime. This attribute must be set before
<a href="qapplication.html">QApplication</a> is constructed.</td>
</tr>
<tr>
<td class="topAlign">
<tt>Qt.AA_S60DisablePartialScreenInputMode</tt></td>
<td class="topAlign"><tt>9</tt></td>
<td class="topAlign">By default in Symbian^3, a separate editing
window is opened on top of an application. This is exactly like
editing on previous versions of Symbian behave. When this attribute
is false, a non-fullscreen virtual keyboard window is shown on top
of application and it is ensured that the focused text input widget
is visible. The auto-translation of input widget is only supported
for applications based on <a href="qgraphicsview.html">QGraphicsView</a>, but the non-fullscreen
virtual keyboard will work for any kind of application (i.e.
QWidgets-based). By default this attribute is true. This attribute
must be set after <a href="qapplication.html">QApplication</a> is
constructed. This is only supported in Symbian^3 and later Symbian
releases.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AA_X11InitThreads</tt></td>
<td class="topAlign"><tt>10</tt></td>
<td class="topAlign">Calls XInitThreads() as part of the <a href="qapplication.html">QApplication</a> construction in order to make
Xlib calls thread-safe. This attribute must be set before <a href="qapplication.html">QApplication</a> is constructed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AA_CaptureMultimediaKeys</tt></td>
<td class="topAlign"><tt>11</tt></td>
<td class="topAlign">Enables application to receive multimedia key
events (play, next, previous etc). This includes also external
sources such as headsets. Application can not use Remote Control
framework on Symbian if this attribute is set. On Symbian,
multimedia key event routing may vary between different devices.
For example, application on background may receive multimedia key
events only if it has active audio stream i.e. it is playing music
or video. This attribute must be set before <a href="qapplication.html">QApplication</a> is constructed. This attribute
is only supported in Symbian platform.</td>
</tr>
</table>
<h3 class="fn"><a name="ArrowType-enum" />Qt.ArrowType</h3><table class="valuelist">
<tr>
<th class="tblConst">Constant</th>
<th class="tblVal">Value</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.NoArrow</tt></td>
<td class="topAlign"><tt>0</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.UpArrow</tt></td>
<td class="topAlign"><tt>1</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.DownArrow</tt></td>
<td class="topAlign"><tt>2</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.LeftArrow</tt></td>
<td class="topAlign"><tt>3</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.RightArrow</tt></td>
<td class="topAlign"><tt>4</tt></td>
</tr>
</table>
<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 class="centerAlign"><img alt="" src="images/qimage-scaling.png" /></p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.IgnoreAspectRatio</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">The size is scaled freely. The aspect ratio is
not preserved.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.KeepAspectRatio</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">The size is scaled to a rectangle as large as
possible inside a given rectangle, preserving the aspect
ratio.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.KeepAspectRatioByExpanding</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">The size is scaled to a rectangle as small as
possible outside a given rectangle, preserving the aspect
ratio.</td>
</tr>
</table>
<p><b>See also</b> <a href="qsize.html#scale">QSize.scale</a>()
and <a href="qimage.html#scaled">QImage.scaled</a>().</p>
<h3 class="fn"><a name="Axis-enum" />Qt.Axis</h3><p>This enum type defines three values to represent the three axes
in the cartesian coordinate system.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.XAxis</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">The X axis.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.YAxis</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">The Y axis.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ZAxis</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">The Z axis.</td>
</tr>
</table>
<p><b>See also</b> <a href="qtransform.html#rotate">QTransform.rotate</a>() and <a href="qtransform.html#rotateRadians">QTransform.rotateRadians</a>().</p>
<h3 class="fn"><a name="BGMode-enum" />Qt.BGMode</h3><p>Background mode:</p>
<table class="valuelist">
<tr>
<th class="tblConst">Constant</th>
<th class="tblVal">Value</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TransparentMode</tt></td>
<td class="topAlign"><tt>0</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.OpaqueMode</tt></td>
<td class="topAlign"><tt>1</tt></td>
</tr>
</table>
<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 class="centerAlign"><img alt="Brush Styles" src="images/brush-styles.png" /></p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.NoBrush</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">No brush pattern.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.SolidPattern</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">Uniform color.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Dense1Pattern</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">Extremely dense brush pattern.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Dense2Pattern</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">Very dense brush pattern.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Dense3Pattern</tt></td>
<td class="topAlign"><tt>4</tt></td>
<td class="topAlign">Somewhat dense brush pattern.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Dense4Pattern</tt></td>
<td class="topAlign"><tt>5</tt></td>
<td class="topAlign">Half dense brush pattern.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Dense5Pattern</tt></td>
<td class="topAlign"><tt>6</tt></td>
<td class="topAlign">Somewhat sparse brush pattern.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Dense6Pattern</tt></td>
<td class="topAlign"><tt>7</tt></td>
<td class="topAlign">Very sparse brush pattern.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Dense7Pattern</tt></td>
<td class="topAlign"><tt>8</tt></td>
<td class="topAlign">Extremely sparse brush pattern.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.HorPattern</tt></td>
<td class="topAlign"><tt>9</tt></td>
<td class="topAlign">Horizontal lines.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.VerPattern</tt></td>
<td class="topAlign"><tt>10</tt></td>
<td class="topAlign">Vertical lines.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.CrossPattern</tt></td>
<td class="topAlign"><tt>11</tt></td>
<td class="topAlign">Crossing horizontal and vertical lines.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.BDiagPattern</tt></td>
<td class="topAlign"><tt>12</tt></td>
<td class="topAlign">Backward diagonal lines.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.FDiagPattern</tt></td>
<td class="topAlign"><tt>13</tt></td>
<td class="topAlign">Forward diagonal lines.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.DiagCrossPattern</tt></td>
<td class="topAlign"><tt>14</tt></td>
<td class="topAlign">Crossing diagonal lines.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.LinearGradientPattern</tt></td>
<td class="topAlign"><tt>15</tt></td>
<td class="topAlign">Linear gradient (set using a dedicated
<a href="qbrush.html">QBrush</a> constructor).</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ConicalGradientPattern</tt></td>
<td class="topAlign"><tt>17</tt></td>
<td class="topAlign">Conical gradient (set using a dedicated
<a href="qbrush.html">QBrush</a> constructor).</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.RadialGradientPattern</tt></td>
<td class="topAlign"><tt>16</tt></td>
<td class="topAlign">Radial gradient (set using a dedicated
<a href="qbrush.html">QBrush</a> constructor).</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TexturePattern</tt></td>
<td class="topAlign"><tt>24</tt></td>
<td class="topAlign">Custom pattern (see <a href="qbrush.html#setTexture">QBrush.setTexture</a>()).</td>
</tr>
</table>
<p><b>See also</b> <a href="qbrush.html">QBrush</a>.</p>
<h3 class="fn"><a name="CaseSensitivity-enum" />Qt.CaseSensitivity</h3><table class="valuelist">
<tr>
<th class="tblConst">Constant</th>
<th class="tblVal">Value</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.CaseInsensitive</tt></td>
<td class="topAlign"><tt>0</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.CaseSensitive</tt></td>
<td class="topAlign"><tt>1</tt></td>
</tr>
</table>
<h3 class="fn"><a name="CheckState-enum" />Qt.CheckState</h3><p>This enum describes the state of checkable items, controls, and
widgets.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Unchecked</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">The item is unchecked.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.PartiallyChecked</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">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 class="topAlign"><tt>Qt.Checked</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">The item is checked.</td>
</tr>
</table>
<p><b>See also</b> <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 class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.NoClip</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">This operation turns clipping off.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ReplaceClip</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">Replaces the current clip path/rect/region
with the one supplied in the function call.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.IntersectClip</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">Intersects the current clip path/rect/region
with the one supplied in the function call.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.UniteClip</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">Unites the current clip path/rect/region with
the one supplied in the function call.</td>
</tr>
</table>
<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 class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AutoConnection</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">(default) If the signal is emitted from a
different thread than the receiving object, the signal is queued,
behaving as Qt.QueuedConnection. Otherwise, the slot is invoked
directly, behaving as Qt.DirectConnection. The type of connection
is determined when the signal is emitted.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.DirectConnection</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">The slot is invoked immediately, when the
signal is emitted.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.QueuedConnection</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">The slot is invoked when control returns to
the event loop of the receiver's thread. The slot is executed in
the receiver's thread.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.BlockingQueuedConnection</tt></td>
<td class="topAlign"><tt>4</tt></td>
<td class="topAlign">Same as QueuedConnection, except the current
thread blocks until the slot returns. This connection type should
only be used where the emitter and receiver are in different
threads. <b>Note:</b> Violating this rule can cause your
application to deadlock.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.UniqueConnection</tt></td>
<td class="topAlign"><tt>0x80</tt></td>
<td class="topAlign">Same as AutoConnection, but the connection is
made only if it does not duplicate an existing connection. i.e., if
the same signal is already connected to the same slot for the same
pair of objects, then the connection will fail. This connection
type was introduced in Qt 4.6.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AutoCompatConnection</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">The default type when Qt 3 support is enabled.
Same as AutoConnection but will also cause warnings to be output in
certain situations. See <a href="porting4.html#compatibility-signals-and-slots">Compatibility
Signals and Slots</a> for further information.</td>
</tr>
</table>
<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 class="cpp">
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>When using signals and slots with multiple threads, see <a href="threads-qobject.html#signals-and-slots-across-threads">Signals and
Slots Across Threads</a>.</p>
<p><b>See also</b> <a href="threads.html">Thread Support in Qt</a>,
<a href="qobject.html#connect">QObject.connect</a>(), <a href="qmetatype.html#qRegisterMetaType">qRegisterMetaType</a>(), and
<a href="qmetatype.html#Q_DECLARE_METATYPE">Q_DECLARE_METATYPE</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 class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.NoContextMenu</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">the widget does not feature a context menu,
context menu handling is deferred to the widget's parent.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.PreventContextMenu</tt></td>
<td class="topAlign"><tt>4</tt></td>
<td class="topAlign">the widget does not feature a context menu,
and in contrast to <tt>NoContextMenu</tt>, the handling is
<i>not</i> deferred to the widget's parent. This means that all
right mouse button events are guaranteed to be delivered to the
widget itself through mousePressEvent(), and
mouseReleaseEvent().</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.DefaultContextMenu</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">the widget's <a href="qwidget.html#contextMenuEvent">QWidget.contextMenuEvent</a>()
handler is called.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ActionsContextMenu</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">the widget displays its <a href="qwidget.html#actions">QWidget.actions</a>() as context menu.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.CustomContextMenu</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">the widget emits the <a href="qwidget.html#customContextMenuRequested">QWidget.customContextMenuRequested</a>()
signal.</td>
</tr>
</table>
<h3 class="fn"><a name="CoordinateSystem-enum" />Qt.CoordinateSystem</h3><p>This enum specifies the coordinate system.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.DeviceCoordinates</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">Coordinates are relative to the upper-left
corner of the object's paint device.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.LogicalCoordinates</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">Coordinates are relative to the upper-left
corner of the object.</td>
</tr>
</table>
<p>This enum was introduced or modified in Qt 4.6.</p>
<h3 class="fn"><a name="Corner-enum" />Qt.Corner</h3><p>This enum type specifies a corner in a rectangle:</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TopLeftCorner</tt></td>
<td class="topAlign"><tt>0x00000</tt></td>
<td class="topAlign">The top-left corner of the rectangle.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TopRightCorner</tt></td>
<td class="topAlign"><tt>0x00001</tt></td>
<td class="topAlign">The top-right corner of the rectangle.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.BottomLeftCorner</tt></td>
<td class="topAlign"><tt>0x00002</tt></td>
<td class="topAlign">The bottom-left corner of the rectangle.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.BottomRightCorner</tt></td>
<td class="topAlign"><tt>0x00003</tt></td>
<td class="topAlign">The bottom-right corner of the rectangle.</td>
</tr>
</table>
<h3 class="fn"><a name="CursorMoveStyle-enum" />Qt.CursorMoveStyle</h3><p>This enum describes the movement style available to text
cursors. The options are:</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.LogicalMoveStyle</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">Within a left-to-right text block, decrease
cursor position when pressing left arrow key, increase cursor
position when pressing the right arrow key. If the text block is
right-to-left, the opposite behavior applies.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.VisualMoveStyle</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">Pressing the left arrow key will always cause
the cursor to move left, regardless of the text's writing
direction. Pressing the right arrow key will always cause the
cursor to move right.</td>
</tr>
</table>
<p>This enum was introduced or modified in Qt 4.8.</p>
<h3 class="fn"><a name="CursorShape-enum" />Qt.CursorShape</h3><p>This enum type defines the various cursors that can be used.</p>
<p>The standard arrow cursor is the default for widgets in a normal
state.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ArrowCursor</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign"><img alt="" src="images/cursor-arrow.png" />
The standard arrow cursor.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.UpArrowCursor</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign"><img alt="" src="images/cursor-uparrow.png" />
An arrow pointing upwards toward the top of the screen.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.CrossCursor</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign"><img alt="" src="images/cursor-cross.png" /> A
crosshair cursor, typically used to help the user accurately select
a point on the screen.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WaitCursor</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign"><img alt="" src="images/cursor-wait.png" /> An
hourglass or watch cursor, usually shown during operations that
prevent the user from interacting with the application.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.IBeamCursor</tt></td>
<td class="topAlign"><tt>4</tt></td>
<td class="topAlign"><img alt="" src="images/cursor-ibeam.png" /> A
caret or ibeam cursor, indicating that a widget can accept and
display text input.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.SizeVerCursor</tt></td>
<td class="topAlign"><tt>5</tt></td>
<td class="topAlign"><img alt="" src="images/cursor-sizev.png" /> A
cursor used for elements that are used to vertically resize
top-level windows.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.SizeHorCursor</tt></td>
<td class="topAlign"><tt>6</tt></td>
<td class="topAlign"><img alt="" src="images/cursor-sizeh.png" /> A
cursor used for elements that are used to horizontally resize
top-level windows.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.SizeBDiagCursor</tt></td>
<td class="topAlign"><tt>7</tt></td>
<td class="topAlign"><img alt="" src="images/cursor-sizeb.png" /> A
cursor used for elements that are used to diagonally resize
top-level windows at their top-right and bottom-left corners.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.SizeFDiagCursor</tt></td>
<td class="topAlign"><tt>8</tt></td>
<td class="topAlign"><img alt="" src="images/cursor-sizef.png" /> A
cursor used for elements that are used to diagonally resize
top-level windows at their top-left and bottom-right corners.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.SizeAllCursor</tt></td>
<td class="topAlign"><tt>9</tt></td>
<td class="topAlign"><img alt="" src="images/cursor-sizeall.png" />
A cursor used for elements that are used to resize top-level
windows in any direction.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.BlankCursor</tt></td>
<td class="topAlign"><tt>10</tt></td>
<td class="topAlign">A blank/invisible cursor, typically used when
the cursor shape needs to be hidden.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.SplitVCursor</tt></td>
<td class="topAlign"><tt>11</tt></td>
<td class="topAlign"><img alt="" src="images/cursor-vsplit.png" />
A cursor used for vertical splitters, indicating that a handle can
be dragged horizontally to adjust the use of available space.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.SplitHCursor</tt></td>
<td class="topAlign"><tt>12</tt></td>
<td class="topAlign"><img alt="" src="images/cursor-hsplit.png" />
A cursor used for horizontal splitters, indicating that a handle
can be dragged vertically to adjust the use of available
space.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.PointingHandCursor</tt></td>
<td class="topAlign"><tt>13</tt></td>
<td class="topAlign"><img alt="" src="images/cursor-hand.png" /> A
pointing hand cursor that is typically used for clickable elements
such as hyperlinks.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ForbiddenCursor</tt></td>
<td class="topAlign"><tt>14</tt></td>
<td class="topAlign"><img alt="" src="images/cursor-forbidden.png" /> A slashed circle cursor, typically used during drag and drop
operations to indicate that dragged content cannot be dropped on
particular widgets or inside certain regions.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.OpenHandCursor</tt></td>
<td class="topAlign"><tt>17</tt></td>
<td class="topAlign"><img alt="" src="images/cursor-openhand.png" /> A cursor representing an open hand, typically used to
indicate that the area under the cursor is the visible part of a
canvas that the user can click and drag in order to scroll
around.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ClosedHandCursor</tt></td>
<td class="topAlign"><tt>18</tt></td>
<td class="topAlign"><img alt="" src="images/cursor-closedhand.png" /> A cursor representing a closed hand, typically used to
indicate that a dragging operation is in progress that involves
scrolling.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WhatsThisCursor</tt></td>
<td class="topAlign"><tt>15</tt></td>
<td class="topAlign"><img alt="" src="images/cursor-whatsthis.png" /> An arrow with a question mark, typically used to indicate the
presence of What's This? help for a widget.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.BusyCursor</tt></td>
<td class="topAlign"><tt>16</tt></td>
<td class="topAlign"><img alt="" src="images/cursor-wait.png" /> An
hourglass or watch cursor, usually shown during operations that
allow the user to interact with the application while they are
performed in the background.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.DragMoveCursor</tt></td>
<td class="topAlign"><tt>20</tt></td>
<td class="topAlign">A cursor that is usually used when dragging an
item.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.DragCopyCursor</tt></td>
<td class="topAlign"><tt>19</tt></td>
<td class="topAlign">A cursor that is usually used when dragging an
item to copy it.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.DragLinkCursor</tt></td>
<td class="topAlign"><tt>21</tt></td>
<td class="topAlign">A cursor that is usually used when dragging an
item to make a link to it.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.BitmapCursor</tt></td>
<td class="topAlign"><tt>24</tt></td>
<td class="topAlign"> </td>
</tr>
</table>
<h3 class="fn"><a name="DateFormat-enum" />Qt.DateFormat</h3><table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TextDate</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">The default Qt format, which includes the day
and month name, the day number in the month, and the year in full.
The day and month names will be short, localized names. This is
basically equivalent to using the date format string, "ddd MMM d
yyyy". See <a href="qdate.html#toString">QDate.toString</a>() for
more information.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ISODate</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign"><a href="http://www.iso.org/iso/date_and_time_format">ISO 8601</a> extended
format: either <tt>YYYY-MM-DD</tt> for dates or
<tt>YYYY-MM-DDTHH:mm:ss</tt>, <tt>YYYY-MM-DDTHH:mm:ssTZD</tt>
(e.g., 1997-07-16T19:20:30+01:00) for combined dates and
times.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.SystemLocaleShortDate</tt></td>
<td class="topAlign">?</td>
<td class="topAlign">The <a href="qlocale.html#FormatType-enum">short format</a> used by the
<a href="qlocale.html#system">operating system</a>.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.SystemLocaleLongDate</tt></td>
<td class="topAlign">?</td>
<td class="topAlign">The <a href="qlocale.html#FormatType-enum">long format</a> used by the <a href="qlocale.html#system">operating system</a>.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.DefaultLocaleShortDate</tt></td>
<td class="topAlign">?</td>
<td class="topAlign">The <a href="qlocale.html#FormatType-enum">short format</a> specified by the
<a href="qlocale.html#setDefault">application's locale</a>.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.DefaultLocaleLongDate</tt></td>
<td class="topAlign">?</td>
<td class="topAlign">The <a href="qlocale.html#FormatType-enum">long format</a> used by the <a href="qlocale.html#setDefault">application's locale</a>.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.SystemLocaleDate</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign"><i>This enum value is deprecated.</i> Use
Qt.SystemLocaleShortDate instead (or Qt.SystemLocaleLongDate if
you want long dates).</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.LocaleDate</tt></td>
<td class="topAlign">?</td>
<td class="topAlign"><i>This enum value is deprecated.</i> Use
Qt.DefaultLocaleShortDate instead (or Qt.DefaultLocaleLongDate if
you want long dates).</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.LocalDate</tt></td>
<td class="topAlign"><tt>SystemLocaleDate</tt></td>
<td class="topAlign"><i>This enum value is deprecated.</i> Use
Qt.SystemLocaleShortDate instead (or Qt.SystemLocaleLongDate if
you want long dates).</td>
</tr>
</table>
<p><b>Note:</b> For <tt>ISODate</tt> formats, each <tt>Y</tt>,
<tt>M</tt> and <tt>D</tt> represents a single digit of the year,
month and day used to specify the date. Each <tt>H</tt>, <tt>M</tt>
and <tt>S</tt> represents a single digit of the hour, minute and
second used to specify the time. The presence of a literal
<tt>T</tt> character is used to separate the date and time when
both are specified.</p>
<h3 class="fn"><a name="DayOfWeek-enum" />Qt.DayOfWeek</h3><table class="valuelist">
<tr>
<th class="tblConst">Constant</th>
<th class="tblVal">Value</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Monday</tt></td>
<td class="topAlign"><tt>1</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Tuesday</tt></td>
<td class="topAlign"><tt>2</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Wednesday</tt></td>
<td class="topAlign"><tt>3</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Thursday</tt></td>
<td class="topAlign"><tt>4</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Friday</tt></td>
<td class="topAlign"><tt>5</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Saturday</tt></td>
<td class="topAlign"><tt>6</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Sunday</tt></td>
<td class="topAlign"><tt>7</tt></td>
</tr>
</table>
<h3 class="fn"><a name="DockWidgetArea-enum" />Qt.DockWidgetArea</h3><table class="valuelist">
<tr>
<th class="tblConst">Constant</th>
<th class="tblVal">Value</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.LeftDockWidgetArea</tt></td>
<td class="topAlign"><tt>0x1</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.RightDockWidgetArea</tt></td>
<td class="topAlign"><tt>0x2</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TopDockWidgetArea</tt></td>
<td class="topAlign"><tt>0x4</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.BottomDockWidgetArea</tt></td>
<td class="topAlign"><tt>0x8</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AllDockWidgetAreas</tt></td>
<td class="topAlign"><tt>DockWidgetArea_Mask</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.NoDockWidgetArea</tt></td>
<td class="topAlign"><tt>0</tt></td>
</tr>
</table>
<p>The DockWidgetAreas type is a typedef for <a href="qflags.html">QFlags</a><DockWidgetArea>. It stores an OR
combination of DockWidgetArea values.</p>
<h3 class="fn"><a name="DropAction-enum" />Qt.DropAction</h3><table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.CopyAction</tt></td>
<td class="topAlign"><tt>0x1</tt></td>
<td class="topAlign">Copy the data to the target.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MoveAction</tt></td>
<td class="topAlign"><tt>0x2</tt></td>
<td class="topAlign">Move the data from the source to the
target.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.LinkAction</tt></td>
<td class="topAlign"><tt>0x4</tt></td>
<td class="topAlign">Create a link from the source to the
target.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ActionMask</tt></td>
<td class="topAlign"><tt>0xff</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.IgnoreAction</tt></td>
<td class="topAlign"><tt>0x0</tt></td>
<td class="topAlign">Ignore the action (do nothing with the
data).</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TargetMoveAction</tt></td>
<td class="topAlign"><tt>0x8002</tt></td>
<td class="topAlign">On Windows, this value is used when the
ownership of the D&D data should be taken over by the target
application, i.e., the source application should not delete the
data.<br />
On X11 this value is used to do a move.<br />
TargetMoveAction is not used on the Mac.</td>
</tr>
</table>
<p>The DropActions type is a typedef for <a href="qflags.html">QFlags</a><DropAction>. It stores an OR
combination of DropAction values.</p>
<h3 class="fn"><a name="EventPriority-enum" />Qt.EventPriority</h3><p>This enum can be used to specify event priorities.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.HighEventPriority</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">Events with this priority are sent before
events with NormalEventPriority or LowEventPriority.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.NormalEventPriority</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">Events with this priority are sent after
events with HighEventPriority, but before events with
LowEventPriority.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.LowEventPriority</tt></td>
<td class="topAlign"><tt>-1</tt></td>
<td class="topAlign">Events with this priority are sent after
events with HighEventPriority or NormalEventPriority.</td>
</tr>
</table>
<p>Note that these values are provided purely for convenience,
since event priorities can be any value between <tt>INT_MAX</tt>
and <tt>INT_MIN</tt>, inclusive. For example, you can define custom
priorities as being relative to each other:</p>
<pre class="cpp">
<span class="keyword">enum</span> CustomEventPriority
{
<span class="comment">// An important event</span>
ImportantEventPriority <span class="operator">=</span> <span class="type"><a href="qt.html">Qt</a></span><span class="operator">.</span>HighEventPriority<span class="operator">,</span>
<span class="comment">// A more important event</span>
MoreImportantEventPriority <span class="operator">=</span> ImportantEventPriority <span class="operator">+</span> <span class="number">1</span><span class="operator">,</span>
<span class="comment">// A critical event</span>
CriticalEventPriority <span class="operator">=</span> <span class="number">100</span> <span class="operator">*</span> MoreImportantEventPriority<span class="operator">,</span>
<span class="comment">// Not that important</span>
StatusEventPriority <span class="operator">=</span> <span class="type"><a href="qt.html">Qt</a></span><span class="operator">.</span>LowEventPriority<span class="operator">,</span>
<span class="comment">// These are less important than Status events</span>
IdleProcessingDoneEventPriority <span class="operator">=</span> StatusEventPriority <span class="operator">-</span> <span class="number">1</span>
};
</pre>
<p><b>See also</b> <a href="qcoreapplication.html#postEvent">QCoreApplication.postEvent</a>().</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 class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.OddEvenFill</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">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 class="topAlign"><tt>Qt.WindingFill</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">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>
<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 class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TabFocus</tt></td>
<td class="topAlign"><tt>0x1</tt></td>
<td class="topAlign">the widget accepts focus by tabbing.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ClickFocus</tt></td>
<td class="topAlign"><tt>0x2</tt></td>
<td class="topAlign">the widget accepts focus by clicking.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.StrongFocus</tt></td>
<td class="topAlign"><tt>TabFocus | ClickFocus | 0x8</tt></td>
<td class="topAlign">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 class="topAlign"><tt>Qt.WheelFocus</tt></td>
<td class="topAlign"><tt>StrongFocus | 0x4</tt></td>
<td class="topAlign">like Qt.StrongFocus plus the widget accepts
focus by using the mouse wheel.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.NoFocus</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">the widget does not accept focus.</td>
</tr>
</table>
<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 class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MouseFocusReason</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">A mouse action occurred.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TabFocusReason</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">The Tab key was pressed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.BacktabFocusReason</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">A Backtab occurred. The input for this may
include the Shift or Control keys; e.g. Shift+Tab.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ActiveWindowFocusReason</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">The window system made this window either
active or inactive.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.PopupFocusReason</tt></td>
<td class="topAlign"><tt>4</tt></td>
<td class="topAlign">The application opened/closed a pop-up that
grabbed/released the keyboard focus.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ShortcutFocusReason</tt></td>
<td class="topAlign"><tt>5</tt></td>
<td class="topAlign">The user typed a label's buddy shortcut</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MenuBarFocusReason</tt></td>
<td class="topAlign"><tt>6</tt></td>
<td class="topAlign">The menu bar took focus.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.OtherFocusReason</tt></td>
<td class="topAlign"><tt>7</tt></td>
<td class="topAlign">Another reason, usually
application-specific.</td>
</tr>
</table>
<p><b>See also</b> <a href="focus.html">Keyboard Focus</a>.</p>
<h3 class="fn"><a name="GestureFlag-enum" />Qt.GestureFlag</h3><p>This enum type describes additional flags that can be used when
subscribing to a gesture.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.DontStartGestureOnChildren</tt></td>
<td class="topAlign"><tt>0x01</tt></td>
<td class="topAlign">By default gestures can start on the widget or
over any of its children. Use this flag to disable this and allow a
gesture to start on the widget only.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ReceivePartialGestures</tt></td>
<td class="topAlign"><tt>0x02</tt></td>
<td class="topAlign">Allows any ignored gesture events to be
propagated to parent widgets which have specified this hint. By
default only gestures that are in the <a href="qt.html#GestureState-enum">Qt.GestureStarted</a> state are
propagated and the widget always gets the full gesture sequence
starting with a gesture in the <a href="qt.html#GestureState-enum">Qt.GestureStarted</a> state and ending
with a gesture in the <a href="qt.html#GestureState-enum">Qt.GestureFinished</a> or <a href="qt.html#GestureState-enum">Qt.GestureCanceled</a> states.</td>
</tr>
<tr>
<td class="topAlign">
<tt>Qt.IgnoredGesturesPropagateToParent</tt></td>
<td class="topAlign"><tt>0x04</tt></td>
<td class="topAlign">Since Qt 4.7, this flag allows you to
fine-tune gesture event propagation. By setting the flag when
<a href="qgraphicsobject.html#grabGesture">grabbing</a> a gesture
all ignored partial gestures will propagate to their parent
items.</td>
</tr>
</table>
<p>This enum was introduced or modified in Qt 4.6.</p>
<p>The GestureFlags type is a typedef for <a href="qflags.html">QFlags</a><GestureFlag>. It stores an OR
combination of GestureFlag values.</p>
<p><b>See also</b> <a href="qwidget.html#grabGesture">QWidget.grabGesture</a>() and <a href="qgraphicsobject.html#grabGesture">QGraphicsObject.grabGesture</a>().</p>
<h3 class="fn"><a name="GestureState-enum" />Qt.GestureState</h3><p>This enum type describes the state of a gesture.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.GestureStarted</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">A continuous gesture has started.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.GestureUpdated</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">A gesture continues.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.GestureFinished</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">A gesture has finished.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.GestureCanceled</tt></td>
<td class="topAlign"><tt>4</tt></td>
<td class="topAlign">A gesture was canceled.</td>
</tr>
</table>
<p>This enum was introduced or modified in Qt 4.6.</p>
<p><b>See also</b> <a href="qgesture.html">QGesture</a>.</p>
<h3 class="fn"><a name="GestureType-enum" />Qt.GestureType</h3><p>This enum type describes the standard gestures.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TapGesture</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">A Tap gesture.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TapAndHoldGesture</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">A Tap-And-Hold (Long-Tap) gesture.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.PanGesture</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">A Pan gesture.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.PinchGesture</tt></td>
<td class="topAlign"><tt>4</tt></td>
<td class="topAlign">A Pinch gesture.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.SwipeGesture</tt></td>
<td class="topAlign"><tt>5</tt></td>
<td class="topAlign">A Swipe gesture.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.CustomGesture</tt></td>
<td class="topAlign"><tt>0x0100</tt></td>
<td class="topAlign">A flag that can be used to test if the gesture
is a user-defined gesture ID.</td>
</tr>
</table>
<p>User-defined gestures are registered with the <a href="qgesturerecognizer.html#registerRecognizer">QGestureRecognizer.registerRecognizer</a>()
function which generates a custom gesture ID with the
Qt.CustomGesture flag set.</p>
<p>This enum was introduced or modified in Qt 4.6.</p>
<p><b>See also</b> <a href="qgesture.html">QGesture</a>, <a href="qwidget.html#grabGesture">QWidget.grabGesture</a>(), and <a href="qgraphicsobject.html#grabGesture">QGraphicsObject.grabGesture</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 class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.white</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign"><span id="color-white">White
(#ffffff)</span></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.black</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign"><span id="color-black">Black
(#000000)</span></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.red</tt></td>
<td class="topAlign"><tt>7</tt></td>
<td class="topAlign"><span id="color-red">Red (#ff0000)</span></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.darkRed</tt></td>
<td class="topAlign"><tt>13</tt></td>
<td class="topAlign"><span id="color-darkRed">Dark red
(#800000)</span></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.green</tt></td>
<td class="topAlign"><tt>8</tt></td>
<td class="topAlign"><span id="color-green">Green
(#00ff00)</span></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.darkGreen</tt></td>
<td class="topAlign"><tt>14</tt></td>
<td class="topAlign"><span id="color-darkGreen">Dark green
(#008000)</span></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.blue</tt></td>
<td class="topAlign"><tt>9</tt></td>
<td class="topAlign"><span id="color-blue">Blue
(#0000ff)</span></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.darkBlue</tt></td>
<td class="topAlign"><tt>15</tt></td>
<td class="topAlign"><span id="color-darkBlue">Dark blue
(#000080)</span></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.cyan</tt></td>
<td class="topAlign"><tt>10</tt></td>
<td class="topAlign"><span id="color-cyan">Cyan
(#00ffff)</span></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.darkCyan</tt></td>
<td class="topAlign"><tt>16</tt></td>
<td class="topAlign"><span id="color-darkCyan">Dark cyan
(#008080)</span></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.magenta</tt></td>
<td class="topAlign"><tt>11</tt></td>
<td class="topAlign"><span id="color-magenta">Magenta
(#ff00ff)</span></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.darkMagenta</tt></td>
<td class="topAlign"><tt>17</tt></td>
<td class="topAlign"><span id="color-darkMagenta">Dark magenta
(#800080)</span></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.yellow</tt></td>
<td class="topAlign"><tt>12</tt></td>
<td class="topAlign"><span id="color-yellow">Yellow
(#ffff00)</span></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.darkYellow</tt></td>
<td class="topAlign"><tt>18</tt></td>
<td class="topAlign"><span id="color-darkYellow">Dark yellow
(#808000)</span></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.gray</tt></td>
<td class="topAlign"><tt>5</tt></td>
<td class="topAlign"><span id="color-gray">Gray
(#a0a0a4)</span></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.darkGray</tt></td>
<td class="topAlign"><tt>4</tt></td>
<td class="topAlign"><span id="color-darkGray">Dark gray
(#808080)</span></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.lightGray</tt></td>
<td class="topAlign"><tt>6</tt></td>
<td class="topAlign"><span id="color-lightGray">Light gray
(#c0c0c0)</span></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.transparent</tt></td>
<td class="topAlign"><tt>19</tt></td>
<td class="topAlign">a transparent black value (i.e., <a href="qcolor.html">QColor</a>(0, 0, 0, 0))</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.color0</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">0 pixel value (for bitmaps)</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.color1</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">1 pixel value (for bitmaps)</td>
</tr>
</table>
<p><b>See also</b> <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 class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ExactHit</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">The point at which input occurred must
coincide exactly with input-sensitive parts of the document.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.FuzzyHit</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">The point at which input occurred can lie
close to input-sensitive parts of the document.</td>
</tr>
</table>
<p>This enum is defined in the <tt><QTextDocument></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 class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AutoColor</tt></td>
<td class="topAlign"><tt>0x00000000</tt></td>
<td class="topAlign">(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 class="topAlign"><tt>Qt.ColorOnly</tt></td>
<td class="topAlign"><tt>0x00000003</tt></td>
<td class="topAlign">The pixmap is dithered/converted to the
<a href="qpixmap.html#defaultDepth">native display depth</a>.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MonoOnly</tt></td>
<td class="topAlign"><tt>0x00000002</tt></td>
<td class="topAlign">The pixmap becomes monochrome. If necessary,
it is dithered using the chosen dithering algorithm.</td>
</tr>
</table>
<p>Dithering mode preference for RGB channels:</p>
<table class="valuelist">
<tr class="even" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.DiffuseDither</tt></td>
<td class="topAlign"><tt>0x00000000</tt></td>
<td class="topAlign">(default) - A high-quality dither.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.OrderedDither</tt></td>
<td class="topAlign"><tt>0x00000010</tt></td>
<td class="topAlign">A faster, more ordered dither.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ThresholdDither</tt></td>
<td class="topAlign"><tt>0x00000020</tt></td>
<td class="topAlign">No dithering; closest color is used.</td>
</tr>
</table>
<p>Dithering mode preference for alpha channel:</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ThresholdAlphaDither</tt></td>
<td class="topAlign"><tt>0x00000000</tt></td>
<td class="topAlign">(default) - No dithering.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.OrderedAlphaDither</tt></td>
<td class="topAlign"><tt>0x00000004</tt></td>
<td class="topAlign">A faster, more ordered dither.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.DiffuseAlphaDither</tt></td>
<td class="topAlign"><tt>0x00000008</tt></td>
<td class="topAlign">A high-quality dither.</td>
</tr>
</table>
<p>Color matching versus dithering preference:</p>
<table class="valuelist">
<tr class="even" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.PreferDither</tt></td>
<td class="topAlign"><tt>0x00000040</tt></td>
<td class="topAlign">(default when converting to a pixmap) - Always
dither 32-bit images when the image is converted to 8 bits.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AvoidDither</tt></td>
<td class="topAlign"><tt>0x00000080</tt></td>
<td class="topAlign">(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>
<tr>
<td class="topAlign"><tt>Qt.NoOpaqueDetection</tt></td>
<td class="topAlign"><tt>0x00000100</tt></td>
<td class="topAlign">Do not check whether the image contains
non-opaque pixels. Use this if you know that the image is
semi-transparent and you want to avoid the overhead of checking the
pixels in the image until a non-opaque pixel is found, or if you
want the pixmap to retain an alpha channel for some other reason.
If the image has no alpha channel this flag has no effect.</td>
</tr>
</table>
<p>Don't do any format conversions on the image. Can be useful when
converting a <a href="qimage.html">QImage</a> to a <a href="qpixmap.html">QPixmap</a> for a one-time rendering operation for
example.</p>
<p>The ImageConversionFlags type is a typedef for <a href="qflags.html">QFlags</a><ImageConversionFlag>. It stores an
OR combination of ImageConversionFlag values.</p>
<h3 class="fn"><a name="InputMethodHint-enum" />Qt.InputMethodHint</h3><table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ImhNone</tt></td>
<td class="topAlign"><tt>0x0</tt></td>
<td class="topAlign">No hints.</td>
</tr>
</table>
<p>Flags that alter the behavior:</p>
<table class="valuelist">
<tr class="even" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ImhHiddenText</tt></td>
<td class="topAlign"><tt>0x1</tt></td>
<td class="topAlign">Characters should be hidden, as is typically
used when entering passwords. This is automatically set when
setting <a href="qlineedit.html#echoMode-prop">QLineEdit.echoMode</a> to
<tt>Password</tt>.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ImhNoAutoUppercase</tt></td>
<td class="topAlign"><tt>0x2</tt></td>
<td class="topAlign">The input method should not try to
automatically switch to upper case when a sentence ends.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ImhPreferNumbers</tt></td>
<td class="topAlign"><tt>0x4</tt></td>
<td class="topAlign">Numbers are preferred (but not required).</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ImhPreferUppercase</tt></td>
<td class="topAlign"><tt>0x8</tt></td>
<td class="topAlign">Upper case letters are preferred (but not
required).</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ImhPreferLowercase</tt></td>
<td class="topAlign"><tt>0x10</tt></td>
<td class="topAlign">Lower case letters are preferred (but not
required).</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ImhNoPredictiveText</tt></td>
<td class="topAlign"><tt>0x20</tt></td>
<td class="topAlign">Do not use predictive text (i.e. dictionary
lookup) while typing.</td>
</tr>
</table>
<p>Flags that restrict input (exclusive flags):</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ImhDigitsOnly</tt></td>
<td class="topAlign"><tt>0x10000</tt></td>
<td class="topAlign">Only digits are allowed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ImhFormattedNumbersOnly</tt></td>
<td class="topAlign"><tt>0x20000</tt></td>
<td class="topAlign">Only number input is allowed. This includes
decimal point and minus sign.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ImhUppercaseOnly</tt></td>
<td class="topAlign"><tt>0x40000</tt></td>
<td class="topAlign">Only upper case letter input is allowed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ImhLowercaseOnly</tt></td>
<td class="topAlign"><tt>0x80000</tt></td>
<td class="topAlign">Only lower case letter input is allowed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ImhDialableCharactersOnly</tt></td>
<td class="topAlign"><tt>0x100000</tt></td>
<td class="topAlign">Only characters suitable for phone dialling
are allowed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ImhEmailCharactersOnly</tt></td>
<td class="topAlign"><tt>0x200000</tt></td>
<td class="topAlign">Only characters suitable for email addresses
are allowed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ImhUrlCharactersOnly</tt></td>
<td class="topAlign"><tt>0x400000</tt></td>
<td class="topAlign">Only characters suitable for URLs are
allowed.</td>
</tr>
</table>
<p>Masks:</p>
<table class="valuelist">
<tr class="even" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ImhExclusiveInputMask</tt></td>
<td class="topAlign"><tt>0xffff0000</tt></td>
<td class="topAlign">This mask yields nonzero if any of the
exclusive flags are used.</td>
</tr>
</table>
<p><b>Note:</b> If several exclusive flags are ORed together, the
resulting character set will consist of the union of the specified
sets. For instance specifying <tt>ImhNumbersOnly</tt> and
<tt>ImhUppercaseOnly</tt> would yield a set consisting of numbers
and uppercase letters.</p>
<p>The InputMethodHints type is a typedef for <a href="qflags.html">QFlags</a><InputMethodHint>. It stores an OR
combination of InputMethodHint values.</p>
<p><b>See also</b> <a href="qgraphicsitem.html#inputMethodHints">QGraphicsItem.inputMethodHints</a>().</p>
<h3 class="fn"><a name="InputMethodQuery-enum" />Qt.InputMethodQuery</h3><table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ImMicroFocus</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">The rectangle covering the area of the input
cursor in widget coordinates.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ImFont</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">The currently used font for text input.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ImCursorPosition</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">The logical position of the cursor within the
text surrounding the input area (see
<tt>ImSurroundingText</tt>).</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ImSurroundingText</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">The plain text around the input area, for
example the current paragraph.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ImCurrentSelection</tt></td>
<td class="topAlign"><tt>4</tt></td>
<td class="topAlign">The currently selected text.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ImMaximumTextLength</tt></td>
<td class="topAlign"><tt>5</tt></td>
<td class="topAlign">The maximum number of characters that the
widget can hold. If there is no limit, QVariant() is returned.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ImAnchorPosition</tt></td>
<td class="topAlign"><tt>6</tt></td>
<td class="topAlign">The position of the selection anchor. This may
be less or greater than <tt>ImCursorPosition</tt>, depending on
which side of selection the cursor is. If there is no selection, it
returns the same as <tt>ImCursorPosition</tt>.</td>
</tr>
</table>
<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. Custom models
should return data in these types.</p>
<p>The general purpose roles (and the associated types) are:</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.DisplayRole</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">The key data to be rendered in the form of
text. (<a href="qstring.html">QString</a>)</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.DecorationRole</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">The data to be rendered as a decoration in the
form of an icon. (<a href="qcolor.html">QColor</a>, <a href="qicon.html">QIcon</a> or <a href="qpixmap.html">QPixmap</a>)</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.EditRole</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">The data in a form suitable for editing in an
editor. (<a href="qstring.html">QString</a>)</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ToolTipRole</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">The data displayed in the item's tooltip.
(<a href="qstring.html">QString</a>)</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.StatusTipRole</tt></td>
<td class="topAlign"><tt>4</tt></td>
<td class="topAlign">The data displayed in the status bar.
(<a href="qstring.html">QString</a>)</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WhatsThisRole</tt></td>
<td class="topAlign"><tt>5</tt></td>
<td class="topAlign">The data displayed for the item in "What's
This?" mode. (<a href="qstring.html">QString</a>)</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.SizeHintRole</tt></td>
<td class="topAlign"><tt>13</tt></td>
<td class="topAlign">The size hint for the item that will be
supplied to views. (<a href="qsize.html">QSize</a>)</td>
</tr>
</table>
<p>Roles describing appearance and meta data (with associated
types):</p>
<table class="valuelist">
<tr class="even" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.FontRole</tt></td>
<td class="topAlign"><tt>6</tt></td>
<td class="topAlign">The font used for items rendered with the
default delegate. (<a href="qfont.html">QFont</a>)</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TextAlignmentRole</tt></td>
<td class="topAlign"><tt>7</tt></td>
<td class="topAlign">The alignment of the text for items rendered
with the default delegate. (<a href="qt.html#AlignmentFlag-enum">Qt.AlignmentFlag</a>)</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.BackgroundRole</tt></td>
<td class="topAlign"><tt>8</tt></td>
<td class="topAlign">The background brush used for items rendered
with the default delegate. (<a href="qbrush.html">QBrush</a>)</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.BackgroundColorRole</tt></td>
<td class="topAlign"><tt>8</tt></td>
<td class="topAlign">This role is obsolete. Use BackgroundRole
instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ForegroundRole</tt></td>
<td class="topAlign"><tt>9</tt></td>
<td class="topAlign">The foreground brush (text color, typically)
used for items rendered with the default delegate. (<a href="qbrush.html">QBrush</a>)</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TextColorRole</tt></td>
<td class="topAlign"><tt>9</tt></td>
<td class="topAlign">This role is obsolete. Use ForegroundRole
instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.CheckStateRole</tt></td>
<td class="topAlign"><tt>10</tt></td>
<td class="topAlign">This role is used to obtain the checked state
of an item. (<a href="qt.html#CheckState-enum">Qt.CheckState</a>)</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.InitialSortOrderRole</tt></td>
<td class="topAlign"><tt>14</tt></td>
<td class="topAlign">This role is used to obtain the initial sort
order of a header view section. (<a href="qt.html#SortOrder-enum">Qt.SortOrder</a>). This role was
introduced in Qt 4.8.</td>
</tr>
</table>
<p>Accessibility roles (with associated types):</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AccessibleTextRole</tt></td>
<td class="topAlign"><tt>11</tt></td>
<td class="topAlign">The text to be used by accessibility
extensions and plugins, such as screen readers. (<a href="qstring.html">QString</a>)</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AccessibleDescriptionRole</tt></td>
<td class="topAlign"><tt>12</tt></td>
<td class="topAlign">A description of the item for accessibility
purposes. (<a href="qstring.html">QString</a>)</td>
</tr>
</table>
<p>User roles:</p>
<table class="valuelist">
<tr class="even" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.UserRole</tt></td>
<td class="topAlign"><tt>32</tt></td>
<td class="topAlign">The first role that can be used for
application-specific purposes.</td>
</tr>
</table>
<p>For user roles, it is up to the developer to decide which types
to use and ensure that components use the correct types when
accessing and setting data.</p>
<h3 class="fn"><a name="ItemFlag-enum" />Qt.ItemFlag</h3><p>This enum describes the properties of an item:</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.NoItemFlags</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">It does not have any properties set.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ItemIsSelectable</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">It can be selected.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ItemIsEditable</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">It can be edited.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ItemIsDragEnabled</tt></td>
<td class="topAlign"><tt>4</tt></td>
<td class="topAlign">It can be dragged.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ItemIsDropEnabled</tt></td>
<td class="topAlign"><tt>8</tt></td>
<td class="topAlign">It can be used as a drop target.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ItemIsUserCheckable</tt></td>
<td class="topAlign"><tt>16</tt></td>
<td class="topAlign">It can be checked or unchecked by the
user.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ItemIsEnabled</tt></td>
<td class="topAlign"><tt>32</tt></td>
<td class="topAlign">The user can interact with the item.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ItemIsTristate</tt></td>
<td class="topAlign"><tt>64</tt></td>
<td class="topAlign">The item is checkable with three separate
states.</td>
</tr>
</table>
<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><ItemFlag>. It stores an OR
combination of ItemFlag values.</p>
<p><b>See also</b> <a href="qabstractitemmodel.html">QAbstractItemModel</a>.</p>
<h3 class="fn"><a name="ItemSelectionMode-enum" />Qt.ItemSelectionMode</h3><p>This enum is used in <a href="qgraphicsitem.html">QGraphicsItem</a>, <a href="qgraphicsscene.html">QGraphicsScene</a> and <a href="qgraphicsview.html">QGraphicsView</a> to specify how items are
selected, or how to determine if a shapes and items collide.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ContainsItemShape</tt></td>
<td class="topAlign"><tt>0x0</tt></td>
<td class="topAlign">The output list contains only items whose
<a href="qgraphicsitem.html#shape">shape</a> is fully contained
inside the selection area. Items that intersect with the area's
outline are not included.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.IntersectsItemShape</tt></td>
<td class="topAlign"><tt>0x1</tt></td>
<td class="topAlign">The output list contains both items whose
<a href="qgraphicsitem.html#shape">shape</a> is fully contained
inside the selection area, and items that intersect with the area's
outline. This is a common mode for rubber band selection.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ContainsItemBoundingRect</tt></td>
<td class="topAlign"><tt>0x2</tt></td>
<td class="topAlign">The output list contains only items whose
<a href="qgraphicsitem.html#boundingRect">bounding rectangle</a> is
fully contained inside the selection area. Items that intersect
with the area's outline are not included.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.IntersectsItemBoundingRect</tt></td>
<td class="topAlign"><tt>0x3</tt></td>
<td class="topAlign">The output list contains both items whose
<a href="qgraphicsitem.html#boundingRect">bounding rectangle</a> is
fully contained inside the selection area, and items that intersect
with the area's outline. This method is commonly used for
determining areas that need redrawing.</td>
</tr>
</table>
<p><b>See also</b> <a href="qgraphicsscene.html#items">QGraphicsScene.items</a>(), <a href="qgraphicsscene.html#collidingItems">QGraphicsScene.collidingItems</a>(),
<a href="qgraphicsview.html#items">QGraphicsView.items</a>(),
<a href="qgraphicsitem.html#collidesWithItem">QGraphicsItem.collidesWithItem</a>(),
and <a href="qgraphicsitem.html#collidesWithPath">QGraphicsItem.collidesWithPath</a>().</p>
<h3 class="fn"><a name="Key-enum" />Qt.Key</h3><p>The key names used by Qt.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Escape</tt></td>
<td class="topAlign"><tt>0x01000000</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Tab</tt></td>
<td class="topAlign"><tt>0x01000001</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Backtab</tt></td>
<td class="topAlign"><tt>0x01000002</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Backspace</tt></td>
<td class="topAlign"><tt>0x01000003</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Return</tt></td>
<td class="topAlign"><tt>0x01000004</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Enter</tt></td>
<td class="topAlign"><tt>0x01000005</tt></td>
<td class="topAlign">Typically located on the keypad.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Insert</tt></td>
<td class="topAlign"><tt>0x01000006</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Delete</tt></td>
<td class="topAlign"><tt>0x01000007</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Pause</tt></td>
<td class="topAlign"><tt>0x01000008</tt></td>
<td class="topAlign">The Pause/Break key (<b>Note:</b> Not anything
to do with pausing media)</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Print</tt></td>
<td class="topAlign"><tt>0x01000009</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_SysReq</tt></td>
<td class="topAlign"><tt>0x0100000a</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Clear</tt></td>
<td class="topAlign"><tt>0x0100000b</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Home</tt></td>
<td class="topAlign"><tt>0x01000010</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_End</tt></td>
<td class="topAlign"><tt>0x01000011</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Left</tt></td>
<td class="topAlign"><tt>0x01000012</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Up</tt></td>
<td class="topAlign"><tt>0x01000013</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Right</tt></td>
<td class="topAlign"><tt>0x01000014</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Down</tt></td>
<td class="topAlign"><tt>0x01000015</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_PageUp</tt></td>
<td class="topAlign"><tt>0x01000016</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_PageDown</tt></td>
<td class="topAlign"><tt>0x01000017</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Shift</tt></td>
<td class="topAlign"><tt>0x01000020</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Control</tt></td>
<td class="topAlign"><tt>0x01000021</tt></td>
<td class="topAlign">On Mac OS X, this corresponds to the Command
keys.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Meta</tt></td>
<td class="topAlign"><tt>0x01000022</tt></td>
<td class="topAlign">On Mac OS X, this corresponds to the Control
keys. On Windows keyboards, this key is mapped to the Windows
key.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Alt</tt></td>
<td class="topAlign"><tt>0x01000023</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_AltGr</tt></td>
<td class="topAlign"><tt>0x01001103</tt></td>
<td class="topAlign">On Windows, when the KeyDown event for this
key is sent, the Ctrl+Alt modifiers are also set.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_CapsLock</tt></td>
<td class="topAlign"><tt>0x01000024</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_NumLock</tt></td>
<td class="topAlign"><tt>0x01000025</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_ScrollLock</tt></td>
<td class="topAlign"><tt>0x01000026</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F1</tt></td>
<td class="topAlign"><tt>0x01000030</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F2</tt></td>
<td class="topAlign"><tt>0x01000031</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F3</tt></td>
<td class="topAlign"><tt>0x01000032</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F4</tt></td>
<td class="topAlign"><tt>0x01000033</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F5</tt></td>
<td class="topAlign"><tt>0x01000034</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F6</tt></td>
<td class="topAlign"><tt>0x01000035</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F7</tt></td>
<td class="topAlign"><tt>0x01000036</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F8</tt></td>
<td class="topAlign"><tt>0x01000037</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F9</tt></td>
<td class="topAlign"><tt>0x01000038</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F10</tt></td>
<td class="topAlign"><tt>0x01000039</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F11</tt></td>
<td class="topAlign"><tt>0x0100003a</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F12</tt></td>
<td class="topAlign"><tt>0x0100003b</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F13</tt></td>
<td class="topAlign"><tt>0x0100003c</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F14</tt></td>
<td class="topAlign"><tt>0x0100003d</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F15</tt></td>
<td class="topAlign"><tt>0x0100003e</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F16</tt></td>
<td class="topAlign"><tt>0x0100003f</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F17</tt></td>
<td class="topAlign"><tt>0x01000040</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F18</tt></td>
<td class="topAlign"><tt>0x01000041</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F19</tt></td>
<td class="topAlign"><tt>0x01000042</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F20</tt></td>
<td class="topAlign"><tt>0x01000043</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F21</tt></td>
<td class="topAlign"><tt>0x01000044</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F22</tt></td>
<td class="topAlign"><tt>0x01000045</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F23</tt></td>
<td class="topAlign"><tt>0x01000046</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F24</tt></td>
<td class="topAlign"><tt>0x01000047</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F25</tt></td>
<td class="topAlign"><tt>0x01000048</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F26</tt></td>
<td class="topAlign"><tt>0x01000049</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F27</tt></td>
<td class="topAlign"><tt>0x0100004a</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F28</tt></td>
<td class="topAlign"><tt>0x0100004b</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F29</tt></td>
<td class="topAlign"><tt>0x0100004c</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F30</tt></td>
<td class="topAlign"><tt>0x0100004d</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F31</tt></td>
<td class="topAlign"><tt>0x0100004e</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F32</tt></td>
<td class="topAlign"><tt>0x0100004f</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F33</tt></td>
<td class="topAlign"><tt>0x01000050</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F34</tt></td>
<td class="topAlign"><tt>0x01000051</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F35</tt></td>
<td class="topAlign"><tt>0x01000052</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Super_L</tt></td>
<td class="topAlign"><tt>0x01000053</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Super_R</tt></td>
<td class="topAlign"><tt>0x01000054</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Menu</tt></td>
<td class="topAlign"><tt>0x01000055</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Hyper_L</tt></td>
<td class="topAlign"><tt>0x01000056</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Hyper_R</tt></td>
<td class="topAlign"><tt>0x01000057</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Help</tt></td>
<td class="topAlign"><tt>0x01000058</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Direction_L</tt></td>
<td class="topAlign"><tt>0x01000059</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Direction_R</tt></td>
<td class="topAlign"><tt>0x01000060</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Space</tt></td>
<td class="topAlign"><tt>0x20</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Any</tt></td>
<td class="topAlign"><tt>Key_Space</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Exclam</tt></td>
<td class="topAlign"><tt>0x21</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_QuoteDbl</tt></td>
<td class="topAlign"><tt>0x22</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_NumberSign</tt></td>
<td class="topAlign"><tt>0x23</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Dollar</tt></td>
<td class="topAlign"><tt>0x24</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Percent</tt></td>
<td class="topAlign"><tt>0x25</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Ampersand</tt></td>
<td class="topAlign"><tt>0x26</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Apostrophe</tt></td>
<td class="topAlign"><tt>0x27</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_ParenLeft</tt></td>
<td class="topAlign"><tt>0x28</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_ParenRight</tt></td>
<td class="topAlign"><tt>0x29</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Asterisk</tt></td>
<td class="topAlign"><tt>0x2a</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Plus</tt></td>
<td class="topAlign"><tt>0x2b</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Comma</tt></td>
<td class="topAlign"><tt>0x2c</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Minus</tt></td>
<td class="topAlign"><tt>0x2d</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Period</tt></td>
<td class="topAlign"><tt>0x2e</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Slash</tt></td>
<td class="topAlign"><tt>0x2f</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_0</tt></td>
<td class="topAlign"><tt>0x30</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_1</tt></td>
<td class="topAlign"><tt>0x31</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_2</tt></td>
<td class="topAlign"><tt>0x32</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_3</tt></td>
<td class="topAlign"><tt>0x33</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_4</tt></td>
<td class="topAlign"><tt>0x34</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_5</tt></td>
<td class="topAlign"><tt>0x35</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_6</tt></td>
<td class="topAlign"><tt>0x36</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_7</tt></td>
<td class="topAlign"><tt>0x37</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_8</tt></td>
<td class="topAlign"><tt>0x38</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_9</tt></td>
<td class="topAlign"><tt>0x39</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Colon</tt></td>
<td class="topAlign"><tt>0x3a</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Semicolon</tt></td>
<td class="topAlign"><tt>0x3b</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Less</tt></td>
<td class="topAlign"><tt>0x3c</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Equal</tt></td>
<td class="topAlign"><tt>0x3d</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Greater</tt></td>
<td class="topAlign"><tt>0x3e</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Question</tt></td>
<td class="topAlign"><tt>0x3f</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_At</tt></td>
<td class="topAlign"><tt>0x40</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_A</tt></td>
<td class="topAlign"><tt>0x41</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_B</tt></td>
<td class="topAlign"><tt>0x42</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_C</tt></td>
<td class="topAlign"><tt>0x43</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_D</tt></td>
<td class="topAlign"><tt>0x44</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_E</tt></td>
<td class="topAlign"><tt>0x45</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_F</tt></td>
<td class="topAlign"><tt>0x46</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_G</tt></td>
<td class="topAlign"><tt>0x47</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_H</tt></td>
<td class="topAlign"><tt>0x48</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_I</tt></td>
<td class="topAlign"><tt>0x49</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_J</tt></td>
<td class="topAlign"><tt>0x4a</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_K</tt></td>
<td class="topAlign"><tt>0x4b</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_L</tt></td>
<td class="topAlign"><tt>0x4c</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_M</tt></td>
<td class="topAlign"><tt>0x4d</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_N</tt></td>
<td class="topAlign"><tt>0x4e</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_O</tt></td>
<td class="topAlign"><tt>0x4f</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_P</tt></td>
<td class="topAlign"><tt>0x50</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Q</tt></td>
<td class="topAlign"><tt>0x51</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_R</tt></td>
<td class="topAlign"><tt>0x52</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_S</tt></td>
<td class="topAlign"><tt>0x53</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_T</tt></td>
<td class="topAlign"><tt>0x54</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_U</tt></td>
<td class="topAlign"><tt>0x55</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_V</tt></td>
<td class="topAlign"><tt>0x56</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_W</tt></td>
<td class="topAlign"><tt>0x57</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_X</tt></td>
<td class="topAlign"><tt>0x58</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Y</tt></td>
<td class="topAlign"><tt>0x59</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Z</tt></td>
<td class="topAlign"><tt>0x5a</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_BracketLeft</tt></td>
<td class="topAlign"><tt>0x5b</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Backslash</tt></td>
<td class="topAlign"><tt>0x5c</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_BracketRight</tt></td>
<td class="topAlign"><tt>0x5d</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_AsciiCircum</tt></td>
<td class="topAlign"><tt>0x5e</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Underscore</tt></td>
<td class="topAlign"><tt>0x5f</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_QuoteLeft</tt></td>
<td class="topAlign"><tt>0x60</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_BraceLeft</tt></td>
<td class="topAlign"><tt>0x7b</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Bar</tt></td>
<td class="topAlign"><tt>0x7c</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_BraceRight</tt></td>
<td class="topAlign"><tt>0x7d</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_AsciiTilde</tt></td>
<td class="topAlign"><tt>0x7e</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_nobreakspace</tt></td>
<td class="topAlign"><tt>0x0a0</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_exclamdown</tt></td>
<td class="topAlign"><tt>0x0a1</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_cent</tt></td>
<td class="topAlign"><tt>0x0a2</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_sterling</tt></td>
<td class="topAlign"><tt>0x0a3</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_currency</tt></td>
<td class="topAlign"><tt>0x0a4</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_yen</tt></td>
<td class="topAlign"><tt>0x0a5</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_brokenbar</tt></td>
<td class="topAlign"><tt>0x0a6</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_section</tt></td>
<td class="topAlign"><tt>0x0a7</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_diaeresis</tt></td>
<td class="topAlign"><tt>0x0a8</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_copyright</tt></td>
<td class="topAlign"><tt>0x0a9</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_ordfeminine</tt></td>
<td class="topAlign"><tt>0x0aa</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_guillemotleft</tt></td>
<td class="topAlign"><tt>0x0ab</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_notsign</tt></td>
<td class="topAlign"><tt>0x0ac</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_hyphen</tt></td>
<td class="topAlign"><tt>0x0ad</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_registered</tt></td>
<td class="topAlign"><tt>0x0ae</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_macron</tt></td>
<td class="topAlign"><tt>0x0af</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_degree</tt></td>
<td class="topAlign"><tt>0x0b0</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_plusminus</tt></td>
<td class="topAlign"><tt>0x0b1</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_twosuperior</tt></td>
<td class="topAlign"><tt>0x0b2</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_threesuperior</tt></td>
<td class="topAlign"><tt>0x0b3</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_acute</tt></td>
<td class="topAlign"><tt>0x0b4</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_mu</tt></td>
<td class="topAlign"><tt>0x0b5</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_paragraph</tt></td>
<td class="topAlign"><tt>0x0b6</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_periodcentered</tt></td>
<td class="topAlign"><tt>0x0b7</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_cedilla</tt></td>
<td class="topAlign"><tt>0x0b8</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_onesuperior</tt></td>
<td class="topAlign"><tt>0x0b9</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_masculine</tt></td>
<td class="topAlign"><tt>0x0ba</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_guillemotright</tt></td>
<td class="topAlign"><tt>0x0bb</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_onequarter</tt></td>
<td class="topAlign"><tt>0x0bc</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_onehalf</tt></td>
<td class="topAlign"><tt>0x0bd</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_threequarters</tt></td>
<td class="topAlign"><tt>0x0be</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_questiondown</tt></td>
<td class="topAlign"><tt>0x0bf</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Agrave</tt></td>
<td class="topAlign"><tt>0x0c0</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Aacute</tt></td>
<td class="topAlign"><tt>0x0c1</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Acircumflex</tt></td>
<td class="topAlign"><tt>0x0c2</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Atilde</tt></td>
<td class="topAlign"><tt>0x0c3</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Adiaeresis</tt></td>
<td class="topAlign"><tt>0x0c4</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Aring</tt></td>
<td class="topAlign"><tt>0x0c5</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_AE</tt></td>
<td class="topAlign"><tt>0x0c6</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Ccedilla</tt></td>
<td class="topAlign"><tt>0x0c7</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Egrave</tt></td>
<td class="topAlign"><tt>0x0c8</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Eacute</tt></td>
<td class="topAlign"><tt>0x0c9</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Ecircumflex</tt></td>
<td class="topAlign"><tt>0x0ca</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Ediaeresis</tt></td>
<td class="topAlign"><tt>0x0cb</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Igrave</tt></td>
<td class="topAlign"><tt>0x0cc</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Iacute</tt></td>
<td class="topAlign"><tt>0x0cd</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Icircumflex</tt></td>
<td class="topAlign"><tt>0x0ce</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Idiaeresis</tt></td>
<td class="topAlign"><tt>0x0cf</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_ETH</tt></td>
<td class="topAlign"><tt>0x0d0</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Ntilde</tt></td>
<td class="topAlign"><tt>0x0d1</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Ograve</tt></td>
<td class="topAlign"><tt>0x0d2</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Oacute</tt></td>
<td class="topAlign"><tt>0x0d3</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Ocircumflex</tt></td>
<td class="topAlign"><tt>0x0d4</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Otilde</tt></td>
<td class="topAlign"><tt>0x0d5</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Odiaeresis</tt></td>
<td class="topAlign"><tt>0x0d6</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_multiply</tt></td>
<td class="topAlign"><tt>0x0d7</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Ooblique</tt></td>
<td class="topAlign"><tt>0x0d8</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Ugrave</tt></td>
<td class="topAlign"><tt>0x0d9</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Uacute</tt></td>
<td class="topAlign"><tt>0x0da</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Ucircumflex</tt></td>
<td class="topAlign"><tt>0x0db</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Udiaeresis</tt></td>
<td class="topAlign"><tt>0x0dc</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Yacute</tt></td>
<td class="topAlign"><tt>0x0dd</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_THORN</tt></td>
<td class="topAlign"><tt>0x0de</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_ssharp</tt></td>
<td class="topAlign"><tt>0x0df</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_division</tt></td>
<td class="topAlign"><tt>0x0f7</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_ydiaeresis</tt></td>
<td class="topAlign"><tt>0x0ff</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Multi_key</tt></td>
<td class="topAlign"><tt>0x01001120</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Codeinput</tt></td>
<td class="topAlign"><tt>0x01001137</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_SingleCandidate</tt></td>
<td class="topAlign"><tt>0x0100113c</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_MultipleCandidate</tt></td>
<td class="topAlign"><tt>0x0100113d</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_PreviousCandidate</tt></td>
<td class="topAlign"><tt>0x0100113e</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Mode_switch</tt></td>
<td class="topAlign"><tt>0x0100117e</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Kanji</tt></td>
<td class="topAlign"><tt>0x01001121</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Muhenkan</tt></td>
<td class="topAlign"><tt>0x01001122</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Henkan</tt></td>
<td class="topAlign"><tt>0x01001123</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Romaji</tt></td>
<td class="topAlign"><tt>0x01001124</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Hiragana</tt></td>
<td class="topAlign"><tt>0x01001125</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Katakana</tt></td>
<td class="topAlign"><tt>0x01001126</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Hiragana_Katakana</tt></td>
<td class="topAlign"><tt>0x01001127</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Zenkaku</tt></td>
<td class="topAlign"><tt>0x01001128</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Hankaku</tt></td>
<td class="topAlign"><tt>0x01001129</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Zenkaku_Hankaku</tt></td>
<td class="topAlign"><tt>0x0100112a</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Touroku</tt></td>
<td class="topAlign"><tt>0x0100112b</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Massyo</tt></td>
<td class="topAlign"><tt>0x0100112c</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Kana_Lock</tt></td>
<td class="topAlign"><tt>0x0100112d</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Kana_Shift</tt></td>
<td class="topAlign"><tt>0x0100112e</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Eisu_Shift</tt></td>
<td class="topAlign"><tt>0x0100112f</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Eisu_toggle</tt></td>
<td class="topAlign"><tt>0x01001130</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Hangul</tt></td>
<td class="topAlign"><tt>0x01001131</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Hangul_Start</tt></td>
<td class="topAlign"><tt>0x01001132</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Hangul_End</tt></td>
<td class="topAlign"><tt>0x01001133</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Hangul_Hanja</tt></td>
<td class="topAlign"><tt>0x01001134</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Hangul_Jamo</tt></td>
<td class="topAlign"><tt>0x01001135</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Hangul_Romaja</tt></td>
<td class="topAlign"><tt>0x01001136</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Hangul_Jeonja</tt></td>
<td class="topAlign"><tt>0x01001138</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Hangul_Banja</tt></td>
<td class="topAlign"><tt>0x01001139</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Hangul_PreHanja</tt></td>
<td class="topAlign"><tt>0x0100113a</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Hangul_PostHanja</tt></td>
<td class="topAlign"><tt>0x0100113b</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Hangul_Special</tt></td>
<td class="topAlign"><tt>0x0100113f</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Dead_Grave</tt></td>
<td class="topAlign"><tt>0x01001250</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Dead_Acute</tt></td>
<td class="topAlign"><tt>0x01001251</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Dead_Circumflex</tt></td>
<td class="topAlign"><tt>0x01001252</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Dead_Tilde</tt></td>
<td class="topAlign"><tt>0x01001253</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Dead_Macron</tt></td>
<td class="topAlign"><tt>0x01001254</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Dead_Breve</tt></td>
<td class="topAlign"><tt>0x01001255</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Dead_Abovedot</tt></td>
<td class="topAlign"><tt>0x01001256</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Dead_Diaeresis</tt></td>
<td class="topAlign"><tt>0x01001257</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Dead_Abovering</tt></td>
<td class="topAlign"><tt>0x01001258</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Dead_Doubleacute</tt></td>
<td class="topAlign"><tt>0x01001259</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Dead_Caron</tt></td>
<td class="topAlign"><tt>0x0100125a</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Dead_Cedilla</tt></td>
<td class="topAlign"><tt>0x0100125b</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Dead_Ogonek</tt></td>
<td class="topAlign"><tt>0x0100125c</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Dead_Iota</tt></td>
<td class="topAlign"><tt>0x0100125d</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Dead_Voiced_Sound</tt></td>
<td class="topAlign"><tt>0x0100125e</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Dead_Semivoiced_Sound</tt></td>
<td class="topAlign"><tt>0x0100125f</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Dead_Belowdot</tt></td>
<td class="topAlign"><tt>0x01001260</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Dead_Hook</tt></td>
<td class="topAlign"><tt>0x01001261</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Dead_Horn</tt></td>
<td class="topAlign"><tt>0x01001262</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Back</tt></td>
<td class="topAlign"><tt>0x01000061</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Forward</tt></td>
<td class="topAlign"><tt>0x01000062</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Stop</tt></td>
<td class="topAlign"><tt>0x01000063</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Refresh</tt></td>
<td class="topAlign"><tt>0x01000064</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_VolumeDown</tt></td>
<td class="topAlign"><tt>0x01000070</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_VolumeMute</tt></td>
<td class="topAlign"><tt>0x01000071</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_VolumeUp</tt></td>
<td class="topAlign"><tt>0x01000072</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_BassBoost</tt></td>
<td class="topAlign"><tt>0x01000073</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_BassUp</tt></td>
<td class="topAlign"><tt>0x01000074</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_BassDown</tt></td>
<td class="topAlign"><tt>0x01000075</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_TrebleUp</tt></td>
<td class="topAlign"><tt>0x01000076</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_TrebleDown</tt></td>
<td class="topAlign"><tt>0x01000077</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_MediaPlay</tt></td>
<td class="topAlign"><tt>0x01000080</tt></td>
<td class="topAlign">A key setting the state of the media player to
play</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_MediaStop</tt></td>
<td class="topAlign"><tt>0x01000081</tt></td>
<td class="topAlign">A key setting the state of the media player to
stop</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_MediaPrevious</tt></td>
<td class="topAlign"><tt>0x01000082</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_MediaNext</tt></td>
<td class="topAlign"><tt>0x01000083</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_MediaRecord</tt></td>
<td class="topAlign"><tt>0x01000084</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_MediaPause</tt></td>
<td class="topAlign"><tt>0x1000085</tt></td>
<td class="topAlign">A key setting the state of the media player to
pause (<b>Note:</b> not the pause/break key)</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_MediaTogglePlayPause</tt></td>
<td class="topAlign"><tt>0x1000086</tt></td>
<td class="topAlign">A key to toggle the play/pause state in the
media player (rather than setting an absolute state)</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_HomePage</tt></td>
<td class="topAlign"><tt>0x01000090</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Favorites</tt></td>
<td class="topAlign"><tt>0x01000091</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Search</tt></td>
<td class="topAlign"><tt>0x01000092</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Standby</tt></td>
<td class="topAlign"><tt>0x01000093</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_OpenUrl</tt></td>
<td class="topAlign"><tt>0x01000094</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_LaunchMail</tt></td>
<td class="topAlign"><tt>0x010000a0</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_LaunchMedia</tt></td>
<td class="topAlign"><tt>0x010000a1</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Launch0</tt></td>
<td class="topAlign"><tt>0x010000a2</tt></td>
<td class="topAlign">On X11 this key is mapped to "My Computer"
(XF86XK_MyComputer) key for legacy reasons.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Launch1</tt></td>
<td class="topAlign"><tt>0x010000a3</tt></td>
<td class="topAlign">On X11 this key is mapped to "Calculator"
(XF86XK_Calculator) key for legacy reasons.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Launch2</tt></td>
<td class="topAlign"><tt>0x010000a4</tt></td>
<td class="topAlign">On X11 this key is mapped to XF86XK_Launch0
key for legacy reasons.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Launch3</tt></td>
<td class="topAlign"><tt>0x010000a5</tt></td>
<td class="topAlign">On X11 this key is mapped to XF86XK_Launch1
key for legacy reasons.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Launch4</tt></td>
<td class="topAlign"><tt>0x010000a6</tt></td>
<td class="topAlign">On X11 this key is mapped to XF86XK_Launch2
key for legacy reasons.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Launch5</tt></td>
<td class="topAlign"><tt>0x010000a7</tt></td>
<td class="topAlign">On X11 this key is mapped to XF86XK_Launch3
key for legacy reasons.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Launch6</tt></td>
<td class="topAlign"><tt>0x010000a8</tt></td>
<td class="topAlign">On X11 this key is mapped to XF86XK_Launch4
key for legacy reasons.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Launch7</tt></td>
<td class="topAlign"><tt>0x010000a9</tt></td>
<td class="topAlign">On X11 this key is mapped to XF86XK_Launch5
key for legacy reasons.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Launch8</tt></td>
<td class="topAlign"><tt>0x010000aa</tt></td>
<td class="topAlign">On X11 this key is mapped to XF86XK_Launch6
key for legacy reasons.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Launch9</tt></td>
<td class="topAlign"><tt>0x010000ab</tt></td>
<td class="topAlign">On X11 this key is mapped to XF86XK_Launch7
key for legacy reasons.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_LaunchA</tt></td>
<td class="topAlign"><tt>0x010000ac</tt></td>
<td class="topAlign">On X11 this key is mapped to XF86XK_Launch8
key for legacy reasons.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_LaunchB</tt></td>
<td class="topAlign"><tt>0x010000ad</tt></td>
<td class="topAlign">On X11 this key is mapped to XF86XK_Launch9
key for legacy reasons.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_LaunchC</tt></td>
<td class="topAlign"><tt>0x010000ae</tt></td>
<td class="topAlign">On X11 this key is mapped to XF86XK_LaunchA
key for legacy reasons.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_LaunchD</tt></td>
<td class="topAlign"><tt>0x010000af</tt></td>
<td class="topAlign">On X11 this key is mapped to XF86XK_LaunchB
key for legacy reasons.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_LaunchE</tt></td>
<td class="topAlign"><tt>0x010000b0</tt></td>
<td class="topAlign">On X11 this key is mapped to XF86XK_LaunchC
key for legacy reasons.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_LaunchF</tt></td>
<td class="topAlign"><tt>0x010000b1</tt></td>
<td class="topAlign">On X11 this key is mapped to XF86XK_LaunchD
key for legacy reasons.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_LaunchG</tt></td>
<td class="topAlign"><tt>0x0100010e</tt></td>
<td class="topAlign">On X11 this key is mapped to XF86XK_LaunchE
key for legacy reasons.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_LaunchH</tt></td>
<td class="topAlign"><tt>0x0100010f</tt></td>
<td class="topAlign">On X11 this key is mapped to XF86XK_LaunchF
key for legacy reasons.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_MonBrightnessUp</tt></td>
<td class="topAlign"><tt>0x010000b2</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_MonBrightnessDown</tt></td>
<td class="topAlign"><tt>0x010000b3</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_KeyboardLightOnOff</tt></td>
<td class="topAlign"><tt>0x010000b4</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_KeyboardBrightnessUp</tt></td>
<td class="topAlign"><tt>0x010000b5</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_KeyboardBrightnessDown</tt></td>
<td class="topAlign"><tt>0x010000b6</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_PowerOff</tt></td>
<td class="topAlign"><tt>0x010000b7</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_WakeUp</tt></td>
<td class="topAlign"><tt>0x010000b8</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Eject</tt></td>
<td class="topAlign"><tt>0x010000b9</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_ScreenSaver</tt></td>
<td class="topAlign"><tt>0x010000ba</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_WWW</tt></td>
<td class="topAlign"><tt>0x010000bb</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Memo</tt></td>
<td class="topAlign"><tt>0x010000bc</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_LightBulb</tt></td>
<td class="topAlign"><tt>0x010000bd</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Shop</tt></td>
<td class="topAlign"><tt>0x010000be</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_History</tt></td>
<td class="topAlign"><tt>0x010000bf</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_AddFavorite</tt></td>
<td class="topAlign"><tt>0x010000c0</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_HotLinks</tt></td>
<td class="topAlign"><tt>0x010000c1</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_BrightnessAdjust</tt></td>
<td class="topAlign"><tt>0x010000c2</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Finance</tt></td>
<td class="topAlign"><tt>0x010000c3</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Community</tt></td>
<td class="topAlign"><tt>0x010000c4</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_AudioRewind</tt></td>
<td class="topAlign"><tt>0x010000c5</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_BackForward</tt></td>
<td class="topAlign"><tt>0x010000c6</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_ApplicationLeft</tt></td>
<td class="topAlign"><tt>0x010000c7</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_ApplicationRight</tt></td>
<td class="topAlign"><tt>0x010000c8</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Book</tt></td>
<td class="topAlign"><tt>0x010000c9</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_CD</tt></td>
<td class="topAlign"><tt>0x010000ca</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Calculator</tt></td>
<td class="topAlign"><tt>0x010000cb</tt></td>
<td class="topAlign">On X11 this key is not mapped for legacy
reasons. Use Qt.Key_Launch1 instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_ToDoList</tt></td>
<td class="topAlign"><tt>0x010000cc</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_ClearGrab</tt></td>
<td class="topAlign"><tt>0x010000cd</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Close</tt></td>
<td class="topAlign"><tt>0x010000ce</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Copy</tt></td>
<td class="topAlign"><tt>0x010000cf</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Cut</tt></td>
<td class="topAlign"><tt>0x010000d0</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Display</tt></td>
<td class="topAlign"><tt>0x010000d1</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_DOS</tt></td>
<td class="topAlign"><tt>0x010000d2</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Documents</tt></td>
<td class="topAlign"><tt>0x010000d3</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Excel</tt></td>
<td class="topAlign"><tt>0x010000d4</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Explorer</tt></td>
<td class="topAlign"><tt>0x010000d5</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Game</tt></td>
<td class="topAlign"><tt>0x010000d6</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Go</tt></td>
<td class="topAlign"><tt>0x010000d7</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_iTouch</tt></td>
<td class="topAlign"><tt>0x010000d8</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_LogOff</tt></td>
<td class="topAlign"><tt>0x010000d9</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Market</tt></td>
<td class="topAlign"><tt>0x010000da</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Meeting</tt></td>
<td class="topAlign"><tt>0x010000db</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_MenuKB</tt></td>
<td class="topAlign"><tt>0x010000dc</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_MenuPB</tt></td>
<td class="topAlign"><tt>0x010000dd</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_MySites</tt></td>
<td class="topAlign"><tt>0x010000de</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_News</tt></td>
<td class="topAlign"><tt>0x010000df</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_OfficeHome</tt></td>
<td class="topAlign"><tt>0x010000e0</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Option</tt></td>
<td class="topAlign"><tt>0x010000e1</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Paste</tt></td>
<td class="topAlign"><tt>0x010000e2</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Phone</tt></td>
<td class="topAlign"><tt>0x010000e3</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Calendar</tt></td>
<td class="topAlign"><tt>0x010000e4</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Reply</tt></td>
<td class="topAlign"><tt>0x010000e5</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Reload</tt></td>
<td class="topAlign"><tt>0x010000e6</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_RotateWindows</tt></td>
<td class="topAlign"><tt>0x010000e7</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_RotationPB</tt></td>
<td class="topAlign"><tt>0x010000e8</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_RotationKB</tt></td>
<td class="topAlign"><tt>0x010000e9</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Save</tt></td>
<td class="topAlign"><tt>0x010000ea</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Send</tt></td>
<td class="topAlign"><tt>0x010000eb</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Spell</tt></td>
<td class="topAlign"><tt>0x010000ec</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_SplitScreen</tt></td>
<td class="topAlign"><tt>0x010000ed</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Support</tt></td>
<td class="topAlign"><tt>0x010000ee</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_TaskPane</tt></td>
<td class="topAlign"><tt>0x010000ef</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Terminal</tt></td>
<td class="topAlign"><tt>0x010000f0</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Tools</tt></td>
<td class="topAlign"><tt>0x010000f1</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Travel</tt></td>
<td class="topAlign"><tt>0x010000f2</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Video</tt></td>
<td class="topAlign"><tt>0x010000f3</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Word</tt></td>
<td class="topAlign"><tt>0x010000f4</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Xfer</tt></td>
<td class="topAlign"><tt>0x010000f5</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_ZoomIn</tt></td>
<td class="topAlign"><tt>0x010000f6</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_ZoomOut</tt></td>
<td class="topAlign"><tt>0x010000f7</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Away</tt></td>
<td class="topAlign"><tt>0x010000f8</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Messenger</tt></td>
<td class="topAlign"><tt>0x010000f9</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_WebCam</tt></td>
<td class="topAlign"><tt>0x010000fa</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_MailForward</tt></td>
<td class="topAlign"><tt>0x010000fb</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Pictures</tt></td>
<td class="topAlign"><tt>0x010000fc</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Music</tt></td>
<td class="topAlign"><tt>0x010000fd</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Battery</tt></td>
<td class="topAlign"><tt>0x010000fe</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Bluetooth</tt></td>
<td class="topAlign"><tt>0x010000ff</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_WLAN</tt></td>
<td class="topAlign"><tt>0x01000100</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_UWB</tt></td>
<td class="topAlign"><tt>0x01000101</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_AudioForward</tt></td>
<td class="topAlign"><tt>0x01000102</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_AudioRepeat</tt></td>
<td class="topAlign"><tt>0x01000103</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_AudioRandomPlay</tt></td>
<td class="topAlign"><tt>0x01000104</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Subtitle</tt></td>
<td class="topAlign"><tt>0x01000105</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_AudioCycleTrack</tt></td>
<td class="topAlign"><tt>0x01000106</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Time</tt></td>
<td class="topAlign"><tt>0x01000107</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Hibernate</tt></td>
<td class="topAlign"><tt>0x01000108</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_View</tt></td>
<td class="topAlign"><tt>0x01000109</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_TopMenu</tt></td>
<td class="topAlign"><tt>0x0100010a</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_PowerDown</tt></td>
<td class="topAlign"><tt>0x0100010b</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Suspend</tt></td>
<td class="topAlign"><tt>0x0100010c</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_ContrastAdjust</tt></td>
<td class="topAlign"><tt>0x0100010d</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_MediaLast</tt></td>
<td class="topAlign"><tt>0x0100ffff</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_unknown</tt></td>
<td class="topAlign"><tt>0x01ffffff</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Call</tt></td>
<td class="topAlign"><tt>0x01100004</tt></td>
<td class="topAlign">A key to answer or initiate a call (see
Qt.Key_ToggleCallHangup for a key to toggle current call
state)</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Camera</tt></td>
<td class="topAlign"><tt>0x01100020</tt></td>
<td class="topAlign">A key to activate the camera shutter</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_CameraFocus</tt></td>
<td class="topAlign"><tt>0x01100021</tt></td>
<td class="topAlign">A key to focus the camera</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Context1</tt></td>
<td class="topAlign"><tt>0x01100000</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Context2</tt></td>
<td class="topAlign"><tt>0x01100001</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Context3</tt></td>
<td class="topAlign"><tt>0x01100002</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Context4</tt></td>
<td class="topAlign"><tt>0x01100003</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Flip</tt></td>
<td class="topAlign"><tt>0x01100006</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Hangup</tt></td>
<td class="topAlign"><tt>0x01100005</tt></td>
<td class="topAlign">A key to end an ongoing call (see
Qt.Key_ToggleCallHangup for a key to toggle current call
state)</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_No</tt></td>
<td class="topAlign"><tt>0x01010002</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Select</tt></td>
<td class="topAlign"><tt>0x01010000</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Yes</tt></td>
<td class="topAlign"><tt>0x01010001</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_ToggleCallHangup</tt></td>
<td class="topAlign"><tt>0x01100007</tt></td>
<td class="topAlign">A key to toggle the current call state (ie.
either answer, or hangup) depending on current call state</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_VoiceDial</tt></td>
<td class="topAlign"><tt>0x01100008</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_LastNumberRedial</tt></td>
<td class="topAlign"><tt>0x01100009</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Execute</tt></td>
<td class="topAlign"><tt>0x01020003</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Printer</tt></td>
<td class="topAlign"><tt>0x01020002</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Play</tt></td>
<td class="topAlign"><tt>0x01020005</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Sleep</tt></td>
<td class="topAlign"><tt>0x01020004</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Zoom</tt></td>
<td class="topAlign"><tt>0x01020006</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Key_Cancel</tt></td>
<td class="topAlign"><tt>0x01020001</tt></td>
<td class="topAlign"> </td>
</tr>
</table>
<p><b>See also</b> <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>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.NoModifier</tt></td>
<td class="topAlign"><tt>0x00000000</tt></td>
<td class="topAlign">No modifier key is pressed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ShiftModifier</tt></td>
<td class="topAlign"><tt>0x02000000</tt></td>
<td class="topAlign">A Shift key on the keyboard is pressed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ControlModifier</tt></td>
<td class="topAlign"><tt>0x04000000</tt></td>
<td class="topAlign">A Ctrl key on the keyboard is pressed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AltModifier</tt></td>
<td class="topAlign"><tt>0x08000000</tt></td>
<td class="topAlign">An Alt key on the keyboard is pressed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MetaModifier</tt></td>
<td class="topAlign"><tt>0x10000000</tt></td>
<td class="topAlign">A Meta key on the keyboard is pressed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.KeypadModifier</tt></td>
<td class="topAlign"><tt>0x20000000</tt></td>
<td class="topAlign">A keypad button is pressed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.GroupSwitchModifier</tt></td>
<td class="topAlign"><tt>0x40000000</tt></td>
<td class="topAlign">X11 only. A Mode_switch key on the keyboard is
pressed.</td>
</tr>
</table>
<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. The
<tt>KeypadModifier</tt> value will also be set when an arrow key is
pressed as the arrow keys are considered part of the keypad.</p>
<p><b>Note:</b> On Windows Keyboards, Qt.MetaModifier and <a href="qt.html#Key-enum">Qt.Key_Meta</a> are mapped to the Windows
key.</p>
<p>The KeyboardModifiers type is a typedef for <a href="qflags.html">QFlags</a><KeyboardModifier>. It stores an OR
combination of KeyboardModifier values.</p>
<p><b>See also</b> <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 and text handling.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.LeftToRight</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">Left-to-right layout.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.RightToLeft</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">Right-to-left layout.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.LayoutDirectionAuto</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">Automatic layout.</td>
</tr>
</table>
<p>Right-to-left layouts are necessary for certain languages,
notably Arabic and Hebrew.</p>
<p>LayoutDirectionAuto serves two purposes. When used in
conjunction with widgets and layouts, it will imply to use the
layout direction set on the parent widget or <a href="qapplication.html">QApplication</a>. This has the same effect as
<a href="qwidget.html#layoutDirection-prop">QWidget.unsetLayoutDirection</a>().</p>
<p>When LayoutDirectionAuto is used in conjunction with text
layouting, it will imply that the text directionality is determined
from the content of the string to be layouted.</p>
<p><b>See also</b> <a href="qapplication.html#layoutDirection-prop">QApplication.setLayoutDirection</a>(),
<a href="qwidget.html#layoutDirection-prop">QWidget.setLayoutDirection</a>(),
<a href="qtextoption.html#setTextDirection">QTextOption.setTextDirection</a>(),
and <a href="qstring.html#isRightToLeft">QString.isRightToLeft</a>().</p>
<h3 class="fn"><a name="MaskMode-enum" />Qt.MaskMode</h3><p>This enum specifies the behavior of the <a href="qpixmap.html#createMaskFromColor">QPixmap.createMaskFromColor</a>()
and <a href="qimage.html#createMaskFromColor">QImage.createMaskFromColor</a>()
functions.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MaskInColor</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">Creates a mask where all pixels matching the
given color are opaque.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MaskOutColor</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">Creates a mask where all pixels matching the
given color are transparent.</td>
</tr>
</table>
<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 class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MatchExactly</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">Performs <a href="qvariant.html">QVariant</a>-based matching.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MatchFixedString</tt></td>
<td class="topAlign"><tt>8</tt></td>
<td class="topAlign">Performs string-based matching. String-based
comparisons are case-insensitive unless the
<tt>MatchCaseSensitive</tt> flag is also specified.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MatchContains</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">The search term is contained in the item.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MatchStartsWith</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">The search term matches the start of the
item.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MatchEndsWith</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">The search term matches the end of the
item.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MatchCaseSensitive</tt></td>
<td class="topAlign"><tt>16</tt></td>
<td class="topAlign">The search is case sensitive.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MatchRegExp</tt></td>
<td class="topAlign"><tt>4</tt></td>
<td class="topAlign">Performs string-based matching using a regular
expression as the search term.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MatchWildcard</tt></td>
<td class="topAlign"><tt>5</tt></td>
<td class="topAlign">Performs string-based matching using a string
with wildcards as the search term.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MatchWrap</tt></td>
<td class="topAlign"><tt>32</tt></td>
<td class="topAlign">Perform a search that wraps around, so that
when the search reaches the last item in the model, it begins again
at the first item and continues until all items have been
examined.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MatchRecursive</tt></td>
<td class="topAlign"><tt>64</tt></td>
<td class="topAlign">Searches the entire hierarchy.</td>
</tr>
</table>
<p>The MatchFlags type is a typedef for <a href="qflags.html">QFlags</a><MatchFlag>. It stores an OR
combination of MatchFlag values.</p>
<p><b>See also</b> <a href="qstring.html#compare">QString.compare</a>() and <a href="qregexp.html">QRegExp</a>.</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 class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.SHIFT</tt></td>
<td class="topAlign"><tt>Qt.ShiftModifier</tt></td>
<td class="topAlign">The Shift keys provided on all standard
keyboards.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.META</tt></td>
<td class="topAlign"><tt>Qt.MetaModifier</tt></td>
<td class="topAlign">The Meta keys.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.CTRL</tt></td>
<td class="topAlign"><tt>Qt.ControlModifier</tt></td>
<td class="topAlign">The Ctrl keys.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ALT</tt></td>
<td class="topAlign"><tt>Qt.AltModifier</tt></td>
<td class="topAlign">The normal Alt keys, but not keys like
AltGr.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.UNICODE_ACCEL</tt></td>
<td class="topAlign"><tt>0x00000000</tt></td>
<td class="topAlign">The shortcut is specified as a Unicode code
point, not as a Qt Key.</td>
</tr>
</table>
<p><b>See also</b> <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 class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.NoButton</tt></td>
<td class="topAlign"><tt>0x00000000</tt></td>
<td class="topAlign">The button state does not refer to any button
(see <a href="qmouseevent.html#button">QMouseEvent.button</a>()).</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.LeftButton</tt></td>
<td class="topAlign"><tt>0x00000001</tt></td>
<td class="topAlign">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 class="topAlign"><tt>Qt.RightButton</tt></td>
<td class="topAlign"><tt>0x00000002</tt></td>
<td class="topAlign">The right button.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MidButton</tt></td>
<td class="topAlign"><tt>0x00000004</tt></td>
<td class="topAlign">The middle button.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MiddleButton</tt></td>
<td class="topAlign"><tt>MidButton</tt></td>
<td class="topAlign">The middle button.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.XButton1</tt></td>
<td class="topAlign"><tt>0x00000008</tt></td>
<td class="topAlign">The first X button.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.XButton2</tt></td>
<td class="topAlign"><tt>0x00000010</tt></td>
<td class="topAlign">The second X button.</td>
</tr>
</table>
<p>The MouseButtons type is a typedef for <a href="qflags.html">QFlags</a><MouseButton>. It stores an OR
combination of MouseButton values.</p>
<p><b>See also</b> <a href="qt.html#KeyboardModifier-enum">KeyboardModifier</a> and <a href="qt.html#Modifier-enum">Modifier</a>.</p>
<h3 class="fn"><a name="NavigationMode-enum" />Qt.NavigationMode</h3><p>This enum type describes the mode for moving focus.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.NavigationModeNone</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">Only the touch screen is used.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.NavigationModeKeypadTabOrder</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign"><a href="qt.html#Key-enum">Qt.Key_Up</a> and
<a href="qt.html#Key-enum">Qt.Key_Down</a> are used to change
focus.</td>
</tr>
<tr>
<td class="topAlign">
<tt>Qt.NavigationModeKeypadDirectional</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign"><a href="qt.html#Key-enum">Qt.Key_Up</a>,
<a href="qt.html#Key-enum">Qt.Key_Down</a>, <a href="qt.html#Key-enum">Qt.Key_Left</a> and <a href="qt.html#Key-enum">Qt.Key_Right</a> are used to change focus.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.NavigationModeCursorAuto</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">The mouse cursor is used to change focus, it
is displayed only on non touchscreen devices. The keypad is used to
implement a virtual cursor, unless the device has an analog mouse
type of input device (e.g. touchpad). This is the recommended
setting for an application such as a web browser that needs pointer
control on both touch and non-touch devices.</td>
</tr>
<tr>
<td class="topAlign">
<tt>Qt.NavigationModeCursorForceVisible</tt></td>
<td class="topAlign"><tt>4</tt></td>
<td class="topAlign">The mouse cursor is used to change focus, it
is displayed regardless of device type. The keypad is used to
implement a virtual cursor, unless the device has an analog mouse
type of input device (e.g. touchpad)</td>
</tr>
</table>
<p><b>Note:</b>: in 4.6, cursor navigation is only implemented for
Symbian OS. On other platforms, it behaves as
NavigationModeNone.</p>
<p>This enum was introduced or modified in Qt 4.6.</p>
<p><b>See also</b> <a href="qapplication.html#setNavigationMode">QApplication.setNavigationMode</a>()
and <a href="qapplication.html#navigationMode">QApplication.navigationMode</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 class="valuelist">
<tr>
<th class="tblConst">Constant</th>
<th class="tblVal">Value</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Horizontal</tt></td>
<td class="topAlign"><tt>0x1</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Vertical</tt></td>
<td class="topAlign"><tt>0x2</tt></td>
</tr>
</table>
<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><Orientation>. 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 class="generic">
<tr class="odd" valign="top">
<td><img alt="" src="images/qpen-square.png" /></td>
<td><img alt="" src="images/qpen-flat.png" /></td>
<td><img alt="" src="images/qpen-roundcap.png" /></td>
</tr>
<tr class="even" valign="top">
<td>Qt.SquareCap</td>
<td>Qt.FlatCap</td>
<td>Qt.RoundCap</td>
</tr>
</table>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.FlatCap</tt></td>
<td class="topAlign"><tt>0x00</tt></td>
<td class="topAlign">a square line end that does not cover the end
point of the line.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.SquareCap</tt></td>
<td class="topAlign"><tt>0x10</tt></td>
<td class="topAlign">a square line end that covers the end point
and extends beyond it by half the line width.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.RoundCap</tt></td>
<td class="topAlign"><tt>0x20</tt></td>
<td class="topAlign">a rounded line end.</td>
</tr>
</table>
<p><b>See also</b> <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 class="generic">
<tr class="odd" valign="top">
<td><img alt="" src="images/qpen-bevel.png" /></td>
<td><img alt="" src="images/qpen-miter.png" /></td>
<td><img alt="" src="images/qpen-roundjoin.png" /></td>
</tr>
<tr class="even" valign="top">
<td>Qt.BevelJoin</td>
<td>Qt.MiterJoin</td>
<td>Qt.RoundJoin</td>
</tr>
</table>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MiterJoin</tt></td>
<td class="topAlign"><tt>0x00</tt></td>
<td class="topAlign">The outer edges of the lines are extended to
meet at an angle, and this area is filled.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.BevelJoin</tt></td>
<td class="topAlign"><tt>0x40</tt></td>
<td class="topAlign">The triangular notch between the two lines is
filled.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.RoundJoin</tt></td>
<td class="topAlign"><tt>0x80</tt></td>
<td class="topAlign">A circular arc between the two lines is
filled.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.SvgMiterJoin</tt></td>
<td class="topAlign"><tt>0x100</tt></td>
<td class="topAlign">A miter join corresponding to the definition
of a miter join in the <a href="http://www.w3.org/TR/SVGMobile12/">SVG 1.2 Tiny</a>
specification.</td>
</tr>
</table>
<p><b>See also</b> <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 class="generic">
<tr class="odd" valign="top">
<td><img alt="" src="images/qpen-solid.png" /></td>
<td><img alt="" src="images/qpen-dash.png" /></td>
<td><img alt="" src="images/qpen-dot.png" /></td>
</tr>
<tr class="even" valign="top">
<td>Qt.SolidLine</td>
<td>Qt.DashLine</td>
<td>Qt.DotLine</td>
</tr>
<tr class="odd" valign="top">
<td><img alt="" src="images/qpen-dashdot.png" /></td>
<td><img alt="" src="images/qpen-dashdotdot.png" /></td>
<td><img alt="" src="images/qpen-custom.png" /></td>
</tr>
<tr class="even" valign="top">
<td>Qt.DashDotLine</td>
<td>Qt.DashDotDotLine</td>
<td>Qt.CustomDashLine</td>
</tr>
</table>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.NoPen</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">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 class="topAlign"><tt>Qt.SolidLine</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">A plain line.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.DashLine</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">Dashes separated by a few pixels.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.DotLine</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">Dots separated by a few pixels.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.DashDotLine</tt></td>
<td class="topAlign"><tt>4</tt></td>
<td class="topAlign">Alternate dots and dashes.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.DashDotDotLine</tt></td>
<td class="topAlign"><tt>5</tt></td>
<td class="topAlign">One dash, two dots, one dash, two dots.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.CustomDashLine</tt></td>
<td class="topAlign"><tt>6</tt></td>
<td class="topAlign">A custom pattern defined using <a href="qpainterpathstroker.html#setDashPattern">QPainterPathStroker.setDashPattern</a>().</td>
</tr>
</table>
<p><b>See also</b> <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 class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ScrollBarAsNeeded</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign"><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 class="topAlign"><tt>Qt.ScrollBarAlwaysOff</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign"><a href="qabstractscrollarea.html">QAbstractScrollArea</a> never shows a
scroll bar.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ScrollBarAlwaysOn</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign"><a href="qabstractscrollarea.html">QAbstractScrollArea</a> always shows a
scroll bar.</td>
</tr>
</table>
<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 class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WidgetShortcut</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">The shortcut is active when its parent widget
has focus.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WidgetWithChildrenShortcut</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">The shortcut is active when its parent widget,
or any of its children has focus. Children which are top-level
widgets, except pop-ups, are not affected by this shortcut
context.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WindowShortcut</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">The shortcut is active when its parent widget
is a logical subwidget of the active top-level window.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ApplicationShortcut</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">The shortcut is active when one of the
applications windows are active.</td>
</tr>
</table>
<h3 class="fn"><a name="SizeHint-enum" />Qt.SizeHint</h3><p>This enum is used by <a href="qgraphicslayoutitem.html#sizeHint">QGraphicsLayoutItem.sizeHint</a>()</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MinimumSize</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">is used to specify the minimum size of a
graphics layout item.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.PreferredSize</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">is used to specify the preferred size of a
graphics layout item.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MaximumSize</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">is used to specify the maximum size of a
graphics layout item.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MinimumDescent</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">is used to specify the minimum descent of a
text string in a graphics layout item.</td>
</tr>
</table>
<p>This enum was introduced or modified in Qt 4.4.</p>
<p><b>See also</b> <a href="qgraphicslayoutitem.html#sizeHint">QGraphicsLayoutItem.sizeHint</a>().</p>
<h3 class="fn"><a name="SizeMode-enum" />Qt.SizeMode</h3><p>This enum is used by <a href="qpainter.html#drawRoundedRect">QPainter.drawRoundedRect</a>() and
<a href="qpainterpath.html#addRoundedRect">QPainterPath.addRoundedRect</a>()
functions to specify the radii of rectangle corners with respect to
the dimensions of the bounding rectangles specified.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AbsoluteSize</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">Specifies the size using absolute
measurements.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.RelativeSize</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">Specifies the size relative to the bounding
rectangle, typically using percentage measurements.</td>
</tr>
</table>
<p>This enum was introduced or modified in Qt 4.4.</p>
<h3 class="fn"><a name="SortOrder-enum" />Qt.SortOrder</h3><p>This enum describes how the items in a widget are sorted.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AscendingOrder</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">The items are sorted ascending e.g. starts
with 'AAA' ends with 'ZZZ' in Latin-1 locales</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.DescendingOrder</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">The items are sorted descending e.g. starts
with 'ZZZ' ends with 'AAA' in Latin-1 locales</td>
</tr>
</table>
<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 class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ElideLeft</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">The ellipsis should appear at the beginning of
the text.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ElideRight</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">The ellipsis should appear at the end of the
text.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ElideMiddle</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">The ellipsis should appear in the middle of
the text.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ElideNone</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">Ellipsis should NOT appear in the text.</td>
</tr>
</table>
<p>Qt.ElideMiddle is normally the most appropriate choice for URLs
(e.g., "<a href="http://bugreports.qt.io/browse/QTWEBSITE-13">http://bugreports.qt.../QTWEBSITE-13/</a>"),
whereas Qt.ElideRight is appropriate for other strings (e.g.,
"<a href="http://doc.qt.digia.com/qq/qq09-mac-deployment.html">Deploying
Applications on Ma...</a>").</p>
<p><b>See also</b> <a href="qabstractitemview.html#textElideMode-prop">QAbstractItemView.textElideMode</a>,
<a href="qfontmetrics.html#elidedText">QFontMetrics.elidedText</a>(),
<a href="qt.html#AlignmentFlag-enum">AlignmentFlag</a>, and
<a href="qtabbar.html#elideMode-prop">QTabBar.elideMode</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 class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TextSingleLine</tt></td>
<td class="topAlign"><tt>0x0100</tt></td>
<td class="topAlign">Treats all whitespace as spaces and prints
just one line.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TextDontClip</tt></td>
<td class="topAlign"><tt>0x0200</tt></td>
<td class="topAlign">If it's impossible to stay within the given
bounds, it prints outside.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TextExpandTabs</tt></td>
<td class="topAlign"><tt>0x0400</tt></td>
<td class="topAlign">Makes the U+0009 (ASCII tab) character move to
the next tab stop.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TextShowMnemonic</tt></td>
<td class="topAlign"><tt>0x0800</tt></td>
<td class="topAlign">Displays the string "&P" as <u>P</u> (see
<a href="porting4.html#qbutton">QButton</a> for an example). For an
ampersand, use "&&".</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TextWordWrap</tt></td>
<td class="topAlign"><tt>0x1000</tt></td>
<td class="topAlign">Breaks lines at appropriate points, e.g. at
word boundaries.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TextWrapAnywhere</tt></td>
<td class="topAlign"><tt>0x2000</tt></td>
<td class="topAlign">Breaks lines anywhere, even within words.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TextHideMnemonic</tt></td>
<td class="topAlign"><tt>0x8000</tt></td>
<td class="topAlign">Same as Qt.TextShowMnemonic but doesn't draw
the underlines.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TextDontPrint</tt></td>
<td class="topAlign"><tt>0x4000</tt></td>
<td class="topAlign">Treat this text as "hidden" and don't print
it.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.IncludeTrailingSpaces</tt></td>
<td class="topAlign"><tt>TextIncludeTrailingSpaces</tt></td>
<td class="topAlign">When this option is set, <a href="qtextline.html#naturalTextWidth">QTextLine.naturalTextWidth</a>()
and naturalTextRect() will return a value that includes the width
of trailing spaces in the text; otherwise this width is
excluded.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TextIncludeTrailingSpaces</tt></td>
<td class="topAlign"><tt>0x08000000</tt></td>
<td class="topAlign">Same as IncludeTrailingSpaces</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TextJustificationForced</tt></td>
<td class="topAlign"><tt>0x10000</tt></td>
<td class="topAlign">Ensures that text lines are justified.</td>
</tr>
</table>
<p>Ensures that the longest variant is always used when computing
the size of a multi-variant string. (Internal)</p>
<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 class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.PlainText</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">The text string is interpreted as a plain text
string.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.RichText</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">The text string is interpreted as a rich text
string.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AutoText</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">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 class="topAlign"><tt>Qt.LogText</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">A special, limited text format which is only
used by <a class="compat" href="q3textedit.html">Q3TextEdit</a> in
an optimized mode.</td>
</tr>
</table>
<h3 class="fn"><a name="TextInteractionFlag-enum" />Qt.TextInteractionFlag</h3><p>This enum specifies how a text displaying widget reacts to user
input.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.NoTextInteraction</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">No interaction with the text is possible.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TextSelectableByMouse</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">Text can be selected with the mouse and copied
to the clipboard using a context menu or standard keyboard
shortcuts.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TextSelectableByKeyboard</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">Text can be selected with the cursor keys on
the keyboard. A text cursor is shown.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.LinksAccessibleByMouse</tt></td>
<td class="topAlign"><tt>4</tt></td>
<td class="topAlign">Links can be highlighted and activated with
the mouse.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.LinksAccessibleByKeyboard</tt></td>
<td class="topAlign"><tt>8</tt></td>
<td class="topAlign">Links can be focused using tab and activated
with enter.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TextEditable</tt></td>
<td class="topAlign"><tt>16</tt></td>
<td class="topAlign">The text is fully editable.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TextEditorInteraction</tt></td>
<td class="topAlign"><tt>TextSelectableByMouse |
TextSelectableByKeyboard | TextEditable</tt></td>
<td class="topAlign">The default for a text editor.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TextBrowserInteraction</tt></td>
<td class="topAlign"><tt>TextSelectableByMouse |
LinksAccessibleByMouse | LinksAccessibleByKeyboard</tt></td>
<td class="topAlign">The default for <a href="qtextbrowser.html">QTextBrowser</a>.</td>
</tr>
</table>
<p>The TextInteractionFlags type is a typedef for <a href="qflags.html">QFlags</a><TextInteractionFlag>. It stores an
OR combination of TextInteractionFlag values.</p>
<h3 class="fn"><a name="TileRule-enum" />Qt.TileRule</h3><p>This enum describes how to repeat or stretch the parts of an
image when drawing.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.StretchTile</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">Scale the image to fit to the available
area.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.RepeatTile</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">Repeat the image until there is no more space.
May crop the last image.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.RoundTile</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">Similar to Repeat, but scales the image down
to ensure that the last tile is not cropped.</td>
</tr>
</table>
<p>This enum was introduced or modified in Qt 4.6.</p>
<h3 class="fn"><a name="TimeSpec-enum" />Qt.TimeSpec</h3><table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.LocalTime</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">Locale dependent time (Timezones and Daylight
Savings Time).</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.UTC</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">Coordinated Universal Time, replaces Greenwich
Mean Time.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.OffsetFromUTC</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">An offset in seconds from Coordinated
Universal Time.</td>
</tr>
</table>
<h3 class="fn"><a name="ToolBarArea-enum" />Qt.ToolBarArea</h3><table class="valuelist">
<tr>
<th class="tblConst">Constant</th>
<th class="tblVal">Value</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.LeftToolBarArea</tt></td>
<td class="topAlign"><tt>0x1</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.RightToolBarArea</tt></td>
<td class="topAlign"><tt>0x2</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TopToolBarArea</tt></td>
<td class="topAlign"><tt>0x4</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.BottomToolBarArea</tt></td>
<td class="topAlign"><tt>0x8</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.AllToolBarAreas</tt></td>
<td class="topAlign"><tt>ToolBarArea_Mask</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.NoToolBarArea</tt></td>
<td class="topAlign"><tt>0</tt></td>
</tr>
</table>
<p>The ToolBarAreas type is a typedef for <a href="qflags.html">QFlags</a><ToolBarArea>. 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 class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ToolButtonIconOnly</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">Only display the icon.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ToolButtonTextOnly</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">Only display the text.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ToolButtonTextBesideIcon</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">The text appears beside the icon.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ToolButtonTextUnderIcon</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">The text appears under the icon.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ToolButtonFollowStyle</tt></td>
<td class="topAlign"><tt>4</tt></td>
<td class="topAlign">Follow the <a href="qstyle.html#StyleHint-enum">style</a>.</td>
</tr>
</table>
<h3 class="fn"><a name="TouchPointState-enum" />Qt.TouchPointState</h3><p>This enum represents the state of a touch point at the time the
<a href="qtouchevent.html">QTouchEvent</a> occurred.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TouchPointPressed</tt></td>
<td class="topAlign"><tt>0x01</tt></td>
<td class="topAlign">The touch point is now pressed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TouchPointMoved</tt></td>
<td class="topAlign"><tt>0x02</tt></td>
<td class="topAlign">The touch point moved.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TouchPointStationary</tt></td>
<td class="topAlign"><tt>0x04</tt></td>
<td class="topAlign">The touch point did not move.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TouchPointReleased</tt></td>
<td class="topAlign"><tt>0x08</tt></td>
<td class="topAlign">The touch point was released.</td>
</tr>
</table>
<p>This enum was introduced or modified in Qt 4.6.</p>
<p>The TouchPointStates type is a typedef for <a href="qflags.html">QFlags</a><TouchPointState>. It stores an OR
combination of TouchPointState values.</p>
<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 class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.FastTransformation</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">The transformation is performed quickly, with
no smoothing.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.SmoothTransformation</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">The resulting image is transformed using
bilinear filtering.</td>
</tr>
</table>
<p><b>See also</b> <a href="qimage.html#scaled">QImage.scaled</a>().</p>
<h3 class="fn"><a name="UIEffect-enum" />Qt.UIEffect</h3><p>This enum describes the available UI effects.</p>
<p>By default, Qt will try to use the platform specific desktop
settings for each effect. Use the <a href="qapplication.html#setDesktopSettingsAware">QApplication.setDesktopSettingsAware</a>()
function (passing <tt>false</tt> as argument) to prevent this, and
the <a href="qapplication.html#setEffectEnabled">QApplication.setEffectEnabled</a>()
to enable or disable a particular effect.</p>
<p>Note that all effects are disabled on screens running at less
than 16-bit color depth.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.UI_AnimateMenu</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">Show animated menus.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.UI_FadeMenu</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">Show faded menus.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.UI_AnimateCombo</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">Show animated comboboxes.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.UI_AnimateTooltip</tt></td>
<td class="topAlign"><tt>4</tt></td>
<td class="topAlign">Show tooltip animations.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.UI_FadeTooltip</tt></td>
<td class="topAlign"><tt>5</tt></td>
<td class="topAlign">Show tooltip fading effects.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.UI_AnimateToolBox</tt></td>
<td class="topAlign"><tt>6</tt></td>
<td class="topAlign">Reserved</td>
</tr>
</table>
<p><b>See also</b> <a href="qapplication.html#setEffectEnabled">QApplication.setEffectEnabled</a>()
and <a href="qapplication.html#setDesktopSettingsAware">QApplication.setDesktopSettingsAware</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 class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WhiteSpaceNormal</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">The whitespace mode used to display normal
word wrapped text in paragraphs.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WhiteSpacePre</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">A preformatted text mode in which whitespace
is reproduced exactly.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WhiteSpaceNoWrap</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign"> </td>
</tr>
</table>
<p>This enum is defined in the <tt><QTextDocument></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 class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_AcceptDrops</tt></td>
<td class="topAlign"><tt>78</tt></td>
<td class="topAlign">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 class="topAlign"><tt>Qt.WA_AlwaysShowToolTips</tt></td>
<td class="topAlign"><tt>84</tt></td>
<td class="topAlign">Enables tooltips for inactive windows.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_ContentsPropagated</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">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 class="topAlign"><tt>Qt.WA_CustomWhatsThis</tt></td>
<td class="topAlign"><tt>47</tt></td>
<td class="topAlign">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 class="topAlign"><tt>Qt.WA_DeleteOnClose</tt></td>
<td class="topAlign"><tt>55</tt></td>
<td class="topAlign">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 class="topAlign"><tt>Qt.WA_Disabled</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">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 class="topAlign"><tt>Qt.WA_DontShowOnScreen</tt></td>
<td class="topAlign"><tt>103</tt></td>
<td class="topAlign">Indicates that the widget is hidden or is not
a part of the viewable Desktop.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_ForceDisabled</tt></td>
<td class="topAlign"><tt>32</tt></td>
<td class="topAlign">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 class="topAlign"><tt>Qt.WA_ForceUpdatesDisabled</tt></td>
<td class="topAlign"><tt>59</tt></td>
<td class="topAlign">Indicates that updates are explicitly disabled
for the widget; 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 class="topAlign"><tt>Qt.WA_GroupLeader</tt></td>
<td class="topAlign"><tt>72</tt></td>
<td class="topAlign"><i>This attribute has been deprecated.</i> Use
<a href="qwidget.html#windowModality-prop">QWidget.windowModality</a>
instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_Hover</tt></td>
<td class="topAlign"><tt>74</tt></td>
<td class="topAlign">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 class="topAlign"><tt>Qt.WA_InputMethodEnabled</tt></td>
<td class="topAlign"><tt>14</tt></td>
<td class="topAlign">Enables input methods for Asian languages.
Must be set when creating custom text editing widgets. On Windows
CE and Symbian this flag can be used in addition to <a href="qapplication.html#autoSipEnabled-prop">QApplication.autoSipEnabled</a>
to automatically display the SIP when entering a widget.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_KeyboardFocusChange</tt></td>
<td class="topAlign"><tt>77</tt></td>
<td class="topAlign">Set on a toplevel window when the users
changes focus with the keyboard (tab, backtab, or shortcut).</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_KeyCompression</tt></td>
<td class="topAlign"><tt>33</tt></td>
<td class="topAlign">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. Platforms
other than Mac and X11 do not 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 class="topAlign"><tt>Qt.WA_LayoutOnEntireRect</tt></td>
<td class="topAlign"><tt>48</tt></td>
<td class="topAlign">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 class="topAlign"><tt>Qt.WA_LayoutUsesWidgetRect</tt></td>
<td class="topAlign"><tt>92</tt></td>
<td class="topAlign">Ignore the layout item rect from the style
when laying out this widget with <a href="qlayout.html">QLayout</a>. This makes a difference in <a href="qmacstyle.html">QMacStyle</a> and <a href="qplastiquestyle.html">QPlastiqueStyle</a> for some widgets.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_MacNoClickThrough</tt></td>
<td class="topAlign"><tt>12</tt></td>
<td class="topAlign">When a widget that has this attribute set is
clicked, and its window is inactive, the click will make the window
active but won't be seen by the widget. Typical use of this
attribute is on widgets with "destructive" actions, such as a
"Delete" button. WA_MacNoClickThrough also applies to all child
widgets of the widget that has it set.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_MacOpaqueSizeGrip</tt></td>
<td class="topAlign"><tt>85</tt></td>
<td class="topAlign">Indicates that the native Carbon size grip
should be opaque instead of transparent (the default). This
attribute is only applicable to Mac OS X and is set by the widget's
author.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_MacShowFocusRect</tt></td>
<td class="topAlign"><tt>88</tt></td>
<td class="topAlign">Indicates that this widget should get a
<a href="qfocusframe.html">QFocusFrame</a> around it. Some widgets
draw their own focus halo regardless of this attribute. Not that
the <a href="qwidget.html#focusPolicy-prop">QWidget.focusPolicy</a> also plays
the main role in whether something is given focus or not, this only
controls whether or not this gets the focus frame. This attribute
is only applicable to Mac OS X.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_MacNormalSize</tt></td>
<td class="topAlign"><tt>89</tt></td>
<td class="topAlign">Indicates the widget should have the normal
size for widgets in Mac OS X. This attribute is only applicable to
Mac OS X.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_MacSmallSize</tt></td>
<td class="topAlign"><tt>90</tt></td>
<td class="topAlign">Indicates the widget should have the small
size for widgets in Mac OS X. This attribute is only applicable to
Mac OS X.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_MacMiniSize</tt></td>
<td class="topAlign"><tt>91</tt></td>
<td class="topAlign">Indicates the widget should have the mini size
for widgets in Mac OS X. This attribute is only applicable to Mac
OS X.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_MacVariableSize</tt></td>
<td class="topAlign"><tt>102</tt></td>
<td class="topAlign">Indicates the widget can choose between
alternative sizes for widgets to avoid clipping. This attribute is
only applicable to Mac OS X.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_MacBrushedMetal</tt></td>
<td class="topAlign"><tt>46</tt></td>
<td class="topAlign">Indicates the widget should be drawn in the
brushed metal style as supported by the windowing system. This
attribute is only applicable to Mac OS X.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_Mapped</tt></td>
<td class="topAlign"><tt>11</tt></td>
<td class="topAlign">Indicates that the widget is mapped on screen.
This is set/cleared by the Qt kernel.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_MouseNoMask</tt></td>
<td class="topAlign"><tt>71</tt></td>
<td class="topAlign">Makes the widget receive mouse events for the
entire widget regardless of the currently set mask, overriding
<a href="qwidget.html#setMask">QWidget.setMask</a>(). This is not
applicable for top-level windows.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_MouseTracking</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">Indicates that the widget has mouse tracking
enabled. See <a href="qwidget.html#mouseTracking-prop">QWidget.mouseTracking</a>.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_Moved</tt></td>
<td class="topAlign"><tt>43</tt></td>
<td class="topAlign">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 class="topAlign"><tt>Qt.WA_MSWindowsUseDirect3D</tt></td>
<td class="topAlign"><tt>94</tt></td>
<td class="topAlign">This value is obsolete and has no effect.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_NoBackground</tt></td>
<td class="topAlign"><tt>WA_OpaquePaintEvent</tt></td>
<td class="topAlign">This value is obsolete. Use
WA_OpaquePaintEvent instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_NoChildEventsForParent</tt></td>
<td class="topAlign"><tt>58</tt></td>
<td class="topAlign">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 class="topAlign"><tt>Qt.WA_NoChildEventsFromChildren</tt></td>
<td class="topAlign"><tt>39</tt></td>
<td class="topAlign">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 class="topAlign"><tt>Qt.WA_NoMouseReplay</tt></td>
<td class="topAlign"><tt>54</tt></td>
<td class="topAlign">Used for pop-up widgets. Indicates that the
most recent mouse press event should not be replayed when the
pop-up 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 class="topAlign"><tt>Qt.WA_NoMousePropagation</tt></td>
<td class="topAlign"><tt>73</tt></td>
<td class="topAlign">Prohibits mouse events from being propagated
to the widget's parent. This attribute is disabled by default.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_TransparentForMouseEvents</tt></td>
<td class="topAlign"><tt>51</tt></td>
<td class="topAlign">When enabled, this attribute disables the
delivery of mouse events to the widget and its children. Mouse
events are delivered to other widgets as if the widget and its
children were not present in the widget hierarchy; mouse clicks and
other events effectively "pass through" them. This attribute is
disabled by default.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_NoSystemBackground</tt></td>
<td class="topAlign"><tt>9</tt></td>
<td class="topAlign">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 <b>never</b> 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).
This flag is set or cleared by the widget's author.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_OpaquePaintEvent</tt></td>
<td class="topAlign"><tt>4</tt></td>
<td class="topAlign">Indicates that the widget paints all its
pixels when it receives a paint event. Thus, it is not required for
operations like updating, resizing, scrolling and focus changes to
erase the widget before generating paint events. The use of
WA_OpaquePaintEvent provides a small optimization by helping to
reduce flicker on systems that do not support double buffering and
avoiding computational cycles necessary to erase the background
prior to painting. <b>Note:</b> Unlike WA_NoSystemBackground,
WA_OpaquePaintEvent makes an effort to avoid transparent window
backgrounds. This flag is set or cleared by the widget's
author.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_OutsideWSRange</tt></td>
<td class="topAlign"><tt>49</tt></td>
<td class="topAlign">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 class="topAlign"><tt>Qt.WA_PaintOnScreen</tt></td>
<td class="topAlign"><tt>8</tt></td>
<td class="topAlign">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. <b>Note:</b> This flag is only supported on X11 and it
disables double buffering. On Qt for Embedded Linux, the flag only
works when set on a top-level widget and it relies on support from
the active screen driver. This flag is set or cleared by the
widget's author. To render outside of Qt's paint system, e.g., if
you require native painting primitives, you need to reimplement
<a href="qwidget.html#paintEngine">QWidget.paintEngine</a>() to
return 0 and set this flag.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_PaintOutsidePaintEvent</tt></td>
<td class="topAlign"><tt>13</tt></td>
<td class="topAlign">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 flag is
not supported on Windows, Mac OS X or Embedded Linux. We recommend
that you use it only when porting Qt 3 code to Qt 4.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_PaintUnclipped</tt></td>
<td class="topAlign"><tt>52</tt></td>
<td class="topAlign">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 for widgets with the WA_PaintOnScreen flag 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 class="topAlign"><tt>Qt.WA_PendingMoveEvent</tt></td>
<td class="topAlign"><tt>34</tt></td>
<td class="topAlign">Indicates that a move event is pending, e.g.,
when a hidden widget was moved. This flag is set or cleared by the
Qt kernel.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_PendingResizeEvent</tt></td>
<td class="topAlign"><tt>35</tt></td>
<td class="topAlign">Indicates that a resize event is pending,
e.g., when a hidden widget was resized. This flag is set or cleared
by the Qt kernel.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_QuitOnClose</tt></td>
<td class="topAlign"><tt>76</tt></td>
<td class="topAlign">Makes Qt quit the application when the last
widget with the attribute set has accepted closeEvent(). This
behavior can be modified with the <a href="qapplication.html#quitOnLastWindowClosed-prop">QApplication.quitOnLastWindowClosed</a>
property. By default this attribute is set for all widgets of type
<a href="qt.html#WindowType-enum">Qt.Window</a>.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_Resized</tt></td>
<td class="topAlign"><tt>42</tt></td>
<td class="topAlign">Indicates that the widget has an explicit
size. This flag is set or cleared by <a href="qwidget.html#size-prop">QWidget.resize</a>() and <a href="qwidget.html#geometry-prop">QWidget.setGeometry</a>().</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_RightToLeft</tt></td>
<td class="topAlign"><tt>56</tt></td>
<td class="topAlign">Indicates that the layout direction for the
widget is right to left.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_SetCursor</tt></td>
<td class="topAlign"><tt>38</tt></td>
<td class="topAlign">Indicates that the widget has a cursor of its
own. This flag is set or 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 class="topAlign"><tt>Qt.WA_SetFont</tt></td>
<td class="topAlign"><tt>37</tt></td>
<td class="topAlign">Indicates that the widget has a font of its
own. This flag is set or cleared by <a href="qwidget.html#font-prop">QWidget.setFont</a>().</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_SetPalette</tt></td>
<td class="topAlign"><tt>36</tt></td>
<td class="topAlign">Indicates that the widget has a palette of its
own. This flag is set or cleared by <a href="qwidget.html#palette-prop">QWidget.setPalette</a>().</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_SetStyle</tt></td>
<td class="topAlign"><tt>86</tt></td>
<td class="topAlign">Indicates that the widget has a style of its
own. This flag is set or cleared by <a href="qwidget.html#setStyle">QWidget.setStyle</a>().</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_ShowModal</tt></td>
<td class="topAlign"><tt>70</tt></td>
<td class="topAlign"><i>This attribute has been deprecated.</i> Use
<a href="qwidget.html#windowModality-prop">QWidget.windowModality</a>
instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_StaticContents</tt></td>
<td class="topAlign"><tt>5</tt></td>
<td class="topAlign">Indicates that the widget contents are
north-west aligned and static. On resize, such a widget will
receive paint events only for parts of itself that are newly
visible. This flag is set or cleared by the widget's author.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_StyleSheet</tt></td>
<td class="topAlign"><tt>97</tt></td>
<td class="topAlign">Indicates that the widget is styled using a
<a href="stylesheet.html">style sheet</a>.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_TranslucentBackground</tt></td>
<td class="topAlign"><tt>120</tt></td>
<td class="topAlign">Indicates that the widget should have a
translucent background, i.e., any non-opaque regions of the widgets
will be translucent because the widget will have an alpha channel.
Setting this flag causes WA_NoSystemBackground to be set. On
Windows the widget also needs the <a href="qt.html#WindowType-enum">Qt.FramelessWindowHint</a> window flag
to be set. This flag is set or cleared by the widget's author.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_UnderMouse</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">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 flag is
set or cleared by the Qt kernel.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_UpdatesDisabled</tt></td>
<td class="topAlign"><tt>10</tt></td>
<td class="topAlign">Indicates that updates are blocked (including
the system background). This flag is set or cleared by the Qt
kernel.</td>
</tr>
</table>
<p><b>Warning:</b> This flag must <i>never</i> be set or cleared by
the widget's author.</p>
<table class="valuelist">
<tr class="even" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_WindowModified</tt></td>
<td class="topAlign"><tt>41</tt></td>
<td class="topAlign">Indicates that the window is marked as
modified. On some platforms this flag will do nothing, on others
(including Mac OS X and Windows) the window will take a modified
appearance. This flag is set or cleared by <a href="qwidget.html#windowModified-prop">QWidget.setWindowModified</a>().</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_WindowPropagation</tt></td>
<td class="topAlign"><tt>80</tt></td>
<td class="topAlign">Makes a toplevel window inherit font and
palette from its parent.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_MacAlwaysShowToolWindow</tt></td>
<td class="topAlign"><tt>96</tt></td>
<td class="topAlign">On Mac OS X, show the tool window even when
the application is not active. By default, all tool windows are
hidden when the application is inactive.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_SetLocale</tt></td>
<td class="topAlign"><tt>87</tt></td>
<td class="topAlign">Indicates the locale should be taken into
consideration in the widget.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_StyledBackground</tt></td>
<td class="topAlign"><tt>93</tt></td>
<td class="topAlign">Indicates the widget should be drawn using a
styled background.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_ShowWithoutActivating</tt></td>
<td class="topAlign"><tt>98</tt></td>
<td class="topAlign">Show the widget without making it active.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_NativeWindow</tt></td>
<td class="topAlign"><tt>100</tt></td>
<td class="topAlign">Indicates that a native window is created for
the widget. Enabling this flag will also force a native window for
the widget's ancestors unless Qt.WA_DontCreateNativeAncestors is
set.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_DontCreateNativeAncestors</tt></td>
<td class="topAlign"><tt>101</tt></td>
<td class="topAlign">Indicates that the widget's ancestors are kept
non-native even though the widget itself is native.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_X11NetWmWindowTypeDesktop</tt></td>
<td class="topAlign"><tt>104</tt></td>
<td class="topAlign">Adds _NET_WM_WINDOW_TYPE_DESKTOP to the
window's _NET_WM_WINDOW_TYPE X11 window property. See
http://standards.freedesktop.org/wm-spec/ for more details. This
attribute has no effect on non-X11 platforms.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_X11NetWmWindowTypeDock</tt></td>
<td class="topAlign"><tt>105</tt></td>
<td class="topAlign">Adds _NET_WM_WINDOW_TYPE_DOCK to the window's
_NET_WM_WINDOW_TYPE X11 window property. See
http://standards.freedesktop.org/wm-spec/ for more details. This
attribute has no effect on non-X11 platforms.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_X11NetWmWindowTypeToolBar</tt></td>
<td class="topAlign"><tt>106</tt></td>
<td class="topAlign">Adds _NET_WM_WINDOW_TYPE_TOOLBAR to the
window's _NET_WM_WINDOW_TYPE X11 window property. See
http://standards.freedesktop.org/wm-spec/ for more details. This
attribute has no effect on non-X11 platforms. <b>Note:</b> Qt
automaticaly sets this attribute for <a href="qtoolbar.html">QToolBar</a>.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_X11NetWmWindowTypeMenu</tt></td>
<td class="topAlign"><tt>107</tt></td>
<td class="topAlign">Adds _NET_WM_WINDOW_TYPE_MENU to the window's
_NET_WM_WINDOW_TYPE X11 window property. See
http://standards.freedesktop.org/wm-spec/ for more details. This
attribute has no effect on non-X11 platforms. <b>Note:</b> Qt
automatically sets this attribute for <a href="qmenu.html">QMenu</a> when torn-off.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_X11NetWmWindowTypeUtility</tt></td>
<td class="topAlign"><tt>108</tt></td>
<td class="topAlign">Adds _NET_WM_WINDOW_TYPE_UTILITY to the
window's _NET_WM_WINDOW_TYPE X11 window property. See
http://standards.freedesktop.org/wm-spec/ for more details. This
attribute has no effect on non-X11 platforms. <b>Note:</b> Qt
automatically sets this attribute for the <a href="qt.html#WindowType-enum">Qt.Tool</a> window type.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_X11NetWmWindowTypeSplash</tt></td>
<td class="topAlign"><tt>109</tt></td>
<td class="topAlign">Adds _NET_WM_WINDOW_TYPE_SPLASH to the
window's _NET_WM_WINDOW_TYPE X11 window property. See
http://standards.freedesktop.org/wm-spec/ for more details. This
attribute has no effect on non-X11 platforms. <b>Note:</b> Qt
automatically sets this attribute for the <a href="qt.html#WindowType-enum">Qt.SplashScreen</a> window type.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_X11NetWmWindowTypeDialog</tt></td>
<td class="topAlign"><tt>110</tt></td>
<td class="topAlign">Adds _NET_WM_WINDOW_TYPE_DIALOG to the
window's _NET_WM_WINDOW_TYPE X11 window property. See
http://standards.freedesktop.org/wm-spec/ for more details. This
attribute has no effect on non-X11 platforms. <b>Note:</b> Qt
automatically sets this attribute for the <a href="qt.html#WindowType-enum">Qt.Dialog</a> and <a href="qt.html#WindowType-enum">Qt.Sheet</a> window types.</td>
</tr>
<tr>
<td class="topAlign">
<tt>Qt.WA_X11NetWmWindowTypeDropDownMenu</tt></td>
<td class="topAlign"><tt>111</tt></td>
<td class="topAlign">Adds _NET_WM_WINDOW_TYPE_DROPDOWN_MENU to the
window's _NET_WM_WINDOW_TYPE X11 window property. See
http://standards.freedesktop.org/wm-spec/ for more details. This
attribute has no effect on non-X11 platforms. <b>Note:</b> Qt
automatically sets this attribute for QMenus added to a <a href="qmenubar.html">QMenuBar</a>.</td>
</tr>
<tr>
<td class="topAlign">
<tt>Qt.WA_X11NetWmWindowTypePopupMenu</tt></td>
<td class="topAlign"><tt>112</tt></td>
<td class="topAlign">Adds _NET_WM_WINDOW_TYPE_POPUP_MENU to the
window's _NET_WM_WINDOW_TYPE X11 window property. See
http://standards.freedesktop.org/wm-spec/ for more details. This
attribute has no effect on non-X11 platforms. <b>Note:</b> Qt
automatically sets this attribute for <a href="qmenu.html">QMenu</a>.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_X11NetWmWindowTypeToolTip</tt></td>
<td class="topAlign"><tt>113</tt></td>
<td class="topAlign">Adds _NET_WM_WINDOW_TYPE_TOOLTIP to the
window's _NET_WM_WINDOW_TYPE X11 window property. See
http://standards.freedesktop.org/wm-spec/ for more details. This
attribute has no effect on non-X11 platforms. <b>Note:</b> Qt
automatically sets this attribute for the <a href="qt.html#WindowType-enum">Qt.ToolTip</a> window type.</td>
</tr>
<tr>
<td class="topAlign">
<tt>Qt.WA_X11NetWmWindowTypeNotification</tt></td>
<td class="topAlign"><tt>114</tt></td>
<td class="topAlign">Adds _NET_WM_WINDOW_TYPE_NOTIFICATION to the
window's _NET_WM_WINDOW_TYPE X11 window property. See
http://standards.freedesktop.org/wm-spec/ for more details. This
attribute has no effect on non-X11 platforms.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_X11NetWmWindowTypeCombo</tt></td>
<td class="topAlign"><tt>115</tt></td>
<td class="topAlign">Adds _NET_WM_WINDOW_TYPE_COMBO to the window's
_NET_WM_WINDOW_TYPE X11 window property. See
http://standards.freedesktop.org/wm-spec/ for more details. This
attribute has no effect on non-X11 platforms. <b>Note:</b> Qt
automatically sets this attribute for the <a href="qcombobox.html">QComboBox</a> pop-up.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_X11NetWmWindowTypeDND</tt></td>
<td class="topAlign"><tt>116</tt></td>
<td class="topAlign">Adds _NET_WM_WINDOW_TYPE_DND to the window's
_NET_WM_WINDOW_TYPE X11 window property. See
http://standards.freedesktop.org/wm-spec/ for more details. This
attribute has no effect on non-X11 platforms. <b>Note:</b> Qt
automatically sets this attribute on the feedback widget used
during a drag.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_MacFrameworkScaled</tt></td>
<td class="topAlign"><tt>117</tt></td>
<td class="topAlign">Enables resolution independence aware mode on
Mac when using Carbon. This attribute has no effect on Cocoa. The
attribute is off by default and can be enabled on a per-window
basis.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_AcceptTouchEvents</tt></td>
<td class="topAlign"><tt>121</tt></td>
<td class="topAlign">Allows touch events (see <a href="qtouchevent.html">QTouchEvent</a>) to be sent to the widget. Must
be set on all widgets that can handle touch events. Without this
attribute set, events from a touch device will be sent as mouse
events.</td>
</tr>
<tr>
<td class="topAlign">
<tt>Qt.WA_TouchPadAcceptSingleTouchEvents</tt></td>
<td class="topAlign"><tt>123</tt></td>
<td class="topAlign">Allows touchpad single touch events to be sent
to the widget.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_MergeSoftkeys</tt></td>
<td class="topAlign"><tt>124</tt></td>
<td class="topAlign">Allows widget to merge softkeys with parent
widget, i.e. widget can set only one softkeys and request softkey
implementation to take rest of the softkeys from the parent. Note
parents are traversed until WA_MergeSoftkeys is not set. See also
Qt.WA_MergeSoftkeysRecursively This attribute currently has effect
only on Symbian platforms</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_MergeSoftkeysRecursively</tt></td>
<td class="topAlign"><tt>125</tt></td>
<td class="topAlign">Allows widget to merge softkeys recursively
with all parents. If this attribute is set, the widget parents are
traversed until window boundary (widget without parent or dialog)
is found. This attribute currently has effect only on Symbian
platforms</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_X11DoNotAcceptFocus</tt></td>
<td class="topAlign"><tt>132</tt></td>
<td class="topAlign">Asks the window manager to not give focus to
this top level window. This attribute has no effect on non-X11
platforms.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_LockPortraitOrientation</tt></td>
<td class="topAlign"><tt>128</tt></td>
<td class="topAlign">Locks the widget to a portrait orientation,
ignoring changes to the display's orientation with respect to the
user.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_LockLandscapeOrientation</tt></td>
<td class="topAlign"><tt>129</tt></td>
<td class="topAlign">Locks the widget to a landscape orientation,
ignoring changes to the display's orientation with respect to the
user.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_AutoOrientation</tt></td>
<td class="topAlign"><tt>130</tt></td>
<td class="topAlign">Causes the widget to change orientation
whenever the display changes orientation with respect to the
user.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WA_MacNoShadow</tt></td>
<td class="topAlign"><tt>134</tt></td>
<td class="topAlign">Since Qt 4.8, this attribute disables drop
shadows for this top level window. Only affects Cocoa builds of Qt
for Mac OS X.</td>
</tr>
</table>
<h3 class="fn"><a name="WindowFrameSection-enum" />Qt.WindowFrameSection</h3><p>This enum is used to describe parts of a window frame. It is
returned by <a href="qgraphicswidget.html#windowFrameSectionAt">QGraphicsWidget.windowFrameSectionAt</a>()
to describe what section of the window frame is under the
mouse.</p>
<table class="valuelist">
<tr>
<th class="tblConst">Constant</th>
<th class="tblVal">Value</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.NoSection</tt></td>
<td class="topAlign"><tt>0</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.LeftSection</tt></td>
<td class="topAlign"><tt>1</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TopLeftSection</tt></td>
<td class="topAlign"><tt>2</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TopSection</tt></td>
<td class="topAlign"><tt>3</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TopRightSection</tt></td>
<td class="topAlign"><tt>4</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.RightSection</tt></td>
<td class="topAlign"><tt>5</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.BottomRightSection</tt></td>
<td class="topAlign"><tt>6</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.BottomSection</tt></td>
<td class="topAlign"><tt>7</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.BottomLeftSection</tt></td>
<td class="topAlign"><tt>8</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.TitleBarArea</tt></td>
<td class="topAlign"><tt>9</tt></td>
</tr>
</table>
<p>This enum was introduced or modified in Qt 4.4.</p>
<p><b>See also</b> <a href="qgraphicswidget.html#windowFrameEvent">QGraphicsWidget.windowFrameEvent</a>(),
<a href="qgraphicswidget.html#paintWindowFrame">QGraphicsWidget.paintWindowFrame</a>(),
and <a href="qgraphicswidget.html#windowFrameSectionAt">QGraphicsWidget.windowFrameSectionAt</a>().</p>
<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 class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.NonModal</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">The window is not modal and does not block
input to other windows.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WindowModal</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">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 class="topAlign"><tt>Qt.ApplicationModal</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">The window is modal to the application and
blocks input to all windows.</td>
</tr>
</table>
<p><b>See also</b> <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 class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WindowNoState</tt></td>
<td class="topAlign"><tt>0x00000000</tt></td>
<td class="topAlign">The window has no state set (in normal
state).</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WindowMinimized</tt></td>
<td class="topAlign"><tt>0x00000001</tt></td>
<td class="topAlign">The window is minimized (i.e. iconified).</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WindowMaximized</tt></td>
<td class="topAlign"><tt>0x00000002</tt></td>
<td class="topAlign">The window is maximized with a frame around
it.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WindowFullScreen</tt></td>
<td class="topAlign"><tt>0x00000004</tt></td>
<td class="topAlign">The window fills the entire screen without any
frame around it.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WindowActive</tt></td>
<td class="topAlign"><tt>0x00000008</tt></td>
<td class="topAlign">The window is the active window, i.e. it has
keyboard focus.</td>
</tr>
</table>
<p>The WindowStates type is a typedef for <a href="qflags.html">QFlags</a><WindowState>. 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 class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Widget</tt></td>
<td class="topAlign"><tt>0x00000000</tt></td>
<td class="topAlign">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 class="topAlign"><tt>Qt.Window</tt></td>
<td class="topAlign"><tt>0x00000001</tt></td>
<td class="topAlign">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. Note that it is not possible to
unset this flag if the widget does not have a parent.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Dialog</tt></td>
<td class="topAlign"><tt>0x00000002 | Window</tt></td>
<td class="topAlign">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 class="topAlign"><tt>Qt.Sheet</tt></td>
<td class="topAlign"><tt>0x00000004 | Window</tt></td>
<td class="topAlign">Indicates that the window is a Macintosh
sheet. Since using a sheet implies window modality, the recommended
way is to use <a href="qwidget.html#windowModality-prop">QWidget.setWindowModality</a>(),
or <a href="qdialog.html#open">QDialog.open</a>(), instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Drawer</tt></td>
<td class="topAlign"><tt>0x00000006 | Window</tt></td>
<td class="topAlign">Indicates that the widget is a Macintosh
drawer.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Popup</tt></td>
<td class="topAlign"><tt>0x00000008 | Window</tt></td>
<td class="topAlign">Indicates that the widget is a pop-up
top-level window, i.e. that it is modal, but has a window system
frame appropriate for pop-up menus.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Tool</tt></td>
<td class="topAlign"><tt>0x0000000a | Window</tt></td>
<td class="topAlign">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.
If 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.<br />
<br />
On Mac OS X, tool windows correspond to the <a href="http://developer.apple.com/documentation/Carbon/Conceptual/HandlingWindowsControls/hitb-wind_cont_concept/chapter_2_section_2.html">
Floating</a> class of windows. This means that the window lives on
a level above normal windows; it impossible to put a normal window
on top of it. By default, tool windows will disappear when the
application is inactive. This can be controlled by the <a href="qt.html#WidgetAttribute-enum">Qt.WA_MacAlwaysShowToolWindow</a>
attribute.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.ToolTip</tt></td>
<td class="topAlign"><tt>0x0000000c | Window</tt></td>
<td class="topAlign">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 class="topAlign"><tt>Qt.SplashScreen</tt></td>
<td class="topAlign"><tt>0x0000000e | Window</tt></td>
<td class="topAlign">Indicates that the window is a splash screen.
This is the default type for <a href="qsplashscreen.html">QSplashScreen</a>.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.Desktop</tt></td>
<td class="topAlign"><tt>0x00000010 | Window</tt></td>
<td class="topAlign">Indicates that this widget is the desktop.
This is the type for <a href="qdesktopwidget.html">QDesktopWidget</a>.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.SubWindow</tt></td>
<td class="topAlign"><tt>0x00000012</tt></td>
<td class="topAlign">Indicates that this widget is a sub-window,
such as a <a href="qmdisubwindow.html">QMdiSubWindow</a>
widget.</td>
</tr>
</table>
<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 class="valuelist">
<tr class="even" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MSWindowsFixedSizeDialogHint</tt></td>
<td class="topAlign"><tt>0x00000100</tt></td>
<td class="topAlign">Gives the window a thin dialog border on
Windows. This style is traditionally used for fixed-size
dialogs.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MSWindowsOwnDC</tt></td>
<td class="topAlign"><tt>0x00000200</tt></td>
<td class="topAlign">Gives the window its own display context on
Windows.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.X11BypassWindowManagerHint</tt></td>
<td class="topAlign"><tt>0x00000400</tt></td>
<td class="topAlign">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 class="topAlign"><tt>Qt.FramelessWindowHint</tt></td>
<td class="topAlign"><tt>0x00000800</tt></td>
<td class="topAlign">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>
</table>
<p>The <tt>CustomizeWindowHint</tt> flag is used to enable
customization of the window controls. This flag must be set to
allow the <tt>WindowTitleHint</tt>, <tt>WindowSystemMenuHint</tt>,
<tt>WindowMinimizeButtonHint</tt>,
<tt>WindowMaximizeButtonHint</tt> and
<tt>WindowCloseButtonHint</tt> flags to be changed.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.CustomizeWindowHint</tt></td>
<td class="topAlign"><tt>0x02000000</tt></td>
<td class="topAlign">Turns off the default window title hints.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WindowTitleHint</tt></td>
<td class="topAlign"><tt>0x00001000</tt></td>
<td class="topAlign">Gives the window a title bar.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WindowSystemMenuHint</tt></td>
<td class="topAlign"><tt>0x00002000</tt></td>
<td class="topAlign">Adds a window system menu, and possibly a
close button (for example on Mac). If you need to hide or show a
close button, it is more portable to use
<tt>WindowCloseButtonHint</tt>.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WindowMinimizeButtonHint</tt></td>
<td class="topAlign"><tt>0x00004000</tt></td>
<td class="topAlign">Adds a minimize button. On some platforms this
implies Qt.WindowSystemMenuHint for it to work.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WindowMaximizeButtonHint</tt></td>
<td class="topAlign"><tt>0x00008000</tt></td>
<td class="topAlign">Adds a maximize button. On some platforms this
implies Qt.WindowSystemMenuHint for it to work.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WindowMinMaxButtonsHint</tt></td>
<td class="topAlign"><tt>WindowMinimizeButtonHint |
WindowMaximizeButtonHint</tt></td>
<td class="topAlign">Adds a minimize and a maximize button. On some
platforms this implies Qt.WindowSystemMenuHint for it to
work.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WindowCloseButtonHint</tt></td>
<td class="topAlign"><tt>0x08000000</tt></td>
<td class="topAlign">Adds a close button. On some platforms this
implies Qt.WindowSystemMenuHint for it to work.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WindowContextHelpButtonHint</tt></td>
<td class="topAlign"><tt>0x00010000</tt></td>
<td class="topAlign">Adds a context help button to dialogs. On some
platforms this implies Qt.WindowSystemMenuHint for it to
work.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.MacWindowToolBarButtonHint</tt></td>
<td class="topAlign"><tt>0x10000000</tt></td>
<td class="topAlign">On Mac OS X adds a tool bar button (i.e., the
oblong button that is on the top right of windows that have
toolbars).</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.BypassGraphicsProxyWidget</tt></td>
<td class="topAlign"><tt>0x20000000</tt></td>
<td class="topAlign">Prevents the window and its children from
automatically embedding themselves into a <a href="qgraphicsproxywidget.html">QGraphicsProxyWidget</a> if the parent
widget is already embedded. You can set this flag if you want your
widget to always be a toplevel widget on the desktop, regardless of
whether the parent widget is embedded in a scene or not.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WindowShadeButtonHint</tt></td>
<td class="topAlign"><tt>0x00020000</tt></td>
<td class="topAlign"> </td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WindowStaysOnTopHint</tt></td>
<td class="topAlign"><tt>0x00040000</tt></td>
<td class="topAlign">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 class="topAlign"><tt>Qt.WindowStaysOnBottomHint</tt></td>
<td class="topAlign"><tt>0x04000000</tt></td>
<td class="topAlign">Informs the window system that the window
should stay on bottom of all other windows. Note that on X11 this
hint will work only in window managers that support
_NET_WM_STATE_BELOW atom. If a window always on the bottom has a
parent, the parent will also be left on the bottom. This window
hint is currently not implemented for Mac OS X.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WindowOkButtonHint</tt></td>
<td class="topAlign"><tt>0x00080000</tt></td>
<td class="topAlign">Adds an OK button to the window decoration of
a dialog. Only supported for Windows CE.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WindowCancelButtonHint</tt></td>
<td class="topAlign"><tt>0x00100000</tt></td>
<td class="topAlign">Adds a Cancel button to the window decoration
of a dialog. Only supported for Windows CE.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WindowSoftkeysVisibleHint</tt></td>
<td class="topAlign"><tt>0x40000000</tt></td>
<td class="topAlign">Makes softkeys visible when widget is
fullscreen. Only supported for Symbian.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WindowSoftkeysRespondHint</tt></td>
<td class="topAlign"><tt>0x80000000</tt></td>
<td class="topAlign">Makes softkeys to receive key events even when
invisible. With this hint the softkey actions are triggered even
the softkeys are invisible i.e. the window is displayed with
<tt>showFullscreen()</tt>. Only supported for Symbian.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WindowType_Mask</tt></td>
<td class="topAlign"><tt>0x000000ff</tt></td>
<td class="topAlign">A mask for extracting the window type part of
the window flags.</td>
</tr>
</table>
<p>Obsolete flags:</p>
<table class="valuelist">
<tr class="even" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WMouseNoMask</tt></td>
<td class="topAlign"><tt>0x00080000</tt></td>
<td class="topAlign">Use <a href="qt.html#WidgetAttribute-enum">Qt.WA_MouseNoMask</a> instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WDestructiveClose</tt></td>
<td class="topAlign"><tt>0x00100000</tt></td>
<td class="topAlign">Use <a href="qt.html#WidgetAttribute-enum">Qt.WA_DeleteOnClose</a>
instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WStaticContents</tt></td>
<td class="topAlign"><tt>0x00200000</tt></td>
<td class="topAlign">Use <a href="qt.html#WidgetAttribute-enum">Qt.WA_StaticContents</a>
instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WGroupLeader</tt></td>
<td class="topAlign"><tt>0x00400000</tt></td>
<td class="topAlign">No longer needed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WShowModal</tt></td>
<td class="topAlign"><tt>0x00800000</tt></td>
<td class="topAlign">Use <a href="qwidget.html#windowModality-prop">QWidget.windowModality</a>
instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WNoMousePropagation</tt></td>
<td class="topAlign"><tt>0x01000000</tt></td>
<td class="topAlign">Use <a href="qt.html#WidgetAttribute-enum">Qt.WA_NoMousePropagation</a>
instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WType_TopLevel</tt></td>
<td class="topAlign"><tt>Window</tt></td>
<td class="topAlign">Use Qt.Window instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WType_Dialog</tt></td>
<td class="topAlign"><tt>Dialog</tt></td>
<td class="topAlign">Use Qt.Dialog instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WType_Popup</tt></td>
<td class="topAlign"><tt>Popup</tt></td>
<td class="topAlign">Use Qt.Popup instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WType_Desktop</tt></td>
<td class="topAlign"><tt>Desktop</tt></td>
<td class="topAlign">Use Qt.Desktop instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WType_Mask</tt></td>
<td class="topAlign"><tt>WindowType_Mask</tt></td>
<td class="topAlign">Use Qt.WindowType_Mask instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WStyle_Customize</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">No longer needed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WStyle_NormalBorder</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">No longer needed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WStyle_DialogBorder</tt></td>
<td class="topAlign"><tt>MSWindowsFixedSizeDialogHint</tt></td>
<td class="topAlign">Use Qt.MSWindowsFixedSizeDialogHint
instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WStyle_NoBorder</tt></td>
<td class="topAlign"><tt>FramelessWindowHint</tt></td>
<td class="topAlign">Use Qt.FramelessWindowHint instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WStyle_Title</tt></td>
<td class="topAlign"><tt>WindowTitleHint</tt></td>
<td class="topAlign">Use Qt.WindowTitleHint instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WStyle_SysMenu</tt></td>
<td class="topAlign"><tt>WindowSystemMenuHint</tt></td>
<td class="topAlign">Use Qt.WindowSystemMenuHint instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WStyle_Minimize</tt></td>
<td class="topAlign"><tt>WindowMinimizeButtonHint</tt></td>
<td class="topAlign">Use Qt.WindowMinimizeButtonHint instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WStyle_Maximize</tt></td>
<td class="topAlign"><tt>WindowMaximizeButtonHint</tt></td>
<td class="topAlign">Use Qt.WindowMaximizeButtonHint instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WStyle_MinMax</tt></td>
<td class="topAlign"><tt>WStyle_Minimize |
WStyle_Maximize</tt></td>
<td class="topAlign">Use Qt.WindowMinMaxButtonsHint instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WStyle_Tool</tt></td>
<td class="topAlign"><tt>Tool</tt></td>
<td class="topAlign">Use Qt.Tool instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WStyle_StaysOnTop</tt></td>
<td class="topAlign"><tt>WindowStaysOnTopHint</tt></td>
<td class="topAlign">Use Qt.WindowStaysOnTopHint instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WStyle_ContextHelp</tt></td>
<td class="topAlign"><tt>WindowContextHelpButtonHint</tt></td>
<td class="topAlign">Use Qt.WindowContextHelpButtonHint
instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WPaintDesktop</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">No longer needed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WPaintClever</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">No longer needed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WX11BypassWM</tt></td>
<td class="topAlign"><tt>X11BypassWindowManagerHint</tt></td>
<td class="topAlign">Use Qt.X11BypassWindowManagerHint
instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WWinOwnDC</tt></td>
<td class="topAlign"><tt>MSWindowsOwnDC</tt></td>
<td class="topAlign">Use Qt.MSWindowsOwnDC instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WMacSheet</tt></td>
<td class="topAlign"><tt>Sheet</tt></td>
<td class="topAlign">Use Qt.Sheet instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WMacDrawer</tt></td>
<td class="topAlign"><tt>Drawer</tt></td>
<td class="topAlign">Use Qt.Drawer instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WStyle_Splash</tt></td>
<td class="topAlign"><tt>SplashScreen</tt></td>
<td class="topAlign">Use Qt.SplashScreen instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WNoAutoErase</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">No longer needed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WRepaintNoErase</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">No longer needed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WNorthWestGravity</tt></td>
<td class="topAlign"><tt>WStaticContents</tt></td>
<td class="topAlign">Use <a href="qt.html#WidgetAttribute-enum">Qt.WA_StaticContents</a>
instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WType_Modal</tt></td>
<td class="topAlign"><tt>Dialog | WShowModal</tt></td>
<td class="topAlign">Use Qt.Dialog and <a href="qwidget.html#windowModality-prop">QWidget.windowModality</a>
instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WStyle_Dialog</tt></td>
<td class="topAlign"><tt>Dialog</tt></td>
<td class="topAlign">Use Qt.Dialog instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WStyle_NoBorderEx</tt></td>
<td class="topAlign"><tt>FramelessWindowHint</tt></td>
<td class="topAlign">Use Qt.FramelessWindowHint instead.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WResizeNoErase</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">No longer needed.</td>
</tr>
<tr>
<td class="topAlign"><tt>Qt.WMacNoSheet</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">No longer needed.</td>
</tr>
</table>
<p>The WindowFlags type is a typedef for <a href="qflags.html">QFlags</a><WindowType>. It stores an OR
combination of WindowType values.</p>
<p><b>See also</b> <a href="qwidget.html#windowFlags-prop">QWidget.windowFlags</a> and
<a href="widgets-windowflags.html">Window Flags Example</a>.</p>
<hr /><h2>Method Documentation</h2><h3 class="fn"><a name="convertFromPlainText" />QString Qt.convertFromPlainText (QString <i>plain</i>, <a href="qt.html#WhiteSpaceMode-enum">WhiteSpaceMode</a> <i>mode</i> = 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><QTextDocument></tt>
header file.</p>
<p><b>See also</b> <a href="qt.html#escape">escape</a>() and
<a href="qt.html#mightBeRichText">mightBeRichText</a>().</p>
<h3 class="fn"><a name="escape" />QString Qt.escape (QString <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><</tt>, <tt>></tt>,
<tt>&</tt>, and <tt>"</tt> replaced by HTML entities.</p>
<p>Example:</p>
<pre class="cpp">
<span class="type"><a href="qstring.html">QString</a></span> plain <span class="operator">=</span> <span class="string">"#include <QtCore>"</span>
<span class="type"><a href="qstring.html">QString</a></span> html <span class="operator">=</span> <span class="type"><a href="qt.html">Qt</a></span><span class="operator">.</span>escape(plain);
<span class="comment">// html == "#include &lt;QtCore&gt;"</span>
</pre>
<p>This function is defined in the <tt><QTextDocument></tt>
header file.</p>
<p><b>See also</b> <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 (QString)</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><QTextDocument></tt>
header file.</p>
<address><hr /><div align="center"><table border="0" cellspacing="0" width="100%"><tr class="address"><td align="left" width="25%">PyQt 4.12.1 for X11</td><td align="center" width="50%">Copyright © <a href="http://www.riverbankcomputing.com">Riverbank Computing Ltd</a> and <a href="http://www.qt.io">The Qt Company</a> 2015</td><td align="right" width="25%">Qt 4.8.7</td></tr></table></div></address></body></html>
|