/usr/lib/python3/dist-packages/PyQt5/QtWidgets.pyi is in python3-pyqt5 5.10.1+dfsg-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 9412 9413 9414 9415 9416 9417 9418 9419 9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 | # The PEP 484 type hints stub file for the QtWidgets module.
#
# Generated by SIP 4.19.7
#
# Copyright (c) 2018 Riverbank Computing Limited <info@riverbankcomputing.com>
#
# This file is part of PyQt5.
#
# This file may be used under the terms of the GNU General Public License
# version 3.0 as published by the Free Software Foundation and appearing in
# the file LICENSE included in the packaging of this file. Please review the
# following information to ensure the GNU General Public License version 3.0
# requirements will be met: http://www.gnu.org/copyleft/gpl.html.
#
# If you do not wish to use this file under the terms of the GPL version 3.0
# then you may purchase a commercial license. For more information contact
# info@riverbankcomputing.com.
#
# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
import typing
import sip
from PyQt5 import QtGui
from PyQt5 import QtCore
# Support for QDate, QDateTime and QTime.
import datetime
# Convenient type aliases.
PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal]
PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal]
# Convenient aliases for complicated OpenGL types.
PYQT_OPENGL_ARRAY = typing.Union[typing.Sequence[int], typing.Sequence[float],
sip.Buffer, None]
PYQT_OPENGL_BOUND_ARRAY = typing.Union[typing.Sequence[int],
typing.Sequence[float], sip.Buffer, int, None]
class QWidget(QtCore.QObject, QtGui.QPaintDevice):
class RenderFlag(int): ...
DrawWindowBackground = ... # type: 'QWidget.RenderFlag'
DrawChildren = ... # type: 'QWidget.RenderFlag'
IgnoreMask = ... # type: 'QWidget.RenderFlag'
class RenderFlags(sip.simplewrapper):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, f: typing.Union['QWidget.RenderFlags', 'QWidget.RenderFlag']) -> None: ...
@typing.overload
def __init__(self, a0: 'QWidget.RenderFlags') -> None: ...
def __hash__(self) -> int: ...
def __bool__(self) -> int: ...
def __invert__(self) -> 'QWidget.RenderFlags': ...
def __int__(self) -> int: ...
def __init__(self, parent: typing.Optional['QWidget'] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ...
def setWindowFlag(self, a0: QtCore.Qt.WindowType, on: bool = ...) -> None: ...
def hasTabletTracking(self) -> bool: ...
def setTabletTracking(self, enable: bool) -> None: ...
def windowIconTextChanged(self, iconText: str) -> None: ...
def windowIconChanged(self, icon: QtGui.QIcon) -> None: ...
def windowTitleChanged(self, title: str) -> None: ...
def toolTipDuration(self) -> int: ...
def setToolTipDuration(self, msec: int) -> None: ...
def initPainter(self, painter: QtGui.QPainter) -> None: ...
def sharedPainter(self) -> QtGui.QPainter: ...
def nativeEvent(self, eventType: typing.Union[QtCore.QByteArray, bytes, bytearray], message: sip.voidptr) -> typing.Tuple[bool, int]: ...
def windowHandle(self) -> QtGui.QWindow: ...
@staticmethod
def createWindowContainer(window: QtGui.QWindow, parent: typing.Optional['QWidget'] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> 'QWidget': ...
def grab(self, rectangle: QtCore.QRect = ...) -> QtGui.QPixmap: ...
def hasHeightForWidth(self) -> bool: ...
def setInputMethodHints(self, hints: typing.Union[QtCore.Qt.InputMethodHints, QtCore.Qt.InputMethodHint]) -> None: ...
def inputMethodHints(self) -> QtCore.Qt.InputMethodHints: ...
def previousInFocusChain(self) -> 'QWidget': ...
def contentsMargins(self) -> QtCore.QMargins: ...
def ungrabGesture(self, type: QtCore.Qt.GestureType) -> None: ...
def grabGesture(self, type: QtCore.Qt.GestureType, flags: typing.Union[QtCore.Qt.GestureFlags, QtCore.Qt.GestureFlag] = ...) -> None: ...
def setGraphicsEffect(self, effect: 'QGraphicsEffect') -> None: ...
def graphicsEffect(self) -> 'QGraphicsEffect': ...
def graphicsProxyWidget(self) -> 'QGraphicsProxyWidget': ...
def windowFilePath(self) -> str: ...
def setWindowFilePath(self, filePath: str) -> None: ...
def nativeParentWidget(self) -> 'QWidget': ...
def effectiveWinId(self) -> sip.voidptr: ...
def unsetLocale(self) -> None: ...
def locale(self) -> QtCore.QLocale: ...
def setLocale(self, locale: QtCore.QLocale) -> None: ...
@typing.overload
def render(self, target: QtGui.QPaintDevice, targetOffset: QtCore.QPoint = ..., sourceRegion: QtGui.QRegion = ..., flags: typing.Union['QWidget.RenderFlags', 'QWidget.RenderFlag'] = ...) -> None: ...
@typing.overload
def render(self, painter: QtGui.QPainter, targetOffset: QtCore.QPoint = ..., sourceRegion: QtGui.QRegion = ..., flags: typing.Union['QWidget.RenderFlags', 'QWidget.RenderFlag'] = ...) -> None: ...
def restoreGeometry(self, geometry: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> bool: ...
def saveGeometry(self) -> QtCore.QByteArray: ...
def setShortcutAutoRepeat(self, id: int, enabled: bool = ...) -> None: ...
def styleSheet(self) -> str: ...
def setStyleSheet(self, styleSheet: str) -> None: ...
def setAutoFillBackground(self, enabled: bool) -> None: ...
def autoFillBackground(self) -> bool: ...
def setWindowModality(self, windowModality: QtCore.Qt.WindowModality) -> None: ...
def windowModality(self) -> QtCore.Qt.WindowModality: ...
def testAttribute(self, attribute: QtCore.Qt.WidgetAttribute) -> bool: ...
def parentWidget(self) -> 'QWidget': ...
def height(self) -> int: ...
def width(self) -> int: ...
def size(self) -> QtCore.QSize: ...
def geometry(self) -> QtCore.QRect: ...
def rect(self) -> QtCore.QRect: ...
def isHidden(self) -> bool: ...
def isVisible(self) -> bool: ...
def updatesEnabled(self) -> bool: ...
def underMouse(self) -> bool: ...
def hasMouseTracking(self) -> bool: ...
def setMouseTracking(self, enable: bool) -> None: ...
def fontInfo(self) -> QtGui.QFontInfo: ...
def fontMetrics(self) -> QtGui.QFontMetrics: ...
def font(self) -> QtGui.QFont: ...
def maximumHeight(self) -> int: ...
def maximumWidth(self) -> int: ...
def minimumHeight(self) -> int: ...
def minimumWidth(self) -> int: ...
def isModal(self) -> bool: ...
def isEnabled(self) -> bool: ...
def isWindow(self) -> bool: ...
def winId(self) -> sip.voidptr: ...
def windowFlags(self) -> QtCore.Qt.WindowFlags: ...
def windowType(self) -> QtCore.Qt.WindowType: ...
def focusPreviousChild(self) -> bool: ...
def focusNextChild(self) -> bool: ...
def focusNextPrevChild(self, next: bool) -> bool: ...
def destroy(self, destroyWindow: bool = ..., destroySubWindows: bool = ...) -> None: ...
def create(self, window: sip.voidptr = ..., initializeWindow: bool = ..., destroyOldWindow: bool = ...) -> None: ...
def updateMicroFocus(self) -> None: ...
def inputMethodQuery(self, a0: QtCore.Qt.InputMethodQuery) -> typing.Any: ...
def inputMethodEvent(self, a0: QtGui.QInputMethodEvent) -> None: ...
def metric(self, a0: QtGui.QPaintDevice.PaintDeviceMetric) -> int: ...
def changeEvent(self, a0: QtCore.QEvent) -> None: ...
def hideEvent(self, a0: QtGui.QHideEvent) -> None: ...
def showEvent(self, a0: QtGui.QShowEvent) -> None: ...
def dropEvent(self, a0: QtGui.QDropEvent) -> None: ...
def dragLeaveEvent(self, a0: QtGui.QDragLeaveEvent) -> None: ...
def dragMoveEvent(self, a0: QtGui.QDragMoveEvent) -> None: ...
def dragEnterEvent(self, a0: QtGui.QDragEnterEvent) -> None: ...
def actionEvent(self, a0: QtGui.QActionEvent) -> None: ...
def tabletEvent(self, a0: QtGui.QTabletEvent) -> None: ...
def contextMenuEvent(self, a0: QtGui.QContextMenuEvent) -> None: ...
def closeEvent(self, a0: QtGui.QCloseEvent) -> None: ...
def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ...
def moveEvent(self, a0: QtGui.QMoveEvent) -> None: ...
def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ...
def leaveEvent(self, a0: QtCore.QEvent) -> None: ...
def enterEvent(self, a0: QtCore.QEvent) -> None: ...
def focusOutEvent(self, a0: QtGui.QFocusEvent) -> None: ...
def focusInEvent(self, a0: QtGui.QFocusEvent) -> None: ...
def keyReleaseEvent(self, a0: QtGui.QKeyEvent) -> None: ...
def keyPressEvent(self, a0: QtGui.QKeyEvent) -> None: ...
def wheelEvent(self, a0: QtGui.QWheelEvent) -> None: ...
def mouseMoveEvent(self, a0: QtGui.QMouseEvent) -> None: ...
def mouseDoubleClickEvent(self, a0: QtGui.QMouseEvent) -> None: ...
def mouseReleaseEvent(self, a0: QtGui.QMouseEvent) -> None: ...
def mousePressEvent(self, a0: QtGui.QMouseEvent) -> None: ...
def event(self, a0: QtCore.QEvent) -> bool: ...
def customContextMenuRequested(self, pos: QtCore.QPoint) -> None: ...
def isAncestorOf(self, child: 'QWidget') -> bool: ...
def ensurePolished(self) -> None: ...
def paintEngine(self) -> QtGui.QPaintEngine: ...
def setAttribute(self, attribute: QtCore.Qt.WidgetAttribute, on: bool = ...) -> None: ...
@typing.overload
def childAt(self, p: QtCore.QPoint) -> 'QWidget': ...
@typing.overload
def childAt(self, ax: int, ay: int) -> 'QWidget': ...
@staticmethod
def find(a0: sip.voidptr) -> 'QWidget': ...
def overrideWindowFlags(self, type: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType]) -> None: ...
def setWindowFlags(self, type: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType]) -> None: ...
def actions(self) -> typing.List['QAction']: ...
def removeAction(self, action: 'QAction') -> None: ...
def insertActions(self, before: 'QAction', actions: typing.Iterable['QAction']) -> None: ...
def insertAction(self, before: 'QAction', action: 'QAction') -> None: ...
def addActions(self, actions: typing.Any) -> None: ...
def addAction(self, action: 'QAction') -> None: ...
def setAcceptDrops(self, on: bool) -> None: ...
def acceptDrops(self) -> bool: ...
def nextInFocusChain(self) -> 'QWidget': ...
def focusWidget(self) -> 'QWidget': ...
@typing.overload
def scroll(self, dx: int, dy: int) -> None: ...
@typing.overload
def scroll(self, dx: int, dy: int, a2: QtCore.QRect) -> None: ...
@typing.overload
def setParent(self, parent: 'QWidget') -> None: ...
@typing.overload
def setParent(self, parent: 'QWidget', f: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType]) -> None: ...
def updateGeometry(self) -> None: ...
def setLayout(self, a0: 'QLayout') -> None: ...
def layout(self) -> 'QLayout': ...
def contentsRect(self) -> QtCore.QRect: ...
def getContentsMargins(self) -> typing.Tuple[int, int, int, int]: ...
@typing.overload
def setContentsMargins(self, left: int, top: int, right: int, bottom: int) -> None: ...
@typing.overload
def setContentsMargins(self, margins: QtCore.QMargins) -> None: ...
def visibleRegion(self) -> QtGui.QRegion: ...
def heightForWidth(self, a0: int) -> int: ...
@typing.overload
def setSizePolicy(self, a0: 'QSizePolicy') -> None: ...
@typing.overload
def setSizePolicy(self, hor: 'QSizePolicy.Policy', ver: 'QSizePolicy.Policy') -> None: ...
def sizePolicy(self) -> 'QSizePolicy': ...
def minimumSizeHint(self) -> QtCore.QSize: ...
def sizeHint(self) -> QtCore.QSize: ...
def overrideWindowState(self, state: typing.Union[QtCore.Qt.WindowStates, QtCore.Qt.WindowState]) -> None: ...
def setWindowState(self, state: typing.Union[QtCore.Qt.WindowStates, QtCore.Qt.WindowState]) -> None: ...
def windowState(self) -> QtCore.Qt.WindowStates: ...
def isFullScreen(self) -> bool: ...
def isMaximized(self) -> bool: ...
def isMinimized(self) -> bool: ...
def isVisibleTo(self, a0: 'QWidget') -> bool: ...
def adjustSize(self) -> None: ...
@typing.overload
def setGeometry(self, a0: QtCore.QRect) -> None: ...
@typing.overload
def setGeometry(self, ax: int, ay: int, aw: int, ah: int) -> None: ...
@typing.overload
def resize(self, a0: QtCore.QSize) -> None: ...
@typing.overload
def resize(self, w: int, h: int) -> None: ...
@typing.overload
def move(self, a0: QtCore.QPoint) -> None: ...
@typing.overload
def move(self, ax: int, ay: int) -> None: ...
def stackUnder(self, a0: 'QWidget') -> None: ...
def lower(self) -> None: ...
def raise_(self) -> None: ...
def close(self) -> bool: ...
def showNormal(self) -> None: ...
def showFullScreen(self) -> None: ...
def showMaximized(self) -> None: ...
def showMinimized(self) -> None: ...
def hide(self) -> None: ...
def show(self) -> None: ...
def setHidden(self, hidden: bool) -> None: ...
def setVisible(self, visible: bool) -> None: ...
@typing.overload
def repaint(self) -> None: ...
@typing.overload
def repaint(self, x: int, y: int, w: int, h: int) -> None: ...
@typing.overload
def repaint(self, a0: QtCore.QRect) -> None: ...
@typing.overload
def repaint(self, a0: QtGui.QRegion) -> None: ...
@typing.overload
def update(self) -> None: ...
@typing.overload
def update(self, a0: QtCore.QRect) -> None: ...
@typing.overload
def update(self, a0: QtGui.QRegion) -> None: ...
@typing.overload
def update(self, ax: int, ay: int, aw: int, ah: int) -> None: ...
def setUpdatesEnabled(self, enable: bool) -> None: ...
@staticmethod
def keyboardGrabber() -> 'QWidget': ...
@staticmethod
def mouseGrabber() -> 'QWidget': ...
def setShortcutEnabled(self, id: int, enabled: bool = ...) -> None: ...
def releaseShortcut(self, id: int) -> None: ...
def grabShortcut(self, key: typing.Union[QtGui.QKeySequence, QtGui.QKeySequence.StandardKey, str, int], context: QtCore.Qt.ShortcutContext = ...) -> int: ...
def releaseKeyboard(self) -> None: ...
def grabKeyboard(self) -> None: ...
def releaseMouse(self) -> None: ...
@typing.overload
def grabMouse(self) -> None: ...
@typing.overload
def grabMouse(self, a0: typing.Union[QtGui.QCursor, QtCore.Qt.CursorShape]) -> None: ...
def setContextMenuPolicy(self, policy: QtCore.Qt.ContextMenuPolicy) -> None: ...
def contextMenuPolicy(self) -> QtCore.Qt.ContextMenuPolicy: ...
def focusProxy(self) -> 'QWidget': ...
def setFocusProxy(self, a0: 'QWidget') -> None: ...
@staticmethod
def setTabOrder(a0: 'QWidget', a1: 'QWidget') -> None: ...
def hasFocus(self) -> bool: ...
def setFocusPolicy(self, policy: QtCore.Qt.FocusPolicy) -> None: ...
def focusPolicy(self) -> QtCore.Qt.FocusPolicy: ...
def clearFocus(self) -> None: ...
def activateWindow(self) -> None: ...
def isActiveWindow(self) -> bool: ...
@typing.overload
def setFocus(self) -> None: ...
@typing.overload
def setFocus(self, reason: QtCore.Qt.FocusReason) -> None: ...
def isLeftToRight(self) -> bool: ...
def isRightToLeft(self) -> bool: ...
def unsetLayoutDirection(self) -> None: ...
def layoutDirection(self) -> QtCore.Qt.LayoutDirection: ...
def setLayoutDirection(self, direction: QtCore.Qt.LayoutDirection) -> None: ...
def setAccessibleDescription(self, description: str) -> None: ...
def accessibleDescription(self) -> str: ...
def setAccessibleName(self, name: str) -> None: ...
def accessibleName(self) -> str: ...
def whatsThis(self) -> str: ...
def setWhatsThis(self, a0: str) -> None: ...
def statusTip(self) -> str: ...
def setStatusTip(self, a0: str) -> None: ...
def toolTip(self) -> str: ...
def setToolTip(self, a0: str) -> None: ...
def isWindowModified(self) -> bool: ...
def windowOpacity(self) -> float: ...
def setWindowOpacity(self, level: float) -> None: ...
def windowRole(self) -> str: ...
def setWindowRole(self, a0: str) -> None: ...
def windowIconText(self) -> str: ...
def setWindowIconText(self, a0: str) -> None: ...
def windowIcon(self) -> QtGui.QIcon: ...
def setWindowIcon(self, icon: QtGui.QIcon) -> None: ...
def windowTitle(self) -> str: ...
def setWindowTitle(self, a0: str) -> None: ...
def clearMask(self) -> None: ...
def mask(self) -> QtGui.QRegion: ...
@typing.overload
def setMask(self, a0: QtGui.QBitmap) -> None: ...
@typing.overload
def setMask(self, a0: QtGui.QRegion) -> None: ...
def unsetCursor(self) -> None: ...
def setCursor(self, a0: typing.Union[QtGui.QCursor, QtCore.Qt.CursorShape]) -> None: ...
def cursor(self) -> QtGui.QCursor: ...
def setFont(self, a0: QtGui.QFont) -> None: ...
def foregroundRole(self) -> QtGui.QPalette.ColorRole: ...
def setForegroundRole(self, a0: QtGui.QPalette.ColorRole) -> None: ...
def backgroundRole(self) -> QtGui.QPalette.ColorRole: ...
def setBackgroundRole(self, a0: QtGui.QPalette.ColorRole) -> None: ...
def setPalette(self, a0: QtGui.QPalette) -> None: ...
def palette(self) -> QtGui.QPalette: ...
def window(self) -> 'QWidget': ...
def mapFrom(self, a0: 'QWidget', a1: QtCore.QPoint) -> QtCore.QPoint: ...
def mapTo(self, a0: 'QWidget', a1: QtCore.QPoint) -> QtCore.QPoint: ...
def mapFromParent(self, a0: QtCore.QPoint) -> QtCore.QPoint: ...
def mapToParent(self, a0: QtCore.QPoint) -> QtCore.QPoint: ...
def mapFromGlobal(self, a0: QtCore.QPoint) -> QtCore.QPoint: ...
def mapToGlobal(self, a0: QtCore.QPoint) -> QtCore.QPoint: ...
def setFixedHeight(self, h: int) -> None: ...
def setFixedWidth(self, w: int) -> None: ...
@typing.overload
def setFixedSize(self, a0: QtCore.QSize) -> None: ...
@typing.overload
def setFixedSize(self, w: int, h: int) -> None: ...
@typing.overload
def setBaseSize(self, basew: int, baseh: int) -> None: ...
@typing.overload
def setBaseSize(self, s: QtCore.QSize) -> None: ...
def baseSize(self) -> QtCore.QSize: ...
@typing.overload
def setSizeIncrement(self, w: int, h: int) -> None: ...
@typing.overload
def setSizeIncrement(self, s: QtCore.QSize) -> None: ...
def sizeIncrement(self) -> QtCore.QSize: ...
def setMaximumHeight(self, maxh: int) -> None: ...
def setMaximumWidth(self, maxw: int) -> None: ...
def setMinimumHeight(self, minh: int) -> None: ...
def setMinimumWidth(self, minw: int) -> None: ...
@typing.overload
def setMaximumSize(self, maxw: int, maxh: int) -> None: ...
@typing.overload
def setMaximumSize(self, s: QtCore.QSize) -> None: ...
@typing.overload
def setMinimumSize(self, minw: int, minh: int) -> None: ...
@typing.overload
def setMinimumSize(self, s: QtCore.QSize) -> None: ...
def maximumSize(self) -> QtCore.QSize: ...
def minimumSize(self) -> QtCore.QSize: ...
def childrenRegion(self) -> QtGui.QRegion: ...
def childrenRect(self) -> QtCore.QRect: ...
def frameSize(self) -> QtCore.QSize: ...
def pos(self) -> QtCore.QPoint: ...
def y(self) -> int: ...
def x(self) -> int: ...
def normalGeometry(self) -> QtCore.QRect: ...
def frameGeometry(self) -> QtCore.QRect: ...
def setWindowModified(self, a0: bool) -> None: ...
def setDisabled(self, a0: bool) -> None: ...
def setEnabled(self, a0: bool) -> None: ...
def isEnabledTo(self, a0: 'QWidget') -> bool: ...
def setStyle(self, a0: 'QStyle') -> None: ...
def style(self) -> 'QStyle': ...
def devType(self) -> int: ...
class QAbstractButton(QWidget):
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
def timerEvent(self, e: QtCore.QTimerEvent) -> None: ...
def changeEvent(self, e: QtCore.QEvent) -> None: ...
def focusOutEvent(self, e: QtGui.QFocusEvent) -> None: ...
def focusInEvent(self, e: QtGui.QFocusEvent) -> None: ...
def mouseMoveEvent(self, e: QtGui.QMouseEvent) -> None: ...
def mouseReleaseEvent(self, e: QtGui.QMouseEvent) -> None: ...
def mousePressEvent(self, e: QtGui.QMouseEvent) -> None: ...
def keyReleaseEvent(self, e: QtGui.QKeyEvent) -> None: ...
def keyPressEvent(self, e: QtGui.QKeyEvent) -> None: ...
def event(self, e: QtCore.QEvent) -> bool: ...
def nextCheckState(self) -> None: ...
def checkStateSet(self) -> None: ...
def hitButton(self, pos: QtCore.QPoint) -> bool: ...
def paintEvent(self, e: QtGui.QPaintEvent) -> None: ...
def toggled(self, checked: bool) -> None: ...
def clicked(self, checked: bool = ...) -> None: ...
def released(self) -> None: ...
def pressed(self) -> None: ...
def setChecked(self, a0: bool) -> None: ...
def toggle(self) -> None: ...
def click(self) -> None: ...
def animateClick(self, msecs: int = ...) -> None: ...
def setIconSize(self, size: QtCore.QSize) -> None: ...
def group(self) -> 'QButtonGroup': ...
def autoExclusive(self) -> bool: ...
def setAutoExclusive(self, a0: bool) -> None: ...
def autoRepeat(self) -> bool: ...
def setAutoRepeat(self, a0: bool) -> None: ...
def isDown(self) -> bool: ...
def setDown(self, a0: bool) -> None: ...
def isChecked(self) -> bool: ...
def isCheckable(self) -> bool: ...
def setCheckable(self, a0: bool) -> None: ...
def shortcut(self) -> QtGui.QKeySequence: ...
def setShortcut(self, key: typing.Union[QtGui.QKeySequence, QtGui.QKeySequence.StandardKey, str, int]) -> None: ...
def iconSize(self) -> QtCore.QSize: ...
def icon(self) -> QtGui.QIcon: ...
def setIcon(self, icon: QtGui.QIcon) -> None: ...
def text(self) -> str: ...
def setText(self, text: str) -> None: ...
def autoRepeatInterval(self) -> int: ...
def setAutoRepeatInterval(self, a0: int) -> None: ...
def autoRepeatDelay(self) -> int: ...
def setAutoRepeatDelay(self, a0: int) -> None: ...
class QAbstractItemDelegate(QtCore.QObject):
class EndEditHint(int): ...
NoHint = ... # type: 'QAbstractItemDelegate.EndEditHint'
EditNextItem = ... # type: 'QAbstractItemDelegate.EndEditHint'
EditPreviousItem = ... # type: 'QAbstractItemDelegate.EndEditHint'
SubmitModelCache = ... # type: 'QAbstractItemDelegate.EndEditHint'
RevertModelCache = ... # type: 'QAbstractItemDelegate.EndEditHint'
def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ...
def sizeHintChanged(self, a0: QtCore.QModelIndex) -> None: ...
def closeEditor(self, editor: QWidget, hint: 'QAbstractItemDelegate.EndEditHint' = ...) -> None: ...
def commitData(self, editor: QWidget) -> None: ...
def helpEvent(self, event: QtGui.QHelpEvent, view: 'QAbstractItemView', option: 'QStyleOptionViewItem', index: QtCore.QModelIndex) -> bool: ...
def editorEvent(self, event: QtCore.QEvent, model: QtCore.QAbstractItemModel, option: 'QStyleOptionViewItem', index: QtCore.QModelIndex) -> bool: ...
def destroyEditor(self, editor: QWidget, index: QtCore.QModelIndex) -> None: ...
def updateEditorGeometry(self, editor: QWidget, option: 'QStyleOptionViewItem', index: QtCore.QModelIndex) -> None: ...
def setModelData(self, editor: QWidget, model: QtCore.QAbstractItemModel, index: QtCore.QModelIndex) -> None: ...
def setEditorData(self, editor: QWidget, index: QtCore.QModelIndex) -> None: ...
def createEditor(self, parent: QWidget, option: 'QStyleOptionViewItem', index: QtCore.QModelIndex) -> QWidget: ...
def sizeHint(self, option: 'QStyleOptionViewItem', index: QtCore.QModelIndex) -> QtCore.QSize: ...
def paint(self, painter: QtGui.QPainter, option: 'QStyleOptionViewItem', index: QtCore.QModelIndex) -> None: ...
class QFrame(QWidget):
class StyleMask(int): ...
Shadow_Mask = ... # type: 'QFrame.StyleMask'
Shape_Mask = ... # type: 'QFrame.StyleMask'
class Shape(int): ...
NoFrame = ... # type: 'QFrame.Shape'
Box = ... # type: 'QFrame.Shape'
Panel = ... # type: 'QFrame.Shape'
WinPanel = ... # type: 'QFrame.Shape'
HLine = ... # type: 'QFrame.Shape'
VLine = ... # type: 'QFrame.Shape'
StyledPanel = ... # type: 'QFrame.Shape'
class Shadow(int): ...
Plain = ... # type: 'QFrame.Shadow'
Raised = ... # type: 'QFrame.Shadow'
Sunken = ... # type: 'QFrame.Shadow'
def __init__(self, parent: typing.Optional[QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ...
def initStyleOption(self, option: 'QStyleOptionFrame') -> None: ...
def drawFrame(self, a0: QtGui.QPainter) -> None: ...
def changeEvent(self, a0: QtCore.QEvent) -> None: ...
def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ...
def event(self, e: QtCore.QEvent) -> bool: ...
def setFrameRect(self, a0: QtCore.QRect) -> None: ...
def frameRect(self) -> QtCore.QRect: ...
def setMidLineWidth(self, a0: int) -> None: ...
def midLineWidth(self) -> int: ...
def setLineWidth(self, a0: int) -> None: ...
def lineWidth(self) -> int: ...
def setFrameShadow(self, a0: 'QFrame.Shadow') -> None: ...
def frameShadow(self) -> 'QFrame.Shadow': ...
def setFrameShape(self, a0: 'QFrame.Shape') -> None: ...
def frameShape(self) -> 'QFrame.Shape': ...
def sizeHint(self) -> QtCore.QSize: ...
def frameWidth(self) -> int: ...
def setFrameStyle(self, a0: int) -> None: ...
def frameStyle(self) -> int: ...
class QAbstractScrollArea(QFrame):
class SizeAdjustPolicy(int): ...
AdjustIgnored = ... # type: 'QAbstractScrollArea.SizeAdjustPolicy'
AdjustToContentsOnFirstShow = ... # type: 'QAbstractScrollArea.SizeAdjustPolicy'
AdjustToContents = ... # type: 'QAbstractScrollArea.SizeAdjustPolicy'
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
def setSizeAdjustPolicy(self, policy: 'QAbstractScrollArea.SizeAdjustPolicy') -> None: ...
def sizeAdjustPolicy(self) -> 'QAbstractScrollArea.SizeAdjustPolicy': ...
def setupViewport(self, viewport: QWidget) -> None: ...
def setViewport(self, widget: QWidget) -> None: ...
def scrollBarWidgets(self, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> typing.Any: ...
def addScrollBarWidget(self, widget: QWidget, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ...
def setCornerWidget(self, widget: QWidget) -> None: ...
def cornerWidget(self) -> QWidget: ...
def setHorizontalScrollBar(self, scrollbar: 'QScrollBar') -> None: ...
def setVerticalScrollBar(self, scrollbar: 'QScrollBar') -> None: ...
def scrollContentsBy(self, dx: int, dy: int) -> None: ...
def eventFilter(self, a0: QtCore.QObject, a1: QtCore.QEvent) -> bool: ...
def keyPressEvent(self, a0: QtGui.QKeyEvent) -> None: ...
def dropEvent(self, a0: QtGui.QDropEvent) -> None: ...
def dragLeaveEvent(self, a0: QtGui.QDragLeaveEvent) -> None: ...
def dragMoveEvent(self, a0: QtGui.QDragMoveEvent) -> None: ...
def dragEnterEvent(self, a0: QtGui.QDragEnterEvent) -> None: ...
def contextMenuEvent(self, a0: QtGui.QContextMenuEvent) -> None: ...
def wheelEvent(self, a0: QtGui.QWheelEvent) -> None: ...
def mouseMoveEvent(self, a0: QtGui.QMouseEvent) -> None: ...
def mouseDoubleClickEvent(self, a0: QtGui.QMouseEvent) -> None: ...
def mouseReleaseEvent(self, a0: QtGui.QMouseEvent) -> None: ...
def mousePressEvent(self, a0: QtGui.QMouseEvent) -> None: ...
def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ...
def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ...
def viewportEvent(self, a0: QtCore.QEvent) -> bool: ...
def event(self, a0: QtCore.QEvent) -> bool: ...
def viewportSizeHint(self) -> QtCore.QSize: ...
def viewportMargins(self) -> QtCore.QMargins: ...
@typing.overload
def setViewportMargins(self, left: int, top: int, right: int, bottom: int) -> None: ...
@typing.overload
def setViewportMargins(self, margins: QtCore.QMargins) -> None: ...
def sizeHint(self) -> QtCore.QSize: ...
def minimumSizeHint(self) -> QtCore.QSize: ...
def maximumViewportSize(self) -> QtCore.QSize: ...
def viewport(self) -> QWidget: ...
def horizontalScrollBar(self) -> 'QScrollBar': ...
def setHorizontalScrollBarPolicy(self, a0: QtCore.Qt.ScrollBarPolicy) -> None: ...
def horizontalScrollBarPolicy(self) -> QtCore.Qt.ScrollBarPolicy: ...
def verticalScrollBar(self) -> 'QScrollBar': ...
def setVerticalScrollBarPolicy(self, a0: QtCore.Qt.ScrollBarPolicy) -> None: ...
def verticalScrollBarPolicy(self) -> QtCore.Qt.ScrollBarPolicy: ...
class QAbstractItemView(QAbstractScrollArea):
class DropIndicatorPosition(int): ...
OnItem = ... # type: 'QAbstractItemView.DropIndicatorPosition'
AboveItem = ... # type: 'QAbstractItemView.DropIndicatorPosition'
BelowItem = ... # type: 'QAbstractItemView.DropIndicatorPosition'
OnViewport = ... # type: 'QAbstractItemView.DropIndicatorPosition'
class State(int): ...
NoState = ... # type: 'QAbstractItemView.State'
DraggingState = ... # type: 'QAbstractItemView.State'
DragSelectingState = ... # type: 'QAbstractItemView.State'
EditingState = ... # type: 'QAbstractItemView.State'
ExpandingState = ... # type: 'QAbstractItemView.State'
CollapsingState = ... # type: 'QAbstractItemView.State'
AnimatingState = ... # type: 'QAbstractItemView.State'
class CursorAction(int): ...
MoveUp = ... # type: 'QAbstractItemView.CursorAction'
MoveDown = ... # type: 'QAbstractItemView.CursorAction'
MoveLeft = ... # type: 'QAbstractItemView.CursorAction'
MoveRight = ... # type: 'QAbstractItemView.CursorAction'
MoveHome = ... # type: 'QAbstractItemView.CursorAction'
MoveEnd = ... # type: 'QAbstractItemView.CursorAction'
MovePageUp = ... # type: 'QAbstractItemView.CursorAction'
MovePageDown = ... # type: 'QAbstractItemView.CursorAction'
MoveNext = ... # type: 'QAbstractItemView.CursorAction'
MovePrevious = ... # type: 'QAbstractItemView.CursorAction'
class SelectionMode(int): ...
NoSelection = ... # type: 'QAbstractItemView.SelectionMode'
SingleSelection = ... # type: 'QAbstractItemView.SelectionMode'
MultiSelection = ... # type: 'QAbstractItemView.SelectionMode'
ExtendedSelection = ... # type: 'QAbstractItemView.SelectionMode'
ContiguousSelection = ... # type: 'QAbstractItemView.SelectionMode'
class SelectionBehavior(int): ...
SelectItems = ... # type: 'QAbstractItemView.SelectionBehavior'
SelectRows = ... # type: 'QAbstractItemView.SelectionBehavior'
SelectColumns = ... # type: 'QAbstractItemView.SelectionBehavior'
class ScrollMode(int): ...
ScrollPerItem = ... # type: 'QAbstractItemView.ScrollMode'
ScrollPerPixel = ... # type: 'QAbstractItemView.ScrollMode'
class ScrollHint(int): ...
EnsureVisible = ... # type: 'QAbstractItemView.ScrollHint'
PositionAtTop = ... # type: 'QAbstractItemView.ScrollHint'
PositionAtBottom = ... # type: 'QAbstractItemView.ScrollHint'
PositionAtCenter = ... # type: 'QAbstractItemView.ScrollHint'
class EditTrigger(int): ...
NoEditTriggers = ... # type: 'QAbstractItemView.EditTrigger'
CurrentChanged = ... # type: 'QAbstractItemView.EditTrigger'
DoubleClicked = ... # type: 'QAbstractItemView.EditTrigger'
SelectedClicked = ... # type: 'QAbstractItemView.EditTrigger'
EditKeyPressed = ... # type: 'QAbstractItemView.EditTrigger'
AnyKeyPressed = ... # type: 'QAbstractItemView.EditTrigger'
AllEditTriggers = ... # type: 'QAbstractItemView.EditTrigger'
class DragDropMode(int): ...
NoDragDrop = ... # type: 'QAbstractItemView.DragDropMode'
DragOnly = ... # type: 'QAbstractItemView.DragDropMode'
DropOnly = ... # type: 'QAbstractItemView.DragDropMode'
DragDrop = ... # type: 'QAbstractItemView.DragDropMode'
InternalMove = ... # type: 'QAbstractItemView.DragDropMode'
class EditTriggers(sip.simplewrapper):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, f: typing.Union['QAbstractItemView.EditTriggers', 'QAbstractItemView.EditTrigger']) -> None: ...
@typing.overload
def __init__(self, a0: 'QAbstractItemView.EditTriggers') -> None: ...
def __hash__(self) -> int: ...
def __bool__(self) -> int: ...
def __invert__(self) -> 'QAbstractItemView.EditTriggers': ...
def __int__(self) -> int: ...
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
def resetHorizontalScrollMode(self) -> None: ...
def resetVerticalScrollMode(self) -> None: ...
def defaultDropAction(self) -> QtCore.Qt.DropAction: ...
def setDefaultDropAction(self, dropAction: QtCore.Qt.DropAction) -> None: ...
def viewportSizeHint(self) -> QtCore.QSize: ...
def inputMethodEvent(self, event: QtGui.QInputMethodEvent) -> None: ...
def focusNextPrevChild(self, next: bool) -> bool: ...
def autoScrollMargin(self) -> int: ...
def setAutoScrollMargin(self, margin: int) -> None: ...
def inputMethodQuery(self, query: QtCore.Qt.InputMethodQuery) -> typing.Any: ...
def itemDelegateForColumn(self, column: int) -> QAbstractItemDelegate: ...
def setItemDelegateForColumn(self, column: int, delegate: QAbstractItemDelegate) -> None: ...
def itemDelegateForRow(self, row: int) -> QAbstractItemDelegate: ...
def setItemDelegateForRow(self, row: int, delegate: QAbstractItemDelegate) -> None: ...
def dragDropMode(self) -> 'QAbstractItemView.DragDropMode': ...
def setDragDropMode(self, behavior: 'QAbstractItemView.DragDropMode') -> None: ...
def dragDropOverwriteMode(self) -> bool: ...
def setDragDropOverwriteMode(self, overwrite: bool) -> None: ...
def horizontalScrollMode(self) -> 'QAbstractItemView.ScrollMode': ...
def setHorizontalScrollMode(self, mode: 'QAbstractItemView.ScrollMode') -> None: ...
def verticalScrollMode(self) -> 'QAbstractItemView.ScrollMode': ...
def setVerticalScrollMode(self, mode: 'QAbstractItemView.ScrollMode') -> None: ...
def dropIndicatorPosition(self) -> 'QAbstractItemView.DropIndicatorPosition': ...
def timerEvent(self, e: QtCore.QTimerEvent) -> None: ...
def resizeEvent(self, e: QtGui.QResizeEvent) -> None: ...
def keyPressEvent(self, e: QtGui.QKeyEvent) -> None: ...
def focusOutEvent(self, e: QtGui.QFocusEvent) -> None: ...
def focusInEvent(self, e: QtGui.QFocusEvent) -> None: ...
def dropEvent(self, e: QtGui.QDropEvent) -> None: ...
def dragLeaveEvent(self, e: QtGui.QDragLeaveEvent) -> None: ...
def dragMoveEvent(self, e: QtGui.QDragMoveEvent) -> None: ...
def dragEnterEvent(self, e: QtGui.QDragEnterEvent) -> None: ...
def mouseDoubleClickEvent(self, e: QtGui.QMouseEvent) -> None: ...
def mouseReleaseEvent(self, e: QtGui.QMouseEvent) -> None: ...
def mouseMoveEvent(self, e: QtGui.QMouseEvent) -> None: ...
def mousePressEvent(self, e: QtGui.QMouseEvent) -> None: ...
def viewportEvent(self, e: QtCore.QEvent) -> bool: ...
def event(self, event: QtCore.QEvent) -> bool: ...
def dirtyRegionOffset(self) -> QtCore.QPoint: ...
def setDirtyRegion(self, region: QtGui.QRegion) -> None: ...
def scrollDirtyRegion(self, dx: int, dy: int) -> None: ...
def executeDelayedItemsLayout(self) -> None: ...
def scheduleDelayedItemsLayout(self) -> None: ...
def setState(self, state: 'QAbstractItemView.State') -> None: ...
def state(self) -> 'QAbstractItemView.State': ...
def viewOptions(self) -> 'QStyleOptionViewItem': ...
def startDrag(self, supportedActions: typing.Union[QtCore.Qt.DropActions, QtCore.Qt.DropAction]) -> None: ...
def selectionCommand(self, index: QtCore.QModelIndex, event: typing.Optional[QtCore.QEvent] = ...) -> QtCore.QItemSelectionModel.SelectionFlags: ...
def selectedIndexes(self) -> typing.Any: ...
def visualRegionForSelection(self, selection: QtCore.QItemSelection) -> QtGui.QRegion: ...
def setSelection(self, rect: QtCore.QRect, command: typing.Union[QtCore.QItemSelectionModel.SelectionFlags, QtCore.QItemSelectionModel.SelectionFlag]) -> None: ...
def isIndexHidden(self, index: QtCore.QModelIndex) -> bool: ...
def verticalOffset(self) -> int: ...
def horizontalOffset(self) -> int: ...
def moveCursor(self, cursorAction: 'QAbstractItemView.CursorAction', modifiers: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier]) -> QtCore.QModelIndex: ...
def iconSizeChanged(self, size: QtCore.QSize) -> None: ...
def viewportEntered(self) -> None: ...
def entered(self, index: QtCore.QModelIndex) -> None: ...
def activated(self, index: QtCore.QModelIndex) -> None: ...
def doubleClicked(self, index: QtCore.QModelIndex) -> None: ...
def clicked(self, index: QtCore.QModelIndex) -> None: ...
def pressed(self, index: QtCore.QModelIndex) -> None: ...
def editorDestroyed(self, editor: QtCore.QObject) -> None: ...
def commitData(self, editor: QWidget) -> None: ...
def closeEditor(self, editor: QWidget, hint: QAbstractItemDelegate.EndEditHint) -> None: ...
def horizontalScrollbarValueChanged(self, value: int) -> None: ...
def verticalScrollbarValueChanged(self, value: int) -> None: ...
def horizontalScrollbarAction(self, action: int) -> None: ...
def verticalScrollbarAction(self, action: int) -> None: ...
def updateGeometries(self) -> None: ...
def updateEditorGeometries(self) -> None: ...
def updateEditorData(self) -> None: ...
def currentChanged(self, current: QtCore.QModelIndex, previous: QtCore.QModelIndex) -> None: ...
def selectionChanged(self, selected: QtCore.QItemSelection, deselected: QtCore.QItemSelection) -> None: ...
def rowsAboutToBeRemoved(self, parent: QtCore.QModelIndex, start: int, end: int) -> None: ...
def rowsInserted(self, parent: QtCore.QModelIndex, start: int, end: int) -> None: ...
def dataChanged(self, topLeft: QtCore.QModelIndex, bottomRight: QtCore.QModelIndex, roles: typing.Iterable[int] = ...) -> None: ...
@typing.overload
def update(self) -> None: ...
@typing.overload
def update(self, index: QtCore.QModelIndex) -> None: ...
def scrollToBottom(self) -> None: ...
def scrollToTop(self) -> None: ...
def setCurrentIndex(self, index: QtCore.QModelIndex) -> None: ...
def clearSelection(self) -> None: ...
@typing.overload
def edit(self, index: QtCore.QModelIndex) -> None: ...
@typing.overload
def edit(self, index: QtCore.QModelIndex, trigger: 'QAbstractItemView.EditTrigger', event: QtCore.QEvent) -> bool: ...
def selectAll(self) -> None: ...
def setRootIndex(self, index: QtCore.QModelIndex) -> None: ...
def reset(self) -> None: ...
def indexWidget(self, index: QtCore.QModelIndex) -> QWidget: ...
def setIndexWidget(self, index: QtCore.QModelIndex, widget: QWidget) -> None: ...
def closePersistentEditor(self, index: QtCore.QModelIndex) -> None: ...
def openPersistentEditor(self, index: QtCore.QModelIndex) -> None: ...
def sizeHintForColumn(self, column: int) -> int: ...
def sizeHintForRow(self, row: int) -> int: ...
def sizeHintForIndex(self, index: QtCore.QModelIndex) -> QtCore.QSize: ...
def indexAt(self, p: QtCore.QPoint) -> QtCore.QModelIndex: ...
def scrollTo(self, index: QtCore.QModelIndex, hint: 'QAbstractItemView.ScrollHint' = ...) -> None: ...
def visualRect(self, index: QtCore.QModelIndex) -> QtCore.QRect: ...
def keyboardSearch(self, search: str) -> None: ...
def textElideMode(self) -> QtCore.Qt.TextElideMode: ...
def setTextElideMode(self, mode: QtCore.Qt.TextElideMode) -> None: ...
def iconSize(self) -> QtCore.QSize: ...
def setIconSize(self, size: QtCore.QSize) -> None: ...
def alternatingRowColors(self) -> bool: ...
def setAlternatingRowColors(self, enable: bool) -> None: ...
def dragEnabled(self) -> bool: ...
def setDragEnabled(self, enable: bool) -> None: ...
def showDropIndicator(self) -> bool: ...
def setDropIndicatorShown(self, enable: bool) -> None: ...
def tabKeyNavigation(self) -> bool: ...
def setTabKeyNavigation(self, enable: bool) -> None: ...
def hasAutoScroll(self) -> bool: ...
def setAutoScroll(self, enable: bool) -> None: ...
def editTriggers(self) -> 'QAbstractItemView.EditTriggers': ...
def setEditTriggers(self, triggers: typing.Union['QAbstractItemView.EditTriggers', 'QAbstractItemView.EditTrigger']) -> None: ...
def rootIndex(self) -> QtCore.QModelIndex: ...
def currentIndex(self) -> QtCore.QModelIndex: ...
def selectionBehavior(self) -> 'QAbstractItemView.SelectionBehavior': ...
def setSelectionBehavior(self, behavior: 'QAbstractItemView.SelectionBehavior') -> None: ...
def selectionMode(self) -> 'QAbstractItemView.SelectionMode': ...
def setSelectionMode(self, mode: 'QAbstractItemView.SelectionMode') -> None: ...
@typing.overload
def itemDelegate(self) -> QAbstractItemDelegate: ...
@typing.overload
def itemDelegate(self, index: QtCore.QModelIndex) -> QAbstractItemDelegate: ...
def setItemDelegate(self, delegate: QAbstractItemDelegate) -> None: ...
def selectionModel(self) -> QtCore.QItemSelectionModel: ...
def setSelectionModel(self, selectionModel: QtCore.QItemSelectionModel) -> None: ...
def model(self) -> QtCore.QAbstractItemModel: ...
def setModel(self, model: QtCore.QAbstractItemModel) -> None: ...
class QAbstractSlider(QWidget):
class SliderChange(int): ...
SliderRangeChange = ... # type: 'QAbstractSlider.SliderChange'
SliderOrientationChange = ... # type: 'QAbstractSlider.SliderChange'
SliderStepsChange = ... # type: 'QAbstractSlider.SliderChange'
SliderValueChange = ... # type: 'QAbstractSlider.SliderChange'
class SliderAction(int): ...
SliderNoAction = ... # type: 'QAbstractSlider.SliderAction'
SliderSingleStepAdd = ... # type: 'QAbstractSlider.SliderAction'
SliderSingleStepSub = ... # type: 'QAbstractSlider.SliderAction'
SliderPageStepAdd = ... # type: 'QAbstractSlider.SliderAction'
SliderPageStepSub = ... # type: 'QAbstractSlider.SliderAction'
SliderToMinimum = ... # type: 'QAbstractSlider.SliderAction'
SliderToMaximum = ... # type: 'QAbstractSlider.SliderAction'
SliderMove = ... # type: 'QAbstractSlider.SliderAction'
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
def changeEvent(self, e: QtCore.QEvent) -> None: ...
def wheelEvent(self, e: QtGui.QWheelEvent) -> None: ...
def timerEvent(self, a0: QtCore.QTimerEvent) -> None: ...
def keyPressEvent(self, ev: QtGui.QKeyEvent) -> None: ...
def event(self, e: QtCore.QEvent) -> bool: ...
def sliderChange(self, change: 'QAbstractSlider.SliderChange') -> None: ...
def repeatAction(self) -> 'QAbstractSlider.SliderAction': ...
def setRepeatAction(self, action: 'QAbstractSlider.SliderAction', thresholdTime: int = ..., repeatTime: int = ...) -> None: ...
def actionTriggered(self, action: int) -> None: ...
def rangeChanged(self, min: int, max: int) -> None: ...
def sliderReleased(self) -> None: ...
def sliderMoved(self, position: int) -> None: ...
def sliderPressed(self) -> None: ...
def valueChanged(self, value: int) -> None: ...
def setOrientation(self, a0: QtCore.Qt.Orientation) -> None: ...
def setValue(self, a0: int) -> None: ...
def triggerAction(self, action: 'QAbstractSlider.SliderAction') -> None: ...
def value(self) -> int: ...
def invertedControls(self) -> bool: ...
def setInvertedControls(self, a0: bool) -> None: ...
def invertedAppearance(self) -> bool: ...
def setInvertedAppearance(self, a0: bool) -> None: ...
def sliderPosition(self) -> int: ...
def setSliderPosition(self, a0: int) -> None: ...
def isSliderDown(self) -> bool: ...
def setSliderDown(self, a0: bool) -> None: ...
def hasTracking(self) -> bool: ...
def setTracking(self, enable: bool) -> None: ...
def pageStep(self) -> int: ...
def setPageStep(self, a0: int) -> None: ...
def singleStep(self) -> int: ...
def setSingleStep(self, a0: int) -> None: ...
def setRange(self, min: int, max: int) -> None: ...
def maximum(self) -> int: ...
def setMaximum(self, a0: int) -> None: ...
def minimum(self) -> int: ...
def setMinimum(self, a0: int) -> None: ...
def orientation(self) -> QtCore.Qt.Orientation: ...
class QAbstractSpinBox(QWidget):
class CorrectionMode(int): ...
CorrectToPreviousValue = ... # type: 'QAbstractSpinBox.CorrectionMode'
CorrectToNearestValue = ... # type: 'QAbstractSpinBox.CorrectionMode'
class ButtonSymbols(int): ...
UpDownArrows = ... # type: 'QAbstractSpinBox.ButtonSymbols'
PlusMinus = ... # type: 'QAbstractSpinBox.ButtonSymbols'
NoButtons = ... # type: 'QAbstractSpinBox.ButtonSymbols'
class StepEnabledFlag(int): ...
StepNone = ... # type: 'QAbstractSpinBox.StepEnabledFlag'
StepUpEnabled = ... # type: 'QAbstractSpinBox.StepEnabledFlag'
StepDownEnabled = ... # type: 'QAbstractSpinBox.StepEnabledFlag'
class StepEnabled(sip.simplewrapper):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, f: typing.Union['QAbstractSpinBox.StepEnabled', 'QAbstractSpinBox.StepEnabledFlag']) -> None: ...
@typing.overload
def __init__(self, a0: 'QAbstractSpinBox.StepEnabled') -> None: ...
def __hash__(self) -> int: ...
def __bool__(self) -> int: ...
def __invert__(self) -> 'QAbstractSpinBox.StepEnabled': ...
def __int__(self) -> int: ...
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
def isGroupSeparatorShown(self) -> bool: ...
def setGroupSeparatorShown(self, shown: bool) -> None: ...
def inputMethodQuery(self, a0: QtCore.Qt.InputMethodQuery) -> typing.Any: ...
def keyboardTracking(self) -> bool: ...
def setKeyboardTracking(self, kt: bool) -> None: ...
def isAccelerated(self) -> bool: ...
def setAccelerated(self, on: bool) -> None: ...
def hasAcceptableInput(self) -> bool: ...
def correctionMode(self) -> 'QAbstractSpinBox.CorrectionMode': ...
def setCorrectionMode(self, cm: 'QAbstractSpinBox.CorrectionMode') -> None: ...
def initStyleOption(self, option: 'QStyleOptionSpinBox') -> None: ...
def stepEnabled(self) -> 'QAbstractSpinBox.StepEnabled': ...
def setLineEdit(self, e: 'QLineEdit') -> None: ...
def lineEdit(self) -> 'QLineEdit': ...
def showEvent(self, e: QtGui.QShowEvent) -> None: ...
def paintEvent(self, e: QtGui.QPaintEvent) -> None: ...
def timerEvent(self, e: QtCore.QTimerEvent) -> None: ...
def mouseMoveEvent(self, e: QtGui.QMouseEvent) -> None: ...
def mouseReleaseEvent(self, e: QtGui.QMouseEvent) -> None: ...
def mousePressEvent(self, e: QtGui.QMouseEvent) -> None: ...
def hideEvent(self, e: QtGui.QHideEvent) -> None: ...
def closeEvent(self, e: QtGui.QCloseEvent) -> None: ...
def changeEvent(self, e: QtCore.QEvent) -> None: ...
def contextMenuEvent(self, e: QtGui.QContextMenuEvent) -> None: ...
def focusOutEvent(self, e: QtGui.QFocusEvent) -> None: ...
def focusInEvent(self, e: QtGui.QFocusEvent) -> None: ...
def wheelEvent(self, e: QtGui.QWheelEvent) -> None: ...
def keyReleaseEvent(self, e: QtGui.QKeyEvent) -> None: ...
def keyPressEvent(self, e: QtGui.QKeyEvent) -> None: ...
def resizeEvent(self, e: QtGui.QResizeEvent) -> None: ...
def editingFinished(self) -> None: ...
def clear(self) -> None: ...
def selectAll(self) -> None: ...
def stepDown(self) -> None: ...
def stepUp(self) -> None: ...
def stepBy(self, steps: int) -> None: ...
def fixup(self, input: str) -> str: ...
def validate(self, input: str, pos: int) -> typing.Tuple[QtGui.QValidator.State, str, int]: ...
def event(self, event: QtCore.QEvent) -> bool: ...
def interpretText(self) -> None: ...
def minimumSizeHint(self) -> QtCore.QSize: ...
def sizeHint(self) -> QtCore.QSize: ...
def hasFrame(self) -> bool: ...
def setFrame(self, a0: bool) -> None: ...
def alignment(self) -> QtCore.Qt.Alignment: ...
def setAlignment(self, flag: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ...
def isReadOnly(self) -> bool: ...
def setReadOnly(self, r: bool) -> None: ...
def setWrapping(self, w: bool) -> None: ...
def wrapping(self) -> bool: ...
def setSpecialValueText(self, s: str) -> None: ...
def specialValueText(self) -> str: ...
def text(self) -> str: ...
def setButtonSymbols(self, bs: 'QAbstractSpinBox.ButtonSymbols') -> None: ...
def buttonSymbols(self) -> 'QAbstractSpinBox.ButtonSymbols': ...
class QAction(QtCore.QObject):
class Priority(int): ...
LowPriority = ... # type: 'QAction.Priority'
NormalPriority = ... # type: 'QAction.Priority'
HighPriority = ... # type: 'QAction.Priority'
class MenuRole(int): ...
NoRole = ... # type: 'QAction.MenuRole'
TextHeuristicRole = ... # type: 'QAction.MenuRole'
ApplicationSpecificRole = ... # type: 'QAction.MenuRole'
AboutQtRole = ... # type: 'QAction.MenuRole'
AboutRole = ... # type: 'QAction.MenuRole'
PreferencesRole = ... # type: 'QAction.MenuRole'
QuitRole = ... # type: 'QAction.MenuRole'
class ActionEvent(int): ...
Trigger = ... # type: 'QAction.ActionEvent'
Hover = ... # type: 'QAction.ActionEvent'
@typing.overload
def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ...
@typing.overload
def __init__(self, text: str, parent: typing.Optional[QtCore.QObject] = ...) -> None: ...
@typing.overload
def __init__(self, icon: QtGui.QIcon, text: str, parent: typing.Optional[QtCore.QObject] = ...) -> None: ...
def priority(self) -> 'QAction.Priority': ...
def setPriority(self, priority: 'QAction.Priority') -> None: ...
def isIconVisibleInMenu(self) -> bool: ...
def setIconVisibleInMenu(self, visible: bool) -> None: ...
def associatedGraphicsWidgets(self) -> typing.Any: ...
def associatedWidgets(self) -> typing.List[QWidget]: ...
def menuRole(self) -> 'QAction.MenuRole': ...
def setMenuRole(self, menuRole: 'QAction.MenuRole') -> None: ...
def autoRepeat(self) -> bool: ...
def setAutoRepeat(self, a0: bool) -> None: ...
def shortcuts(self) -> typing.List[QtGui.QKeySequence]: ...
@typing.overload
def setShortcuts(self, shortcuts: typing.Iterable[typing.Union[QtGui.QKeySequence, QtGui.QKeySequence.StandardKey, str, int]]) -> None: ...
@typing.overload
def setShortcuts(self, a0: QtGui.QKeySequence.StandardKey) -> None: ...
def toggled(self, a0: bool) -> None: ...
def hovered(self) -> None: ...
def triggered(self, checked: bool = ...) -> None: ...
def changed(self) -> None: ...
def setVisible(self, a0: bool) -> None: ...
def setDisabled(self, b: bool) -> None: ...
def setEnabled(self, a0: bool) -> None: ...
def toggle(self) -> None: ...
def setChecked(self, a0: bool) -> None: ...
def hover(self) -> None: ...
def trigger(self) -> None: ...
def event(self, a0: QtCore.QEvent) -> bool: ...
def parentWidget(self) -> QWidget: ...
def showStatusText(self, widget: typing.Optional[QWidget] = ...) -> bool: ...
def activate(self, event: 'QAction.ActionEvent') -> None: ...
def isVisible(self) -> bool: ...
def isEnabled(self) -> bool: ...
def isChecked(self) -> bool: ...
def setData(self, var: typing.Any) -> None: ...
def data(self) -> typing.Any: ...
def isCheckable(self) -> bool: ...
def setCheckable(self, a0: bool) -> None: ...
def font(self) -> QtGui.QFont: ...
def setFont(self, font: QtGui.QFont) -> None: ...
def shortcutContext(self) -> QtCore.Qt.ShortcutContext: ...
def setShortcutContext(self, context: QtCore.Qt.ShortcutContext) -> None: ...
def shortcut(self) -> QtGui.QKeySequence: ...
def setShortcut(self, shortcut: typing.Union[QtGui.QKeySequence, QtGui.QKeySequence.StandardKey, str, int]) -> None: ...
def isSeparator(self) -> bool: ...
def setSeparator(self, b: bool) -> None: ...
def setMenu(self, menu: 'QMenu') -> None: ...
def menu(self) -> 'QMenu': ...
def whatsThis(self) -> str: ...
def setWhatsThis(self, what: str) -> None: ...
def statusTip(self) -> str: ...
def setStatusTip(self, statusTip: str) -> None: ...
def toolTip(self) -> str: ...
def setToolTip(self, tip: str) -> None: ...
def iconText(self) -> str: ...
def setIconText(self, text: str) -> None: ...
def text(self) -> str: ...
def setText(self, text: str) -> None: ...
def icon(self) -> QtGui.QIcon: ...
def setIcon(self, icon: QtGui.QIcon) -> None: ...
def actionGroup(self) -> 'QActionGroup': ...
def setActionGroup(self, group: 'QActionGroup') -> None: ...
class QActionGroup(QtCore.QObject):
def __init__(self, parent: QtCore.QObject) -> None: ...
def hovered(self, a0: QAction) -> None: ...
def triggered(self, a0: QAction) -> None: ...
def setExclusive(self, a0: bool) -> None: ...
def setVisible(self, a0: bool) -> None: ...
def setDisabled(self, b: bool) -> None: ...
def setEnabled(self, a0: bool) -> None: ...
def isVisible(self) -> bool: ...
def isEnabled(self) -> bool: ...
def isExclusive(self) -> bool: ...
def checkedAction(self) -> QAction: ...
def actions(self) -> typing.List[QAction]: ...
def removeAction(self, a: QAction) -> None: ...
@typing.overload
def addAction(self, a: QAction) -> QAction: ...
@typing.overload
def addAction(self, text: str) -> QAction: ...
@typing.overload
def addAction(self, icon: QtGui.QIcon, text: str) -> QAction: ...
class QApplication(QtGui.QGuiApplication):
class ColorSpec(int): ...
NormalColor = ... # type: 'QApplication.ColorSpec'
CustomColor = ... # type: 'QApplication.ColorSpec'
ManyColor = ... # type: 'QApplication.ColorSpec'
def __init__(self, argv: typing.List[str]) -> None: ...
def event(self, a0: QtCore.QEvent) -> bool: ...
def setStyleSheet(self, sheet: str) -> None: ...
def setAutoSipEnabled(self, enabled: bool) -> None: ...
@staticmethod
def closeAllWindows() -> None: ...
@staticmethod
def aboutQt() -> None: ...
def focusChanged(self, old: QWidget, now: QWidget) -> None: ...
def styleSheet(self) -> str: ...
def autoSipEnabled(self) -> bool: ...
def notify(self, a0: QtCore.QObject, a1: QtCore.QEvent) -> bool: ...
@staticmethod
def exec() -> int: ...
@staticmethod
def exec_() -> int: ...
@staticmethod
def setEffectEnabled(a0: QtCore.Qt.UIEffect, enabled: bool = ...) -> None: ...
@staticmethod
def isEffectEnabled(a0: QtCore.Qt.UIEffect) -> bool: ...
@staticmethod
def startDragDistance() -> int: ...
@staticmethod
def setStartDragDistance(l: int) -> None: ...
@staticmethod
def startDragTime() -> int: ...
@staticmethod
def setStartDragTime(ms: int) -> None: ...
@staticmethod
def globalStrut() -> QtCore.QSize: ...
@staticmethod
def setGlobalStrut(a0: QtCore.QSize) -> None: ...
@staticmethod
def wheelScrollLines() -> int: ...
@staticmethod
def setWheelScrollLines(a0: int) -> None: ...
@staticmethod
def keyboardInputInterval() -> int: ...
@staticmethod
def setKeyboardInputInterval(a0: int) -> None: ...
@staticmethod
def doubleClickInterval() -> int: ...
@staticmethod
def setDoubleClickInterval(a0: int) -> None: ...
@staticmethod
def cursorFlashTime() -> int: ...
@staticmethod
def setCursorFlashTime(a0: int) -> None: ...
@staticmethod
def alert(widget: QWidget, msecs: int = ...) -> None: ...
@staticmethod
def beep() -> None: ...
@typing.overload
@staticmethod
def topLevelAt(p: QtCore.QPoint) -> QWidget: ...
@typing.overload
@staticmethod
def topLevelAt(x: int, y: int) -> QWidget: ...
@typing.overload
@staticmethod
def widgetAt(p: QtCore.QPoint) -> QWidget: ...
@typing.overload
@staticmethod
def widgetAt(x: int, y: int) -> QWidget: ...
@staticmethod
def setActiveWindow(act: QWidget) -> None: ...
@staticmethod
def activeWindow() -> QWidget: ...
@staticmethod
def focusWidget() -> QWidget: ...
@staticmethod
def activeModalWidget() -> QWidget: ...
@staticmethod
def activePopupWidget() -> QWidget: ...
@staticmethod
def desktop() -> 'QDesktopWidget': ...
@staticmethod
def topLevelWidgets() -> typing.Any: ...
@staticmethod
def allWidgets() -> typing.Any: ...
@staticmethod
def windowIcon() -> QtGui.QIcon: ...
@staticmethod
def setWindowIcon(icon: QtGui.QIcon) -> None: ...
@staticmethod
def fontMetrics() -> QtGui.QFontMetrics: ...
@staticmethod
def setFont(a0: QtGui.QFont, className: typing.Optional[str] = ...) -> None: ...
@typing.overload
@staticmethod
def font() -> QtGui.QFont: ...
@typing.overload
@staticmethod
def font(a0: QWidget) -> QtGui.QFont: ...
@typing.overload
@staticmethod
def font(className: str) -> QtGui.QFont: ...
@staticmethod
def setPalette(a0: QtGui.QPalette, className: typing.Optional[str] = ...) -> None: ...
@typing.overload
@staticmethod
def palette() -> QtGui.QPalette: ...
@typing.overload
@staticmethod
def palette(a0: QWidget) -> QtGui.QPalette: ...
@typing.overload
@staticmethod
def palette(className: str) -> QtGui.QPalette: ...
@staticmethod
def setColorSpec(a0: int) -> None: ...
@staticmethod
def colorSpec() -> int: ...
@typing.overload
@staticmethod
def setStyle(a0: 'QStyle') -> None: ...
@typing.overload
@staticmethod
def setStyle(a0: str) -> 'QStyle': ...
@staticmethod
def style() -> 'QStyle': ...
class QLayoutItem(sip.wrapper):
@typing.overload
def __init__(self, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag] = ...) -> None: ...
@typing.overload
def __init__(self, a0: 'QLayoutItem') -> None: ...
def controlTypes(self) -> 'QSizePolicy.ControlTypes': ...
def setAlignment(self, a: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ...
def alignment(self) -> QtCore.Qt.Alignment: ...
def spacerItem(self) -> 'QSpacerItem': ...
def layout(self) -> 'QLayout': ...
def widget(self) -> QWidget: ...
def invalidate(self) -> None: ...
def minimumHeightForWidth(self, a0: int) -> int: ...
def heightForWidth(self, a0: int) -> int: ...
def hasHeightForWidth(self) -> bool: ...
def isEmpty(self) -> bool: ...
def geometry(self) -> QtCore.QRect: ...
def setGeometry(self, a0: QtCore.QRect) -> None: ...
def expandingDirections(self) -> QtCore.Qt.Orientations: ...
def maximumSize(self) -> QtCore.QSize: ...
def minimumSize(self) -> QtCore.QSize: ...
def sizeHint(self) -> QtCore.QSize: ...
class QLayout(QtCore.QObject, QLayoutItem):
class SizeConstraint(int): ...
SetDefaultConstraint = ... # type: 'QLayout.SizeConstraint'
SetNoConstraint = ... # type: 'QLayout.SizeConstraint'
SetMinimumSize = ... # type: 'QLayout.SizeConstraint'
SetFixedSize = ... # type: 'QLayout.SizeConstraint'
SetMaximumSize = ... # type: 'QLayout.SizeConstraint'
SetMinAndMaxSize = ... # type: 'QLayout.SizeConstraint'
@typing.overload
def __init__(self, parent: QWidget) -> None: ...
@typing.overload
def __init__(self) -> None: ...
def replaceWidget(self, from_: QWidget, to: QWidget, options: typing.Union[QtCore.Qt.FindChildOptions, QtCore.Qt.FindChildOption] = ...) -> QLayoutItem: ...
def controlTypes(self) -> 'QSizePolicy.ControlTypes': ...
def contentsMargins(self) -> QtCore.QMargins: ...
def contentsRect(self) -> QtCore.QRect: ...
def getContentsMargins(self) -> typing.Tuple[int, int, int, int]: ...
@typing.overload
def setContentsMargins(self, left: int, top: int, right: int, bottom: int) -> None: ...
@typing.overload
def setContentsMargins(self, margins: QtCore.QMargins) -> None: ...
def alignmentRect(self, a0: QtCore.QRect) -> QtCore.QRect: ...
def addChildWidget(self, w: QWidget) -> None: ...
def addChildLayout(self, l: 'QLayout') -> None: ...
def childEvent(self, e: QtCore.QChildEvent) -> None: ...
def widgetEvent(self, a0: QtCore.QEvent) -> None: ...
@staticmethod
def closestAcceptableSize(w: QWidget, s: QtCore.QSize) -> QtCore.QSize: ...
def isEnabled(self) -> bool: ...
def setEnabled(self, a0: bool) -> None: ...
def layout(self) -> 'QLayout': ...
def totalSizeHint(self) -> QtCore.QSize: ...
def totalMaximumSize(self) -> QtCore.QSize: ...
def totalMinimumSize(self) -> QtCore.QSize: ...
def totalHeightForWidth(self, w: int) -> int: ...
def isEmpty(self) -> bool: ...
def __len__(self) -> int: ...
def count(self) -> int: ...
def indexOf(self, a0: QWidget) -> int: ...
def takeAt(self, index: int) -> QLayoutItem: ...
def itemAt(self, index: int) -> QLayoutItem: ...
def setGeometry(self, a0: QtCore.QRect) -> None: ...
def maximumSize(self) -> QtCore.QSize: ...
def minimumSize(self) -> QtCore.QSize: ...
def expandingDirections(self) -> QtCore.Qt.Orientations: ...
def removeItem(self, a0: QLayoutItem) -> None: ...
def removeWidget(self, w: QWidget) -> None: ...
def addItem(self, a0: QLayoutItem) -> None: ...
def addWidget(self, w: QWidget) -> None: ...
def update(self) -> None: ...
def activate(self) -> bool: ...
def geometry(self) -> QtCore.QRect: ...
def invalidate(self) -> None: ...
def parentWidget(self) -> QWidget: ...
def menuBar(self) -> QWidget: ...
def setMenuBar(self, w: QWidget) -> None: ...
def sizeConstraint(self) -> 'QLayout.SizeConstraint': ...
def setSizeConstraint(self, a0: 'QLayout.SizeConstraint') -> None: ...
@typing.overload
def setAlignment(self, w: QWidget, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> bool: ...
@typing.overload
def setAlignment(self, l: 'QLayout', alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> bool: ...
@typing.overload
def setAlignment(self, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ...
def setSpacing(self, a0: int) -> None: ...
def spacing(self) -> int: ...
class QBoxLayout(QLayout):
class Direction(int): ...
LeftToRight = ... # type: 'QBoxLayout.Direction'
RightToLeft = ... # type: 'QBoxLayout.Direction'
TopToBottom = ... # type: 'QBoxLayout.Direction'
BottomToTop = ... # type: 'QBoxLayout.Direction'
Down = ... # type: 'QBoxLayout.Direction'
Up = ... # type: 'QBoxLayout.Direction'
def __init__(self, direction: 'QBoxLayout.Direction', parent: typing.Optional[QWidget] = ...) -> None: ...
def insertItem(self, index: int, a1: QLayoutItem) -> None: ...
def stretch(self, index: int) -> int: ...
def setStretch(self, index: int, stretch: int) -> None: ...
def insertSpacerItem(self, index: int, spacerItem: 'QSpacerItem') -> None: ...
def addSpacerItem(self, spacerItem: 'QSpacerItem') -> None: ...
def setSpacing(self, spacing: int) -> None: ...
def spacing(self) -> int: ...
def setGeometry(self, a0: QtCore.QRect) -> None: ...
def count(self) -> int: ...
def takeAt(self, a0: int) -> QLayoutItem: ...
def itemAt(self, a0: int) -> QLayoutItem: ...
def invalidate(self) -> None: ...
def expandingDirections(self) -> QtCore.Qt.Orientations: ...
def minimumHeightForWidth(self, a0: int) -> int: ...
def heightForWidth(self, a0: int) -> int: ...
def hasHeightForWidth(self) -> bool: ...
def maximumSize(self) -> QtCore.QSize: ...
def minimumSize(self) -> QtCore.QSize: ...
def sizeHint(self) -> QtCore.QSize: ...
@typing.overload
def setStretchFactor(self, w: QWidget, stretch: int) -> bool: ...
@typing.overload
def setStretchFactor(self, l: QLayout, stretch: int) -> bool: ...
def insertLayout(self, index: int, layout: QLayout, stretch: int = ...) -> None: ...
def insertWidget(self, index: int, widget: QWidget, stretch: int = ..., alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag] = ...) -> None: ...
def insertStretch(self, index: int, stretch: int = ...) -> None: ...
def insertSpacing(self, index: int, size: int) -> None: ...
def addItem(self, a0: QLayoutItem) -> None: ...
def addStrut(self, a0: int) -> None: ...
def addLayout(self, layout: QLayout, stretch: int = ...) -> None: ...
def addWidget(self, a0: QWidget, stretch: int = ..., alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag] = ...) -> None: ...
def addStretch(self, stretch: int = ...) -> None: ...
def addSpacing(self, size: int) -> None: ...
def setDirection(self, a0: 'QBoxLayout.Direction') -> None: ...
def direction(self) -> 'QBoxLayout.Direction': ...
class QHBoxLayout(QBoxLayout):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, parent: QWidget) -> None: ...
class QVBoxLayout(QBoxLayout):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, parent: QWidget) -> None: ...
class QButtonGroup(QtCore.QObject):
def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ...
@typing.overload
def buttonToggled(self, a0: QAbstractButton, a1: bool) -> None: ...
@typing.overload
def buttonToggled(self, a0: int, a1: bool) -> None: ...
@typing.overload
def buttonReleased(self, a0: QAbstractButton) -> None: ...
@typing.overload
def buttonReleased(self, a0: int) -> None: ...
@typing.overload
def buttonPressed(self, a0: QAbstractButton) -> None: ...
@typing.overload
def buttonPressed(self, a0: int) -> None: ...
@typing.overload
def buttonClicked(self, a0: QAbstractButton) -> None: ...
@typing.overload
def buttonClicked(self, a0: int) -> None: ...
def checkedId(self) -> int: ...
def id(self, button: QAbstractButton) -> int: ...
def setId(self, button: QAbstractButton, id: int) -> None: ...
def checkedButton(self) -> QAbstractButton: ...
def button(self, id: int) -> QAbstractButton: ...
def buttons(self) -> typing.Any: ...
def removeButton(self, a0: QAbstractButton) -> None: ...
def addButton(self, a0: QAbstractButton, id: int = ...) -> None: ...
def exclusive(self) -> bool: ...
def setExclusive(self, a0: bool) -> None: ...
class QCalendarWidget(QWidget):
class SelectionMode(int): ...
NoSelection = ... # type: 'QCalendarWidget.SelectionMode'
SingleSelection = ... # type: 'QCalendarWidget.SelectionMode'
class VerticalHeaderFormat(int): ...
NoVerticalHeader = ... # type: 'QCalendarWidget.VerticalHeaderFormat'
ISOWeekNumbers = ... # type: 'QCalendarWidget.VerticalHeaderFormat'
class HorizontalHeaderFormat(int): ...
NoHorizontalHeader = ... # type: 'QCalendarWidget.HorizontalHeaderFormat'
SingleLetterDayNames = ... # type: 'QCalendarWidget.HorizontalHeaderFormat'
ShortDayNames = ... # type: 'QCalendarWidget.HorizontalHeaderFormat'
LongDayNames = ... # type: 'QCalendarWidget.HorizontalHeaderFormat'
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
def setNavigationBarVisible(self, visible: bool) -> None: ...
def setDateEditAcceptDelay(self, delay: int) -> None: ...
def dateEditAcceptDelay(self) -> int: ...
def setDateEditEnabled(self, enable: bool) -> None: ...
def isDateEditEnabled(self) -> bool: ...
def isNavigationBarVisible(self) -> bool: ...
def selectionChanged(self) -> None: ...
def currentPageChanged(self, year: int, month: int) -> None: ...
def clicked(self, date: typing.Union[QtCore.QDate, datetime.date]) -> None: ...
def activated(self, date: typing.Union[QtCore.QDate, datetime.date]) -> None: ...
def showToday(self) -> None: ...
def showSelectedDate(self) -> None: ...
def showPreviousYear(self) -> None: ...
def showPreviousMonth(self) -> None: ...
def showNextYear(self) -> None: ...
def showNextMonth(self) -> None: ...
def setSelectedDate(self, date: typing.Union[QtCore.QDate, datetime.date]) -> None: ...
def setDateRange(self, min: typing.Union[QtCore.QDate, datetime.date], max: typing.Union[QtCore.QDate, datetime.date]) -> None: ...
def setCurrentPage(self, year: int, month: int) -> None: ...
def paintCell(self, painter: QtGui.QPainter, rect: QtCore.QRect, date: typing.Union[QtCore.QDate, datetime.date]) -> None: ...
def keyPressEvent(self, event: QtGui.QKeyEvent) -> None: ...
def resizeEvent(self, event: QtGui.QResizeEvent) -> None: ...
def mousePressEvent(self, event: QtGui.QMouseEvent) -> None: ...
def eventFilter(self, watched: QtCore.QObject, event: QtCore.QEvent) -> bool: ...
def event(self, event: QtCore.QEvent) -> bool: ...
def updateCells(self) -> None: ...
def updateCell(self, date: typing.Union[QtCore.QDate, datetime.date]) -> None: ...
def setDateTextFormat(self, date: typing.Union[QtCore.QDate, datetime.date], color: QtGui.QTextCharFormat) -> None: ...
@typing.overload
def dateTextFormat(self) -> typing.Any: ...
@typing.overload
def dateTextFormat(self, date: typing.Union[QtCore.QDate, datetime.date]) -> QtGui.QTextCharFormat: ...
def setWeekdayTextFormat(self, dayOfWeek: QtCore.Qt.DayOfWeek, format: QtGui.QTextCharFormat) -> None: ...
def weekdayTextFormat(self, dayOfWeek: QtCore.Qt.DayOfWeek) -> QtGui.QTextCharFormat: ...
def setHeaderTextFormat(self, format: QtGui.QTextCharFormat) -> None: ...
def headerTextFormat(self) -> QtGui.QTextCharFormat: ...
def setVerticalHeaderFormat(self, format: 'QCalendarWidget.VerticalHeaderFormat') -> None: ...
def verticalHeaderFormat(self) -> 'QCalendarWidget.VerticalHeaderFormat': ...
def setHorizontalHeaderFormat(self, format: 'QCalendarWidget.HorizontalHeaderFormat') -> None: ...
def horizontalHeaderFormat(self) -> 'QCalendarWidget.HorizontalHeaderFormat': ...
def setSelectionMode(self, mode: 'QCalendarWidget.SelectionMode') -> None: ...
def selectionMode(self) -> 'QCalendarWidget.SelectionMode': ...
def setGridVisible(self, show: bool) -> None: ...
def isGridVisible(self) -> bool: ...
def setFirstDayOfWeek(self, dayOfWeek: QtCore.Qt.DayOfWeek) -> None: ...
def firstDayOfWeek(self) -> QtCore.Qt.DayOfWeek: ...
def setMaximumDate(self, date: typing.Union[QtCore.QDate, datetime.date]) -> None: ...
def maximumDate(self) -> QtCore.QDate: ...
def setMinimumDate(self, date: typing.Union[QtCore.QDate, datetime.date]) -> None: ...
def minimumDate(self) -> QtCore.QDate: ...
def monthShown(self) -> int: ...
def yearShown(self) -> int: ...
def selectedDate(self) -> QtCore.QDate: ...
def minimumSizeHint(self) -> QtCore.QSize: ...
def sizeHint(self) -> QtCore.QSize: ...
class QCheckBox(QAbstractButton):
@typing.overload
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
@typing.overload
def __init__(self, text: str, parent: typing.Optional[QWidget] = ...) -> None: ...
def initStyleOption(self, option: 'QStyleOptionButton') -> None: ...
def mouseMoveEvent(self, a0: QtGui.QMouseEvent) -> None: ...
def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ...
def event(self, e: QtCore.QEvent) -> bool: ...
def nextCheckState(self) -> None: ...
def checkStateSet(self) -> None: ...
def hitButton(self, pos: QtCore.QPoint) -> bool: ...
def stateChanged(self, a0: int) -> None: ...
def minimumSizeHint(self) -> QtCore.QSize: ...
def setCheckState(self, state: QtCore.Qt.CheckState) -> None: ...
def checkState(self) -> QtCore.Qt.CheckState: ...
def isTristate(self) -> bool: ...
def setTristate(self, on: bool = ...) -> None: ...
def sizeHint(self) -> QtCore.QSize: ...
class QDialog(QWidget):
class DialogCode(int): ...
Rejected = ... # type: 'QDialog.DialogCode'
Accepted = ... # type: 'QDialog.DialogCode'
def __init__(self, parent: typing.Optional[QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ...
def eventFilter(self, a0: QtCore.QObject, a1: QtCore.QEvent) -> bool: ...
def contextMenuEvent(self, a0: QtGui.QContextMenuEvent) -> None: ...
def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ...
def showEvent(self, a0: QtGui.QShowEvent) -> None: ...
def closeEvent(self, a0: QtGui.QCloseEvent) -> None: ...
def keyPressEvent(self, a0: QtGui.QKeyEvent) -> None: ...
def rejected(self) -> None: ...
def finished(self, result: int) -> None: ...
def accepted(self) -> None: ...
def open(self) -> None: ...
def reject(self) -> None: ...
def accept(self) -> None: ...
def done(self, a0: int) -> None: ...
def exec(self) -> int: ...
def exec_(self) -> int: ...
def setResult(self, r: int) -> None: ...
def setModal(self, modal: bool) -> None: ...
def isSizeGripEnabled(self) -> bool: ...
def setSizeGripEnabled(self, a0: bool) -> None: ...
def minimumSizeHint(self) -> QtCore.QSize: ...
def sizeHint(self) -> QtCore.QSize: ...
def setVisible(self, visible: bool) -> None: ...
def result(self) -> int: ...
class QColorDialog(QDialog):
class ColorDialogOption(int): ...
ShowAlphaChannel = ... # type: 'QColorDialog.ColorDialogOption'
NoButtons = ... # type: 'QColorDialog.ColorDialogOption'
DontUseNativeDialog = ... # type: 'QColorDialog.ColorDialogOption'
class ColorDialogOptions(sip.simplewrapper):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, f: typing.Union['QColorDialog.ColorDialogOptions', 'QColorDialog.ColorDialogOption']) -> None: ...
@typing.overload
def __init__(self, a0: 'QColorDialog.ColorDialogOptions') -> None: ...
def __hash__(self) -> int: ...
def __bool__(self) -> int: ...
def __invert__(self) -> 'QColorDialog.ColorDialogOptions': ...
def __int__(self) -> int: ...
@typing.overload
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
@typing.overload
def __init__(self, initial: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient], parent: typing.Optional[QWidget] = ...) -> None: ...
def setVisible(self, visible: bool) -> None: ...
@typing.overload
def open(self) -> None: ...
@typing.overload
def open(self, slot: PYQT_SLOT) -> None: ...
def options(self) -> 'QColorDialog.ColorDialogOptions': ...
def setOptions(self, options: typing.Union['QColorDialog.ColorDialogOptions', 'QColorDialog.ColorDialogOption']) -> None: ...
def testOption(self, option: 'QColorDialog.ColorDialogOption') -> bool: ...
def setOption(self, option: 'QColorDialog.ColorDialogOption', on: bool = ...) -> None: ...
def selectedColor(self) -> QtGui.QColor: ...
def currentColor(self) -> QtGui.QColor: ...
def setCurrentColor(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ...
def done(self, result: int) -> None: ...
def changeEvent(self, e: QtCore.QEvent) -> None: ...
def currentColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ...
def colorSelected(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ...
@staticmethod
def setStandardColor(index: int, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ...
@staticmethod
def standardColor(index: int) -> QtGui.QColor: ...
@staticmethod
def setCustomColor(index: int, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ...
@staticmethod
def customColor(index: int) -> QtGui.QColor: ...
@staticmethod
def customCount() -> int: ...
@staticmethod
def getColor(initial: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient] = ..., parent: typing.Optional[QWidget] = ..., title: str = ..., options: typing.Union['QColorDialog.ColorDialogOptions', 'QColorDialog.ColorDialogOption'] = ...) -> QtGui.QColor: ...
class QColumnView(QAbstractItemView):
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
def currentChanged(self, current: QtCore.QModelIndex, previous: QtCore.QModelIndex) -> None: ...
def rowsInserted(self, parent: QtCore.QModelIndex, start: int, end: int) -> None: ...
def scrollContentsBy(self, dx: int, dy: int) -> None: ...
def verticalOffset(self) -> int: ...
def horizontalOffset(self) -> int: ...
def visualRegionForSelection(self, selection: QtCore.QItemSelection) -> QtGui.QRegion: ...
def setSelection(self, rect: QtCore.QRect, command: typing.Union[QtCore.QItemSelectionModel.SelectionFlags, QtCore.QItemSelectionModel.SelectionFlag]) -> None: ...
def resizeEvent(self, event: QtGui.QResizeEvent) -> None: ...
def moveCursor(self, cursorAction: QAbstractItemView.CursorAction, modifiers: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier]) -> QtCore.QModelIndex: ...
def isIndexHidden(self, index: QtCore.QModelIndex) -> bool: ...
def initializeColumn(self, column: QAbstractItemView) -> None: ...
def createColumn(self, rootIndex: QtCore.QModelIndex) -> QAbstractItemView: ...
def updatePreviewWidget(self, index: QtCore.QModelIndex) -> None: ...
def selectAll(self) -> None: ...
def setRootIndex(self, index: QtCore.QModelIndex) -> None: ...
def setSelectionModel(self, selectionModel: QtCore.QItemSelectionModel) -> None: ...
def setModel(self, model: QtCore.QAbstractItemModel) -> None: ...
def visualRect(self, index: QtCore.QModelIndex) -> QtCore.QRect: ...
def sizeHint(self) -> QtCore.QSize: ...
def scrollTo(self, index: QtCore.QModelIndex, hint: QAbstractItemView.ScrollHint = ...) -> None: ...
def indexAt(self, point: QtCore.QPoint) -> QtCore.QModelIndex: ...
def setResizeGripsVisible(self, visible: bool) -> None: ...
def setPreviewWidget(self, widget: QWidget) -> None: ...
def setColumnWidths(self, list: typing.Iterable[int]) -> None: ...
def resizeGripsVisible(self) -> bool: ...
def previewWidget(self) -> QWidget: ...
def columnWidths(self) -> typing.List[int]: ...
class QComboBox(QWidget):
class SizeAdjustPolicy(int): ...
AdjustToContents = ... # type: 'QComboBox.SizeAdjustPolicy'
AdjustToContentsOnFirstShow = ... # type: 'QComboBox.SizeAdjustPolicy'
AdjustToMinimumContentsLength = ... # type: 'QComboBox.SizeAdjustPolicy'
AdjustToMinimumContentsLengthWithIcon = ... # type: 'QComboBox.SizeAdjustPolicy'
class InsertPolicy(int): ...
NoInsert = ... # type: 'QComboBox.InsertPolicy'
InsertAtTop = ... # type: 'QComboBox.InsertPolicy'
InsertAtCurrent = ... # type: 'QComboBox.InsertPolicy'
InsertAtBottom = ... # type: 'QComboBox.InsertPolicy'
InsertAfterCurrent = ... # type: 'QComboBox.InsertPolicy'
InsertBeforeCurrent = ... # type: 'QComboBox.InsertPolicy'
InsertAlphabetically = ... # type: 'QComboBox.InsertPolicy'
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
def currentData(self, role: int = ...) -> typing.Any: ...
@typing.overload
def inputMethodQuery(self, a0: QtCore.Qt.InputMethodQuery) -> typing.Any: ...
@typing.overload
def inputMethodQuery(self, query: QtCore.Qt.InputMethodQuery, argument: typing.Any) -> typing.Any: ...
def inputMethodEvent(self, a0: QtGui.QInputMethodEvent) -> None: ...
def contextMenuEvent(self, e: QtGui.QContextMenuEvent) -> None: ...
def wheelEvent(self, e: QtGui.QWheelEvent) -> None: ...
def keyReleaseEvent(self, e: QtGui.QKeyEvent) -> None: ...
def keyPressEvent(self, e: QtGui.QKeyEvent) -> None: ...
def mouseReleaseEvent(self, e: QtGui.QMouseEvent) -> None: ...
def mousePressEvent(self, e: QtGui.QMouseEvent) -> None: ...
def hideEvent(self, e: QtGui.QHideEvent) -> None: ...
def showEvent(self, e: QtGui.QShowEvent) -> None: ...
def paintEvent(self, e: QtGui.QPaintEvent) -> None: ...
def resizeEvent(self, e: QtGui.QResizeEvent) -> None: ...
def changeEvent(self, e: QtCore.QEvent) -> None: ...
def focusOutEvent(self, e: QtGui.QFocusEvent) -> None: ...
def focusInEvent(self, e: QtGui.QFocusEvent) -> None: ...
def initStyleOption(self, option: 'QStyleOptionComboBox') -> None: ...
@typing.overload
def highlighted(self, index: int) -> None: ...
@typing.overload
def highlighted(self, a0: str) -> None: ...
def currentTextChanged(self, a0: str) -> None: ...
@typing.overload
def currentIndexChanged(self, index: int) -> None: ...
@typing.overload
def currentIndexChanged(self, a0: str) -> None: ...
@typing.overload
def activated(self, index: int) -> None: ...
@typing.overload
def activated(self, a0: str) -> None: ...
def editTextChanged(self, a0: str) -> None: ...
def setCurrentText(self, text: str) -> None: ...
def setEditText(self, text: str) -> None: ...
def clearEditText(self) -> None: ...
def clear(self) -> None: ...
def insertSeparator(self, index: int) -> None: ...
def completer(self) -> 'QCompleter': ...
def setCompleter(self, c: 'QCompleter') -> None: ...
def event(self, event: QtCore.QEvent) -> bool: ...
def hidePopup(self) -> None: ...
def showPopup(self) -> None: ...
def minimumSizeHint(self) -> QtCore.QSize: ...
def sizeHint(self) -> QtCore.QSize: ...
def setView(self, itemView: QAbstractItemView) -> None: ...
def view(self) -> QAbstractItemView: ...
def setItemData(self, index: int, value: typing.Any, role: int = ...) -> None: ...
def setItemIcon(self, index: int, icon: QtGui.QIcon) -> None: ...
def setItemText(self, index: int, text: str) -> None: ...
def removeItem(self, index: int) -> None: ...
def insertItems(self, index: int, texts: typing.Iterable[str]) -> None: ...
@typing.overload
def insertItem(self, index: int, text: str, userData: typing.Any = ...) -> None: ...
@typing.overload
def insertItem(self, index: int, icon: QtGui.QIcon, text: str, userData: typing.Any = ...) -> None: ...
@typing.overload
def addItem(self, text: str, userData: typing.Any = ...) -> None: ...
@typing.overload
def addItem(self, icon: QtGui.QIcon, text: str, userData: typing.Any = ...) -> None: ...
def addItems(self, texts: typing.Iterable[str]) -> None: ...
def itemData(self, index: int, role: int = ...) -> typing.Any: ...
def itemIcon(self, index: int) -> QtGui.QIcon: ...
def itemText(self, index: int) -> str: ...
def currentText(self) -> str: ...
def setCurrentIndex(self, index: int) -> None: ...
def currentIndex(self) -> int: ...
def setModelColumn(self, visibleColumn: int) -> None: ...
def modelColumn(self) -> int: ...
def setRootModelIndex(self, index: QtCore.QModelIndex) -> None: ...
def rootModelIndex(self) -> QtCore.QModelIndex: ...
def setModel(self, model: QtCore.QAbstractItemModel) -> None: ...
def model(self) -> QtCore.QAbstractItemModel: ...
def setItemDelegate(self, delegate: QAbstractItemDelegate) -> None: ...
def itemDelegate(self) -> QAbstractItemDelegate: ...
def validator(self) -> QtGui.QValidator: ...
def setValidator(self, v: QtGui.QValidator) -> None: ...
def lineEdit(self) -> 'QLineEdit': ...
def setLineEdit(self, edit: 'QLineEdit') -> None: ...
def setEditable(self, editable: bool) -> None: ...
def isEditable(self) -> bool: ...
def setIconSize(self, size: QtCore.QSize) -> None: ...
def iconSize(self) -> QtCore.QSize: ...
def setMinimumContentsLength(self, characters: int) -> None: ...
def minimumContentsLength(self) -> int: ...
def setSizeAdjustPolicy(self, policy: 'QComboBox.SizeAdjustPolicy') -> None: ...
def sizeAdjustPolicy(self) -> 'QComboBox.SizeAdjustPolicy': ...
def setInsertPolicy(self, policy: 'QComboBox.InsertPolicy') -> None: ...
def insertPolicy(self) -> 'QComboBox.InsertPolicy': ...
def findData(self, data: typing.Any, role: int = ..., flags: typing.Union[QtCore.Qt.MatchFlags, QtCore.Qt.MatchFlag] = ...) -> int: ...
def findText(self, text: str, flags: typing.Union[QtCore.Qt.MatchFlags, QtCore.Qt.MatchFlag] = ...) -> int: ...
def hasFrame(self) -> bool: ...
def setFrame(self, a0: bool) -> None: ...
def setDuplicatesEnabled(self, enable: bool) -> None: ...
def duplicatesEnabled(self) -> bool: ...
def maxCount(self) -> int: ...
def setMaxCount(self, max: int) -> None: ...
def __len__(self) -> int: ...
def count(self) -> int: ...
def setMaxVisibleItems(self, maxItems: int) -> None: ...
def maxVisibleItems(self) -> int: ...
class QPushButton(QAbstractButton):
@typing.overload
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
@typing.overload
def __init__(self, text: str, parent: typing.Optional[QWidget] = ...) -> None: ...
@typing.overload
def __init__(self, icon: QtGui.QIcon, text: str, parent: typing.Optional[QWidget] = ...) -> None: ...
def focusOutEvent(self, a0: QtGui.QFocusEvent) -> None: ...
def focusInEvent(self, a0: QtGui.QFocusEvent) -> None: ...
def keyPressEvent(self, a0: QtGui.QKeyEvent) -> None: ...
def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ...
def event(self, e: QtCore.QEvent) -> bool: ...
def initStyleOption(self, option: 'QStyleOptionButton') -> None: ...
def showMenu(self) -> None: ...
def isFlat(self) -> bool: ...
def setFlat(self, a0: bool) -> None: ...
def menu(self) -> 'QMenu': ...
def setMenu(self, menu: 'QMenu') -> None: ...
def setDefault(self, a0: bool) -> None: ...
def isDefault(self) -> bool: ...
def setAutoDefault(self, a0: bool) -> None: ...
def autoDefault(self) -> bool: ...
def minimumSizeHint(self) -> QtCore.QSize: ...
def sizeHint(self) -> QtCore.QSize: ...
class QCommandLinkButton(QPushButton):
@typing.overload
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
@typing.overload
def __init__(self, text: str, parent: typing.Optional[QWidget] = ...) -> None: ...
@typing.overload
def __init__(self, text: str, description: str, parent: typing.Optional[QWidget] = ...) -> None: ...
def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ...
def event(self, e: QtCore.QEvent) -> bool: ...
def minimumSizeHint(self) -> QtCore.QSize: ...
def heightForWidth(self, a0: int) -> int: ...
def sizeHint(self) -> QtCore.QSize: ...
def setDescription(self, description: str) -> None: ...
def description(self) -> str: ...
class QStyle(QtCore.QObject):
class RequestSoftwareInputPanel(int): ...
RSIP_OnMouseClickAndAlreadyFocused = ... # type: 'QStyle.RequestSoftwareInputPanel'
RSIP_OnMouseClick = ... # type: 'QStyle.RequestSoftwareInputPanel'
class StandardPixmap(int): ...
SP_TitleBarMenuButton = ... # type: 'QStyle.StandardPixmap'
SP_TitleBarMinButton = ... # type: 'QStyle.StandardPixmap'
SP_TitleBarMaxButton = ... # type: 'QStyle.StandardPixmap'
SP_TitleBarCloseButton = ... # type: 'QStyle.StandardPixmap'
SP_TitleBarNormalButton = ... # type: 'QStyle.StandardPixmap'
SP_TitleBarShadeButton = ... # type: 'QStyle.StandardPixmap'
SP_TitleBarUnshadeButton = ... # type: 'QStyle.StandardPixmap'
SP_TitleBarContextHelpButton = ... # type: 'QStyle.StandardPixmap'
SP_DockWidgetCloseButton = ... # type: 'QStyle.StandardPixmap'
SP_MessageBoxInformation = ... # type: 'QStyle.StandardPixmap'
SP_MessageBoxWarning = ... # type: 'QStyle.StandardPixmap'
SP_MessageBoxCritical = ... # type: 'QStyle.StandardPixmap'
SP_MessageBoxQuestion = ... # type: 'QStyle.StandardPixmap'
SP_DesktopIcon = ... # type: 'QStyle.StandardPixmap'
SP_TrashIcon = ... # type: 'QStyle.StandardPixmap'
SP_ComputerIcon = ... # type: 'QStyle.StandardPixmap'
SP_DriveFDIcon = ... # type: 'QStyle.StandardPixmap'
SP_DriveHDIcon = ... # type: 'QStyle.StandardPixmap'
SP_DriveCDIcon = ... # type: 'QStyle.StandardPixmap'
SP_DriveDVDIcon = ... # type: 'QStyle.StandardPixmap'
SP_DriveNetIcon = ... # type: 'QStyle.StandardPixmap'
SP_DirOpenIcon = ... # type: 'QStyle.StandardPixmap'
SP_DirClosedIcon = ... # type: 'QStyle.StandardPixmap'
SP_DirLinkIcon = ... # type: 'QStyle.StandardPixmap'
SP_FileIcon = ... # type: 'QStyle.StandardPixmap'
SP_FileLinkIcon = ... # type: 'QStyle.StandardPixmap'
SP_ToolBarHorizontalExtensionButton = ... # type: 'QStyle.StandardPixmap'
SP_ToolBarVerticalExtensionButton = ... # type: 'QStyle.StandardPixmap'
SP_FileDialogStart = ... # type: 'QStyle.StandardPixmap'
SP_FileDialogEnd = ... # type: 'QStyle.StandardPixmap'
SP_FileDialogToParent = ... # type: 'QStyle.StandardPixmap'
SP_FileDialogNewFolder = ... # type: 'QStyle.StandardPixmap'
SP_FileDialogDetailedView = ... # type: 'QStyle.StandardPixmap'
SP_FileDialogInfoView = ... # type: 'QStyle.StandardPixmap'
SP_FileDialogContentsView = ... # type: 'QStyle.StandardPixmap'
SP_FileDialogListView = ... # type: 'QStyle.StandardPixmap'
SP_FileDialogBack = ... # type: 'QStyle.StandardPixmap'
SP_DirIcon = ... # type: 'QStyle.StandardPixmap'
SP_DialogOkButton = ... # type: 'QStyle.StandardPixmap'
SP_DialogCancelButton = ... # type: 'QStyle.StandardPixmap'
SP_DialogHelpButton = ... # type: 'QStyle.StandardPixmap'
SP_DialogOpenButton = ... # type: 'QStyle.StandardPixmap'
SP_DialogSaveButton = ... # type: 'QStyle.StandardPixmap'
SP_DialogCloseButton = ... # type: 'QStyle.StandardPixmap'
SP_DialogApplyButton = ... # type: 'QStyle.StandardPixmap'
SP_DialogResetButton = ... # type: 'QStyle.StandardPixmap'
SP_DialogDiscardButton = ... # type: 'QStyle.StandardPixmap'
SP_DialogYesButton = ... # type: 'QStyle.StandardPixmap'
SP_DialogNoButton = ... # type: 'QStyle.StandardPixmap'
SP_ArrowUp = ... # type: 'QStyle.StandardPixmap'
SP_ArrowDown = ... # type: 'QStyle.StandardPixmap'
SP_ArrowLeft = ... # type: 'QStyle.StandardPixmap'
SP_ArrowRight = ... # type: 'QStyle.StandardPixmap'
SP_ArrowBack = ... # type: 'QStyle.StandardPixmap'
SP_ArrowForward = ... # type: 'QStyle.StandardPixmap'
SP_DirHomeIcon = ... # type: 'QStyle.StandardPixmap'
SP_CommandLink = ... # type: 'QStyle.StandardPixmap'
SP_VistaShield = ... # type: 'QStyle.StandardPixmap'
SP_BrowserReload = ... # type: 'QStyle.StandardPixmap'
SP_BrowserStop = ... # type: 'QStyle.StandardPixmap'
SP_MediaPlay = ... # type: 'QStyle.StandardPixmap'
SP_MediaStop = ... # type: 'QStyle.StandardPixmap'
SP_MediaPause = ... # type: 'QStyle.StandardPixmap'
SP_MediaSkipForward = ... # type: 'QStyle.StandardPixmap'
SP_MediaSkipBackward = ... # type: 'QStyle.StandardPixmap'
SP_MediaSeekForward = ... # type: 'QStyle.StandardPixmap'
SP_MediaSeekBackward = ... # type: 'QStyle.StandardPixmap'
SP_MediaVolume = ... # type: 'QStyle.StandardPixmap'
SP_MediaVolumeMuted = ... # type: 'QStyle.StandardPixmap'
SP_DirLinkOpenIcon = ... # type: 'QStyle.StandardPixmap'
SP_LineEditClearButton = ... # type: 'QStyle.StandardPixmap'
SP_CustomBase = ... # type: 'QStyle.StandardPixmap'
class StyleHint(int): ...
SH_EtchDisabledText = ... # type: 'QStyle.StyleHint'
SH_DitherDisabledText = ... # type: 'QStyle.StyleHint'
SH_ScrollBar_MiddleClickAbsolutePosition = ... # type: 'QStyle.StyleHint'
SH_ScrollBar_ScrollWhenPointerLeavesControl = ... # type: 'QStyle.StyleHint'
SH_TabBar_SelectMouseType = ... # type: 'QStyle.StyleHint'
SH_TabBar_Alignment = ... # type: 'QStyle.StyleHint'
SH_Header_ArrowAlignment = ... # type: 'QStyle.StyleHint'
SH_Slider_SnapToValue = ... # type: 'QStyle.StyleHint'
SH_Slider_SloppyKeyEvents = ... # type: 'QStyle.StyleHint'
SH_ProgressDialog_CenterCancelButton = ... # type: 'QStyle.StyleHint'
SH_ProgressDialog_TextLabelAlignment = ... # type: 'QStyle.StyleHint'
SH_PrintDialog_RightAlignButtons = ... # type: 'QStyle.StyleHint'
SH_MainWindow_SpaceBelowMenuBar = ... # type: 'QStyle.StyleHint'
SH_FontDialog_SelectAssociatedText = ... # type: 'QStyle.StyleHint'
SH_Menu_AllowActiveAndDisabled = ... # type: 'QStyle.StyleHint'
SH_Menu_SpaceActivatesItem = ... # type: 'QStyle.StyleHint'
SH_Menu_SubMenuPopupDelay = ... # type: 'QStyle.StyleHint'
SH_ScrollView_FrameOnlyAroundContents = ... # type: 'QStyle.StyleHint'
SH_MenuBar_AltKeyNavigation = ... # type: 'QStyle.StyleHint'
SH_ComboBox_ListMouseTracking = ... # type: 'QStyle.StyleHint'
SH_Menu_MouseTracking = ... # type: 'QStyle.StyleHint'
SH_MenuBar_MouseTracking = ... # type: 'QStyle.StyleHint'
SH_ItemView_ChangeHighlightOnFocus = ... # type: 'QStyle.StyleHint'
SH_Widget_ShareActivation = ... # type: 'QStyle.StyleHint'
SH_Workspace_FillSpaceOnMaximize = ... # type: 'QStyle.StyleHint'
SH_ComboBox_Popup = ... # type: 'QStyle.StyleHint'
SH_TitleBar_NoBorder = ... # type: 'QStyle.StyleHint'
SH_ScrollBar_StopMouseOverSlider = ... # type: 'QStyle.StyleHint'
SH_BlinkCursorWhenTextSelected = ... # type: 'QStyle.StyleHint'
SH_RichText_FullWidthSelection = ... # type: 'QStyle.StyleHint'
SH_Menu_Scrollable = ... # type: 'QStyle.StyleHint'
SH_GroupBox_TextLabelVerticalAlignment = ... # type: 'QStyle.StyleHint'
SH_GroupBox_TextLabelColor = ... # type: 'QStyle.StyleHint'
SH_Menu_SloppySubMenus = ... # type: 'QStyle.StyleHint'
SH_Table_GridLineColor = ... # type: 'QStyle.StyleHint'
SH_LineEdit_PasswordCharacter = ... # type: 'QStyle.StyleHint'
SH_DialogButtons_DefaultButton = ... # type: 'QStyle.StyleHint'
SH_ToolBox_SelectedPageTitleBold = ... # type: 'QStyle.StyleHint'
SH_TabBar_PreferNoArrows = ... # type: 'QStyle.StyleHint'
SH_ScrollBar_LeftClickAbsolutePosition = ... # type: 'QStyle.StyleHint'
SH_UnderlineShortcut = ... # type: 'QStyle.StyleHint'
SH_SpinBox_AnimateButton = ... # type: 'QStyle.StyleHint'
SH_SpinBox_KeyPressAutoRepeatRate = ... # type: 'QStyle.StyleHint'
SH_SpinBox_ClickAutoRepeatRate = ... # type: 'QStyle.StyleHint'
SH_Menu_FillScreenWithScroll = ... # type: 'QStyle.StyleHint'
SH_ToolTipLabel_Opacity = ... # type: 'QStyle.StyleHint'
SH_DrawMenuBarSeparator = ... # type: 'QStyle.StyleHint'
SH_TitleBar_ModifyNotification = ... # type: 'QStyle.StyleHint'
SH_Button_FocusPolicy = ... # type: 'QStyle.StyleHint'
SH_MessageBox_UseBorderForButtonSpacing = ... # type: 'QStyle.StyleHint'
SH_TitleBar_AutoRaise = ... # type: 'QStyle.StyleHint'
SH_ToolButton_PopupDelay = ... # type: 'QStyle.StyleHint'
SH_FocusFrame_Mask = ... # type: 'QStyle.StyleHint'
SH_RubberBand_Mask = ... # type: 'QStyle.StyleHint'
SH_WindowFrame_Mask = ... # type: 'QStyle.StyleHint'
SH_SpinControls_DisableOnBounds = ... # type: 'QStyle.StyleHint'
SH_Dial_BackgroundRole = ... # type: 'QStyle.StyleHint'
SH_ComboBox_LayoutDirection = ... # type: 'QStyle.StyleHint'
SH_ItemView_EllipsisLocation = ... # type: 'QStyle.StyleHint'
SH_ItemView_ShowDecorationSelected = ... # type: 'QStyle.StyleHint'
SH_ItemView_ActivateItemOnSingleClick = ... # type: 'QStyle.StyleHint'
SH_ScrollBar_ContextMenu = ... # type: 'QStyle.StyleHint'
SH_ScrollBar_RollBetweenButtons = ... # type: 'QStyle.StyleHint'
SH_Slider_StopMouseOverSlider = ... # type: 'QStyle.StyleHint'
SH_Slider_AbsoluteSetButtons = ... # type: 'QStyle.StyleHint'
SH_Slider_PageSetButtons = ... # type: 'QStyle.StyleHint'
SH_Menu_KeyboardSearch = ... # type: 'QStyle.StyleHint'
SH_TabBar_ElideMode = ... # type: 'QStyle.StyleHint'
SH_DialogButtonLayout = ... # type: 'QStyle.StyleHint'
SH_ComboBox_PopupFrameStyle = ... # type: 'QStyle.StyleHint'
SH_MessageBox_TextInteractionFlags = ... # type: 'QStyle.StyleHint'
SH_DialogButtonBox_ButtonsHaveIcons = ... # type: 'QStyle.StyleHint'
SH_SpellCheckUnderlineStyle = ... # type: 'QStyle.StyleHint'
SH_MessageBox_CenterButtons = ... # type: 'QStyle.StyleHint'
SH_Menu_SelectionWrap = ... # type: 'QStyle.StyleHint'
SH_ItemView_MovementWithoutUpdatingSelection = ... # type: 'QStyle.StyleHint'
SH_ToolTip_Mask = ... # type: 'QStyle.StyleHint'
SH_FocusFrame_AboveWidget = ... # type: 'QStyle.StyleHint'
SH_TextControl_FocusIndicatorTextCharFormat = ... # type: 'QStyle.StyleHint'
SH_WizardStyle = ... # type: 'QStyle.StyleHint'
SH_ItemView_ArrowKeysNavigateIntoChildren = ... # type: 'QStyle.StyleHint'
SH_Menu_Mask = ... # type: 'QStyle.StyleHint'
SH_Menu_FlashTriggeredItem = ... # type: 'QStyle.StyleHint'
SH_Menu_FadeOutOnHide = ... # type: 'QStyle.StyleHint'
SH_SpinBox_ClickAutoRepeatThreshold = ... # type: 'QStyle.StyleHint'
SH_ItemView_PaintAlternatingRowColorsForEmptyArea = ... # type: 'QStyle.StyleHint'
SH_FormLayoutWrapPolicy = ... # type: 'QStyle.StyleHint'
SH_TabWidget_DefaultTabPosition = ... # type: 'QStyle.StyleHint'
SH_ToolBar_Movable = ... # type: 'QStyle.StyleHint'
SH_FormLayoutFieldGrowthPolicy = ... # type: 'QStyle.StyleHint'
SH_FormLayoutFormAlignment = ... # type: 'QStyle.StyleHint'
SH_FormLayoutLabelAlignment = ... # type: 'QStyle.StyleHint'
SH_ItemView_DrawDelegateFrame = ... # type: 'QStyle.StyleHint'
SH_TabBar_CloseButtonPosition = ... # type: 'QStyle.StyleHint'
SH_DockWidget_ButtonsHaveFrame = ... # type: 'QStyle.StyleHint'
SH_ToolButtonStyle = ... # type: 'QStyle.StyleHint'
SH_RequestSoftwareInputPanel = ... # type: 'QStyle.StyleHint'
SH_ListViewExpand_SelectMouseType = ... # type: 'QStyle.StyleHint'
SH_ScrollBar_Transient = ... # type: 'QStyle.StyleHint'
SH_Menu_SupportsSections = ... # type: 'QStyle.StyleHint'
SH_ToolTip_WakeUpDelay = ... # type: 'QStyle.StyleHint'
SH_ToolTip_FallAsleepDelay = ... # type: 'QStyle.StyleHint'
SH_Widget_Animate = ... # type: 'QStyle.StyleHint'
SH_Splitter_OpaqueResize = ... # type: 'QStyle.StyleHint'
SH_LineEdit_PasswordMaskDelay = ... # type: 'QStyle.StyleHint'
SH_TabBar_ChangeCurrentDelay = ... # type: 'QStyle.StyleHint'
SH_Menu_SubMenuUniDirection = ... # type: 'QStyle.StyleHint'
SH_Menu_SubMenuUniDirectionFailCount = ... # type: 'QStyle.StyleHint'
SH_Menu_SubMenuSloppySelectOtherActions = ... # type: 'QStyle.StyleHint'
SH_Menu_SubMenuSloppyCloseTimeout = ... # type: 'QStyle.StyleHint'
SH_Menu_SubMenuResetWhenReenteringParent = ... # type: 'QStyle.StyleHint'
SH_Menu_SubMenuDontStartSloppyOnLeave = ... # type: 'QStyle.StyleHint'
SH_ItemView_ScrollMode = ... # type: 'QStyle.StyleHint'
SH_CustomBase = ... # type: 'QStyle.StyleHint'
class ContentsType(int): ...
CT_PushButton = ... # type: 'QStyle.ContentsType'
CT_CheckBox = ... # type: 'QStyle.ContentsType'
CT_RadioButton = ... # type: 'QStyle.ContentsType'
CT_ToolButton = ... # type: 'QStyle.ContentsType'
CT_ComboBox = ... # type: 'QStyle.ContentsType'
CT_Splitter = ... # type: 'QStyle.ContentsType'
CT_ProgressBar = ... # type: 'QStyle.ContentsType'
CT_MenuItem = ... # type: 'QStyle.ContentsType'
CT_MenuBarItem = ... # type: 'QStyle.ContentsType'
CT_MenuBar = ... # type: 'QStyle.ContentsType'
CT_Menu = ... # type: 'QStyle.ContentsType'
CT_TabBarTab = ... # type: 'QStyle.ContentsType'
CT_Slider = ... # type: 'QStyle.ContentsType'
CT_ScrollBar = ... # type: 'QStyle.ContentsType'
CT_LineEdit = ... # type: 'QStyle.ContentsType'
CT_SpinBox = ... # type: 'QStyle.ContentsType'
CT_SizeGrip = ... # type: 'QStyle.ContentsType'
CT_TabWidget = ... # type: 'QStyle.ContentsType'
CT_DialogButtons = ... # type: 'QStyle.ContentsType'
CT_HeaderSection = ... # type: 'QStyle.ContentsType'
CT_GroupBox = ... # type: 'QStyle.ContentsType'
CT_MdiControls = ... # type: 'QStyle.ContentsType'
CT_ItemViewItem = ... # type: 'QStyle.ContentsType'
CT_CustomBase = ... # type: 'QStyle.ContentsType'
class PixelMetric(int): ...
PM_ButtonMargin = ... # type: 'QStyle.PixelMetric'
PM_ButtonDefaultIndicator = ... # type: 'QStyle.PixelMetric'
PM_MenuButtonIndicator = ... # type: 'QStyle.PixelMetric'
PM_ButtonShiftHorizontal = ... # type: 'QStyle.PixelMetric'
PM_ButtonShiftVertical = ... # type: 'QStyle.PixelMetric'
PM_DefaultFrameWidth = ... # type: 'QStyle.PixelMetric'
PM_SpinBoxFrameWidth = ... # type: 'QStyle.PixelMetric'
PM_ComboBoxFrameWidth = ... # type: 'QStyle.PixelMetric'
PM_MaximumDragDistance = ... # type: 'QStyle.PixelMetric'
PM_ScrollBarExtent = ... # type: 'QStyle.PixelMetric'
PM_ScrollBarSliderMin = ... # type: 'QStyle.PixelMetric'
PM_SliderThickness = ... # type: 'QStyle.PixelMetric'
PM_SliderControlThickness = ... # type: 'QStyle.PixelMetric'
PM_SliderLength = ... # type: 'QStyle.PixelMetric'
PM_SliderTickmarkOffset = ... # type: 'QStyle.PixelMetric'
PM_SliderSpaceAvailable = ... # type: 'QStyle.PixelMetric'
PM_DockWidgetSeparatorExtent = ... # type: 'QStyle.PixelMetric'
PM_DockWidgetHandleExtent = ... # type: 'QStyle.PixelMetric'
PM_DockWidgetFrameWidth = ... # type: 'QStyle.PixelMetric'
PM_TabBarTabOverlap = ... # type: 'QStyle.PixelMetric'
PM_TabBarTabHSpace = ... # type: 'QStyle.PixelMetric'
PM_TabBarTabVSpace = ... # type: 'QStyle.PixelMetric'
PM_TabBarBaseHeight = ... # type: 'QStyle.PixelMetric'
PM_TabBarBaseOverlap = ... # type: 'QStyle.PixelMetric'
PM_ProgressBarChunkWidth = ... # type: 'QStyle.PixelMetric'
PM_SplitterWidth = ... # type: 'QStyle.PixelMetric'
PM_TitleBarHeight = ... # type: 'QStyle.PixelMetric'
PM_MenuScrollerHeight = ... # type: 'QStyle.PixelMetric'
PM_MenuHMargin = ... # type: 'QStyle.PixelMetric'
PM_MenuVMargin = ... # type: 'QStyle.PixelMetric'
PM_MenuPanelWidth = ... # type: 'QStyle.PixelMetric'
PM_MenuTearoffHeight = ... # type: 'QStyle.PixelMetric'
PM_MenuDesktopFrameWidth = ... # type: 'QStyle.PixelMetric'
PM_MenuBarPanelWidth = ... # type: 'QStyle.PixelMetric'
PM_MenuBarItemSpacing = ... # type: 'QStyle.PixelMetric'
PM_MenuBarVMargin = ... # type: 'QStyle.PixelMetric'
PM_MenuBarHMargin = ... # type: 'QStyle.PixelMetric'
PM_IndicatorWidth = ... # type: 'QStyle.PixelMetric'
PM_IndicatorHeight = ... # type: 'QStyle.PixelMetric'
PM_ExclusiveIndicatorWidth = ... # type: 'QStyle.PixelMetric'
PM_ExclusiveIndicatorHeight = ... # type: 'QStyle.PixelMetric'
PM_DialogButtonsSeparator = ... # type: 'QStyle.PixelMetric'
PM_DialogButtonsButtonWidth = ... # type: 'QStyle.PixelMetric'
PM_DialogButtonsButtonHeight = ... # type: 'QStyle.PixelMetric'
PM_MdiSubWindowFrameWidth = ... # type: 'QStyle.PixelMetric'
PM_MDIFrameWidth = ... # type: 'QStyle.PixelMetric'
PM_MdiSubWindowMinimizedWidth = ... # type: 'QStyle.PixelMetric'
PM_MDIMinimizedWidth = ... # type: 'QStyle.PixelMetric'
PM_HeaderMargin = ... # type: 'QStyle.PixelMetric'
PM_HeaderMarkSize = ... # type: 'QStyle.PixelMetric'
PM_HeaderGripMargin = ... # type: 'QStyle.PixelMetric'
PM_TabBarTabShiftHorizontal = ... # type: 'QStyle.PixelMetric'
PM_TabBarTabShiftVertical = ... # type: 'QStyle.PixelMetric'
PM_TabBarScrollButtonWidth = ... # type: 'QStyle.PixelMetric'
PM_ToolBarFrameWidth = ... # type: 'QStyle.PixelMetric'
PM_ToolBarHandleExtent = ... # type: 'QStyle.PixelMetric'
PM_ToolBarItemSpacing = ... # type: 'QStyle.PixelMetric'
PM_ToolBarItemMargin = ... # type: 'QStyle.PixelMetric'
PM_ToolBarSeparatorExtent = ... # type: 'QStyle.PixelMetric'
PM_ToolBarExtensionExtent = ... # type: 'QStyle.PixelMetric'
PM_SpinBoxSliderHeight = ... # type: 'QStyle.PixelMetric'
PM_DefaultTopLevelMargin = ... # type: 'QStyle.PixelMetric'
PM_DefaultChildMargin = ... # type: 'QStyle.PixelMetric'
PM_DefaultLayoutSpacing = ... # type: 'QStyle.PixelMetric'
PM_ToolBarIconSize = ... # type: 'QStyle.PixelMetric'
PM_ListViewIconSize = ... # type: 'QStyle.PixelMetric'
PM_IconViewIconSize = ... # type: 'QStyle.PixelMetric'
PM_SmallIconSize = ... # type: 'QStyle.PixelMetric'
PM_LargeIconSize = ... # type: 'QStyle.PixelMetric'
PM_FocusFrameVMargin = ... # type: 'QStyle.PixelMetric'
PM_FocusFrameHMargin = ... # type: 'QStyle.PixelMetric'
PM_ToolTipLabelFrameWidth = ... # type: 'QStyle.PixelMetric'
PM_CheckBoxLabelSpacing = ... # type: 'QStyle.PixelMetric'
PM_TabBarIconSize = ... # type: 'QStyle.PixelMetric'
PM_SizeGripSize = ... # type: 'QStyle.PixelMetric'
PM_DockWidgetTitleMargin = ... # type: 'QStyle.PixelMetric'
PM_MessageBoxIconSize = ... # type: 'QStyle.PixelMetric'
PM_ButtonIconSize = ... # type: 'QStyle.PixelMetric'
PM_DockWidgetTitleBarButtonMargin = ... # type: 'QStyle.PixelMetric'
PM_RadioButtonLabelSpacing = ... # type: 'QStyle.PixelMetric'
PM_LayoutLeftMargin = ... # type: 'QStyle.PixelMetric'
PM_LayoutTopMargin = ... # type: 'QStyle.PixelMetric'
PM_LayoutRightMargin = ... # type: 'QStyle.PixelMetric'
PM_LayoutBottomMargin = ... # type: 'QStyle.PixelMetric'
PM_LayoutHorizontalSpacing = ... # type: 'QStyle.PixelMetric'
PM_LayoutVerticalSpacing = ... # type: 'QStyle.PixelMetric'
PM_TabBar_ScrollButtonOverlap = ... # type: 'QStyle.PixelMetric'
PM_TextCursorWidth = ... # type: 'QStyle.PixelMetric'
PM_TabCloseIndicatorWidth = ... # type: 'QStyle.PixelMetric'
PM_TabCloseIndicatorHeight = ... # type: 'QStyle.PixelMetric'
PM_ScrollView_ScrollBarSpacing = ... # type: 'QStyle.PixelMetric'
PM_SubMenuOverlap = ... # type: 'QStyle.PixelMetric'
PM_ScrollView_ScrollBarOverlap = ... # type: 'QStyle.PixelMetric'
PM_TreeViewIndentation = ... # type: 'QStyle.PixelMetric'
PM_HeaderDefaultSectionSizeHorizontal = ... # type: 'QStyle.PixelMetric'
PM_HeaderDefaultSectionSizeVertical = ... # type: 'QStyle.PixelMetric'
PM_TitleBarButtonIconSize = ... # type: 'QStyle.PixelMetric'
PM_TitleBarButtonSize = ... # type: 'QStyle.PixelMetric'
PM_CustomBase = ... # type: 'QStyle.PixelMetric'
class SubControl(int): ...
SC_None = ... # type: 'QStyle.SubControl'
SC_ScrollBarAddLine = ... # type: 'QStyle.SubControl'
SC_ScrollBarSubLine = ... # type: 'QStyle.SubControl'
SC_ScrollBarAddPage = ... # type: 'QStyle.SubControl'
SC_ScrollBarSubPage = ... # type: 'QStyle.SubControl'
SC_ScrollBarFirst = ... # type: 'QStyle.SubControl'
SC_ScrollBarLast = ... # type: 'QStyle.SubControl'
SC_ScrollBarSlider = ... # type: 'QStyle.SubControl'
SC_ScrollBarGroove = ... # type: 'QStyle.SubControl'
SC_SpinBoxUp = ... # type: 'QStyle.SubControl'
SC_SpinBoxDown = ... # type: 'QStyle.SubControl'
SC_SpinBoxFrame = ... # type: 'QStyle.SubControl'
SC_SpinBoxEditField = ... # type: 'QStyle.SubControl'
SC_ComboBoxFrame = ... # type: 'QStyle.SubControl'
SC_ComboBoxEditField = ... # type: 'QStyle.SubControl'
SC_ComboBoxArrow = ... # type: 'QStyle.SubControl'
SC_ComboBoxListBoxPopup = ... # type: 'QStyle.SubControl'
SC_SliderGroove = ... # type: 'QStyle.SubControl'
SC_SliderHandle = ... # type: 'QStyle.SubControl'
SC_SliderTickmarks = ... # type: 'QStyle.SubControl'
SC_ToolButton = ... # type: 'QStyle.SubControl'
SC_ToolButtonMenu = ... # type: 'QStyle.SubControl'
SC_TitleBarSysMenu = ... # type: 'QStyle.SubControl'
SC_TitleBarMinButton = ... # type: 'QStyle.SubControl'
SC_TitleBarMaxButton = ... # type: 'QStyle.SubControl'
SC_TitleBarCloseButton = ... # type: 'QStyle.SubControl'
SC_TitleBarNormalButton = ... # type: 'QStyle.SubControl'
SC_TitleBarShadeButton = ... # type: 'QStyle.SubControl'
SC_TitleBarUnshadeButton = ... # type: 'QStyle.SubControl'
SC_TitleBarContextHelpButton = ... # type: 'QStyle.SubControl'
SC_TitleBarLabel = ... # type: 'QStyle.SubControl'
SC_DialGroove = ... # type: 'QStyle.SubControl'
SC_DialHandle = ... # type: 'QStyle.SubControl'
SC_DialTickmarks = ... # type: 'QStyle.SubControl'
SC_GroupBoxCheckBox = ... # type: 'QStyle.SubControl'
SC_GroupBoxLabel = ... # type: 'QStyle.SubControl'
SC_GroupBoxContents = ... # type: 'QStyle.SubControl'
SC_GroupBoxFrame = ... # type: 'QStyle.SubControl'
SC_MdiMinButton = ... # type: 'QStyle.SubControl'
SC_MdiNormalButton = ... # type: 'QStyle.SubControl'
SC_MdiCloseButton = ... # type: 'QStyle.SubControl'
SC_CustomBase = ... # type: 'QStyle.SubControl'
SC_All = ... # type: 'QStyle.SubControl'
class ComplexControl(int): ...
CC_SpinBox = ... # type: 'QStyle.ComplexControl'
CC_ComboBox = ... # type: 'QStyle.ComplexControl'
CC_ScrollBar = ... # type: 'QStyle.ComplexControl'
CC_Slider = ... # type: 'QStyle.ComplexControl'
CC_ToolButton = ... # type: 'QStyle.ComplexControl'
CC_TitleBar = ... # type: 'QStyle.ComplexControl'
CC_Dial = ... # type: 'QStyle.ComplexControl'
CC_GroupBox = ... # type: 'QStyle.ComplexControl'
CC_MdiControls = ... # type: 'QStyle.ComplexControl'
CC_CustomBase = ... # type: 'QStyle.ComplexControl'
class SubElement(int): ...
SE_PushButtonContents = ... # type: 'QStyle.SubElement'
SE_PushButtonFocusRect = ... # type: 'QStyle.SubElement'
SE_CheckBoxIndicator = ... # type: 'QStyle.SubElement'
SE_CheckBoxContents = ... # type: 'QStyle.SubElement'
SE_CheckBoxFocusRect = ... # type: 'QStyle.SubElement'
SE_CheckBoxClickRect = ... # type: 'QStyle.SubElement'
SE_RadioButtonIndicator = ... # type: 'QStyle.SubElement'
SE_RadioButtonContents = ... # type: 'QStyle.SubElement'
SE_RadioButtonFocusRect = ... # type: 'QStyle.SubElement'
SE_RadioButtonClickRect = ... # type: 'QStyle.SubElement'
SE_ComboBoxFocusRect = ... # type: 'QStyle.SubElement'
SE_SliderFocusRect = ... # type: 'QStyle.SubElement'
SE_ProgressBarGroove = ... # type: 'QStyle.SubElement'
SE_ProgressBarContents = ... # type: 'QStyle.SubElement'
SE_ProgressBarLabel = ... # type: 'QStyle.SubElement'
SE_ToolBoxTabContents = ... # type: 'QStyle.SubElement'
SE_HeaderLabel = ... # type: 'QStyle.SubElement'
SE_HeaderArrow = ... # type: 'QStyle.SubElement'
SE_TabWidgetTabBar = ... # type: 'QStyle.SubElement'
SE_TabWidgetTabPane = ... # type: 'QStyle.SubElement'
SE_TabWidgetTabContents = ... # type: 'QStyle.SubElement'
SE_TabWidgetLeftCorner = ... # type: 'QStyle.SubElement'
SE_TabWidgetRightCorner = ... # type: 'QStyle.SubElement'
SE_ViewItemCheckIndicator = ... # type: 'QStyle.SubElement'
SE_TabBarTearIndicator = ... # type: 'QStyle.SubElement'
SE_TreeViewDisclosureItem = ... # type: 'QStyle.SubElement'
SE_LineEditContents = ... # type: 'QStyle.SubElement'
SE_FrameContents = ... # type: 'QStyle.SubElement'
SE_DockWidgetCloseButton = ... # type: 'QStyle.SubElement'
SE_DockWidgetFloatButton = ... # type: 'QStyle.SubElement'
SE_DockWidgetTitleBarText = ... # type: 'QStyle.SubElement'
SE_DockWidgetIcon = ... # type: 'QStyle.SubElement'
SE_CheckBoxLayoutItem = ... # type: 'QStyle.SubElement'
SE_ComboBoxLayoutItem = ... # type: 'QStyle.SubElement'
SE_DateTimeEditLayoutItem = ... # type: 'QStyle.SubElement'
SE_DialogButtonBoxLayoutItem = ... # type: 'QStyle.SubElement'
SE_LabelLayoutItem = ... # type: 'QStyle.SubElement'
SE_ProgressBarLayoutItem = ... # type: 'QStyle.SubElement'
SE_PushButtonLayoutItem = ... # type: 'QStyle.SubElement'
SE_RadioButtonLayoutItem = ... # type: 'QStyle.SubElement'
SE_SliderLayoutItem = ... # type: 'QStyle.SubElement'
SE_SpinBoxLayoutItem = ... # type: 'QStyle.SubElement'
SE_ToolButtonLayoutItem = ... # type: 'QStyle.SubElement'
SE_FrameLayoutItem = ... # type: 'QStyle.SubElement'
SE_GroupBoxLayoutItem = ... # type: 'QStyle.SubElement'
SE_TabWidgetLayoutItem = ... # type: 'QStyle.SubElement'
SE_ItemViewItemCheckIndicator = ... # type: 'QStyle.SubElement'
SE_ItemViewItemDecoration = ... # type: 'QStyle.SubElement'
SE_ItemViewItemText = ... # type: 'QStyle.SubElement'
SE_ItemViewItemFocusRect = ... # type: 'QStyle.SubElement'
SE_TabBarTabLeftButton = ... # type: 'QStyle.SubElement'
SE_TabBarTabRightButton = ... # type: 'QStyle.SubElement'
SE_TabBarTabText = ... # type: 'QStyle.SubElement'
SE_ShapedFrameContents = ... # type: 'QStyle.SubElement'
SE_ToolBarHandle = ... # type: 'QStyle.SubElement'
SE_TabBarTearIndicatorLeft = ... # type: 'QStyle.SubElement'
SE_TabBarScrollLeftButton = ... # type: 'QStyle.SubElement'
SE_TabBarScrollRightButton = ... # type: 'QStyle.SubElement'
SE_TabBarTearIndicatorRight = ... # type: 'QStyle.SubElement'
SE_CustomBase = ... # type: 'QStyle.SubElement'
class ControlElement(int): ...
CE_PushButton = ... # type: 'QStyle.ControlElement'
CE_PushButtonBevel = ... # type: 'QStyle.ControlElement'
CE_PushButtonLabel = ... # type: 'QStyle.ControlElement'
CE_CheckBox = ... # type: 'QStyle.ControlElement'
CE_CheckBoxLabel = ... # type: 'QStyle.ControlElement'
CE_RadioButton = ... # type: 'QStyle.ControlElement'
CE_RadioButtonLabel = ... # type: 'QStyle.ControlElement'
CE_TabBarTab = ... # type: 'QStyle.ControlElement'
CE_TabBarTabShape = ... # type: 'QStyle.ControlElement'
CE_TabBarTabLabel = ... # type: 'QStyle.ControlElement'
CE_ProgressBar = ... # type: 'QStyle.ControlElement'
CE_ProgressBarGroove = ... # type: 'QStyle.ControlElement'
CE_ProgressBarContents = ... # type: 'QStyle.ControlElement'
CE_ProgressBarLabel = ... # type: 'QStyle.ControlElement'
CE_MenuItem = ... # type: 'QStyle.ControlElement'
CE_MenuScroller = ... # type: 'QStyle.ControlElement'
CE_MenuVMargin = ... # type: 'QStyle.ControlElement'
CE_MenuHMargin = ... # type: 'QStyle.ControlElement'
CE_MenuTearoff = ... # type: 'QStyle.ControlElement'
CE_MenuEmptyArea = ... # type: 'QStyle.ControlElement'
CE_MenuBarItem = ... # type: 'QStyle.ControlElement'
CE_MenuBarEmptyArea = ... # type: 'QStyle.ControlElement'
CE_ToolButtonLabel = ... # type: 'QStyle.ControlElement'
CE_Header = ... # type: 'QStyle.ControlElement'
CE_HeaderSection = ... # type: 'QStyle.ControlElement'
CE_HeaderLabel = ... # type: 'QStyle.ControlElement'
CE_ToolBoxTab = ... # type: 'QStyle.ControlElement'
CE_SizeGrip = ... # type: 'QStyle.ControlElement'
CE_Splitter = ... # type: 'QStyle.ControlElement'
CE_RubberBand = ... # type: 'QStyle.ControlElement'
CE_DockWidgetTitle = ... # type: 'QStyle.ControlElement'
CE_ScrollBarAddLine = ... # type: 'QStyle.ControlElement'
CE_ScrollBarSubLine = ... # type: 'QStyle.ControlElement'
CE_ScrollBarAddPage = ... # type: 'QStyle.ControlElement'
CE_ScrollBarSubPage = ... # type: 'QStyle.ControlElement'
CE_ScrollBarSlider = ... # type: 'QStyle.ControlElement'
CE_ScrollBarFirst = ... # type: 'QStyle.ControlElement'
CE_ScrollBarLast = ... # type: 'QStyle.ControlElement'
CE_FocusFrame = ... # type: 'QStyle.ControlElement'
CE_ComboBoxLabel = ... # type: 'QStyle.ControlElement'
CE_ToolBar = ... # type: 'QStyle.ControlElement'
CE_ToolBoxTabShape = ... # type: 'QStyle.ControlElement'
CE_ToolBoxTabLabel = ... # type: 'QStyle.ControlElement'
CE_HeaderEmptyArea = ... # type: 'QStyle.ControlElement'
CE_ColumnViewGrip = ... # type: 'QStyle.ControlElement'
CE_ItemViewItem = ... # type: 'QStyle.ControlElement'
CE_ShapedFrame = ... # type: 'QStyle.ControlElement'
CE_CustomBase = ... # type: 'QStyle.ControlElement'
class PrimitiveElement(int): ...
PE_Frame = ... # type: 'QStyle.PrimitiveElement'
PE_FrameDefaultButton = ... # type: 'QStyle.PrimitiveElement'
PE_FrameDockWidget = ... # type: 'QStyle.PrimitiveElement'
PE_FrameFocusRect = ... # type: 'QStyle.PrimitiveElement'
PE_FrameGroupBox = ... # type: 'QStyle.PrimitiveElement'
PE_FrameLineEdit = ... # type: 'QStyle.PrimitiveElement'
PE_FrameMenu = ... # type: 'QStyle.PrimitiveElement'
PE_FrameStatusBar = ... # type: 'QStyle.PrimitiveElement'
PE_FrameTabWidget = ... # type: 'QStyle.PrimitiveElement'
PE_FrameWindow = ... # type: 'QStyle.PrimitiveElement'
PE_FrameButtonBevel = ... # type: 'QStyle.PrimitiveElement'
PE_FrameButtonTool = ... # type: 'QStyle.PrimitiveElement'
PE_FrameTabBarBase = ... # type: 'QStyle.PrimitiveElement'
PE_PanelButtonCommand = ... # type: 'QStyle.PrimitiveElement'
PE_PanelButtonBevel = ... # type: 'QStyle.PrimitiveElement'
PE_PanelButtonTool = ... # type: 'QStyle.PrimitiveElement'
PE_PanelMenuBar = ... # type: 'QStyle.PrimitiveElement'
PE_PanelToolBar = ... # type: 'QStyle.PrimitiveElement'
PE_PanelLineEdit = ... # type: 'QStyle.PrimitiveElement'
PE_IndicatorArrowDown = ... # type: 'QStyle.PrimitiveElement'
PE_IndicatorArrowLeft = ... # type: 'QStyle.PrimitiveElement'
PE_IndicatorArrowRight = ... # type: 'QStyle.PrimitiveElement'
PE_IndicatorArrowUp = ... # type: 'QStyle.PrimitiveElement'
PE_IndicatorBranch = ... # type: 'QStyle.PrimitiveElement'
PE_IndicatorButtonDropDown = ... # type: 'QStyle.PrimitiveElement'
PE_IndicatorViewItemCheck = ... # type: 'QStyle.PrimitiveElement'
PE_IndicatorCheckBox = ... # type: 'QStyle.PrimitiveElement'
PE_IndicatorDockWidgetResizeHandle = ... # type: 'QStyle.PrimitiveElement'
PE_IndicatorHeaderArrow = ... # type: 'QStyle.PrimitiveElement'
PE_IndicatorMenuCheckMark = ... # type: 'QStyle.PrimitiveElement'
PE_IndicatorProgressChunk = ... # type: 'QStyle.PrimitiveElement'
PE_IndicatorRadioButton = ... # type: 'QStyle.PrimitiveElement'
PE_IndicatorSpinDown = ... # type: 'QStyle.PrimitiveElement'
PE_IndicatorSpinMinus = ... # type: 'QStyle.PrimitiveElement'
PE_IndicatorSpinPlus = ... # type: 'QStyle.PrimitiveElement'
PE_IndicatorSpinUp = ... # type: 'QStyle.PrimitiveElement'
PE_IndicatorToolBarHandle = ... # type: 'QStyle.PrimitiveElement'
PE_IndicatorToolBarSeparator = ... # type: 'QStyle.PrimitiveElement'
PE_PanelTipLabel = ... # type: 'QStyle.PrimitiveElement'
PE_IndicatorTabTear = ... # type: 'QStyle.PrimitiveElement'
PE_PanelScrollAreaCorner = ... # type: 'QStyle.PrimitiveElement'
PE_Widget = ... # type: 'QStyle.PrimitiveElement'
PE_IndicatorColumnViewArrow = ... # type: 'QStyle.PrimitiveElement'
PE_FrameStatusBarItem = ... # type: 'QStyle.PrimitiveElement'
PE_IndicatorItemViewItemCheck = ... # type: 'QStyle.PrimitiveElement'
PE_IndicatorItemViewItemDrop = ... # type: 'QStyle.PrimitiveElement'
PE_PanelItemViewItem = ... # type: 'QStyle.PrimitiveElement'
PE_PanelItemViewRow = ... # type: 'QStyle.PrimitiveElement'
PE_PanelStatusBar = ... # type: 'QStyle.PrimitiveElement'
PE_IndicatorTabClose = ... # type: 'QStyle.PrimitiveElement'
PE_PanelMenu = ... # type: 'QStyle.PrimitiveElement'
PE_IndicatorTabTearLeft = ... # type: 'QStyle.PrimitiveElement'
PE_IndicatorTabTearRight = ... # type: 'QStyle.PrimitiveElement'
PE_CustomBase = ... # type: 'QStyle.PrimitiveElement'
class StateFlag(int): ...
State_None = ... # type: 'QStyle.StateFlag'
State_Enabled = ... # type: 'QStyle.StateFlag'
State_Raised = ... # type: 'QStyle.StateFlag'
State_Sunken = ... # type: 'QStyle.StateFlag'
State_Off = ... # type: 'QStyle.StateFlag'
State_NoChange = ... # type: 'QStyle.StateFlag'
State_On = ... # type: 'QStyle.StateFlag'
State_DownArrow = ... # type: 'QStyle.StateFlag'
State_Horizontal = ... # type: 'QStyle.StateFlag'
State_HasFocus = ... # type: 'QStyle.StateFlag'
State_Top = ... # type: 'QStyle.StateFlag'
State_Bottom = ... # type: 'QStyle.StateFlag'
State_FocusAtBorder = ... # type: 'QStyle.StateFlag'
State_AutoRaise = ... # type: 'QStyle.StateFlag'
State_MouseOver = ... # type: 'QStyle.StateFlag'
State_UpArrow = ... # type: 'QStyle.StateFlag'
State_Selected = ... # type: 'QStyle.StateFlag'
State_Active = ... # type: 'QStyle.StateFlag'
State_Open = ... # type: 'QStyle.StateFlag'
State_Children = ... # type: 'QStyle.StateFlag'
State_Item = ... # type: 'QStyle.StateFlag'
State_Sibling = ... # type: 'QStyle.StateFlag'
State_Editing = ... # type: 'QStyle.StateFlag'
State_KeyboardFocusChange = ... # type: 'QStyle.StateFlag'
State_ReadOnly = ... # type: 'QStyle.StateFlag'
State_Window = ... # type: 'QStyle.StateFlag'
State_Small = ... # type: 'QStyle.StateFlag'
State_Mini = ... # type: 'QStyle.StateFlag'
class State(sip.simplewrapper):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, f: typing.Union['QStyle.State', 'QStyle.StateFlag']) -> None: ...
@typing.overload
def __init__(self, a0: 'QStyle.State') -> None: ...
def __hash__(self) -> int: ...
def __bool__(self) -> int: ...
def __invert__(self) -> 'QStyle.State': ...
def __int__(self) -> int: ...
class SubControls(sip.simplewrapper):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, f: typing.Union['QStyle.SubControls', 'QStyle.SubControl']) -> None: ...
@typing.overload
def __init__(self, a0: 'QStyle.SubControls') -> None: ...
def __hash__(self) -> int: ...
def __bool__(self) -> int: ...
def __invert__(self) -> 'QStyle.SubControls': ...
def __int__(self) -> int: ...
def __init__(self) -> None: ...
def proxy(self) -> 'QStyle': ...
def combinedLayoutSpacing(self, controls1: typing.Union['QSizePolicy.ControlTypes', 'QSizePolicy.ControlType'], controls2: typing.Union['QSizePolicy.ControlTypes', 'QSizePolicy.ControlType'], orientation: QtCore.Qt.Orientation, option: typing.Optional['QStyleOption'] = ..., widget: typing.Optional[QWidget] = ...) -> int: ...
def layoutSpacing(self, control1: 'QSizePolicy.ControlType', control2: 'QSizePolicy.ControlType', orientation: QtCore.Qt.Orientation, option: typing.Optional['QStyleOption'] = ..., widget: typing.Optional[QWidget] = ...) -> int: ...
@staticmethod
def alignedRect(direction: QtCore.Qt.LayoutDirection, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag], size: QtCore.QSize, rectangle: QtCore.QRect) -> QtCore.QRect: ...
@staticmethod
def visualAlignment(direction: QtCore.Qt.LayoutDirection, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> QtCore.Qt.Alignment: ...
@staticmethod
def sliderValueFromPosition(min: int, max: int, position: int, span: int, upsideDown: bool = ...) -> int: ...
@staticmethod
def sliderPositionFromValue(min: int, max: int, logicalValue: int, span: int, upsideDown: bool = ...) -> int: ...
@staticmethod
def visualPos(direction: QtCore.Qt.LayoutDirection, boundingRect: QtCore.QRect, logicalPos: QtCore.QPoint) -> QtCore.QPoint: ...
@staticmethod
def visualRect(direction: QtCore.Qt.LayoutDirection, boundingRect: QtCore.QRect, logicalRect: QtCore.QRect) -> QtCore.QRect: ...
def generatedIconPixmap(self, iconMode: QtGui.QIcon.Mode, pixmap: QtGui.QPixmap, opt: 'QStyleOption') -> QtGui.QPixmap: ...
def standardIcon(self, standardIcon: 'QStyle.StandardPixmap', option: typing.Optional['QStyleOption'] = ..., widget: typing.Optional[QWidget] = ...) -> QtGui.QIcon: ...
def standardPixmap(self, standardPixmap: 'QStyle.StandardPixmap', option: typing.Optional['QStyleOption'] = ..., widget: typing.Optional[QWidget] = ...) -> QtGui.QPixmap: ...
def styleHint(self, stylehint: 'QStyle.StyleHint', option: typing.Optional['QStyleOption'] = ..., widget: typing.Optional[QWidget] = ..., returnData: typing.Optional['QStyleHintReturn'] = ...) -> int: ...
def sizeFromContents(self, ct: 'QStyle.ContentsType', opt: 'QStyleOption', contentsSize: QtCore.QSize, widget: typing.Optional[QWidget] = ...) -> QtCore.QSize: ...
def pixelMetric(self, metric: 'QStyle.PixelMetric', option: typing.Optional['QStyleOption'] = ..., widget: typing.Optional[QWidget] = ...) -> int: ...
def subControlRect(self, cc: 'QStyle.ComplexControl', opt: 'QStyleOptionComplex', sc: 'QStyle.SubControl', widget: typing.Optional[QWidget] = ...) -> QtCore.QRect: ...
def hitTestComplexControl(self, cc: 'QStyle.ComplexControl', opt: 'QStyleOptionComplex', pt: QtCore.QPoint, widget: typing.Optional[QWidget] = ...) -> 'QStyle.SubControl': ...
def drawComplexControl(self, cc: 'QStyle.ComplexControl', opt: 'QStyleOptionComplex', p: QtGui.QPainter, widget: typing.Optional[QWidget] = ...) -> None: ...
def subElementRect(self, subElement: 'QStyle.SubElement', option: 'QStyleOption', widget: typing.Optional[QWidget] = ...) -> QtCore.QRect: ...
def drawControl(self, element: 'QStyle.ControlElement', opt: 'QStyleOption', p: QtGui.QPainter, widget: typing.Optional[QWidget] = ...) -> None: ...
def drawPrimitive(self, pe: 'QStyle.PrimitiveElement', opt: 'QStyleOption', p: QtGui.QPainter, widget: typing.Optional[QWidget] = ...) -> None: ...
def standardPalette(self) -> QtGui.QPalette: ...
def drawItemPixmap(self, painter: QtGui.QPainter, rect: QtCore.QRect, alignment: int, pixmap: QtGui.QPixmap) -> None: ...
def drawItemText(self, painter: QtGui.QPainter, rectangle: QtCore.QRect, alignment: int, palette: QtGui.QPalette, enabled: bool, text: str, textRole: QtGui.QPalette.ColorRole = ...) -> None: ...
def itemPixmapRect(self, r: QtCore.QRect, flags: int, pixmap: QtGui.QPixmap) -> QtCore.QRect: ...
def itemTextRect(self, fm: QtGui.QFontMetrics, r: QtCore.QRect, flags: int, enabled: bool, text: str) -> QtCore.QRect: ...
@typing.overload
def unpolish(self, a0: QWidget) -> None: ...
@typing.overload
def unpolish(self, a0: QApplication) -> None: ...
@typing.overload
def polish(self, a0: QWidget) -> None: ...
@typing.overload
def polish(self, a0: QApplication) -> None: ...
@typing.overload
def polish(self, a0: QtGui.QPalette) -> QtGui.QPalette: ...
class QCommonStyle(QStyle):
def __init__(self) -> None: ...
def layoutSpacing(self, control1: 'QSizePolicy.ControlType', control2: 'QSizePolicy.ControlType', orientation: QtCore.Qt.Orientation, option: typing.Optional['QStyleOption'] = ..., widget: typing.Optional[QWidget] = ...) -> int: ...
def standardIcon(self, standardIcon: QStyle.StandardPixmap, option: typing.Optional['QStyleOption'] = ..., widget: typing.Optional[QWidget] = ...) -> QtGui.QIcon: ...
def generatedIconPixmap(self, iconMode: QtGui.QIcon.Mode, pixmap: QtGui.QPixmap, opt: 'QStyleOption') -> QtGui.QPixmap: ...
def standardPixmap(self, sp: QStyle.StandardPixmap, option: typing.Optional['QStyleOption'] = ..., widget: typing.Optional[QWidget] = ...) -> QtGui.QPixmap: ...
def styleHint(self, sh: QStyle.StyleHint, option: typing.Optional['QStyleOption'] = ..., widget: typing.Optional[QWidget] = ..., returnData: typing.Optional['QStyleHintReturn'] = ...) -> int: ...
def pixelMetric(self, m: QStyle.PixelMetric, option: typing.Optional['QStyleOption'] = ..., widget: typing.Optional[QWidget] = ...) -> int: ...
def sizeFromContents(self, ct: QStyle.ContentsType, opt: 'QStyleOption', contentsSize: QtCore.QSize, widget: typing.Optional[QWidget] = ...) -> QtCore.QSize: ...
def subControlRect(self, cc: QStyle.ComplexControl, opt: 'QStyleOptionComplex', sc: QStyle.SubControl, widget: typing.Optional[QWidget] = ...) -> QtCore.QRect: ...
def hitTestComplexControl(self, cc: QStyle.ComplexControl, opt: 'QStyleOptionComplex', pt: QtCore.QPoint, widget: typing.Optional[QWidget] = ...) -> QStyle.SubControl: ...
def drawComplexControl(self, cc: QStyle.ComplexControl, opt: 'QStyleOptionComplex', p: QtGui.QPainter, widget: typing.Optional[QWidget] = ...) -> None: ...
def subElementRect(self, r: QStyle.SubElement, opt: 'QStyleOption', widget: typing.Optional[QWidget] = ...) -> QtCore.QRect: ...
def drawControl(self, element: QStyle.ControlElement, opt: 'QStyleOption', p: QtGui.QPainter, widget: typing.Optional[QWidget] = ...) -> None: ...
def drawPrimitive(self, pe: QStyle.PrimitiveElement, opt: 'QStyleOption', p: QtGui.QPainter, widget: typing.Optional[QWidget] = ...) -> None: ...
@typing.overload
def unpolish(self, widget: QWidget) -> None: ...
@typing.overload
def unpolish(self, application: QApplication) -> None: ...
@typing.overload
def polish(self, widget: QWidget) -> None: ...
@typing.overload
def polish(self, app: QApplication) -> None: ...
@typing.overload
def polish(self, a0: QtGui.QPalette) -> QtGui.QPalette: ...
class QCompleter(QtCore.QObject):
class ModelSorting(int): ...
UnsortedModel = ... # type: 'QCompleter.ModelSorting'
CaseSensitivelySortedModel = ... # type: 'QCompleter.ModelSorting'
CaseInsensitivelySortedModel = ... # type: 'QCompleter.ModelSorting'
class CompletionMode(int): ...
PopupCompletion = ... # type: 'QCompleter.CompletionMode'
UnfilteredPopupCompletion = ... # type: 'QCompleter.CompletionMode'
InlineCompletion = ... # type: 'QCompleter.CompletionMode'
@typing.overload
def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ...
@typing.overload
def __init__(self, model: QtCore.QAbstractItemModel, parent: typing.Optional[QtCore.QObject] = ...) -> None: ...
@typing.overload
def __init__(self, list: typing.Iterable[str], parent: typing.Optional[QtCore.QObject] = ...) -> None: ...
def filterMode(self) -> QtCore.Qt.MatchFlags: ...
def setFilterMode(self, filterMode: typing.Union[QtCore.Qt.MatchFlags, QtCore.Qt.MatchFlag]) -> None: ...
def setMaxVisibleItems(self, maxItems: int) -> None: ...
def maxVisibleItems(self) -> int: ...
@typing.overload
def highlighted(self, text: str) -> None: ...
@typing.overload
def highlighted(self, index: QtCore.QModelIndex) -> None: ...
@typing.overload
def activated(self, text: str) -> None: ...
@typing.overload
def activated(self, index: QtCore.QModelIndex) -> None: ...
def event(self, a0: QtCore.QEvent) -> bool: ...
def eventFilter(self, o: QtCore.QObject, e: QtCore.QEvent) -> bool: ...
def setWrapAround(self, wrap: bool) -> None: ...
def setCompletionPrefix(self, prefix: str) -> None: ...
def complete(self, rect: QtCore.QRect = ...) -> None: ...
def wrapAround(self) -> bool: ...
def splitPath(self, path: str) -> typing.List[str]: ...
def pathFromIndex(self, index: QtCore.QModelIndex) -> str: ...
def completionPrefix(self) -> str: ...
def completionModel(self) -> QtCore.QAbstractItemModel: ...
def currentCompletion(self) -> str: ...
def currentIndex(self) -> QtCore.QModelIndex: ...
def currentRow(self) -> int: ...
def setCurrentRow(self, row: int) -> bool: ...
def completionCount(self) -> int: ...
def completionRole(self) -> int: ...
def setCompletionRole(self, role: int) -> None: ...
def completionColumn(self) -> int: ...
def setCompletionColumn(self, column: int) -> None: ...
def modelSorting(self) -> 'QCompleter.ModelSorting': ...
def setModelSorting(self, sorting: 'QCompleter.ModelSorting') -> None: ...
def caseSensitivity(self) -> QtCore.Qt.CaseSensitivity: ...
def setCaseSensitivity(self, caseSensitivity: QtCore.Qt.CaseSensitivity) -> None: ...
def setPopup(self, popup: QAbstractItemView) -> None: ...
def popup(self) -> QAbstractItemView: ...
def completionMode(self) -> 'QCompleter.CompletionMode': ...
def setCompletionMode(self, mode: 'QCompleter.CompletionMode') -> None: ...
def model(self) -> QtCore.QAbstractItemModel: ...
def setModel(self, c: QtCore.QAbstractItemModel) -> None: ...
def widget(self) -> QWidget: ...
def setWidget(self, widget: QWidget) -> None: ...
class QDataWidgetMapper(QtCore.QObject):
class SubmitPolicy(int): ...
AutoSubmit = ... # type: 'QDataWidgetMapper.SubmitPolicy'
ManualSubmit = ... # type: 'QDataWidgetMapper.SubmitPolicy'
def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ...
def currentIndexChanged(self, index: int) -> None: ...
def toPrevious(self) -> None: ...
def toNext(self) -> None: ...
def toLast(self) -> None: ...
def toFirst(self) -> None: ...
def submit(self) -> bool: ...
def setCurrentModelIndex(self, index: QtCore.QModelIndex) -> None: ...
def setCurrentIndex(self, index: int) -> None: ...
def revert(self) -> None: ...
def currentIndex(self) -> int: ...
def clearMapping(self) -> None: ...
def mappedWidgetAt(self, section: int) -> QWidget: ...
def mappedSection(self, widget: QWidget) -> int: ...
def mappedPropertyName(self, widget: QWidget) -> QtCore.QByteArray: ...
def removeMapping(self, widget: QWidget) -> None: ...
@typing.overload
def addMapping(self, widget: QWidget, section: int) -> None: ...
@typing.overload
def addMapping(self, widget: QWidget, section: int, propertyName: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ...
def submitPolicy(self) -> 'QDataWidgetMapper.SubmitPolicy': ...
def setSubmitPolicy(self, policy: 'QDataWidgetMapper.SubmitPolicy') -> None: ...
def orientation(self) -> QtCore.Qt.Orientation: ...
def setOrientation(self, aOrientation: QtCore.Qt.Orientation) -> None: ...
def rootIndex(self) -> QtCore.QModelIndex: ...
def setRootIndex(self, index: QtCore.QModelIndex) -> None: ...
def itemDelegate(self) -> QAbstractItemDelegate: ...
def setItemDelegate(self, delegate: QAbstractItemDelegate) -> None: ...
def model(self) -> QtCore.QAbstractItemModel: ...
def setModel(self, model: QtCore.QAbstractItemModel) -> None: ...
class QDateTimeEdit(QAbstractSpinBox):
class Section(int): ...
NoSection = ... # type: 'QDateTimeEdit.Section'
AmPmSection = ... # type: 'QDateTimeEdit.Section'
MSecSection = ... # type: 'QDateTimeEdit.Section'
SecondSection = ... # type: 'QDateTimeEdit.Section'
MinuteSection = ... # type: 'QDateTimeEdit.Section'
HourSection = ... # type: 'QDateTimeEdit.Section'
DaySection = ... # type: 'QDateTimeEdit.Section'
MonthSection = ... # type: 'QDateTimeEdit.Section'
YearSection = ... # type: 'QDateTimeEdit.Section'
TimeSections_Mask = ... # type: 'QDateTimeEdit.Section'
DateSections_Mask = ... # type: 'QDateTimeEdit.Section'
class Sections(sip.simplewrapper):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, f: typing.Union['QDateTimeEdit.Sections', 'QDateTimeEdit.Section']) -> None: ...
@typing.overload
def __init__(self, a0: 'QDateTimeEdit.Sections') -> None: ...
def __hash__(self) -> int: ...
def __bool__(self) -> int: ...
def __invert__(self) -> 'QDateTimeEdit.Sections': ...
def __int__(self) -> int: ...
@typing.overload
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
@typing.overload
def __init__(self, datetime: typing.Union[QtCore.QDateTime, datetime.datetime], parent: typing.Optional[QWidget] = ...) -> None: ...
@typing.overload
def __init__(self, date: typing.Union[QtCore.QDate, datetime.date], parent: typing.Optional[QWidget] = ...) -> None: ...
@typing.overload
def __init__(self, time: typing.Union[QtCore.QTime, datetime.time], parent: typing.Optional[QWidget] = ...) -> None: ...
def setTimeSpec(self, spec: QtCore.Qt.TimeSpec) -> None: ...
def timeSpec(self) -> QtCore.Qt.TimeSpec: ...
def setCalendarWidget(self, calendarWidget: QCalendarWidget) -> None: ...
def calendarWidget(self) -> QCalendarWidget: ...
def setDateTimeRange(self, min: typing.Union[QtCore.QDateTime, datetime.datetime], max: typing.Union[QtCore.QDateTime, datetime.datetime]) -> None: ...
def setMaximumDateTime(self, dt: typing.Union[QtCore.QDateTime, datetime.datetime]) -> None: ...
def clearMaximumDateTime(self) -> None: ...
def maximumDateTime(self) -> QtCore.QDateTime: ...
def setMinimumDateTime(self, dt: typing.Union[QtCore.QDateTime, datetime.datetime]) -> None: ...
def clearMinimumDateTime(self) -> None: ...
def minimumDateTime(self) -> QtCore.QDateTime: ...
def stepEnabled(self) -> QAbstractSpinBox.StepEnabled: ...
def textFromDateTime(self, dt: typing.Union[QtCore.QDateTime, datetime.datetime]) -> str: ...
def dateTimeFromText(self, text: str) -> QtCore.QDateTime: ...
def fixup(self, input: str) -> str: ...
def validate(self, input: str, pos: int) -> typing.Tuple[QtGui.QValidator.State, str, int]: ...
def paintEvent(self, event: QtGui.QPaintEvent) -> None: ...
def mousePressEvent(self, event: QtGui.QMouseEvent) -> None: ...
def focusNextPrevChild(self, next: bool) -> bool: ...
def focusInEvent(self, e: QtGui.QFocusEvent) -> None: ...
def wheelEvent(self, e: QtGui.QWheelEvent) -> None: ...
def keyPressEvent(self, e: QtGui.QKeyEvent) -> None: ...
def initStyleOption(self, option: 'QStyleOptionSpinBox') -> None: ...
def setTime(self, time: typing.Union[QtCore.QTime, datetime.time]) -> None: ...
def setDate(self, date: typing.Union[QtCore.QDate, datetime.date]) -> None: ...
def setDateTime(self, dateTime: typing.Union[QtCore.QDateTime, datetime.datetime]) -> None: ...
def dateChanged(self, date: typing.Union[QtCore.QDate, datetime.date]) -> None: ...
def timeChanged(self, date: typing.Union[QtCore.QTime, datetime.time]) -> None: ...
def dateTimeChanged(self, date: typing.Union[QtCore.QDateTime, datetime.datetime]) -> None: ...
def sectionCount(self) -> int: ...
def setCurrentSectionIndex(self, index: int) -> None: ...
def currentSectionIndex(self) -> int: ...
def sectionAt(self, index: int) -> 'QDateTimeEdit.Section': ...
def event(self, e: QtCore.QEvent) -> bool: ...
def stepBy(self, steps: int) -> None: ...
def clear(self) -> None: ...
def sizeHint(self) -> QtCore.QSize: ...
def setSelectedSection(self, section: 'QDateTimeEdit.Section') -> None: ...
def setCalendarPopup(self, enable: bool) -> None: ...
def calendarPopup(self) -> bool: ...
def setDisplayFormat(self, format: str) -> None: ...
def displayFormat(self) -> str: ...
def sectionText(self, s: 'QDateTimeEdit.Section') -> str: ...
def setCurrentSection(self, section: 'QDateTimeEdit.Section') -> None: ...
def currentSection(self) -> 'QDateTimeEdit.Section': ...
def displayedSections(self) -> 'QDateTimeEdit.Sections': ...
def setTimeRange(self, min: typing.Union[QtCore.QTime, datetime.time], max: typing.Union[QtCore.QTime, datetime.time]) -> None: ...
def clearMaximumTime(self) -> None: ...
def setMaximumTime(self, max: typing.Union[QtCore.QTime, datetime.time]) -> None: ...
def maximumTime(self) -> QtCore.QTime: ...
def clearMinimumTime(self) -> None: ...
def setMinimumTime(self, min: typing.Union[QtCore.QTime, datetime.time]) -> None: ...
def minimumTime(self) -> QtCore.QTime: ...
def setDateRange(self, min: typing.Union[QtCore.QDate, datetime.date], max: typing.Union[QtCore.QDate, datetime.date]) -> None: ...
def clearMaximumDate(self) -> None: ...
def setMaximumDate(self, max: typing.Union[QtCore.QDate, datetime.date]) -> None: ...
def maximumDate(self) -> QtCore.QDate: ...
def clearMinimumDate(self) -> None: ...
def setMinimumDate(self, min: typing.Union[QtCore.QDate, datetime.date]) -> None: ...
def minimumDate(self) -> QtCore.QDate: ...
def time(self) -> QtCore.QTime: ...
def date(self) -> QtCore.QDate: ...
def dateTime(self) -> QtCore.QDateTime: ...
class QTimeEdit(QDateTimeEdit):
@typing.overload
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
@typing.overload
def __init__(self, time: typing.Union[QtCore.QTime, datetime.time], parent: typing.Optional[QWidget] = ...) -> None: ...
class QDateEdit(QDateTimeEdit):
@typing.overload
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
@typing.overload
def __init__(self, date: typing.Union[QtCore.QDate, datetime.date], parent: typing.Optional[QWidget] = ...) -> None: ...
class QDesktopWidget(QWidget):
def __init__(self) -> None: ...
def resizeEvent(self, e: QtGui.QResizeEvent) -> None: ...
def primaryScreenChanged(self) -> None: ...
def screenCountChanged(self, a0: int) -> None: ...
def workAreaResized(self, a0: int) -> None: ...
def resized(self, a0: int) -> None: ...
@typing.overload
def availableGeometry(self, screen: int = ...) -> QtCore.QRect: ...
@typing.overload
def availableGeometry(self, widget: QWidget) -> QtCore.QRect: ...
@typing.overload
def availableGeometry(self, point: QtCore.QPoint) -> QtCore.QRect: ...
@typing.overload
def screenGeometry(self, screen: int = ...) -> QtCore.QRect: ...
@typing.overload
def screenGeometry(self, widget: QWidget) -> QtCore.QRect: ...
@typing.overload
def screenGeometry(self, point: QtCore.QPoint) -> QtCore.QRect: ...
def screenCount(self) -> int: ...
def screen(self, screen: int = ...) -> QWidget: ...
@typing.overload
def screenNumber(self, widget: typing.Optional[QWidget] = ...) -> int: ...
@typing.overload
def screenNumber(self, a0: QtCore.QPoint) -> int: ...
def primaryScreen(self) -> int: ...
def isVirtualDesktop(self) -> bool: ...
class QDial(QAbstractSlider):
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
def sliderChange(self, change: QAbstractSlider.SliderChange) -> None: ...
def mouseMoveEvent(self, me: QtGui.QMouseEvent) -> None: ...
def mouseReleaseEvent(self, me: QtGui.QMouseEvent) -> None: ...
def mousePressEvent(self, me: QtGui.QMouseEvent) -> None: ...
def paintEvent(self, pe: QtGui.QPaintEvent) -> None: ...
def resizeEvent(self, re: QtGui.QResizeEvent) -> None: ...
def event(self, e: QtCore.QEvent) -> bool: ...
def initStyleOption(self, option: 'QStyleOptionSlider') -> None: ...
def setWrapping(self, on: bool) -> None: ...
def setNotchesVisible(self, visible: bool) -> None: ...
def minimumSizeHint(self) -> QtCore.QSize: ...
def sizeHint(self) -> QtCore.QSize: ...
def notchesVisible(self) -> bool: ...
def notchTarget(self) -> float: ...
def setNotchTarget(self, target: float) -> None: ...
def notchSize(self) -> int: ...
def wrapping(self) -> bool: ...
class QDialogButtonBox(QWidget):
class StandardButton(int): ...
NoButton = ... # type: 'QDialogButtonBox.StandardButton'
Ok = ... # type: 'QDialogButtonBox.StandardButton'
Save = ... # type: 'QDialogButtonBox.StandardButton'
SaveAll = ... # type: 'QDialogButtonBox.StandardButton'
Open = ... # type: 'QDialogButtonBox.StandardButton'
Yes = ... # type: 'QDialogButtonBox.StandardButton'
YesToAll = ... # type: 'QDialogButtonBox.StandardButton'
No = ... # type: 'QDialogButtonBox.StandardButton'
NoToAll = ... # type: 'QDialogButtonBox.StandardButton'
Abort = ... # type: 'QDialogButtonBox.StandardButton'
Retry = ... # type: 'QDialogButtonBox.StandardButton'
Ignore = ... # type: 'QDialogButtonBox.StandardButton'
Close = ... # type: 'QDialogButtonBox.StandardButton'
Cancel = ... # type: 'QDialogButtonBox.StandardButton'
Discard = ... # type: 'QDialogButtonBox.StandardButton'
Help = ... # type: 'QDialogButtonBox.StandardButton'
Apply = ... # type: 'QDialogButtonBox.StandardButton'
Reset = ... # type: 'QDialogButtonBox.StandardButton'
RestoreDefaults = ... # type: 'QDialogButtonBox.StandardButton'
class ButtonRole(int): ...
InvalidRole = ... # type: 'QDialogButtonBox.ButtonRole'
AcceptRole = ... # type: 'QDialogButtonBox.ButtonRole'
RejectRole = ... # type: 'QDialogButtonBox.ButtonRole'
DestructiveRole = ... # type: 'QDialogButtonBox.ButtonRole'
ActionRole = ... # type: 'QDialogButtonBox.ButtonRole'
HelpRole = ... # type: 'QDialogButtonBox.ButtonRole'
YesRole = ... # type: 'QDialogButtonBox.ButtonRole'
NoRole = ... # type: 'QDialogButtonBox.ButtonRole'
ResetRole = ... # type: 'QDialogButtonBox.ButtonRole'
ApplyRole = ... # type: 'QDialogButtonBox.ButtonRole'
class ButtonLayout(int): ...
WinLayout = ... # type: 'QDialogButtonBox.ButtonLayout'
MacLayout = ... # type: 'QDialogButtonBox.ButtonLayout'
KdeLayout = ... # type: 'QDialogButtonBox.ButtonLayout'
GnomeLayout = ... # type: 'QDialogButtonBox.ButtonLayout'
class StandardButtons(sip.simplewrapper):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, f: typing.Union['QDialogButtonBox.StandardButtons', 'QDialogButtonBox.StandardButton']) -> None: ...
@typing.overload
def __init__(self, a0: 'QDialogButtonBox.StandardButtons') -> None: ...
def __hash__(self) -> int: ...
def __bool__(self) -> int: ...
def __invert__(self) -> 'QDialogButtonBox.StandardButtons': ...
def __int__(self) -> int: ...
@typing.overload
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
@typing.overload
def __init__(self, orientation: QtCore.Qt.Orientation, parent: typing.Optional[QWidget] = ...) -> None: ...
@typing.overload
def __init__(self, buttons: typing.Union['QDialogButtonBox.StandardButtons', 'QDialogButtonBox.StandardButton'], parent: typing.Optional[QWidget] = ...) -> None: ...
@typing.overload
def __init__(self, buttons: typing.Union['QDialogButtonBox.StandardButtons', 'QDialogButtonBox.StandardButton'], orientation: QtCore.Qt.Orientation, parent: typing.Optional[QWidget] = ...) -> None: ...
def event(self, event: QtCore.QEvent) -> bool: ...
def changeEvent(self, event: QtCore.QEvent) -> None: ...
def rejected(self) -> None: ...
def helpRequested(self) -> None: ...
def clicked(self, button: QAbstractButton) -> None: ...
def accepted(self) -> None: ...
def centerButtons(self) -> bool: ...
def setCenterButtons(self, center: bool) -> None: ...
def button(self, which: 'QDialogButtonBox.StandardButton') -> QPushButton: ...
def standardButton(self, button: QAbstractButton) -> 'QDialogButtonBox.StandardButton': ...
def standardButtons(self) -> 'QDialogButtonBox.StandardButtons': ...
def setStandardButtons(self, buttons: typing.Union['QDialogButtonBox.StandardButtons', 'QDialogButtonBox.StandardButton']) -> None: ...
def buttonRole(self, button: QAbstractButton) -> 'QDialogButtonBox.ButtonRole': ...
def buttons(self) -> typing.List[QAbstractButton]: ...
def clear(self) -> None: ...
def removeButton(self, button: QAbstractButton) -> None: ...
@typing.overload
def addButton(self, button: QAbstractButton, role: 'QDialogButtonBox.ButtonRole') -> None: ...
@typing.overload
def addButton(self, text: str, role: 'QDialogButtonBox.ButtonRole') -> QPushButton: ...
@typing.overload
def addButton(self, button: 'QDialogButtonBox.StandardButton') -> QPushButton: ...
def orientation(self) -> QtCore.Qt.Orientation: ...
def setOrientation(self, orientation: QtCore.Qt.Orientation) -> None: ...
class QDirModel(QtCore.QAbstractItemModel):
class Roles(int): ...
FileIconRole = ... # type: 'QDirModel.Roles'
FilePathRole = ... # type: 'QDirModel.Roles'
FileNameRole = ... # type: 'QDirModel.Roles'
@typing.overload
def __init__(self, nameFilters: typing.Iterable[str], filters: typing.Union[QtCore.QDir.Filters, QtCore.QDir.Filter], sort: typing.Union[QtCore.QDir.SortFlags, QtCore.QDir.SortFlag], parent: typing.Optional[QtCore.QObject] = ...) -> None: ...
@typing.overload
def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ...
def fileInfo(self, index: QtCore.QModelIndex) -> QtCore.QFileInfo: ...
def fileIcon(self, index: QtCore.QModelIndex) -> QtGui.QIcon: ...
def fileName(self, index: QtCore.QModelIndex) -> str: ...
def filePath(self, index: QtCore.QModelIndex) -> str: ...
def remove(self, index: QtCore.QModelIndex) -> bool: ...
def rmdir(self, index: QtCore.QModelIndex) -> bool: ...
def mkdir(self, parent: QtCore.QModelIndex, name: str) -> QtCore.QModelIndex: ...
def isDir(self, index: QtCore.QModelIndex) -> bool: ...
def refresh(self, parent: QtCore.QModelIndex = ...) -> None: ...
def lazyChildCount(self) -> bool: ...
def setLazyChildCount(self, enable: bool) -> None: ...
def isReadOnly(self) -> bool: ...
def setReadOnly(self, enable: bool) -> None: ...
def resolveSymlinks(self) -> bool: ...
def setResolveSymlinks(self, enable: bool) -> None: ...
def sorting(self) -> QtCore.QDir.SortFlags: ...
def setSorting(self, sort: typing.Union[QtCore.QDir.SortFlags, QtCore.QDir.SortFlag]) -> None: ...
def filter(self) -> QtCore.QDir.Filters: ...
def setFilter(self, filters: typing.Union[QtCore.QDir.Filters, QtCore.QDir.Filter]) -> None: ...
def nameFilters(self) -> typing.List[str]: ...
def setNameFilters(self, filters: typing.Iterable[str]) -> None: ...
def iconProvider(self) -> 'QFileIconProvider': ...
def setIconProvider(self, provider: 'QFileIconProvider') -> None: ...
def supportedDropActions(self) -> QtCore.Qt.DropActions: ...
def dropMimeData(self, data: QtCore.QMimeData, action: QtCore.Qt.DropAction, row: int, column: int, parent: QtCore.QModelIndex) -> bool: ...
def mimeData(self, indexes: typing.Any) -> QtCore.QMimeData: ...
def mimeTypes(self) -> typing.List[str]: ...
def sort(self, column: int, order: QtCore.Qt.SortOrder = ...) -> None: ...
def flags(self, index: QtCore.QModelIndex) -> QtCore.Qt.ItemFlags: ...
def hasChildren(self, parent: QtCore.QModelIndex = ...) -> bool: ...
def headerData(self, section: int, orientation: QtCore.Qt.Orientation, role: int = ...) -> typing.Any: ...
def setData(self, index: QtCore.QModelIndex, value: typing.Any, role: int = ...) -> bool: ...
def data(self, index: QtCore.QModelIndex, role: int = ...) -> typing.Any: ...
def columnCount(self, parent: QtCore.QModelIndex = ...) -> int: ...
def rowCount(self, parent: QtCore.QModelIndex = ...) -> int: ...
@typing.overload
def parent(self, child: QtCore.QModelIndex) -> QtCore.QModelIndex: ...
@typing.overload
def parent(self) -> QtCore.QObject: ...
@typing.overload
def index(self, row: int, column: int, parent: QtCore.QModelIndex = ...) -> QtCore.QModelIndex: ...
@typing.overload
def index(self, path: str, column: int = ...) -> QtCore.QModelIndex: ...
class QDockWidget(QWidget):
class DockWidgetFeature(int): ...
DockWidgetClosable = ... # type: 'QDockWidget.DockWidgetFeature'
DockWidgetMovable = ... # type: 'QDockWidget.DockWidgetFeature'
DockWidgetFloatable = ... # type: 'QDockWidget.DockWidgetFeature'
DockWidgetVerticalTitleBar = ... # type: 'QDockWidget.DockWidgetFeature'
AllDockWidgetFeatures = ... # type: 'QDockWidget.DockWidgetFeature'
NoDockWidgetFeatures = ... # type: 'QDockWidget.DockWidgetFeature'
class DockWidgetFeatures(sip.simplewrapper):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, f: typing.Union['QDockWidget.DockWidgetFeatures', 'QDockWidget.DockWidgetFeature']) -> None: ...
@typing.overload
def __init__(self, a0: 'QDockWidget.DockWidgetFeatures') -> None: ...
def __hash__(self) -> int: ...
def __bool__(self) -> int: ...
def __invert__(self) -> 'QDockWidget.DockWidgetFeatures': ...
def __int__(self) -> int: ...
@typing.overload
def __init__(self, title: str, parent: typing.Optional[QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ...
@typing.overload
def __init__(self, parent: typing.Optional[QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ...
def event(self, event: QtCore.QEvent) -> bool: ...
def paintEvent(self, event: QtGui.QPaintEvent) -> None: ...
def closeEvent(self, event: QtGui.QCloseEvent) -> None: ...
def changeEvent(self, event: QtCore.QEvent) -> None: ...
def initStyleOption(self, option: 'QStyleOptionDockWidget') -> None: ...
def visibilityChanged(self, visible: bool) -> None: ...
def dockLocationChanged(self, area: QtCore.Qt.DockWidgetArea) -> None: ...
def allowedAreasChanged(self, allowedAreas: typing.Union[QtCore.Qt.DockWidgetAreas, QtCore.Qt.DockWidgetArea]) -> None: ...
def topLevelChanged(self, topLevel: bool) -> None: ...
def featuresChanged(self, features: typing.Union['QDockWidget.DockWidgetFeatures', 'QDockWidget.DockWidgetFeature']) -> None: ...
def titleBarWidget(self) -> QWidget: ...
def setTitleBarWidget(self, widget: QWidget) -> None: ...
def toggleViewAction(self) -> QAction: ...
def isAreaAllowed(self, area: QtCore.Qt.DockWidgetArea) -> bool: ...
def allowedAreas(self) -> QtCore.Qt.DockWidgetAreas: ...
def setAllowedAreas(self, areas: typing.Union[QtCore.Qt.DockWidgetAreas, QtCore.Qt.DockWidgetArea]) -> None: ...
def isFloating(self) -> bool: ...
def setFloating(self, floating: bool) -> None: ...
def features(self) -> 'QDockWidget.DockWidgetFeatures': ...
def setFeatures(self, features: typing.Union['QDockWidget.DockWidgetFeatures', 'QDockWidget.DockWidgetFeature']) -> None: ...
def setWidget(self, widget: QWidget) -> None: ...
def widget(self) -> QWidget: ...
class QErrorMessage(QDialog):
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
def done(self, a0: int) -> None: ...
def changeEvent(self, e: QtCore.QEvent) -> None: ...
@typing.overload
def showMessage(self, message: str) -> None: ...
@typing.overload
def showMessage(self, message: str, type: str) -> None: ...
@staticmethod
def qtHandler() -> 'QErrorMessage': ...
class QFileDialog(QDialog):
class Option(int): ...
ShowDirsOnly = ... # type: 'QFileDialog.Option'
DontResolveSymlinks = ... # type: 'QFileDialog.Option'
DontConfirmOverwrite = ... # type: 'QFileDialog.Option'
DontUseSheet = ... # type: 'QFileDialog.Option'
DontUseNativeDialog = ... # type: 'QFileDialog.Option'
ReadOnly = ... # type: 'QFileDialog.Option'
HideNameFilterDetails = ... # type: 'QFileDialog.Option'
DontUseCustomDirectoryIcons = ... # type: 'QFileDialog.Option'
class DialogLabel(int): ...
LookIn = ... # type: 'QFileDialog.DialogLabel'
FileName = ... # type: 'QFileDialog.DialogLabel'
FileType = ... # type: 'QFileDialog.DialogLabel'
Accept = ... # type: 'QFileDialog.DialogLabel'
Reject = ... # type: 'QFileDialog.DialogLabel'
class AcceptMode(int): ...
AcceptOpen = ... # type: 'QFileDialog.AcceptMode'
AcceptSave = ... # type: 'QFileDialog.AcceptMode'
class FileMode(int): ...
AnyFile = ... # type: 'QFileDialog.FileMode'
ExistingFile = ... # type: 'QFileDialog.FileMode'
Directory = ... # type: 'QFileDialog.FileMode'
ExistingFiles = ... # type: 'QFileDialog.FileMode'
DirectoryOnly = ... # type: 'QFileDialog.FileMode'
class ViewMode(int): ...
Detail = ... # type: 'QFileDialog.ViewMode'
List = ... # type: 'QFileDialog.ViewMode'
class Options(sip.simplewrapper):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, f: typing.Union['QFileDialog.Options', 'QFileDialog.Option']) -> None: ...
@typing.overload
def __init__(self, a0: 'QFileDialog.Options') -> None: ...
def __hash__(self) -> int: ...
def __bool__(self) -> int: ...
def __invert__(self) -> 'QFileDialog.Options': ...
def __int__(self) -> int: ...
@typing.overload
def __init__(self, parent: QWidget, f: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType]) -> None: ...
@typing.overload
def __init__(self, parent: typing.Optional[QWidget] = ..., caption: str = ..., directory: str = ..., filter: str = ...) -> None: ...
def selectedMimeTypeFilter(self) -> str: ...
def supportedSchemes(self) -> typing.List[str]: ...
def setSupportedSchemes(self, schemes: typing.Iterable[str]) -> None: ...
@staticmethod
def getSaveFileUrl(parent: typing.Optional[QWidget] = ..., caption: str = ..., directory: str = ..., filter: str = ..., initialFilter: str = ..., options: typing.Union['QFileDialog.Options', 'QFileDialog.Option'] = ..., supportedSchemes: typing.Iterable[str] = ...) -> typing.Tuple[QtCore.QUrl, str]: ...
@staticmethod
def getOpenFileUrls(parent: typing.Optional[QWidget] = ..., caption: str = ..., directory: str = ..., filter: str = ..., initialFilter: str = ..., options: typing.Union['QFileDialog.Options', 'QFileDialog.Option'] = ..., supportedSchemes: typing.Iterable[str] = ...) -> typing.Tuple[typing.List[QtCore.QUrl], str]: ...
@staticmethod
def getOpenFileUrl(parent: typing.Optional[QWidget] = ..., caption: str = ..., directory: str = ..., filter: str = ..., initialFilter: str = ..., options: typing.Union['QFileDialog.Options', 'QFileDialog.Option'] = ..., supportedSchemes: typing.Iterable[str] = ...) -> typing.Tuple[QtCore.QUrl, str]: ...
def directoryUrlEntered(self, directory: QtCore.QUrl) -> None: ...
def currentUrlChanged(self, url: QtCore.QUrl) -> None: ...
def urlsSelected(self, urls: typing.Iterable[QtCore.QUrl]) -> None: ...
def urlSelected(self, url: QtCore.QUrl) -> None: ...
def selectMimeTypeFilter(self, filter: str) -> None: ...
def mimeTypeFilters(self) -> typing.List[str]: ...
def setMimeTypeFilters(self, filters: typing.Iterable[str]) -> None: ...
def selectedUrls(self) -> typing.List[QtCore.QUrl]: ...
def selectUrl(self, url: QtCore.QUrl) -> None: ...
def directoryUrl(self) -> QtCore.QUrl: ...
def setDirectoryUrl(self, directory: QtCore.QUrl) -> None: ...
def setVisible(self, visible: bool) -> None: ...
@typing.overload
def open(self) -> None: ...
@typing.overload
def open(self, slot: PYQT_SLOT) -> None: ...
def options(self) -> 'QFileDialog.Options': ...
def setOptions(self, options: typing.Union['QFileDialog.Options', 'QFileDialog.Option']) -> None: ...
def testOption(self, option: 'QFileDialog.Option') -> bool: ...
def setOption(self, option: 'QFileDialog.Option', on: bool = ...) -> None: ...
def setFilter(self, filters: typing.Union[QtCore.QDir.Filters, QtCore.QDir.Filter]) -> None: ...
def filter(self) -> QtCore.QDir.Filters: ...
def selectedNameFilter(self) -> str: ...
def selectNameFilter(self, filter: str) -> None: ...
def nameFilters(self) -> typing.List[str]: ...
def setNameFilters(self, filters: typing.Iterable[str]) -> None: ...
def setNameFilter(self, filter: str) -> None: ...
def proxyModel(self) -> QtCore.QAbstractProxyModel: ...
def setProxyModel(self, model: QtCore.QAbstractProxyModel) -> None: ...
def restoreState(self, state: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> bool: ...
def saveState(self) -> QtCore.QByteArray: ...
def sidebarUrls(self) -> typing.List[QtCore.QUrl]: ...
def setSidebarUrls(self, urls: typing.Iterable[QtCore.QUrl]) -> None: ...
def changeEvent(self, e: QtCore.QEvent) -> None: ...
def accept(self) -> None: ...
def done(self, result: int) -> None: ...
@staticmethod
def getSaveFileName(parent: typing.Optional[QWidget] = ..., caption: str = ..., directory: str = ..., filter: str = ..., initialFilter: str = ..., options: typing.Union['QFileDialog.Options', 'QFileDialog.Option'] = ...) -> typing.Tuple[str, str]: ...
@staticmethod
def getOpenFileNames(parent: typing.Optional[QWidget] = ..., caption: str = ..., directory: str = ..., filter: str = ..., initialFilter: str = ..., options: typing.Union['QFileDialog.Options', 'QFileDialog.Option'] = ...) -> typing.Tuple[typing.List[str], str]: ...
@staticmethod
def getOpenFileName(parent: typing.Optional[QWidget] = ..., caption: str = ..., directory: str = ..., filter: str = ..., initialFilter: str = ..., options: typing.Union['QFileDialog.Options', 'QFileDialog.Option'] = ...) -> typing.Tuple[str, str]: ...
@staticmethod
def getExistingDirectoryUrl(parent: typing.Optional[QWidget] = ..., caption: str = ..., directory: QtCore.QUrl = ..., options: typing.Union['QFileDialog.Options', 'QFileDialog.Option'] = ..., supportedSchemes: typing.Iterable[str] = ...) -> QtCore.QUrl: ...
@staticmethod
def getExistingDirectory(parent: typing.Optional[QWidget] = ..., caption: str = ..., directory: str = ..., options: typing.Union['QFileDialog.Options', 'QFileDialog.Option'] = ...) -> str: ...
def fileSelected(self, file: str) -> None: ...
def filterSelected(self, filter: str) -> None: ...
def filesSelected(self, files: typing.Iterable[str]) -> None: ...
def directoryEntered(self, directory: str) -> None: ...
def currentChanged(self, path: str) -> None: ...
def labelText(self, label: 'QFileDialog.DialogLabel') -> str: ...
def setLabelText(self, label: 'QFileDialog.DialogLabel', text: str) -> None: ...
def iconProvider(self) -> 'QFileIconProvider': ...
def setIconProvider(self, provider: 'QFileIconProvider') -> None: ...
def itemDelegate(self) -> QAbstractItemDelegate: ...
def setItemDelegate(self, delegate: QAbstractItemDelegate) -> None: ...
def history(self) -> typing.List[str]: ...
def setHistory(self, paths: typing.Iterable[str]) -> None: ...
def defaultSuffix(self) -> str: ...
def setDefaultSuffix(self, suffix: str) -> None: ...
def acceptMode(self) -> 'QFileDialog.AcceptMode': ...
def setAcceptMode(self, mode: 'QFileDialog.AcceptMode') -> None: ...
def fileMode(self) -> 'QFileDialog.FileMode': ...
def setFileMode(self, mode: 'QFileDialog.FileMode') -> None: ...
def viewMode(self) -> 'QFileDialog.ViewMode': ...
def setViewMode(self, mode: 'QFileDialog.ViewMode') -> None: ...
def selectedFiles(self) -> typing.List[str]: ...
def selectFile(self, filename: str) -> None: ...
def directory(self) -> QtCore.QDir: ...
@typing.overload
def setDirectory(self, directory: str) -> None: ...
@typing.overload
def setDirectory(self, adirectory: QtCore.QDir) -> None: ...
class QFileIconProvider(sip.simplewrapper):
class Option(int): ...
DontUseCustomDirectoryIcons = ... # type: 'QFileIconProvider.Option'
class IconType(int): ...
Computer = ... # type: 'QFileIconProvider.IconType'
Desktop = ... # type: 'QFileIconProvider.IconType'
Trashcan = ... # type: 'QFileIconProvider.IconType'
Network = ... # type: 'QFileIconProvider.IconType'
Drive = ... # type: 'QFileIconProvider.IconType'
Folder = ... # type: 'QFileIconProvider.IconType'
File = ... # type: 'QFileIconProvider.IconType'
class Options(sip.simplewrapper):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, f: typing.Union['QFileIconProvider.Options', 'QFileIconProvider.Option']) -> None: ...
@typing.overload
def __init__(self, a0: 'QFileIconProvider.Options') -> None: ...
def __hash__(self) -> int: ...
def __bool__(self) -> int: ...
def __invert__(self) -> 'QFileIconProvider.Options': ...
def __int__(self) -> int: ...
def __init__(self) -> None: ...
def options(self) -> 'QFileIconProvider.Options': ...
def setOptions(self, options: typing.Union['QFileIconProvider.Options', 'QFileIconProvider.Option']) -> None: ...
def type(self, info: QtCore.QFileInfo) -> str: ...
@typing.overload
def icon(self, type: 'QFileIconProvider.IconType') -> QtGui.QIcon: ...
@typing.overload
def icon(self, info: QtCore.QFileInfo) -> QtGui.QIcon: ...
class QFileSystemModel(QtCore.QAbstractItemModel):
class Roles(int): ...
FileIconRole = ... # type: 'QFileSystemModel.Roles'
FilePathRole = ... # type: 'QFileSystemModel.Roles'
FileNameRole = ... # type: 'QFileSystemModel.Roles'
FilePermissions = ... # type: 'QFileSystemModel.Roles'
def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ...
def sibling(self, row: int, column: int, idx: QtCore.QModelIndex) -> QtCore.QModelIndex: ...
def timerEvent(self, event: QtCore.QTimerEvent) -> None: ...
def event(self, event: QtCore.QEvent) -> bool: ...
def directoryLoaded(self, path: str) -> None: ...
def rootPathChanged(self, newPath: str) -> None: ...
def fileRenamed(self, path: str, oldName: str, newName: str) -> None: ...
def remove(self, index: QtCore.QModelIndex) -> bool: ...
def fileInfo(self, aindex: QtCore.QModelIndex) -> QtCore.QFileInfo: ...
def fileIcon(self, aindex: QtCore.QModelIndex) -> QtGui.QIcon: ...
def fileName(self, aindex: QtCore.QModelIndex) -> str: ...
def rmdir(self, index: QtCore.QModelIndex) -> bool: ...
def permissions(self, index: QtCore.QModelIndex) -> QtCore.QFileDevice.Permissions: ...
def mkdir(self, parent: QtCore.QModelIndex, name: str) -> QtCore.QModelIndex: ...
def lastModified(self, index: QtCore.QModelIndex) -> QtCore.QDateTime: ...
def type(self, index: QtCore.QModelIndex) -> str: ...
def size(self, index: QtCore.QModelIndex) -> int: ...
def isDir(self, index: QtCore.QModelIndex) -> bool: ...
def filePath(self, index: QtCore.QModelIndex) -> str: ...
def nameFilters(self) -> typing.List[str]: ...
def setNameFilters(self, filters: typing.Iterable[str]) -> None: ...
def nameFilterDisables(self) -> bool: ...
def setNameFilterDisables(self, enable: bool) -> None: ...
def isReadOnly(self) -> bool: ...
def setReadOnly(self, enable: bool) -> None: ...
def resolveSymlinks(self) -> bool: ...
def setResolveSymlinks(self, enable: bool) -> None: ...
def filter(self) -> QtCore.QDir.Filters: ...
def setFilter(self, filters: typing.Union[QtCore.QDir.Filters, QtCore.QDir.Filter]) -> None: ...
def iconProvider(self) -> QFileIconProvider: ...
def setIconProvider(self, provider: QFileIconProvider) -> None: ...
def rootDirectory(self) -> QtCore.QDir: ...
def rootPath(self) -> str: ...
def setRootPath(self, path: str) -> QtCore.QModelIndex: ...
def supportedDropActions(self) -> QtCore.Qt.DropActions: ...
def dropMimeData(self, data: QtCore.QMimeData, action: QtCore.Qt.DropAction, row: int, column: int, parent: QtCore.QModelIndex) -> bool: ...
def mimeData(self, indexes: typing.Any) -> QtCore.QMimeData: ...
def mimeTypes(self) -> typing.List[str]: ...
def sort(self, column: int, order: QtCore.Qt.SortOrder = ...) -> None: ...
def flags(self, index: QtCore.QModelIndex) -> QtCore.Qt.ItemFlags: ...
def headerData(self, section: int, orientation: QtCore.Qt.Orientation, role: int = ...) -> typing.Any: ...
def setData(self, idx: QtCore.QModelIndex, value: typing.Any, role: int = ...) -> bool: ...
def data(self, index: QtCore.QModelIndex, role: int = ...) -> typing.Any: ...
def myComputer(self, role: int = ...) -> typing.Any: ...
def columnCount(self, parent: QtCore.QModelIndex = ...) -> int: ...
def rowCount(self, parent: QtCore.QModelIndex = ...) -> int: ...
def fetchMore(self, parent: QtCore.QModelIndex) -> None: ...
def canFetchMore(self, parent: QtCore.QModelIndex) -> bool: ...
def hasChildren(self, parent: QtCore.QModelIndex = ...) -> bool: ...
def parent(self, child: QtCore.QModelIndex) -> QtCore.QModelIndex: ...
@typing.overload
def index(self, row: int, column: int, parent: QtCore.QModelIndex = ...) -> QtCore.QModelIndex: ...
@typing.overload
def index(self, path: str, column: int = ...) -> QtCore.QModelIndex: ...
class QFocusFrame(QWidget):
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ...
def event(self, e: QtCore.QEvent) -> bool: ...
def eventFilter(self, a0: QtCore.QObject, a1: QtCore.QEvent) -> bool: ...
def initStyleOption(self, option: 'QStyleOption') -> None: ...
def widget(self) -> QWidget: ...
def setWidget(self, widget: QWidget) -> None: ...
class QFontComboBox(QComboBox):
class FontFilter(int): ...
AllFonts = ... # type: 'QFontComboBox.FontFilter'
ScalableFonts = ... # type: 'QFontComboBox.FontFilter'
NonScalableFonts = ... # type: 'QFontComboBox.FontFilter'
MonospacedFonts = ... # type: 'QFontComboBox.FontFilter'
ProportionalFonts = ... # type: 'QFontComboBox.FontFilter'
class FontFilters(sip.simplewrapper):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, f: typing.Union['QFontComboBox.FontFilters', 'QFontComboBox.FontFilter']) -> None: ...
@typing.overload
def __init__(self, a0: 'QFontComboBox.FontFilters') -> None: ...
def __hash__(self) -> int: ...
def __bool__(self) -> int: ...
def __invert__(self) -> 'QFontComboBox.FontFilters': ...
def __int__(self) -> int: ...
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
def event(self, e: QtCore.QEvent) -> bool: ...
def currentFontChanged(self, f: QtGui.QFont) -> None: ...
def setCurrentFont(self, f: QtGui.QFont) -> None: ...
def sizeHint(self) -> QtCore.QSize: ...
def currentFont(self) -> QtGui.QFont: ...
def setFontFilters(self, filters: typing.Union['QFontComboBox.FontFilters', 'QFontComboBox.FontFilter']) -> None: ...
def writingSystem(self) -> QtGui.QFontDatabase.WritingSystem: ...
def setWritingSystem(self, a0: QtGui.QFontDatabase.WritingSystem) -> None: ...
def fontFilters(self) -> 'QFontComboBox.FontFilters': ...
class QFontDialog(QDialog):
class FontDialogOption(int): ...
NoButtons = ... # type: 'QFontDialog.FontDialogOption'
DontUseNativeDialog = ... # type: 'QFontDialog.FontDialogOption'
ScalableFonts = ... # type: 'QFontDialog.FontDialogOption'
NonScalableFonts = ... # type: 'QFontDialog.FontDialogOption'
MonospacedFonts = ... # type: 'QFontDialog.FontDialogOption'
ProportionalFonts = ... # type: 'QFontDialog.FontDialogOption'
class FontDialogOptions(sip.simplewrapper):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, f: typing.Union['QFontDialog.FontDialogOptions', 'QFontDialog.FontDialogOption']) -> None: ...
@typing.overload
def __init__(self, a0: 'QFontDialog.FontDialogOptions') -> None: ...
def __hash__(self) -> int: ...
def __bool__(self) -> int: ...
def __invert__(self) -> 'QFontDialog.FontDialogOptions': ...
def __int__(self) -> int: ...
@typing.overload
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
@typing.overload
def __init__(self, initial: QtGui.QFont, parent: typing.Optional[QWidget] = ...) -> None: ...
def fontSelected(self, font: QtGui.QFont) -> None: ...
def currentFontChanged(self, font: QtGui.QFont) -> None: ...
def setVisible(self, visible: bool) -> None: ...
@typing.overload
def open(self) -> None: ...
@typing.overload
def open(self, slot: PYQT_SLOT) -> None: ...
def options(self) -> 'QFontDialog.FontDialogOptions': ...
def setOptions(self, options: typing.Union['QFontDialog.FontDialogOptions', 'QFontDialog.FontDialogOption']) -> None: ...
def testOption(self, option: 'QFontDialog.FontDialogOption') -> bool: ...
def setOption(self, option: 'QFontDialog.FontDialogOption', on: bool = ...) -> None: ...
def selectedFont(self) -> QtGui.QFont: ...
def currentFont(self) -> QtGui.QFont: ...
def setCurrentFont(self, font: QtGui.QFont) -> None: ...
def eventFilter(self, object: QtCore.QObject, event: QtCore.QEvent) -> bool: ...
def done(self, result: int) -> None: ...
def changeEvent(self, e: QtCore.QEvent) -> None: ...
@typing.overload
@staticmethod
def getFont(initial: QtGui.QFont, parent: typing.Optional[QWidget] = ..., caption: str = ..., options: typing.Union['QFontDialog.FontDialogOptions', 'QFontDialog.FontDialogOption'] = ...) -> typing.Tuple[QtGui.QFont, bool]: ...
@typing.overload
@staticmethod
def getFont(parent: typing.Optional[QWidget] = ...) -> typing.Tuple[QtGui.QFont, bool]: ...
class QFormLayout(QLayout):
class ItemRole(int): ...
LabelRole = ... # type: 'QFormLayout.ItemRole'
FieldRole = ... # type: 'QFormLayout.ItemRole'
SpanningRole = ... # type: 'QFormLayout.ItemRole'
class RowWrapPolicy(int): ...
DontWrapRows = ... # type: 'QFormLayout.RowWrapPolicy'
WrapLongRows = ... # type: 'QFormLayout.RowWrapPolicy'
WrapAllRows = ... # type: 'QFormLayout.RowWrapPolicy'
class FieldGrowthPolicy(int): ...
FieldsStayAtSizeHint = ... # type: 'QFormLayout.FieldGrowthPolicy'
ExpandingFieldsGrow = ... # type: 'QFormLayout.FieldGrowthPolicy'
AllNonFixedFieldsGrow = ... # type: 'QFormLayout.FieldGrowthPolicy'
class TakeRowResult(sip.simplewrapper):
fieldItem = ... # type: QLayoutItem
labelItem = ... # type: QLayoutItem
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, a0: 'QFormLayout.TakeRowResult') -> None: ...
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
@typing.overload
def takeRow(self, row: int) -> 'QFormLayout.TakeRowResult': ...
@typing.overload
def takeRow(self, widget: QWidget) -> 'QFormLayout.TakeRowResult': ...
@typing.overload
def takeRow(self, layout: QLayout) -> 'QFormLayout.TakeRowResult': ...
@typing.overload
def removeRow(self, row: int) -> None: ...
@typing.overload
def removeRow(self, widget: QWidget) -> None: ...
@typing.overload
def removeRow(self, layout: QLayout) -> None: ...
def rowCount(self) -> int: ...
def count(self) -> int: ...
def expandingDirections(self) -> QtCore.Qt.Orientations: ...
def heightForWidth(self, width: int) -> int: ...
def hasHeightForWidth(self) -> bool: ...
def invalidate(self) -> None: ...
def sizeHint(self) -> QtCore.QSize: ...
def minimumSize(self) -> QtCore.QSize: ...
def setGeometry(self, rect: QtCore.QRect) -> None: ...
def takeAt(self, index: int) -> QLayoutItem: ...
def addItem(self, item: QLayoutItem) -> None: ...
@typing.overload
def labelForField(self, field: QWidget) -> QWidget: ...
@typing.overload
def labelForField(self, field: QLayout) -> QWidget: ...
def getLayoutPosition(self, layout: QLayout) -> typing.Tuple[int, 'QFormLayout.ItemRole']: ...
def getWidgetPosition(self, widget: QWidget) -> typing.Tuple[int, 'QFormLayout.ItemRole']: ...
def getItemPosition(self, index: int) -> typing.Tuple[int, 'QFormLayout.ItemRole']: ...
@typing.overload
def itemAt(self, row: int, role: 'QFormLayout.ItemRole') -> QLayoutItem: ...
@typing.overload
def itemAt(self, index: int) -> QLayoutItem: ...
def setLayout(self, row: int, role: 'QFormLayout.ItemRole', layout: QLayout) -> None: ...
def setWidget(self, row: int, role: 'QFormLayout.ItemRole', widget: QWidget) -> None: ...
def setItem(self, row: int, role: 'QFormLayout.ItemRole', item: QLayoutItem) -> None: ...
@typing.overload
def insertRow(self, row: int, label: QWidget, field: QWidget) -> None: ...
@typing.overload
def insertRow(self, row: int, label: QWidget, field: QLayout) -> None: ...
@typing.overload
def insertRow(self, row: int, labelText: str, field: QWidget) -> None: ...
@typing.overload
def insertRow(self, row: int, labelText: str, field: QLayout) -> None: ...
@typing.overload
def insertRow(self, row: int, widget: QWidget) -> None: ...
@typing.overload
def insertRow(self, row: int, layout: QLayout) -> None: ...
@typing.overload
def addRow(self, label: QWidget, field: QWidget) -> None: ...
@typing.overload
def addRow(self, label: QWidget, field: QLayout) -> None: ...
@typing.overload
def addRow(self, labelText: str, field: QWidget) -> None: ...
@typing.overload
def addRow(self, labelText: str, field: QLayout) -> None: ...
@typing.overload
def addRow(self, widget: QWidget) -> None: ...
@typing.overload
def addRow(self, layout: QLayout) -> None: ...
def setSpacing(self, a0: int) -> None: ...
def spacing(self) -> int: ...
def verticalSpacing(self) -> int: ...
def setVerticalSpacing(self, spacing: int) -> None: ...
def horizontalSpacing(self) -> int: ...
def setHorizontalSpacing(self, spacing: int) -> None: ...
def formAlignment(self) -> QtCore.Qt.Alignment: ...
def setFormAlignment(self, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ...
def labelAlignment(self) -> QtCore.Qt.Alignment: ...
def setLabelAlignment(self, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ...
def rowWrapPolicy(self) -> 'QFormLayout.RowWrapPolicy': ...
def setRowWrapPolicy(self, policy: 'QFormLayout.RowWrapPolicy') -> None: ...
def fieldGrowthPolicy(self) -> 'QFormLayout.FieldGrowthPolicy': ...
def setFieldGrowthPolicy(self, policy: 'QFormLayout.FieldGrowthPolicy') -> None: ...
class QGesture(QtCore.QObject):
class GestureCancelPolicy(int): ...
CancelNone = ... # type: 'QGesture.GestureCancelPolicy'
CancelAllInContext = ... # type: 'QGesture.GestureCancelPolicy'
def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ...
def gestureCancelPolicy(self) -> 'QGesture.GestureCancelPolicy': ...
def setGestureCancelPolicy(self, policy: 'QGesture.GestureCancelPolicy') -> None: ...
def unsetHotSpot(self) -> None: ...
def hasHotSpot(self) -> bool: ...
def setHotSpot(self, value: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ...
def hotSpot(self) -> QtCore.QPointF: ...
def state(self) -> QtCore.Qt.GestureState: ...
def gestureType(self) -> QtCore.Qt.GestureType: ...
class QPanGesture(QGesture):
def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ...
def setAcceleration(self, value: float) -> None: ...
def setOffset(self, value: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ...
def setLastOffset(self, value: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ...
def acceleration(self) -> float: ...
def delta(self) -> QtCore.QPointF: ...
def offset(self) -> QtCore.QPointF: ...
def lastOffset(self) -> QtCore.QPointF: ...
class QPinchGesture(QGesture):
class ChangeFlag(int): ...
ScaleFactorChanged = ... # type: 'QPinchGesture.ChangeFlag'
RotationAngleChanged = ... # type: 'QPinchGesture.ChangeFlag'
CenterPointChanged = ... # type: 'QPinchGesture.ChangeFlag'
class ChangeFlags(sip.simplewrapper):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, f: typing.Union['QPinchGesture.ChangeFlags', 'QPinchGesture.ChangeFlag']) -> None: ...
@typing.overload
def __init__(self, a0: 'QPinchGesture.ChangeFlags') -> None: ...
def __hash__(self) -> int: ...
def __bool__(self) -> int: ...
def __invert__(self) -> 'QPinchGesture.ChangeFlags': ...
def __int__(self) -> int: ...
def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ...
def setRotationAngle(self, value: float) -> None: ...
def setLastRotationAngle(self, value: float) -> None: ...
def setTotalRotationAngle(self, value: float) -> None: ...
def rotationAngle(self) -> float: ...
def lastRotationAngle(self) -> float: ...
def totalRotationAngle(self) -> float: ...
def setScaleFactor(self, value: float) -> None: ...
def setLastScaleFactor(self, value: float) -> None: ...
def setTotalScaleFactor(self, value: float) -> None: ...
def scaleFactor(self) -> float: ...
def lastScaleFactor(self) -> float: ...
def totalScaleFactor(self) -> float: ...
def setCenterPoint(self, value: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ...
def setLastCenterPoint(self, value: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ...
def setStartCenterPoint(self, value: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ...
def centerPoint(self) -> QtCore.QPointF: ...
def lastCenterPoint(self) -> QtCore.QPointF: ...
def startCenterPoint(self) -> QtCore.QPointF: ...
def setChangeFlags(self, value: typing.Union['QPinchGesture.ChangeFlags', 'QPinchGesture.ChangeFlag']) -> None: ...
def changeFlags(self) -> 'QPinchGesture.ChangeFlags': ...
def setTotalChangeFlags(self, value: typing.Union['QPinchGesture.ChangeFlags', 'QPinchGesture.ChangeFlag']) -> None: ...
def totalChangeFlags(self) -> 'QPinchGesture.ChangeFlags': ...
class QSwipeGesture(QGesture):
class SwipeDirection(int): ...
NoDirection = ... # type: 'QSwipeGesture.SwipeDirection'
Left = ... # type: 'QSwipeGesture.SwipeDirection'
Right = ... # type: 'QSwipeGesture.SwipeDirection'
Up = ... # type: 'QSwipeGesture.SwipeDirection'
Down = ... # type: 'QSwipeGesture.SwipeDirection'
def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ...
def setSwipeAngle(self, value: float) -> None: ...
def swipeAngle(self) -> float: ...
def verticalDirection(self) -> 'QSwipeGesture.SwipeDirection': ...
def horizontalDirection(self) -> 'QSwipeGesture.SwipeDirection': ...
class QTapGesture(QGesture):
def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ...
def setPosition(self, pos: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ...
def position(self) -> QtCore.QPointF: ...
class QTapAndHoldGesture(QGesture):
def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ...
@staticmethod
def timeout() -> int: ...
@staticmethod
def setTimeout(msecs: int) -> None: ...
def setPosition(self, pos: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ...
def position(self) -> QtCore.QPointF: ...
class QGestureEvent(QtCore.QEvent):
@typing.overload
def __init__(self, gestures: typing.Any) -> None: ...
@typing.overload
def __init__(self, a0: 'QGestureEvent') -> None: ...
def mapToGraphicsScene(self, gesturePoint: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> QtCore.QPointF: ...
def widget(self) -> QWidget: ...
@typing.overload
def ignore(self) -> None: ...
@typing.overload
def ignore(self, a0: QGesture) -> None: ...
@typing.overload
def ignore(self, a0: QtCore.Qt.GestureType) -> None: ...
@typing.overload
def accept(self) -> None: ...
@typing.overload
def accept(self, a0: QGesture) -> None: ...
@typing.overload
def accept(self, a0: QtCore.Qt.GestureType) -> None: ...
@typing.overload
def isAccepted(self) -> bool: ...
@typing.overload
def isAccepted(self, a0: QGesture) -> bool: ...
@typing.overload
def isAccepted(self, a0: QtCore.Qt.GestureType) -> bool: ...
@typing.overload
def setAccepted(self, accepted: bool) -> None: ...
@typing.overload
def setAccepted(self, a0: QGesture, a1: bool) -> None: ...
@typing.overload
def setAccepted(self, a0: QtCore.Qt.GestureType, a1: bool) -> None: ...
def canceledGestures(self) -> typing.List[QGesture]: ...
def activeGestures(self) -> typing.List[QGesture]: ...
def gesture(self, type: QtCore.Qt.GestureType) -> QGesture: ...
def gestures(self) -> typing.List[QGesture]: ...
class QGestureRecognizer(sip.wrapper):
class ResultFlag(int): ...
Ignore = ... # type: 'QGestureRecognizer.ResultFlag'
MayBeGesture = ... # type: 'QGestureRecognizer.ResultFlag'
TriggerGesture = ... # type: 'QGestureRecognizer.ResultFlag'
FinishGesture = ... # type: 'QGestureRecognizer.ResultFlag'
CancelGesture = ... # type: 'QGestureRecognizer.ResultFlag'
ConsumeEventHint = ... # type: 'QGestureRecognizer.ResultFlag'
class Result(sip.simplewrapper):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, f: typing.Union['QGestureRecognizer.Result', 'QGestureRecognizer.ResultFlag']) -> None: ...
@typing.overload
def __init__(self, a0: 'QGestureRecognizer.Result') -> None: ...
def __hash__(self) -> int: ...
def __bool__(self) -> int: ...
def __invert__(self) -> 'QGestureRecognizer.Result': ...
def __int__(self) -> int: ...
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, a0: 'QGestureRecognizer') -> None: ...
@staticmethod
def unregisterRecognizer(type: QtCore.Qt.GestureType) -> None: ...
@staticmethod
def registerRecognizer(recognizer: 'QGestureRecognizer') -> QtCore.Qt.GestureType: ...
def reset(self, state: QGesture) -> None: ...
def recognize(self, state: QGesture, watched: QtCore.QObject, event: QtCore.QEvent) -> 'QGestureRecognizer.Result': ...
def create(self, target: QtCore.QObject) -> QGesture: ...
class QGraphicsAnchor(QtCore.QObject):
def sizePolicy(self) -> 'QSizePolicy.Policy': ...
def setSizePolicy(self, policy: 'QSizePolicy.Policy') -> None: ...
def spacing(self) -> float: ...
def unsetSpacing(self) -> None: ...
def setSpacing(self, spacing: float) -> None: ...
class QGraphicsLayoutItem(sip.wrapper):
def __init__(self, parent: typing.Optional['QGraphicsLayoutItem'] = ..., isLayout: bool = ...) -> None: ...
def setOwnedByLayout(self, ownedByLayout: bool) -> None: ...
def setGraphicsItem(self, item: 'QGraphicsItem') -> None: ...
def sizeHint(self, which: QtCore.Qt.SizeHint, constraint: QtCore.QSizeF = ...) -> QtCore.QSizeF: ...
def ownedByLayout(self) -> bool: ...
def graphicsItem(self) -> 'QGraphicsItem': ...
def maximumHeight(self) -> float: ...
def maximumWidth(self) -> float: ...
def preferredHeight(self) -> float: ...
def preferredWidth(self) -> float: ...
def minimumHeight(self) -> float: ...
def minimumWidth(self) -> float: ...
def isLayout(self) -> bool: ...
def setParentLayoutItem(self, parent: 'QGraphicsLayoutItem') -> None: ...
def parentLayoutItem(self) -> 'QGraphicsLayoutItem': ...
def updateGeometry(self) -> None: ...
def effectiveSizeHint(self, which: QtCore.Qt.SizeHint, constraint: QtCore.QSizeF = ...) -> QtCore.QSizeF: ...
def contentsRect(self) -> QtCore.QRectF: ...
def getContentsMargins(self) -> typing.Tuple[float, float, float, float]: ...
def geometry(self) -> QtCore.QRectF: ...
def setGeometry(self, rect: QtCore.QRectF) -> None: ...
def setMaximumHeight(self, height: float) -> None: ...
def setMaximumWidth(self, width: float) -> None: ...
def maximumSize(self) -> QtCore.QSizeF: ...
@typing.overload
def setMaximumSize(self, size: QtCore.QSizeF) -> None: ...
@typing.overload
def setMaximumSize(self, aw: float, ah: float) -> None: ...
def setPreferredHeight(self, height: float) -> None: ...
def setPreferredWidth(self, width: float) -> None: ...
def preferredSize(self) -> QtCore.QSizeF: ...
@typing.overload
def setPreferredSize(self, size: QtCore.QSizeF) -> None: ...
@typing.overload
def setPreferredSize(self, aw: float, ah: float) -> None: ...
def setMinimumHeight(self, height: float) -> None: ...
def setMinimumWidth(self, width: float) -> None: ...
def minimumSize(self) -> QtCore.QSizeF: ...
@typing.overload
def setMinimumSize(self, size: QtCore.QSizeF) -> None: ...
@typing.overload
def setMinimumSize(self, aw: float, ah: float) -> None: ...
def sizePolicy(self) -> 'QSizePolicy': ...
@typing.overload
def setSizePolicy(self, policy: 'QSizePolicy') -> None: ...
@typing.overload
def setSizePolicy(self, hPolicy: 'QSizePolicy.Policy', vPolicy: 'QSizePolicy.Policy', controlType: 'QSizePolicy.ControlType' = ...) -> None: ...
class QGraphicsLayout(QGraphicsLayoutItem):
def __init__(self, parent: typing.Optional[QGraphicsLayoutItem] = ...) -> None: ...
def addChildLayoutItem(self, layoutItem: QGraphicsLayoutItem) -> None: ...
def updateGeometry(self) -> None: ...
def removeAt(self, index: int) -> None: ...
def itemAt(self, i: int) -> QGraphicsLayoutItem: ...
def __len__(self) -> int: ...
def count(self) -> int: ...
def widgetEvent(self, e: QtCore.QEvent) -> None: ...
def invalidate(self) -> None: ...
def isActivated(self) -> bool: ...
def activate(self) -> None: ...
def getContentsMargins(self) -> typing.Tuple[float, float, float, float]: ...
def setContentsMargins(self, left: float, top: float, right: float, bottom: float) -> None: ...
class QGraphicsAnchorLayout(QGraphicsLayout):
def __init__(self, parent: typing.Optional[QGraphicsLayoutItem] = ...) -> None: ...
def sizeHint(self, which: QtCore.Qt.SizeHint, constraint: QtCore.QSizeF = ...) -> QtCore.QSizeF: ...
def invalidate(self) -> None: ...
def itemAt(self, index: int) -> QGraphicsLayoutItem: ...
def count(self) -> int: ...
def setGeometry(self, rect: QtCore.QRectF) -> None: ...
def removeAt(self, index: int) -> None: ...
def verticalSpacing(self) -> float: ...
def horizontalSpacing(self) -> float: ...
def setSpacing(self, spacing: float) -> None: ...
def setVerticalSpacing(self, spacing: float) -> None: ...
def setHorizontalSpacing(self, spacing: float) -> None: ...
def addAnchors(self, firstItem: QGraphicsLayoutItem, secondItem: QGraphicsLayoutItem, orientations: typing.Union[QtCore.Qt.Orientations, QtCore.Qt.Orientation] = ...) -> None: ...
def addCornerAnchors(self, firstItem: QGraphicsLayoutItem, firstCorner: QtCore.Qt.Corner, secondItem: QGraphicsLayoutItem, secondCorner: QtCore.Qt.Corner) -> None: ...
def anchor(self, firstItem: QGraphicsLayoutItem, firstEdge: QtCore.Qt.AnchorPoint, secondItem: QGraphicsLayoutItem, secondEdge: QtCore.Qt.AnchorPoint) -> QGraphicsAnchor: ...
def addAnchor(self, firstItem: QGraphicsLayoutItem, firstEdge: QtCore.Qt.AnchorPoint, secondItem: QGraphicsLayoutItem, secondEdge: QtCore.Qt.AnchorPoint) -> QGraphicsAnchor: ...
class QGraphicsEffect(QtCore.QObject):
class PixmapPadMode(int): ...
NoPad = ... # type: 'QGraphicsEffect.PixmapPadMode'
PadToTransparentBorder = ... # type: 'QGraphicsEffect.PixmapPadMode'
PadToEffectiveBoundingRect = ... # type: 'QGraphicsEffect.PixmapPadMode'
class ChangeFlag(int): ...
SourceAttached = ... # type: 'QGraphicsEffect.ChangeFlag'
SourceDetached = ... # type: 'QGraphicsEffect.ChangeFlag'
SourceBoundingRectChanged = ... # type: 'QGraphicsEffect.ChangeFlag'
SourceInvalidated = ... # type: 'QGraphicsEffect.ChangeFlag'
class ChangeFlags(sip.simplewrapper):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, f: typing.Union['QGraphicsEffect.ChangeFlags', 'QGraphicsEffect.ChangeFlag']) -> None: ...
@typing.overload
def __init__(self, a0: 'QGraphicsEffect.ChangeFlags') -> None: ...
def __hash__(self) -> int: ...
def __bool__(self) -> int: ...
def __invert__(self) -> 'QGraphicsEffect.ChangeFlags': ...
def __int__(self) -> int: ...
def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ...
def sourcePixmap(self, system: QtCore.Qt.CoordinateSystem = ..., mode: 'QGraphicsEffect.PixmapPadMode' = ...) -> typing.Tuple[QtGui.QPixmap, QtCore.QPoint]: ...
def drawSource(self, painter: QtGui.QPainter) -> None: ...
def sourceBoundingRect(self, system: QtCore.Qt.CoordinateSystem = ...) -> QtCore.QRectF: ...
def sourceIsPixmap(self) -> bool: ...
def updateBoundingRect(self) -> None: ...
def sourceChanged(self, flags: typing.Union['QGraphicsEffect.ChangeFlags', 'QGraphicsEffect.ChangeFlag']) -> None: ...
def draw(self, painter: QtGui.QPainter) -> None: ...
def enabledChanged(self, enabled: bool) -> None: ...
def update(self) -> None: ...
def setEnabled(self, enable: bool) -> None: ...
def isEnabled(self) -> bool: ...
def boundingRect(self) -> QtCore.QRectF: ...
def boundingRectFor(self, sourceRect: QtCore.QRectF) -> QtCore.QRectF: ...
class QGraphicsColorizeEffect(QGraphicsEffect):
def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ...
def draw(self, painter: QtGui.QPainter) -> None: ...
def strengthChanged(self, strength: float) -> None: ...
def colorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ...
def setStrength(self, strength: float) -> None: ...
def setColor(self, c: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ...
def strength(self) -> float: ...
def color(self) -> QtGui.QColor: ...
class QGraphicsBlurEffect(QGraphicsEffect):
class BlurHint(int): ...
PerformanceHint = ... # type: 'QGraphicsBlurEffect.BlurHint'
QualityHint = ... # type: 'QGraphicsBlurEffect.BlurHint'
AnimationHint = ... # type: 'QGraphicsBlurEffect.BlurHint'
class BlurHints(sip.simplewrapper):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, f: typing.Union['QGraphicsBlurEffect.BlurHints', 'QGraphicsBlurEffect.BlurHint']) -> None: ...
@typing.overload
def __init__(self, a0: 'QGraphicsBlurEffect.BlurHints') -> None: ...
def __hash__(self) -> int: ...
def __bool__(self) -> int: ...
def __invert__(self) -> 'QGraphicsBlurEffect.BlurHints': ...
def __int__(self) -> int: ...
def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ...
def draw(self, painter: QtGui.QPainter) -> None: ...
def blurHintsChanged(self, hints: typing.Union['QGraphicsBlurEffect.BlurHints', 'QGraphicsBlurEffect.BlurHint']) -> None: ...
def blurRadiusChanged(self, blurRadius: float) -> None: ...
def setBlurHints(self, hints: typing.Union['QGraphicsBlurEffect.BlurHints', 'QGraphicsBlurEffect.BlurHint']) -> None: ...
def setBlurRadius(self, blurRadius: float) -> None: ...
def blurHints(self) -> 'QGraphicsBlurEffect.BlurHints': ...
def blurRadius(self) -> float: ...
def boundingRectFor(self, rect: QtCore.QRectF) -> QtCore.QRectF: ...
class QGraphicsDropShadowEffect(QGraphicsEffect):
def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ...
def draw(self, painter: QtGui.QPainter) -> None: ...
def colorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ...
def blurRadiusChanged(self, blurRadius: float) -> None: ...
def offsetChanged(self, offset: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ...
def setColor(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ...
def setBlurRadius(self, blurRadius: float) -> None: ...
def setYOffset(self, dy: float) -> None: ...
def setXOffset(self, dx: float) -> None: ...
@typing.overload
def setOffset(self, ofs: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ...
@typing.overload
def setOffset(self, dx: float, dy: float) -> None: ...
@typing.overload
def setOffset(self, d: float) -> None: ...
def color(self) -> QtGui.QColor: ...
def blurRadius(self) -> float: ...
def yOffset(self) -> float: ...
def xOffset(self) -> float: ...
def offset(self) -> QtCore.QPointF: ...
def boundingRectFor(self, rect: QtCore.QRectF) -> QtCore.QRectF: ...
class QGraphicsOpacityEffect(QGraphicsEffect):
def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ...
def draw(self, painter: QtGui.QPainter) -> None: ...
def opacityMaskChanged(self, mask: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ...
def opacityChanged(self, opacity: float) -> None: ...
def setOpacityMask(self, mask: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ...
def setOpacity(self, opacity: float) -> None: ...
def opacityMask(self) -> QtGui.QBrush: ...
def opacity(self) -> float: ...
class QGraphicsGridLayout(QGraphicsLayout):
def __init__(self, parent: typing.Optional[QGraphicsLayoutItem] = ...) -> None: ...
def removeItem(self, item: QGraphicsLayoutItem) -> None: ...
def sizeHint(self, which: QtCore.Qt.SizeHint, constraint: QtCore.QSizeF = ...) -> QtCore.QSizeF: ...
def setGeometry(self, rect: QtCore.QRectF) -> None: ...
def invalidate(self) -> None: ...
def removeAt(self, index: int) -> None: ...
def count(self) -> int: ...
@typing.overload
def itemAt(self, row: int, column: int) -> QGraphicsLayoutItem: ...
@typing.overload
def itemAt(self, index: int) -> QGraphicsLayoutItem: ...
def columnCount(self) -> int: ...
def rowCount(self) -> int: ...
def alignment(self, item: QGraphicsLayoutItem) -> QtCore.Qt.Alignment: ...
def setAlignment(self, item: QGraphicsLayoutItem, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ...
def columnAlignment(self, column: int) -> QtCore.Qt.Alignment: ...
def setColumnAlignment(self, column: int, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ...
def rowAlignment(self, row: int) -> QtCore.Qt.Alignment: ...
def setRowAlignment(self, row: int, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ...
def setColumnFixedWidth(self, column: int, width: float) -> None: ...
def columnMaximumWidth(self, column: int) -> float: ...
def setColumnMaximumWidth(self, column: int, width: float) -> None: ...
def columnPreferredWidth(self, column: int) -> float: ...
def setColumnPreferredWidth(self, column: int, width: float) -> None: ...
def columnMinimumWidth(self, column: int) -> float: ...
def setColumnMinimumWidth(self, column: int, width: float) -> None: ...
def setRowFixedHeight(self, row: int, height: float) -> None: ...
def rowMaximumHeight(self, row: int) -> float: ...
def setRowMaximumHeight(self, row: int, height: float) -> None: ...
def rowPreferredHeight(self, row: int) -> float: ...
def setRowPreferredHeight(self, row: int, height: float) -> None: ...
def rowMinimumHeight(self, row: int) -> float: ...
def setRowMinimumHeight(self, row: int, height: float) -> None: ...
def columnStretchFactor(self, column: int) -> int: ...
def setColumnStretchFactor(self, column: int, stretch: int) -> None: ...
def rowStretchFactor(self, row: int) -> int: ...
def setRowStretchFactor(self, row: int, stretch: int) -> None: ...
def columnSpacing(self, column: int) -> float: ...
def setColumnSpacing(self, column: int, spacing: float) -> None: ...
def rowSpacing(self, row: int) -> float: ...
def setRowSpacing(self, row: int, spacing: float) -> None: ...
def setSpacing(self, spacing: float) -> None: ...
def verticalSpacing(self) -> float: ...
def setVerticalSpacing(self, spacing: float) -> None: ...
def horizontalSpacing(self) -> float: ...
def setHorizontalSpacing(self, spacing: float) -> None: ...
@typing.overload
def addItem(self, item: QGraphicsLayoutItem, row: int, column: int, rowSpan: int, columnSpan: int, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag] = ...) -> None: ...
@typing.overload
def addItem(self, item: QGraphicsLayoutItem, row: int, column: int, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag] = ...) -> None: ...
class QGraphicsItem(sip.wrapper):
class PanelModality(int): ...
NonModal = ... # type: 'QGraphicsItem.PanelModality'
PanelModal = ... # type: 'QGraphicsItem.PanelModality'
SceneModal = ... # type: 'QGraphicsItem.PanelModality'
class GraphicsItemFlag(int): ...
ItemIsMovable = ... # type: 'QGraphicsItem.GraphicsItemFlag'
ItemIsSelectable = ... # type: 'QGraphicsItem.GraphicsItemFlag'
ItemIsFocusable = ... # type: 'QGraphicsItem.GraphicsItemFlag'
ItemClipsToShape = ... # type: 'QGraphicsItem.GraphicsItemFlag'
ItemClipsChildrenToShape = ... # type: 'QGraphicsItem.GraphicsItemFlag'
ItemIgnoresTransformations = ... # type: 'QGraphicsItem.GraphicsItemFlag'
ItemIgnoresParentOpacity = ... # type: 'QGraphicsItem.GraphicsItemFlag'
ItemDoesntPropagateOpacityToChildren = ... # type: 'QGraphicsItem.GraphicsItemFlag'
ItemStacksBehindParent = ... # type: 'QGraphicsItem.GraphicsItemFlag'
ItemUsesExtendedStyleOption = ... # type: 'QGraphicsItem.GraphicsItemFlag'
ItemHasNoContents = ... # type: 'QGraphicsItem.GraphicsItemFlag'
ItemSendsGeometryChanges = ... # type: 'QGraphicsItem.GraphicsItemFlag'
ItemAcceptsInputMethod = ... # type: 'QGraphicsItem.GraphicsItemFlag'
ItemNegativeZStacksBehindParent = ... # type: 'QGraphicsItem.GraphicsItemFlag'
ItemIsPanel = ... # type: 'QGraphicsItem.GraphicsItemFlag'
ItemSendsScenePositionChanges = ... # type: 'QGraphicsItem.GraphicsItemFlag'
ItemContainsChildrenInShape = ... # type: 'QGraphicsItem.GraphicsItemFlag'
class GraphicsItemChange(int): ...
ItemPositionChange = ... # type: 'QGraphicsItem.GraphicsItemChange'
ItemMatrixChange = ... # type: 'QGraphicsItem.GraphicsItemChange'
ItemVisibleChange = ... # type: 'QGraphicsItem.GraphicsItemChange'
ItemEnabledChange = ... # type: 'QGraphicsItem.GraphicsItemChange'
ItemSelectedChange = ... # type: 'QGraphicsItem.GraphicsItemChange'
ItemParentChange = ... # type: 'QGraphicsItem.GraphicsItemChange'
ItemChildAddedChange = ... # type: 'QGraphicsItem.GraphicsItemChange'
ItemChildRemovedChange = ... # type: 'QGraphicsItem.GraphicsItemChange'
ItemTransformChange = ... # type: 'QGraphicsItem.GraphicsItemChange'
ItemPositionHasChanged = ... # type: 'QGraphicsItem.GraphicsItemChange'
ItemTransformHasChanged = ... # type: 'QGraphicsItem.GraphicsItemChange'
ItemSceneChange = ... # type: 'QGraphicsItem.GraphicsItemChange'
ItemVisibleHasChanged = ... # type: 'QGraphicsItem.GraphicsItemChange'
ItemEnabledHasChanged = ... # type: 'QGraphicsItem.GraphicsItemChange'
ItemSelectedHasChanged = ... # type: 'QGraphicsItem.GraphicsItemChange'
ItemParentHasChanged = ... # type: 'QGraphicsItem.GraphicsItemChange'
ItemSceneHasChanged = ... # type: 'QGraphicsItem.GraphicsItemChange'
ItemCursorChange = ... # type: 'QGraphicsItem.GraphicsItemChange'
ItemCursorHasChanged = ... # type: 'QGraphicsItem.GraphicsItemChange'
ItemToolTipChange = ... # type: 'QGraphicsItem.GraphicsItemChange'
ItemToolTipHasChanged = ... # type: 'QGraphicsItem.GraphicsItemChange'
ItemFlagsChange = ... # type: 'QGraphicsItem.GraphicsItemChange'
ItemFlagsHaveChanged = ... # type: 'QGraphicsItem.GraphicsItemChange'
ItemZValueChange = ... # type: 'QGraphicsItem.GraphicsItemChange'
ItemZValueHasChanged = ... # type: 'QGraphicsItem.GraphicsItemChange'
ItemOpacityChange = ... # type: 'QGraphicsItem.GraphicsItemChange'
ItemOpacityHasChanged = ... # type: 'QGraphicsItem.GraphicsItemChange'
ItemScenePositionHasChanged = ... # type: 'QGraphicsItem.GraphicsItemChange'
ItemRotationChange = ... # type: 'QGraphicsItem.GraphicsItemChange'
ItemRotationHasChanged = ... # type: 'QGraphicsItem.GraphicsItemChange'
ItemScaleChange = ... # type: 'QGraphicsItem.GraphicsItemChange'
ItemScaleHasChanged = ... # type: 'QGraphicsItem.GraphicsItemChange'
ItemTransformOriginPointChange = ... # type: 'QGraphicsItem.GraphicsItemChange'
ItemTransformOriginPointHasChanged = ... # type: 'QGraphicsItem.GraphicsItemChange'
class CacheMode(int): ...
NoCache = ... # type: 'QGraphicsItem.CacheMode'
ItemCoordinateCache = ... # type: 'QGraphicsItem.CacheMode'
DeviceCoordinateCache = ... # type: 'QGraphicsItem.CacheMode'
class GraphicsItemFlags(sip.simplewrapper):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, f: typing.Union['QGraphicsItem.GraphicsItemFlags', 'QGraphicsItem.GraphicsItemFlag']) -> None: ...
@typing.overload
def __init__(self, a0: 'QGraphicsItem.GraphicsItemFlags') -> None: ...
def __hash__(self) -> int: ...
def __bool__(self) -> int: ...
def __invert__(self) -> 'QGraphicsItem.GraphicsItemFlags': ...
def __int__(self) -> int: ...
Type = ... # type: int
UserType = ... # type: int
def __init__(self, parent: typing.Optional['QGraphicsItem'] = ...) -> None: ...
def updateMicroFocus(self) -> None: ...
def setInputMethodHints(self, hints: typing.Union[QtCore.Qt.InputMethodHints, QtCore.Qt.InputMethodHint]) -> None: ...
def inputMethodHints(self) -> QtCore.Qt.InputMethodHints: ...
def stackBefore(self, sibling: 'QGraphicsItem') -> None: ...
@typing.overload
def setTransformOriginPoint(self, origin: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ...
@typing.overload
def setTransformOriginPoint(self, ax: float, ay: float) -> None: ...
def transformOriginPoint(self) -> QtCore.QPointF: ...
def setTransformations(self, transformations: typing.Iterable['QGraphicsTransform']) -> None: ...
def transformations(self) -> typing.Any: ...
def scale(self) -> float: ...
def setScale(self, scale: float) -> None: ...
def rotation(self) -> float: ...
def setRotation(self, angle: float) -> None: ...
def setY(self, y: float) -> None: ...
def setX(self, x: float) -> None: ...
def focusItem(self) -> 'QGraphicsItem': ...
def setFocusProxy(self, item: 'QGraphicsItem') -> None: ...
def focusProxy(self) -> 'QGraphicsItem': ...
def setActive(self, active: bool) -> None: ...
def isActive(self) -> bool: ...
def setFiltersChildEvents(self, enabled: bool) -> None: ...
def filtersChildEvents(self) -> bool: ...
def setAcceptTouchEvents(self, enabled: bool) -> None: ...
def acceptTouchEvents(self) -> bool: ...
def setGraphicsEffect(self, effect: QGraphicsEffect) -> None: ...
def graphicsEffect(self) -> QGraphicsEffect: ...
def isBlockedByModalPanel(self) -> typing.Tuple[bool, 'QGraphicsItem']: ...
def setPanelModality(self, panelModality: 'QGraphicsItem.PanelModality') -> None: ...
def panelModality(self) -> 'QGraphicsItem.PanelModality': ...
def toGraphicsObject(self) -> 'QGraphicsObject': ...
def isPanel(self) -> bool: ...
def panel(self) -> 'QGraphicsItem': ...
def parentObject(self) -> 'QGraphicsObject': ...
@typing.overload
def mapRectFromScene(self, rect: QtCore.QRectF) -> QtCore.QRectF: ...
@typing.overload
def mapRectFromScene(self, ax: float, ay: float, w: float, h: float) -> QtCore.QRectF: ...
@typing.overload
def mapRectFromParent(self, rect: QtCore.QRectF) -> QtCore.QRectF: ...
@typing.overload
def mapRectFromParent(self, ax: float, ay: float, w: float, h: float) -> QtCore.QRectF: ...
@typing.overload
def mapRectFromItem(self, item: 'QGraphicsItem', rect: QtCore.QRectF) -> QtCore.QRectF: ...
@typing.overload
def mapRectFromItem(self, item: 'QGraphicsItem', ax: float, ay: float, w: float, h: float) -> QtCore.QRectF: ...
@typing.overload
def mapRectToScene(self, rect: QtCore.QRectF) -> QtCore.QRectF: ...
@typing.overload
def mapRectToScene(self, ax: float, ay: float, w: float, h: float) -> QtCore.QRectF: ...
@typing.overload
def mapRectToParent(self, rect: QtCore.QRectF) -> QtCore.QRectF: ...
@typing.overload
def mapRectToParent(self, ax: float, ay: float, w: float, h: float) -> QtCore.QRectF: ...
@typing.overload
def mapRectToItem(self, item: 'QGraphicsItem', rect: QtCore.QRectF) -> QtCore.QRectF: ...
@typing.overload
def mapRectToItem(self, item: 'QGraphicsItem', ax: float, ay: float, w: float, h: float) -> QtCore.QRectF: ...
def clipPath(self) -> QtGui.QPainterPath: ...
def isClipped(self) -> bool: ...
def itemTransform(self, other: 'QGraphicsItem') -> typing.Tuple[QtGui.QTransform, bool]: ...
def setOpacity(self, opacity: float) -> None: ...
def effectiveOpacity(self) -> float: ...
def opacity(self) -> float: ...
def isUnderMouse(self) -> bool: ...
def commonAncestorItem(self, other: 'QGraphicsItem') -> 'QGraphicsItem': ...
def scroll(self, dx: float, dy: float, rect: QtCore.QRectF = ...) -> None: ...
def setBoundingRegionGranularity(self, granularity: float) -> None: ...
def boundingRegionGranularity(self) -> float: ...
def boundingRegion(self, itemToDeviceTransform: QtGui.QTransform) -> QtGui.QRegion: ...
def ungrabKeyboard(self) -> None: ...
def grabKeyboard(self) -> None: ...
def ungrabMouse(self) -> None: ...
def grabMouse(self) -> None: ...
def setAcceptHoverEvents(self, enabled: bool) -> None: ...
def acceptHoverEvents(self) -> bool: ...
def isVisibleTo(self, parent: 'QGraphicsItem') -> bool: ...
def setCacheMode(self, mode: 'QGraphicsItem.CacheMode', logicalCacheSize: QtCore.QSize = ...) -> None: ...
def cacheMode(self) -> 'QGraphicsItem.CacheMode': ...
def isWindow(self) -> bool: ...
def isWidget(self) -> bool: ...
def childItems(self) -> typing.List['QGraphicsItem']: ...
def window(self) -> 'QGraphicsWidget': ...
def topLevelWidget(self) -> 'QGraphicsWidget': ...
def parentWidget(self) -> 'QGraphicsWidget': ...
@typing.overload
def isObscured(self, rect: QtCore.QRectF = ...) -> bool: ...
@typing.overload
def isObscured(self, ax: float, ay: float, w: float, h: float) -> bool: ...
def resetTransform(self) -> None: ...
def setTransform(self, matrix: QtGui.QTransform, combine: bool = ...) -> None: ...
def deviceTransform(self, viewportTransform: QtGui.QTransform) -> QtGui.QTransform: ...
def sceneTransform(self) -> QtGui.QTransform: ...
def transform(self) -> QtGui.QTransform: ...
def wheelEvent(self, event: 'QGraphicsSceneWheelEvent') -> None: ...
def sceneEventFilter(self, watched: 'QGraphicsItem', event: QtCore.QEvent) -> bool: ...
def sceneEvent(self, event: QtCore.QEvent) -> bool: ...
def prepareGeometryChange(self) -> None: ...
def mouseReleaseEvent(self, event: 'QGraphicsSceneMouseEvent') -> None: ...
def mousePressEvent(self, event: 'QGraphicsSceneMouseEvent') -> None: ...
def mouseMoveEvent(self, event: 'QGraphicsSceneMouseEvent') -> None: ...
def mouseDoubleClickEvent(self, event: 'QGraphicsSceneMouseEvent') -> None: ...
def keyReleaseEvent(self, event: QtGui.QKeyEvent) -> None: ...
def keyPressEvent(self, event: QtGui.QKeyEvent) -> None: ...
def itemChange(self, change: 'QGraphicsItem.GraphicsItemChange', value: typing.Any) -> typing.Any: ...
def inputMethodQuery(self, query: QtCore.Qt.InputMethodQuery) -> typing.Any: ...
def inputMethodEvent(self, event: QtGui.QInputMethodEvent) -> None: ...
def hoverMoveEvent(self, event: 'QGraphicsSceneHoverEvent') -> None: ...
def hoverLeaveEvent(self, event: 'QGraphicsSceneHoverEvent') -> None: ...
def hoverEnterEvent(self, event: 'QGraphicsSceneHoverEvent') -> None: ...
def focusOutEvent(self, event: QtGui.QFocusEvent) -> None: ...
def focusInEvent(self, event: QtGui.QFocusEvent) -> None: ...
def dropEvent(self, event: 'QGraphicsSceneDragDropEvent') -> None: ...
def dragMoveEvent(self, event: 'QGraphicsSceneDragDropEvent') -> None: ...
def dragLeaveEvent(self, event: 'QGraphicsSceneDragDropEvent') -> None: ...
def dragEnterEvent(self, event: 'QGraphicsSceneDragDropEvent') -> None: ...
def contextMenuEvent(self, event: 'QGraphicsSceneContextMenuEvent') -> None: ...
def removeSceneEventFilter(self, filterItem: 'QGraphicsItem') -> None: ...
def installSceneEventFilter(self, filterItem: 'QGraphicsItem') -> None: ...
def type(self) -> int: ...
def setData(self, key: int, value: typing.Any) -> None: ...
def data(self, key: int) -> typing.Any: ...
def isAncestorOf(self, child: 'QGraphicsItem') -> bool: ...
@typing.overload
def mapFromScene(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> QtCore.QPointF: ...
@typing.overload
def mapFromScene(self, rect: QtCore.QRectF) -> QtGui.QPolygonF: ...
@typing.overload
def mapFromScene(self, polygon: QtGui.QPolygonF) -> QtGui.QPolygonF: ...
@typing.overload
def mapFromScene(self, path: QtGui.QPainterPath) -> QtGui.QPainterPath: ...
@typing.overload
def mapFromScene(self, ax: float, ay: float) -> QtCore.QPointF: ...
@typing.overload
def mapFromScene(self, ax: float, ay: float, w: float, h: float) -> QtGui.QPolygonF: ...
@typing.overload
def mapFromParent(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> QtCore.QPointF: ...
@typing.overload
def mapFromParent(self, rect: QtCore.QRectF) -> QtGui.QPolygonF: ...
@typing.overload
def mapFromParent(self, polygon: QtGui.QPolygonF) -> QtGui.QPolygonF: ...
@typing.overload
def mapFromParent(self, path: QtGui.QPainterPath) -> QtGui.QPainterPath: ...
@typing.overload
def mapFromParent(self, ax: float, ay: float) -> QtCore.QPointF: ...
@typing.overload
def mapFromParent(self, ax: float, ay: float, w: float, h: float) -> QtGui.QPolygonF: ...
@typing.overload
def mapFromItem(self, item: 'QGraphicsItem', point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> QtCore.QPointF: ...
@typing.overload
def mapFromItem(self, item: 'QGraphicsItem', rect: QtCore.QRectF) -> QtGui.QPolygonF: ...
@typing.overload
def mapFromItem(self, item: 'QGraphicsItem', polygon: QtGui.QPolygonF) -> QtGui.QPolygonF: ...
@typing.overload
def mapFromItem(self, item: 'QGraphicsItem', path: QtGui.QPainterPath) -> QtGui.QPainterPath: ...
@typing.overload
def mapFromItem(self, item: 'QGraphicsItem', ax: float, ay: float) -> QtCore.QPointF: ...
@typing.overload
def mapFromItem(self, item: 'QGraphicsItem', ax: float, ay: float, w: float, h: float) -> QtGui.QPolygonF: ...
@typing.overload
def mapToScene(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> QtCore.QPointF: ...
@typing.overload
def mapToScene(self, rect: QtCore.QRectF) -> QtGui.QPolygonF: ...
@typing.overload
def mapToScene(self, polygon: QtGui.QPolygonF) -> QtGui.QPolygonF: ...
@typing.overload
def mapToScene(self, path: QtGui.QPainterPath) -> QtGui.QPainterPath: ...
@typing.overload
def mapToScene(self, ax: float, ay: float) -> QtCore.QPointF: ...
@typing.overload
def mapToScene(self, ax: float, ay: float, w: float, h: float) -> QtGui.QPolygonF: ...
@typing.overload
def mapToParent(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> QtCore.QPointF: ...
@typing.overload
def mapToParent(self, rect: QtCore.QRectF) -> QtGui.QPolygonF: ...
@typing.overload
def mapToParent(self, polygon: QtGui.QPolygonF) -> QtGui.QPolygonF: ...
@typing.overload
def mapToParent(self, path: QtGui.QPainterPath) -> QtGui.QPainterPath: ...
@typing.overload
def mapToParent(self, ax: float, ay: float) -> QtCore.QPointF: ...
@typing.overload
def mapToParent(self, ax: float, ay: float, w: float, h: float) -> QtGui.QPolygonF: ...
@typing.overload
def mapToItem(self, item: 'QGraphicsItem', point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> QtCore.QPointF: ...
@typing.overload
def mapToItem(self, item: 'QGraphicsItem', rect: QtCore.QRectF) -> QtGui.QPolygonF: ...
@typing.overload
def mapToItem(self, item: 'QGraphicsItem', polygon: QtGui.QPolygonF) -> QtGui.QPolygonF: ...
@typing.overload
def mapToItem(self, item: 'QGraphicsItem', path: QtGui.QPainterPath) -> QtGui.QPainterPath: ...
@typing.overload
def mapToItem(self, item: 'QGraphicsItem', ax: float, ay: float) -> QtCore.QPointF: ...
@typing.overload
def mapToItem(self, item: 'QGraphicsItem', ax: float, ay: float, w: float, h: float) -> QtGui.QPolygonF: ...
@typing.overload
def update(self, rect: QtCore.QRectF = ...) -> None: ...
@typing.overload
def update(self, ax: float, ay: float, width: float, height: float) -> None: ...
def paint(self, painter: QtGui.QPainter, option: 'QStyleOptionGraphicsItem', widget: typing.Optional[QWidget] = ...) -> None: ...
def opaqueArea(self) -> QtGui.QPainterPath: ...
def isObscuredBy(self, item: 'QGraphicsItem') -> bool: ...
def collidingItems(self, mode: QtCore.Qt.ItemSelectionMode = ...) -> typing.Any: ...
def collidesWithPath(self, path: QtGui.QPainterPath, mode: QtCore.Qt.ItemSelectionMode = ...) -> bool: ...
def collidesWithItem(self, other: 'QGraphicsItem', mode: QtCore.Qt.ItemSelectionMode = ...) -> bool: ...
def contains(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> bool: ...
def shape(self) -> QtGui.QPainterPath: ...
def sceneBoundingRect(self) -> QtCore.QRectF: ...
def childrenBoundingRect(self) -> QtCore.QRectF: ...
def boundingRect(self) -> QtCore.QRectF: ...
def setZValue(self, z: float) -> None: ...
def zValue(self) -> float: ...
def advance(self, phase: int) -> None: ...
@typing.overload
def ensureVisible(self, rect: QtCore.QRectF = ..., xMargin: int = ..., yMargin: int = ...) -> None: ...
@typing.overload
def ensureVisible(self, x: float, y: float, w: float, h: float, xMargin: int = ..., yMargin: int = ...) -> None: ...
def moveBy(self, dx: float, dy: float) -> None: ...
@typing.overload
def setPos(self, pos: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ...
@typing.overload
def setPos(self, ax: float, ay: float) -> None: ...
def scenePos(self) -> QtCore.QPointF: ...
def y(self) -> float: ...
def x(self) -> float: ...
def pos(self) -> QtCore.QPointF: ...
def clearFocus(self) -> None: ...
def setFocus(self, focusReason: QtCore.Qt.FocusReason = ...) -> None: ...
def hasFocus(self) -> bool: ...
def setAcceptedMouseButtons(self, buttons: typing.Union[QtCore.Qt.MouseButtons, QtCore.Qt.MouseButton]) -> None: ...
def acceptedMouseButtons(self) -> QtCore.Qt.MouseButtons: ...
def setAcceptDrops(self, on: bool) -> None: ...
def acceptDrops(self) -> bool: ...
def setSelected(self, selected: bool) -> None: ...
def isSelected(self) -> bool: ...
def setEnabled(self, enabled: bool) -> None: ...
def isEnabled(self) -> bool: ...
def show(self) -> None: ...
def hide(self) -> None: ...
def setVisible(self, visible: bool) -> None: ...
def isVisible(self) -> bool: ...
def unsetCursor(self) -> None: ...
def hasCursor(self) -> bool: ...
def setCursor(self, cursor: typing.Union[QtGui.QCursor, QtCore.Qt.CursorShape]) -> None: ...
def cursor(self) -> QtGui.QCursor: ...
def setToolTip(self, toolTip: str) -> None: ...
def toolTip(self) -> str: ...
def setFlags(self, flags: typing.Union['QGraphicsItem.GraphicsItemFlags', 'QGraphicsItem.GraphicsItemFlag']) -> None: ...
def setFlag(self, flag: 'QGraphicsItem.GraphicsItemFlag', enabled: bool = ...) -> None: ...
def flags(self) -> 'QGraphicsItem.GraphicsItemFlags': ...
def setGroup(self, group: 'QGraphicsItemGroup') -> None: ...
def group(self) -> 'QGraphicsItemGroup': ...
def setParentItem(self, parent: 'QGraphicsItem') -> None: ...
def topLevelItem(self) -> 'QGraphicsItem': ...
def parentItem(self) -> 'QGraphicsItem': ...
def scene(self) -> 'QGraphicsScene': ...
class QAbstractGraphicsShapeItem(QGraphicsItem):
def __init__(self, parent: typing.Optional[QGraphicsItem] = ...) -> None: ...
def opaqueArea(self) -> QtGui.QPainterPath: ...
def isObscuredBy(self, item: QGraphicsItem) -> bool: ...
def setBrush(self, brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ...
def brush(self) -> QtGui.QBrush: ...
def setPen(self, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ...
def pen(self) -> QtGui.QPen: ...
class QGraphicsPathItem(QAbstractGraphicsShapeItem):
@typing.overload
def __init__(self, parent: typing.Optional[QGraphicsItem] = ...) -> None: ...
@typing.overload
def __init__(self, path: QtGui.QPainterPath, parent: typing.Optional[QGraphicsItem] = ...) -> None: ...
def type(self) -> int: ...
def opaqueArea(self) -> QtGui.QPainterPath: ...
def isObscuredBy(self, item: QGraphicsItem) -> bool: ...
def paint(self, painter: QtGui.QPainter, option: 'QStyleOptionGraphicsItem', widget: typing.Optional[QWidget] = ...) -> None: ...
def contains(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> bool: ...
def shape(self) -> QtGui.QPainterPath: ...
def boundingRect(self) -> QtCore.QRectF: ...
def setPath(self, path: QtGui.QPainterPath) -> None: ...
def path(self) -> QtGui.QPainterPath: ...
class QGraphicsRectItem(QAbstractGraphicsShapeItem):
@typing.overload
def __init__(self, parent: typing.Optional[QGraphicsItem] = ...) -> None: ...
@typing.overload
def __init__(self, rect: QtCore.QRectF, parent: typing.Optional[QGraphicsItem] = ...) -> None: ...
@typing.overload
def __init__(self, x: float, y: float, w: float, h: float, parent: typing.Optional[QGraphicsItem] = ...) -> None: ...
def type(self) -> int: ...
def opaqueArea(self) -> QtGui.QPainterPath: ...
def isObscuredBy(self, item: QGraphicsItem) -> bool: ...
def paint(self, painter: QtGui.QPainter, option: 'QStyleOptionGraphicsItem', widget: typing.Optional[QWidget] = ...) -> None: ...
def contains(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> bool: ...
def shape(self) -> QtGui.QPainterPath: ...
def boundingRect(self) -> QtCore.QRectF: ...
@typing.overload
def setRect(self, rect: QtCore.QRectF) -> None: ...
@typing.overload
def setRect(self, ax: float, ay: float, w: float, h: float) -> None: ...
def rect(self) -> QtCore.QRectF: ...
class QGraphicsEllipseItem(QAbstractGraphicsShapeItem):
@typing.overload
def __init__(self, parent: typing.Optional[QGraphicsItem] = ...) -> None: ...
@typing.overload
def __init__(self, rect: QtCore.QRectF, parent: typing.Optional[QGraphicsItem] = ...) -> None: ...
@typing.overload
def __init__(self, x: float, y: float, w: float, h: float, parent: typing.Optional[QGraphicsItem] = ...) -> None: ...
def type(self) -> int: ...
def opaqueArea(self) -> QtGui.QPainterPath: ...
def isObscuredBy(self, item: QGraphicsItem) -> bool: ...
def paint(self, painter: QtGui.QPainter, option: 'QStyleOptionGraphicsItem', widget: typing.Optional[QWidget] = ...) -> None: ...
def contains(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> bool: ...
def shape(self) -> QtGui.QPainterPath: ...
def boundingRect(self) -> QtCore.QRectF: ...
def setSpanAngle(self, angle: int) -> None: ...
def spanAngle(self) -> int: ...
def setStartAngle(self, angle: int) -> None: ...
def startAngle(self) -> int: ...
@typing.overload
def setRect(self, rect: QtCore.QRectF) -> None: ...
@typing.overload
def setRect(self, ax: float, ay: float, w: float, h: float) -> None: ...
def rect(self) -> QtCore.QRectF: ...
class QGraphicsPolygonItem(QAbstractGraphicsShapeItem):
@typing.overload
def __init__(self, parent: typing.Optional[QGraphicsItem] = ...) -> None: ...
@typing.overload
def __init__(self, polygon: QtGui.QPolygonF, parent: typing.Optional[QGraphicsItem] = ...) -> None: ...
def type(self) -> int: ...
def opaqueArea(self) -> QtGui.QPainterPath: ...
def isObscuredBy(self, item: QGraphicsItem) -> bool: ...
def paint(self, painter: QtGui.QPainter, option: 'QStyleOptionGraphicsItem', widget: typing.Optional[QWidget] = ...) -> None: ...
def contains(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> bool: ...
def shape(self) -> QtGui.QPainterPath: ...
def boundingRect(self) -> QtCore.QRectF: ...
def setFillRule(self, rule: QtCore.Qt.FillRule) -> None: ...
def fillRule(self) -> QtCore.Qt.FillRule: ...
def setPolygon(self, polygon: QtGui.QPolygonF) -> None: ...
def polygon(self) -> QtGui.QPolygonF: ...
class QGraphicsLineItem(QGraphicsItem):
@typing.overload
def __init__(self, parent: typing.Optional[QGraphicsItem] = ...) -> None: ...
@typing.overload
def __init__(self, line: QtCore.QLineF, parent: typing.Optional[QGraphicsItem] = ...) -> None: ...
@typing.overload
def __init__(self, x1: float, y1: float, x2: float, y2: float, parent: typing.Optional[QGraphicsItem] = ...) -> None: ...
def type(self) -> int: ...
def opaqueArea(self) -> QtGui.QPainterPath: ...
def isObscuredBy(self, item: QGraphicsItem) -> bool: ...
def paint(self, painter: QtGui.QPainter, option: 'QStyleOptionGraphicsItem', widget: typing.Optional[QWidget] = ...) -> None: ...
def contains(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> bool: ...
def shape(self) -> QtGui.QPainterPath: ...
def boundingRect(self) -> QtCore.QRectF: ...
@typing.overload
def setLine(self, line: QtCore.QLineF) -> None: ...
@typing.overload
def setLine(self, x1: float, y1: float, x2: float, y2: float) -> None: ...
def line(self) -> QtCore.QLineF: ...
def setPen(self, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ...
def pen(self) -> QtGui.QPen: ...
class QGraphicsPixmapItem(QGraphicsItem):
class ShapeMode(int): ...
MaskShape = ... # type: 'QGraphicsPixmapItem.ShapeMode'
BoundingRectShape = ... # type: 'QGraphicsPixmapItem.ShapeMode'
HeuristicMaskShape = ... # type: 'QGraphicsPixmapItem.ShapeMode'
@typing.overload
def __init__(self, parent: typing.Optional[QGraphicsItem] = ...) -> None: ...
@typing.overload
def __init__(self, pixmap: QtGui.QPixmap, parent: typing.Optional[QGraphicsItem] = ...) -> None: ...
def setShapeMode(self, mode: 'QGraphicsPixmapItem.ShapeMode') -> None: ...
def shapeMode(self) -> 'QGraphicsPixmapItem.ShapeMode': ...
def type(self) -> int: ...
def opaqueArea(self) -> QtGui.QPainterPath: ...
def isObscuredBy(self, item: QGraphicsItem) -> bool: ...
def paint(self, painter: QtGui.QPainter, option: 'QStyleOptionGraphicsItem', widget: QWidget) -> None: ...
def contains(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> bool: ...
def shape(self) -> QtGui.QPainterPath: ...
def boundingRect(self) -> QtCore.QRectF: ...
@typing.overload
def setOffset(self, offset: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ...
@typing.overload
def setOffset(self, ax: float, ay: float) -> None: ...
def offset(self) -> QtCore.QPointF: ...
def setTransformationMode(self, mode: QtCore.Qt.TransformationMode) -> None: ...
def transformationMode(self) -> QtCore.Qt.TransformationMode: ...
def setPixmap(self, pixmap: QtGui.QPixmap) -> None: ...
def pixmap(self) -> QtGui.QPixmap: ...
class QGraphicsSimpleTextItem(QAbstractGraphicsShapeItem):
@typing.overload
def __init__(self, parent: typing.Optional[QGraphicsItem] = ...) -> None: ...
@typing.overload
def __init__(self, text: str, parent: typing.Optional[QGraphicsItem] = ...) -> None: ...
def type(self) -> int: ...
def opaqueArea(self) -> QtGui.QPainterPath: ...
def isObscuredBy(self, item: QGraphicsItem) -> bool: ...
def paint(self, painter: QtGui.QPainter, option: 'QStyleOptionGraphicsItem', widget: QWidget) -> None: ...
def contains(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> bool: ...
def shape(self) -> QtGui.QPainterPath: ...
def boundingRect(self) -> QtCore.QRectF: ...
def font(self) -> QtGui.QFont: ...
def setFont(self, font: QtGui.QFont) -> None: ...
def text(self) -> str: ...
def setText(self, text: str) -> None: ...
class QGraphicsItemGroup(QGraphicsItem):
def __init__(self, parent: typing.Optional[QGraphicsItem] = ...) -> None: ...
def type(self) -> int: ...
def opaqueArea(self) -> QtGui.QPainterPath: ...
def isObscuredBy(self, item: QGraphicsItem) -> bool: ...
def paint(self, painter: QtGui.QPainter, option: 'QStyleOptionGraphicsItem', widget: typing.Optional[QWidget] = ...) -> None: ...
def boundingRect(self) -> QtCore.QRectF: ...
def removeFromGroup(self, item: QGraphicsItem) -> None: ...
def addToGroup(self, item: QGraphicsItem) -> None: ...
class QGraphicsObject(QtCore.QObject, QGraphicsItem):
def __init__(self, parent: typing.Optional[QGraphicsItem] = ...) -> None: ...
def event(self, ev: QtCore.QEvent) -> bool: ...
def updateMicroFocus(self) -> None: ...
def scaleChanged(self) -> None: ...
def rotationChanged(self) -> None: ...
def zChanged(self) -> None: ...
def yChanged(self) -> None: ...
def xChanged(self) -> None: ...
def enabledChanged(self) -> None: ...
def visibleChanged(self) -> None: ...
def opacityChanged(self) -> None: ...
def parentChanged(self) -> None: ...
def ungrabGesture(self, type: QtCore.Qt.GestureType) -> None: ...
def grabGesture(self, type: QtCore.Qt.GestureType, flags: typing.Union[QtCore.Qt.GestureFlags, QtCore.Qt.GestureFlag] = ...) -> None: ...
class QGraphicsTextItem(QGraphicsObject):
@typing.overload
def __init__(self, parent: typing.Optional[QGraphicsItem] = ...) -> None: ...
@typing.overload
def __init__(self, text: str, parent: typing.Optional[QGraphicsItem] = ...) -> None: ...
def inputMethodQuery(self, query: QtCore.Qt.InputMethodQuery) -> typing.Any: ...
def hoverLeaveEvent(self, event: 'QGraphicsSceneHoverEvent') -> None: ...
def hoverMoveEvent(self, event: 'QGraphicsSceneHoverEvent') -> None: ...
def hoverEnterEvent(self, event: 'QGraphicsSceneHoverEvent') -> None: ...
def inputMethodEvent(self, event: QtGui.QInputMethodEvent) -> None: ...
def dropEvent(self, event: 'QGraphicsSceneDragDropEvent') -> None: ...
def dragMoveEvent(self, event: 'QGraphicsSceneDragDropEvent') -> None: ...
def dragLeaveEvent(self, event: 'QGraphicsSceneDragDropEvent') -> None: ...
def dragEnterEvent(self, event: 'QGraphicsSceneDragDropEvent') -> None: ...
def focusOutEvent(self, event: QtGui.QFocusEvent) -> None: ...
def focusInEvent(self, event: QtGui.QFocusEvent) -> None: ...
def keyReleaseEvent(self, event: QtGui.QKeyEvent) -> None: ...
def keyPressEvent(self, event: QtGui.QKeyEvent) -> None: ...
def contextMenuEvent(self, event: 'QGraphicsSceneContextMenuEvent') -> None: ...
def mouseDoubleClickEvent(self, event: 'QGraphicsSceneMouseEvent') -> None: ...
def mouseReleaseEvent(self, event: 'QGraphicsSceneMouseEvent') -> None: ...
def mouseMoveEvent(self, event: 'QGraphicsSceneMouseEvent') -> None: ...
def mousePressEvent(self, event: 'QGraphicsSceneMouseEvent') -> None: ...
def sceneEvent(self, event: QtCore.QEvent) -> bool: ...
def linkHovered(self, a0: str) -> None: ...
def linkActivated(self, a0: str) -> None: ...
def textCursor(self) -> QtGui.QTextCursor: ...
def setTextCursor(self, cursor: QtGui.QTextCursor) -> None: ...
def openExternalLinks(self) -> bool: ...
def setOpenExternalLinks(self, open: bool) -> None: ...
def tabChangesFocus(self) -> bool: ...
def setTabChangesFocus(self, b: bool) -> None: ...
def textInteractionFlags(self) -> QtCore.Qt.TextInteractionFlags: ...
def setTextInteractionFlags(self, flags: typing.Union[QtCore.Qt.TextInteractionFlags, QtCore.Qt.TextInteractionFlag]) -> None: ...
def document(self) -> QtGui.QTextDocument: ...
def setDocument(self, document: QtGui.QTextDocument) -> None: ...
def adjustSize(self) -> None: ...
def textWidth(self) -> float: ...
def setTextWidth(self, width: float) -> None: ...
def type(self) -> int: ...
def opaqueArea(self) -> QtGui.QPainterPath: ...
def isObscuredBy(self, item: QGraphicsItem) -> bool: ...
def paint(self, painter: QtGui.QPainter, option: 'QStyleOptionGraphicsItem', widget: QWidget) -> None: ...
def contains(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> bool: ...
def shape(self) -> QtGui.QPainterPath: ...
def boundingRect(self) -> QtCore.QRectF: ...
def defaultTextColor(self) -> QtGui.QColor: ...
def setDefaultTextColor(self, c: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ...
def setFont(self, font: QtGui.QFont) -> None: ...
def font(self) -> QtGui.QFont: ...
def setPlainText(self, text: str) -> None: ...
def toPlainText(self) -> str: ...
def setHtml(self, html: str) -> None: ...
def toHtml(self) -> str: ...
class QGraphicsLinearLayout(QGraphicsLayout):
@typing.overload
def __init__(self, parent: typing.Optional[QGraphicsLayoutItem] = ...) -> None: ...
@typing.overload
def __init__(self, orientation: QtCore.Qt.Orientation, parent: typing.Optional[QGraphicsLayoutItem] = ...) -> None: ...
def sizeHint(self, which: QtCore.Qt.SizeHint, constraint: QtCore.QSizeF = ...) -> QtCore.QSizeF: ...
def invalidate(self) -> None: ...
def itemAt(self, index: int) -> QGraphicsLayoutItem: ...
def count(self) -> int: ...
def setGeometry(self, rect: QtCore.QRectF) -> None: ...
def alignment(self, item: QGraphicsLayoutItem) -> QtCore.Qt.Alignment: ...
def setAlignment(self, item: QGraphicsLayoutItem, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ...
def stretchFactor(self, item: QGraphicsLayoutItem) -> int: ...
def setStretchFactor(self, item: QGraphicsLayoutItem, stretch: int) -> None: ...
def itemSpacing(self, index: int) -> float: ...
def setItemSpacing(self, index: int, spacing: float) -> None: ...
def spacing(self) -> float: ...
def setSpacing(self, spacing: float) -> None: ...
def removeAt(self, index: int) -> None: ...
def removeItem(self, item: QGraphicsLayoutItem) -> None: ...
def insertStretch(self, index: int, stretch: int = ...) -> None: ...
def insertItem(self, index: int, item: QGraphicsLayoutItem) -> None: ...
def addStretch(self, stretch: int = ...) -> None: ...
def addItem(self, item: QGraphicsLayoutItem) -> None: ...
def orientation(self) -> QtCore.Qt.Orientation: ...
def setOrientation(self, orientation: QtCore.Qt.Orientation) -> None: ...
class QGraphicsWidget(QGraphicsObject, QGraphicsLayoutItem):
def __init__(self, parent: typing.Optional[QGraphicsItem] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ...
def geometryChanged(self) -> None: ...
def setAutoFillBackground(self, enabled: bool) -> None: ...
def autoFillBackground(self) -> bool: ...
def ungrabKeyboardEvent(self, event: QtCore.QEvent) -> None: ...
def grabKeyboardEvent(self, event: QtCore.QEvent) -> None: ...
def ungrabMouseEvent(self, event: QtCore.QEvent) -> None: ...
def grabMouseEvent(self, event: QtCore.QEvent) -> None: ...
def hoverLeaveEvent(self, event: 'QGraphicsSceneHoverEvent') -> None: ...
def hoverMoveEvent(self, event: 'QGraphicsSceneHoverEvent') -> None: ...
def showEvent(self, event: QtGui.QShowEvent) -> None: ...
def resizeEvent(self, event: 'QGraphicsSceneResizeEvent') -> None: ...
def polishEvent(self) -> None: ...
def moveEvent(self, event: 'QGraphicsSceneMoveEvent') -> None: ...
def hideEvent(self, event: QtGui.QHideEvent) -> None: ...
def focusOutEvent(self, event: QtGui.QFocusEvent) -> None: ...
def focusNextPrevChild(self, next: bool) -> bool: ...
def focusInEvent(self, event: QtGui.QFocusEvent) -> None: ...
def closeEvent(self, event: QtGui.QCloseEvent) -> None: ...
def changeEvent(self, event: QtCore.QEvent) -> None: ...
def event(self, event: QtCore.QEvent) -> bool: ...
def windowFrameSectionAt(self, pos: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> QtCore.Qt.WindowFrameSection: ...
def windowFrameEvent(self, e: QtCore.QEvent) -> bool: ...
def sceneEvent(self, event: QtCore.QEvent) -> bool: ...
def itemChange(self, change: QGraphicsItem.GraphicsItemChange, value: typing.Any) -> typing.Any: ...
def updateGeometry(self) -> None: ...
def sizeHint(self, which: QtCore.Qt.SizeHint, constraint: QtCore.QSizeF = ...) -> QtCore.QSizeF: ...
def initStyleOption(self, option: 'QStyleOption') -> None: ...
def close(self) -> bool: ...
def shape(self) -> QtGui.QPainterPath: ...
def boundingRect(self) -> QtCore.QRectF: ...
def paintWindowFrame(self, painter: QtGui.QPainter, option: 'QStyleOptionGraphicsItem', widget: typing.Optional[QWidget] = ...) -> None: ...
def paint(self, painter: QtGui.QPainter, option: 'QStyleOptionGraphicsItem', widget: typing.Optional[QWidget] = ...) -> None: ...
def type(self) -> int: ...
def testAttribute(self, attribute: QtCore.Qt.WidgetAttribute) -> bool: ...
def setAttribute(self, attribute: QtCore.Qt.WidgetAttribute, on: bool = ...) -> None: ...
def actions(self) -> typing.List[QAction]: ...
def removeAction(self, action: QAction) -> None: ...
def insertActions(self, before: QAction, actions: typing.Iterable[QAction]) -> None: ...
def insertAction(self, before: QAction, action: QAction) -> None: ...
def addActions(self, actions: typing.Iterable[QAction]) -> None: ...
def addAction(self, action: QAction) -> None: ...
def setShortcutAutoRepeat(self, id: int, enabled: bool = ...) -> None: ...
def setShortcutEnabled(self, id: int, enabled: bool = ...) -> None: ...
def releaseShortcut(self, id: int) -> None: ...
def grabShortcut(self, sequence: typing.Union[QtGui.QKeySequence, QtGui.QKeySequence.StandardKey, str, int], context: QtCore.Qt.ShortcutContext = ...) -> int: ...
def focusWidget(self) -> 'QGraphicsWidget': ...
@staticmethod
def setTabOrder(first: 'QGraphicsWidget', second: 'QGraphicsWidget') -> None: ...
def setFocusPolicy(self, policy: QtCore.Qt.FocusPolicy) -> None: ...
def focusPolicy(self) -> QtCore.Qt.FocusPolicy: ...
def windowTitle(self) -> str: ...
def setWindowTitle(self, title: str) -> None: ...
def isActiveWindow(self) -> bool: ...
def setWindowFlags(self, wFlags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType]) -> None: ...
def windowType(self) -> QtCore.Qt.WindowType: ...
def windowFlags(self) -> QtCore.Qt.WindowFlags: ...
def windowFrameRect(self) -> QtCore.QRectF: ...
def windowFrameGeometry(self) -> QtCore.QRectF: ...
def unsetWindowFrameMargins(self) -> None: ...
def getWindowFrameMargins(self) -> typing.Tuple[float, float, float, float]: ...
def setWindowFrameMargins(self, left: float, top: float, right: float, bottom: float) -> None: ...
def getContentsMargins(self) -> typing.Tuple[float, float, float, float]: ...
def setContentsMargins(self, left: float, top: float, right: float, bottom: float) -> None: ...
def rect(self) -> QtCore.QRectF: ...
@typing.overload
def setGeometry(self, rect: QtCore.QRectF) -> None: ...
@typing.overload
def setGeometry(self, ax: float, ay: float, aw: float, ah: float) -> None: ...
def size(self) -> QtCore.QSizeF: ...
@typing.overload
def resize(self, size: QtCore.QSizeF) -> None: ...
@typing.overload
def resize(self, w: float, h: float) -> None: ...
def setPalette(self, palette: QtGui.QPalette) -> None: ...
def palette(self) -> QtGui.QPalette: ...
def setFont(self, font: QtGui.QFont) -> None: ...
def font(self) -> QtGui.QFont: ...
def setStyle(self, style: QStyle) -> None: ...
def style(self) -> QStyle: ...
def unsetLayoutDirection(self) -> None: ...
def setLayoutDirection(self, direction: QtCore.Qt.LayoutDirection) -> None: ...
def layoutDirection(self) -> QtCore.Qt.LayoutDirection: ...
def adjustSize(self) -> None: ...
def setLayout(self, layout: QGraphicsLayout) -> None: ...
def layout(self) -> QGraphicsLayout: ...
class QGraphicsProxyWidget(QGraphicsWidget):
def __init__(self, parent: typing.Optional[QGraphicsItem] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ...
def inputMethodEvent(self, event: QtGui.QInputMethodEvent) -> None: ...
def inputMethodQuery(self, query: QtCore.Qt.InputMethodQuery) -> typing.Any: ...
def newProxyWidget(self, a0: QWidget) -> 'QGraphicsProxyWidget': ...
def dropEvent(self, event: 'QGraphicsSceneDragDropEvent') -> None: ...
def dragMoveEvent(self, event: 'QGraphicsSceneDragDropEvent') -> None: ...
def dragLeaveEvent(self, event: 'QGraphicsSceneDragDropEvent') -> None: ...
def dragEnterEvent(self, event: 'QGraphicsSceneDragDropEvent') -> None: ...
def resizeEvent(self, event: 'QGraphicsSceneResizeEvent') -> None: ...
def sizeHint(self, which: QtCore.Qt.SizeHint, constraint: QtCore.QSizeF = ...) -> QtCore.QSizeF: ...
def focusNextPrevChild(self, next: bool) -> bool: ...
def focusOutEvent(self, event: QtGui.QFocusEvent) -> None: ...
def focusInEvent(self, event: QtGui.QFocusEvent) -> None: ...
def keyReleaseEvent(self, event: QtGui.QKeyEvent) -> None: ...
def keyPressEvent(self, event: QtGui.QKeyEvent) -> None: ...
def wheelEvent(self, event: 'QGraphicsSceneWheelEvent') -> None: ...
def mouseDoubleClickEvent(self, event: 'QGraphicsSceneMouseEvent') -> None: ...
def mouseReleaseEvent(self, event: 'QGraphicsSceneMouseEvent') -> None: ...
def mousePressEvent(self, event: 'QGraphicsSceneMouseEvent') -> None: ...
def mouseMoveEvent(self, event: 'QGraphicsSceneMouseEvent') -> None: ...
def ungrabMouseEvent(self, event: QtCore.QEvent) -> None: ...
def grabMouseEvent(self, event: QtCore.QEvent) -> None: ...
def hoverMoveEvent(self, event: 'QGraphicsSceneHoverEvent') -> None: ...
def hoverLeaveEvent(self, event: 'QGraphicsSceneHoverEvent') -> None: ...
def hoverEnterEvent(self, event: 'QGraphicsSceneHoverEvent') -> None: ...
def contextMenuEvent(self, event: 'QGraphicsSceneContextMenuEvent') -> None: ...
def hideEvent(self, event: QtGui.QHideEvent) -> None: ...
def showEvent(self, event: QtGui.QShowEvent) -> None: ...
def eventFilter(self, object: QtCore.QObject, event: QtCore.QEvent) -> bool: ...
def event(self, event: QtCore.QEvent) -> bool: ...
def itemChange(self, change: QGraphicsItem.GraphicsItemChange, value: typing.Any) -> typing.Any: ...
def createProxyForChildWidget(self, child: QWidget) -> 'QGraphicsProxyWidget': ...
def type(self) -> int: ...
def paint(self, painter: QtGui.QPainter, option: 'QStyleOptionGraphicsItem', widget: QWidget) -> None: ...
def setGeometry(self, rect: QtCore.QRectF) -> None: ...
def subWidgetRect(self, widget: QWidget) -> QtCore.QRectF: ...
def widget(self) -> QWidget: ...
def setWidget(self, widget: QWidget) -> None: ...
class QGraphicsScene(QtCore.QObject):
class SceneLayer(int): ...
ItemLayer = ... # type: 'QGraphicsScene.SceneLayer'
BackgroundLayer = ... # type: 'QGraphicsScene.SceneLayer'
ForegroundLayer = ... # type: 'QGraphicsScene.SceneLayer'
AllLayers = ... # type: 'QGraphicsScene.SceneLayer'
class ItemIndexMethod(int): ...
BspTreeIndex = ... # type: 'QGraphicsScene.ItemIndexMethod'
NoIndex = ... # type: 'QGraphicsScene.ItemIndexMethod'
class SceneLayers(sip.simplewrapper):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, f: typing.Union['QGraphicsScene.SceneLayers', 'QGraphicsScene.SceneLayer']) -> None: ...
@typing.overload
def __init__(self, a0: 'QGraphicsScene.SceneLayers') -> None: ...
def __hash__(self) -> int: ...
def __bool__(self) -> int: ...
def __invert__(self) -> 'QGraphicsScene.SceneLayers': ...
def __int__(self) -> int: ...
@typing.overload
def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ...
@typing.overload
def __init__(self, sceneRect: QtCore.QRectF, parent: typing.Optional[QtCore.QObject] = ...) -> None: ...
@typing.overload
def __init__(self, x: float, y: float, width: float, height: float, parent: typing.Optional[QtCore.QObject] = ...) -> None: ...
def focusItemChanged(self, newFocus: QGraphicsItem, oldFocus: QGraphicsItem, reason: QtCore.Qt.FocusReason) -> None: ...
def setMinimumRenderSize(self, minSize: float) -> None: ...
def minimumRenderSize(self) -> float: ...
def sendEvent(self, item: QGraphicsItem, event: QtCore.QEvent) -> bool: ...
def setActivePanel(self, item: QGraphicsItem) -> None: ...
def activePanel(self) -> QGraphicsItem: ...
def isActive(self) -> bool: ...
@typing.overload
def itemAt(self, pos: typing.Union[QtCore.QPointF, QtCore.QPoint], deviceTransform: QtGui.QTransform) -> QGraphicsItem: ...
@typing.overload
def itemAt(self, x: float, y: float, deviceTransform: QtGui.QTransform) -> QGraphicsItem: ...
def stickyFocus(self) -> bool: ...
def setStickyFocus(self, enabled: bool) -> None: ...
def focusNextPrevChild(self, next: bool) -> bool: ...
def eventFilter(self, watched: QtCore.QObject, event: QtCore.QEvent) -> bool: ...
def setActiveWindow(self, widget: QGraphicsWidget) -> None: ...
def activeWindow(self) -> QGraphicsWidget: ...
def setPalette(self, palette: QtGui.QPalette) -> None: ...
def palette(self) -> QtGui.QPalette: ...
def setFont(self, font: QtGui.QFont) -> None: ...
def font(self) -> QtGui.QFont: ...
def setStyle(self, style: QStyle) -> None: ...
def style(self) -> QStyle: ...
def addWidget(self, widget: QWidget, flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> QGraphicsProxyWidget: ...
def selectionArea(self) -> QtGui.QPainterPath: ...
def setBspTreeDepth(self, depth: int) -> None: ...
def bspTreeDepth(self) -> int: ...
def drawForeground(self, painter: QtGui.QPainter, rect: QtCore.QRectF) -> None: ...
def drawBackground(self, painter: QtGui.QPainter, rect: QtCore.QRectF) -> None: ...
def inputMethodEvent(self, event: QtGui.QInputMethodEvent) -> None: ...
def wheelEvent(self, event: 'QGraphicsSceneWheelEvent') -> None: ...
def mouseDoubleClickEvent(self, event: 'QGraphicsSceneMouseEvent') -> None: ...
def mouseReleaseEvent(self, event: 'QGraphicsSceneMouseEvent') -> None: ...
def mouseMoveEvent(self, event: 'QGraphicsSceneMouseEvent') -> None: ...
def mousePressEvent(self, event: 'QGraphicsSceneMouseEvent') -> None: ...
def keyReleaseEvent(self, event: QtGui.QKeyEvent) -> None: ...
def keyPressEvent(self, event: QtGui.QKeyEvent) -> None: ...
def helpEvent(self, event: 'QGraphicsSceneHelpEvent') -> None: ...
def focusOutEvent(self, event: QtGui.QFocusEvent) -> None: ...
def focusInEvent(self, event: QtGui.QFocusEvent) -> None: ...
def dropEvent(self, event: 'QGraphicsSceneDragDropEvent') -> None: ...
def dragLeaveEvent(self, event: 'QGraphicsSceneDragDropEvent') -> None: ...
def dragMoveEvent(self, event: 'QGraphicsSceneDragDropEvent') -> None: ...
def dragEnterEvent(self, event: 'QGraphicsSceneDragDropEvent') -> None: ...
def contextMenuEvent(self, event: 'QGraphicsSceneContextMenuEvent') -> None: ...
def event(self, event: QtCore.QEvent) -> bool: ...
def selectionChanged(self) -> None: ...
def sceneRectChanged(self, rect: QtCore.QRectF) -> None: ...
def changed(self, region: typing.Any) -> None: ...
def clear(self) -> None: ...
@typing.overload
def invalidate(self, rect: QtCore.QRectF = ..., layers: typing.Union['QGraphicsScene.SceneLayers', 'QGraphicsScene.SceneLayer'] = ...) -> None: ...
@typing.overload
def invalidate(self, x: float, y: float, w: float, h: float, layers: typing.Union['QGraphicsScene.SceneLayers', 'QGraphicsScene.SceneLayer'] = ...) -> None: ...
@typing.overload
def update(self, rect: QtCore.QRectF = ...) -> None: ...
@typing.overload
def update(self, x: float, y: float, w: float, h: float) -> None: ...
def advance(self) -> None: ...
def views(self) -> typing.Any: ...
def inputMethodQuery(self, query: QtCore.Qt.InputMethodQuery) -> typing.Any: ...
def setForegroundBrush(self, brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ...
def foregroundBrush(self) -> QtGui.QBrush: ...
def setBackgroundBrush(self, brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ...
def backgroundBrush(self) -> QtGui.QBrush: ...
def mouseGrabberItem(self) -> QGraphicsItem: ...
def clearFocus(self) -> None: ...
def setFocus(self, focusReason: QtCore.Qt.FocusReason = ...) -> None: ...
def hasFocus(self) -> bool: ...
def setFocusItem(self, item: QGraphicsItem, focusReason: QtCore.Qt.FocusReason = ...) -> None: ...
def focusItem(self) -> QGraphicsItem: ...
def removeItem(self, item: QGraphicsItem) -> None: ...
def addText(self, text: str, font: QtGui.QFont = ...) -> QGraphicsTextItem: ...
def addSimpleText(self, text: str, font: QtGui.QFont = ...) -> QGraphicsSimpleTextItem: ...
@typing.overload
def addRect(self, rect: QtCore.QRectF, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient] = ..., brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient] = ...) -> QGraphicsRectItem: ...
@typing.overload
def addRect(self, x: float, y: float, w: float, h: float, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient] = ..., brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient] = ...) -> QGraphicsRectItem: ...
def addPolygon(self, polygon: QtGui.QPolygonF, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient] = ..., brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient] = ...) -> QGraphicsPolygonItem: ...
def addPixmap(self, pixmap: QtGui.QPixmap) -> QGraphicsPixmapItem: ...
def addPath(self, path: QtGui.QPainterPath, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient] = ..., brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient] = ...) -> QGraphicsPathItem: ...
@typing.overload
def addLine(self, line: QtCore.QLineF, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient] = ...) -> QGraphicsLineItem: ...
@typing.overload
def addLine(self, x1: float, y1: float, x2: float, y2: float, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient] = ...) -> QGraphicsLineItem: ...
@typing.overload
def addEllipse(self, rect: QtCore.QRectF, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient] = ..., brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient] = ...) -> QGraphicsEllipseItem: ...
@typing.overload
def addEllipse(self, x: float, y: float, w: float, h: float, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient] = ..., brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient] = ...) -> QGraphicsEllipseItem: ...
def addItem(self, item: QGraphicsItem) -> None: ...
def destroyItemGroup(self, group: QGraphicsItemGroup) -> None: ...
def createItemGroup(self, items: typing.Iterable[QGraphicsItem]) -> QGraphicsItemGroup: ...
def clearSelection(self) -> None: ...
@typing.overload
def setSelectionArea(self, path: QtGui.QPainterPath, deviceTransform: QtGui.QTransform) -> None: ...
@typing.overload
def setSelectionArea(self, path: QtGui.QPainterPath, mode: QtCore.Qt.ItemSelectionMode = ..., deviceTransform: QtGui.QTransform = ...) -> None: ...
@typing.overload
def setSelectionArea(self, path: QtGui.QPainterPath, selectionOperation: QtCore.Qt.ItemSelectionOperation, mode: QtCore.Qt.ItemSelectionMode = ..., deviceTransform: QtGui.QTransform = ...) -> None: ...
def selectedItems(self) -> typing.List[QGraphicsItem]: ...
def collidingItems(self, item: QGraphicsItem, mode: QtCore.Qt.ItemSelectionMode = ...) -> typing.List[QGraphicsItem]: ...
@typing.overload
def items(self, order: QtCore.Qt.SortOrder = ...) -> typing.List[QGraphicsItem]: ...
@typing.overload
def items(self, pos: typing.Union[QtCore.QPointF, QtCore.QPoint], mode: QtCore.Qt.ItemSelectionMode = ..., order: QtCore.Qt.SortOrder = ..., deviceTransform: QtGui.QTransform = ...) -> typing.List[QGraphicsItem]: ...
@typing.overload
def items(self, rect: QtCore.QRectF, mode: QtCore.Qt.ItemSelectionMode = ..., order: QtCore.Qt.SortOrder = ..., deviceTransform: QtGui.QTransform = ...) -> typing.List[QGraphicsItem]: ...
@typing.overload
def items(self, polygon: QtGui.QPolygonF, mode: QtCore.Qt.ItemSelectionMode = ..., order: QtCore.Qt.SortOrder = ..., deviceTransform: QtGui.QTransform = ...) -> typing.List[QGraphicsItem]: ...
@typing.overload
def items(self, path: QtGui.QPainterPath, mode: QtCore.Qt.ItemSelectionMode = ..., order: QtCore.Qt.SortOrder = ..., deviceTransform: QtGui.QTransform = ...) -> typing.List[QGraphicsItem]: ...
@typing.overload
def items(self, x: float, y: float, w: float, h: float, mode: QtCore.Qt.ItemSelectionMode, order: QtCore.Qt.SortOrder, deviceTransform: QtGui.QTransform = ...) -> typing.List[QGraphicsItem]: ...
def itemsBoundingRect(self) -> QtCore.QRectF: ...
def setItemIndexMethod(self, method: 'QGraphicsScene.ItemIndexMethod') -> None: ...
def itemIndexMethod(self) -> 'QGraphicsScene.ItemIndexMethod': ...
def render(self, painter: QtGui.QPainter, target: QtCore.QRectF = ..., source: QtCore.QRectF = ..., mode: QtCore.Qt.AspectRatioMode = ...) -> None: ...
@typing.overload
def setSceneRect(self, rect: QtCore.QRectF) -> None: ...
@typing.overload
def setSceneRect(self, x: float, y: float, w: float, h: float) -> None: ...
def height(self) -> float: ...
def width(self) -> float: ...
def sceneRect(self) -> QtCore.QRectF: ...
class QGraphicsSceneEvent(QtCore.QEvent):
def widget(self) -> QWidget: ...
class QGraphicsSceneMouseEvent(QGraphicsSceneEvent):
def flags(self) -> QtCore.Qt.MouseEventFlags: ...
def source(self) -> QtCore.Qt.MouseEventSource: ...
def modifiers(self) -> QtCore.Qt.KeyboardModifiers: ...
def button(self) -> QtCore.Qt.MouseButton: ...
def buttons(self) -> QtCore.Qt.MouseButtons: ...
def lastScreenPos(self) -> QtCore.QPoint: ...
def lastScenePos(self) -> QtCore.QPointF: ...
def lastPos(self) -> QtCore.QPointF: ...
def buttonDownScreenPos(self, button: QtCore.Qt.MouseButton) -> QtCore.QPoint: ...
def buttonDownScenePos(self, button: QtCore.Qt.MouseButton) -> QtCore.QPointF: ...
def buttonDownPos(self, button: QtCore.Qt.MouseButton) -> QtCore.QPointF: ...
def screenPos(self) -> QtCore.QPoint: ...
def scenePos(self) -> QtCore.QPointF: ...
def pos(self) -> QtCore.QPointF: ...
class QGraphicsSceneWheelEvent(QGraphicsSceneEvent):
def orientation(self) -> QtCore.Qt.Orientation: ...
def delta(self) -> int: ...
def modifiers(self) -> QtCore.Qt.KeyboardModifiers: ...
def buttons(self) -> QtCore.Qt.MouseButtons: ...
def screenPos(self) -> QtCore.QPoint: ...
def scenePos(self) -> QtCore.QPointF: ...
def pos(self) -> QtCore.QPointF: ...
class QGraphicsSceneContextMenuEvent(QGraphicsSceneEvent):
class Reason(int): ...
Mouse = ... # type: 'QGraphicsSceneContextMenuEvent.Reason'
Keyboard = ... # type: 'QGraphicsSceneContextMenuEvent.Reason'
Other = ... # type: 'QGraphicsSceneContextMenuEvent.Reason'
def reason(self) -> 'QGraphicsSceneContextMenuEvent.Reason': ...
def modifiers(self) -> QtCore.Qt.KeyboardModifiers: ...
def screenPos(self) -> QtCore.QPoint: ...
def scenePos(self) -> QtCore.QPointF: ...
def pos(self) -> QtCore.QPointF: ...
class QGraphicsSceneHoverEvent(QGraphicsSceneEvent):
def modifiers(self) -> QtCore.Qt.KeyboardModifiers: ...
def lastScreenPos(self) -> QtCore.QPoint: ...
def lastScenePos(self) -> QtCore.QPointF: ...
def lastPos(self) -> QtCore.QPointF: ...
def screenPos(self) -> QtCore.QPoint: ...
def scenePos(self) -> QtCore.QPointF: ...
def pos(self) -> QtCore.QPointF: ...
class QGraphicsSceneHelpEvent(QGraphicsSceneEvent):
def screenPos(self) -> QtCore.QPoint: ...
def scenePos(self) -> QtCore.QPointF: ...
class QGraphicsSceneDragDropEvent(QGraphicsSceneEvent):
def mimeData(self) -> QtCore.QMimeData: ...
def source(self) -> QWidget: ...
def setDropAction(self, action: QtCore.Qt.DropAction) -> None: ...
def dropAction(self) -> QtCore.Qt.DropAction: ...
def acceptProposedAction(self) -> None: ...
def proposedAction(self) -> QtCore.Qt.DropAction: ...
def possibleActions(self) -> QtCore.Qt.DropActions: ...
def modifiers(self) -> QtCore.Qt.KeyboardModifiers: ...
def buttons(self) -> QtCore.Qt.MouseButtons: ...
def screenPos(self) -> QtCore.QPoint: ...
def scenePos(self) -> QtCore.QPointF: ...
def pos(self) -> QtCore.QPointF: ...
class QGraphicsSceneResizeEvent(QGraphicsSceneEvent):
def __init__(self) -> None: ...
def newSize(self) -> QtCore.QSizeF: ...
def oldSize(self) -> QtCore.QSizeF: ...
class QGraphicsSceneMoveEvent(QGraphicsSceneEvent):
def __init__(self) -> None: ...
def newPos(self) -> QtCore.QPointF: ...
def oldPos(self) -> QtCore.QPointF: ...
class QGraphicsTransform(QtCore.QObject):
def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ...
def update(self) -> None: ...
def applyTo(self, matrix: QtGui.QMatrix4x4) -> None: ...
class QGraphicsScale(QGraphicsTransform):
def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ...
def zScaleChanged(self) -> None: ...
def yScaleChanged(self) -> None: ...
def xScaleChanged(self) -> None: ...
def scaleChanged(self) -> None: ...
def originChanged(self) -> None: ...
def applyTo(self, matrix: QtGui.QMatrix4x4) -> None: ...
def setZScale(self, a0: float) -> None: ...
def zScale(self) -> float: ...
def setYScale(self, a0: float) -> None: ...
def yScale(self) -> float: ...
def setXScale(self, a0: float) -> None: ...
def xScale(self) -> float: ...
def setOrigin(self, point: QtGui.QVector3D) -> None: ...
def origin(self) -> QtGui.QVector3D: ...
class QGraphicsRotation(QGraphicsTransform):
def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ...
def axisChanged(self) -> None: ...
def angleChanged(self) -> None: ...
def originChanged(self) -> None: ...
def applyTo(self, matrix: QtGui.QMatrix4x4) -> None: ...
@typing.overload
def setAxis(self, axis: QtGui.QVector3D) -> None: ...
@typing.overload
def setAxis(self, axis: QtCore.Qt.Axis) -> None: ...
def axis(self) -> QtGui.QVector3D: ...
def setAngle(self, a0: float) -> None: ...
def angle(self) -> float: ...
def setOrigin(self, point: QtGui.QVector3D) -> None: ...
def origin(self) -> QtGui.QVector3D: ...
class QGraphicsView(QAbstractScrollArea):
class OptimizationFlag(int): ...
DontClipPainter = ... # type: 'QGraphicsView.OptimizationFlag'
DontSavePainterState = ... # type: 'QGraphicsView.OptimizationFlag'
DontAdjustForAntialiasing = ... # type: 'QGraphicsView.OptimizationFlag'
class ViewportUpdateMode(int): ...
FullViewportUpdate = ... # type: 'QGraphicsView.ViewportUpdateMode'
MinimalViewportUpdate = ... # type: 'QGraphicsView.ViewportUpdateMode'
SmartViewportUpdate = ... # type: 'QGraphicsView.ViewportUpdateMode'
BoundingRectViewportUpdate = ... # type: 'QGraphicsView.ViewportUpdateMode'
NoViewportUpdate = ... # type: 'QGraphicsView.ViewportUpdateMode'
class ViewportAnchor(int): ...
NoAnchor = ... # type: 'QGraphicsView.ViewportAnchor'
AnchorViewCenter = ... # type: 'QGraphicsView.ViewportAnchor'
AnchorUnderMouse = ... # type: 'QGraphicsView.ViewportAnchor'
class DragMode(int): ...
NoDrag = ... # type: 'QGraphicsView.DragMode'
ScrollHandDrag = ... # type: 'QGraphicsView.DragMode'
RubberBandDrag = ... # type: 'QGraphicsView.DragMode'
class CacheModeFlag(int): ...
CacheNone = ... # type: 'QGraphicsView.CacheModeFlag'
CacheBackground = ... # type: 'QGraphicsView.CacheModeFlag'
class CacheMode(sip.simplewrapper):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, f: typing.Union['QGraphicsView.CacheMode', 'QGraphicsView.CacheModeFlag']) -> None: ...
@typing.overload
def __init__(self, a0: 'QGraphicsView.CacheMode') -> None: ...
def __hash__(self) -> int: ...
def __bool__(self) -> int: ...
def __invert__(self) -> 'QGraphicsView.CacheMode': ...
def __int__(self) -> int: ...
class OptimizationFlags(sip.simplewrapper):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, f: typing.Union['QGraphicsView.OptimizationFlags', 'QGraphicsView.OptimizationFlag']) -> None: ...
@typing.overload
def __init__(self, a0: 'QGraphicsView.OptimizationFlags') -> None: ...
def __hash__(self) -> int: ...
def __bool__(self) -> int: ...
def __invert__(self) -> 'QGraphicsView.OptimizationFlags': ...
def __int__(self) -> int: ...
@typing.overload
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
@typing.overload
def __init__(self, scene: QGraphicsScene, parent: typing.Optional[QWidget] = ...) -> None: ...
def rubberBandChanged(self, viewportRect: QtCore.QRect, fromScenePoint: typing.Union[QtCore.QPointF, QtCore.QPoint], toScenePoint: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ...
def rubberBandRect(self) -> QtCore.QRect: ...
def isTransformed(self) -> bool: ...
def resetTransform(self) -> None: ...
def setTransform(self, matrix: QtGui.QTransform, combine: bool = ...) -> None: ...
def viewportTransform(self) -> QtGui.QTransform: ...
def transform(self) -> QtGui.QTransform: ...
def setRubberBandSelectionMode(self, mode: QtCore.Qt.ItemSelectionMode) -> None: ...
def rubberBandSelectionMode(self) -> QtCore.Qt.ItemSelectionMode: ...
def setOptimizationFlags(self, flags: typing.Union['QGraphicsView.OptimizationFlags', 'QGraphicsView.OptimizationFlag']) -> None: ...
def setOptimizationFlag(self, flag: 'QGraphicsView.OptimizationFlag', enabled: bool = ...) -> None: ...
def optimizationFlags(self) -> 'QGraphicsView.OptimizationFlags': ...
def setViewportUpdateMode(self, mode: 'QGraphicsView.ViewportUpdateMode') -> None: ...
def viewportUpdateMode(self) -> 'QGraphicsView.ViewportUpdateMode': ...
def drawForeground(self, painter: QtGui.QPainter, rect: QtCore.QRectF) -> None: ...
def drawBackground(self, painter: QtGui.QPainter, rect: QtCore.QRectF) -> None: ...
def inputMethodEvent(self, event: QtGui.QInputMethodEvent) -> None: ...
def showEvent(self, event: QtGui.QShowEvent) -> None: ...
def scrollContentsBy(self, dx: int, dy: int) -> None: ...
def resizeEvent(self, event: QtGui.QResizeEvent) -> None: ...
def paintEvent(self, event: QtGui.QPaintEvent) -> None: ...
def wheelEvent(self, event: QtGui.QWheelEvent) -> None: ...
def mouseReleaseEvent(self, event: QtGui.QMouseEvent) -> None: ...
def mouseMoveEvent(self, event: QtGui.QMouseEvent) -> None: ...
def mousePressEvent(self, event: QtGui.QMouseEvent) -> None: ...
def mouseDoubleClickEvent(self, event: QtGui.QMouseEvent) -> None: ...
def keyReleaseEvent(self, event: QtGui.QKeyEvent) -> None: ...
def keyPressEvent(self, event: QtGui.QKeyEvent) -> None: ...
def focusNextPrevChild(self, next: bool) -> bool: ...
def focusOutEvent(self, event: QtGui.QFocusEvent) -> None: ...
def focusInEvent(self, event: QtGui.QFocusEvent) -> None: ...
def dropEvent(self, event: QtGui.QDropEvent) -> None: ...
def dragMoveEvent(self, event: QtGui.QDragMoveEvent) -> None: ...
def dragLeaveEvent(self, event: QtGui.QDragLeaveEvent) -> None: ...
def dragEnterEvent(self, event: QtGui.QDragEnterEvent) -> None: ...
def contextMenuEvent(self, event: QtGui.QContextMenuEvent) -> None: ...
def viewportEvent(self, event: QtCore.QEvent) -> bool: ...
def event(self, event: QtCore.QEvent) -> bool: ...
def setupViewport(self, widget: QWidget) -> None: ...
def updateSceneRect(self, rect: QtCore.QRectF) -> None: ...
def updateScene(self, rects: typing.Iterable[QtCore.QRectF]) -> None: ...
def invalidateScene(self, rect: QtCore.QRectF = ..., layers: typing.Union[QGraphicsScene.SceneLayers, QGraphicsScene.SceneLayer] = ...) -> None: ...
def setForegroundBrush(self, brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ...
def foregroundBrush(self) -> QtGui.QBrush: ...
def setBackgroundBrush(self, brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ...
def backgroundBrush(self) -> QtGui.QBrush: ...
def inputMethodQuery(self, query: QtCore.Qt.InputMethodQuery) -> typing.Any: ...
@typing.overload
def mapFromScene(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> QtCore.QPoint: ...
@typing.overload
def mapFromScene(self, rect: QtCore.QRectF) -> QtGui.QPolygon: ...
@typing.overload
def mapFromScene(self, polygon: QtGui.QPolygonF) -> QtGui.QPolygon: ...
@typing.overload
def mapFromScene(self, path: QtGui.QPainterPath) -> QtGui.QPainterPath: ...
@typing.overload
def mapFromScene(self, ax: float, ay: float) -> QtCore.QPoint: ...
@typing.overload
def mapFromScene(self, ax: float, ay: float, w: float, h: float) -> QtGui.QPolygon: ...
@typing.overload
def mapToScene(self, point: QtCore.QPoint) -> QtCore.QPointF: ...
@typing.overload
def mapToScene(self, rect: QtCore.QRect) -> QtGui.QPolygonF: ...
@typing.overload
def mapToScene(self, polygon: QtGui.QPolygon) -> QtGui.QPolygonF: ...
@typing.overload
def mapToScene(self, path: QtGui.QPainterPath) -> QtGui.QPainterPath: ...
@typing.overload
def mapToScene(self, ax: int, ay: int) -> QtCore.QPointF: ...
@typing.overload
def mapToScene(self, ax: int, ay: int, w: int, h: int) -> QtGui.QPolygonF: ...
@typing.overload
def itemAt(self, pos: QtCore.QPoint) -> QGraphicsItem: ...
@typing.overload
def itemAt(self, ax: int, ay: int) -> QGraphicsItem: ...
@typing.overload
def items(self) -> typing.List[QGraphicsItem]: ...
@typing.overload
def items(self, pos: QtCore.QPoint) -> typing.List[QGraphicsItem]: ...
@typing.overload
def items(self, x: int, y: int) -> typing.List[QGraphicsItem]: ...
@typing.overload
def items(self, x: int, y: int, w: int, h: int, mode: QtCore.Qt.ItemSelectionMode = ...) -> typing.List[QGraphicsItem]: ...
@typing.overload
def items(self, rect: QtCore.QRect, mode: QtCore.Qt.ItemSelectionMode = ...) -> typing.List[QGraphicsItem]: ...
@typing.overload
def items(self, polygon: QtGui.QPolygon, mode: QtCore.Qt.ItemSelectionMode = ...) -> typing.List[QGraphicsItem]: ...
@typing.overload
def items(self, path: QtGui.QPainterPath, mode: QtCore.Qt.ItemSelectionMode = ...) -> typing.List[QGraphicsItem]: ...
def render(self, painter: QtGui.QPainter, target: QtCore.QRectF = ..., source: QtCore.QRect = ..., mode: QtCore.Qt.AspectRatioMode = ...) -> None: ...
@typing.overload
def fitInView(self, rect: QtCore.QRectF, mode: QtCore.Qt.AspectRatioMode = ...) -> None: ...
@typing.overload
def fitInView(self, item: QGraphicsItem, mode: QtCore.Qt.AspectRatioMode = ...) -> None: ...
@typing.overload
def fitInView(self, x: float, y: float, w: float, h: float, mode: QtCore.Qt.AspectRatioMode = ...) -> None: ...
@typing.overload
def ensureVisible(self, rect: QtCore.QRectF, xMargin: int = ..., yMargin: int = ...) -> None: ...
@typing.overload
def ensureVisible(self, item: QGraphicsItem, xMargin: int = ..., yMargin: int = ...) -> None: ...
@typing.overload
def ensureVisible(self, x: float, y: float, w: float, h: float, xMargin: int = ..., yMargin: int = ...) -> None: ...
@typing.overload
def centerOn(self, pos: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ...
@typing.overload
def centerOn(self, item: QGraphicsItem) -> None: ...
@typing.overload
def centerOn(self, ax: float, ay: float) -> None: ...
def translate(self, dx: float, dy: float) -> None: ...
def shear(self, sh: float, sv: float) -> None: ...
def scale(self, sx: float, sy: float) -> None: ...
def rotate(self, angle: float) -> None: ...
@typing.overload
def setSceneRect(self, rect: QtCore.QRectF) -> None: ...
@typing.overload
def setSceneRect(self, ax: float, ay: float, aw: float, ah: float) -> None: ...
def sceneRect(self) -> QtCore.QRectF: ...
def setScene(self, scene: QGraphicsScene) -> None: ...
def scene(self) -> QGraphicsScene: ...
def setInteractive(self, allowed: bool) -> None: ...
def isInteractive(self) -> bool: ...
def resetCachedContent(self) -> None: ...
def setCacheMode(self, mode: typing.Union['QGraphicsView.CacheMode', 'QGraphicsView.CacheModeFlag']) -> None: ...
def cacheMode(self) -> 'QGraphicsView.CacheMode': ...
def setDragMode(self, mode: 'QGraphicsView.DragMode') -> None: ...
def dragMode(self) -> 'QGraphicsView.DragMode': ...
def setResizeAnchor(self, anchor: 'QGraphicsView.ViewportAnchor') -> None: ...
def resizeAnchor(self) -> 'QGraphicsView.ViewportAnchor': ...
def setTransformationAnchor(self, anchor: 'QGraphicsView.ViewportAnchor') -> None: ...
def transformationAnchor(self) -> 'QGraphicsView.ViewportAnchor': ...
def setAlignment(self, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ...
def alignment(self) -> QtCore.Qt.Alignment: ...
def setRenderHints(self, hints: typing.Union[QtGui.QPainter.RenderHints, QtGui.QPainter.RenderHint]) -> None: ...
def setRenderHint(self, hint: QtGui.QPainter.RenderHint, on: bool = ...) -> None: ...
def renderHints(self) -> QtGui.QPainter.RenderHints: ...
def sizeHint(self) -> QtCore.QSize: ...
class QGridLayout(QLayout):
@typing.overload
def __init__(self, parent: QWidget) -> None: ...
@typing.overload
def __init__(self) -> None: ...
def itemAtPosition(self, row: int, column: int) -> QLayoutItem: ...
def spacing(self) -> int: ...
def setSpacing(self, spacing: int) -> None: ...
def verticalSpacing(self) -> int: ...
def setVerticalSpacing(self, spacing: int) -> None: ...
def horizontalSpacing(self) -> int: ...
def setHorizontalSpacing(self, spacing: int) -> None: ...
def getItemPosition(self, idx: int) -> typing.Tuple[int, int, int, int]: ...
def setDefaultPositioning(self, n: int, orient: QtCore.Qt.Orientation) -> None: ...
@typing.overload
def addItem(self, item: QLayoutItem, row: int, column: int, rowSpan: int = ..., columnSpan: int = ..., alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag] = ...) -> None: ...
@typing.overload
def addItem(self, a0: QLayoutItem) -> None: ...
def setGeometry(self, a0: QtCore.QRect) -> None: ...
def count(self) -> int: ...
def takeAt(self, a0: int) -> QLayoutItem: ...
def itemAt(self, a0: int) -> QLayoutItem: ...
def originCorner(self) -> QtCore.Qt.Corner: ...
def setOriginCorner(self, a0: QtCore.Qt.Corner) -> None: ...
@typing.overload
def addLayout(self, a0: QLayout, row: int, column: int, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag] = ...) -> None: ...
@typing.overload
def addLayout(self, a0: QLayout, row: int, column: int, rowSpan: int, columnSpan: int, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag] = ...) -> None: ...
@typing.overload
def addWidget(self, w: QWidget) -> None: ...
@typing.overload
def addWidget(self, a0: QWidget, row: int, column: int, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag] = ...) -> None: ...
@typing.overload
def addWidget(self, a0: QWidget, row: int, column: int, rowSpan: int, columnSpan: int, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag] = ...) -> None: ...
def invalidate(self) -> None: ...
def expandingDirections(self) -> QtCore.Qt.Orientations: ...
def minimumHeightForWidth(self, a0: int) -> int: ...
def heightForWidth(self, a0: int) -> int: ...
def hasHeightForWidth(self) -> bool: ...
def cellRect(self, row: int, column: int) -> QtCore.QRect: ...
def rowCount(self) -> int: ...
def columnCount(self) -> int: ...
def columnMinimumWidth(self, column: int) -> int: ...
def rowMinimumHeight(self, row: int) -> int: ...
def setColumnMinimumWidth(self, column: int, minSize: int) -> None: ...
def setRowMinimumHeight(self, row: int, minSize: int) -> None: ...
def columnStretch(self, column: int) -> int: ...
def rowStretch(self, row: int) -> int: ...
def setColumnStretch(self, column: int, stretch: int) -> None: ...
def setRowStretch(self, row: int, stretch: int) -> None: ...
def maximumSize(self) -> QtCore.QSize: ...
def minimumSize(self) -> QtCore.QSize: ...
def sizeHint(self) -> QtCore.QSize: ...
class QGroupBox(QWidget):
@typing.overload
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
@typing.overload
def __init__(self, title: str, parent: typing.Optional[QWidget] = ...) -> None: ...
def mouseReleaseEvent(self, event: QtGui.QMouseEvent) -> None: ...
def mouseMoveEvent(self, event: QtGui.QMouseEvent) -> None: ...
def mousePressEvent(self, event: QtGui.QMouseEvent) -> None: ...
def changeEvent(self, a0: QtCore.QEvent) -> None: ...
def focusInEvent(self, a0: QtGui.QFocusEvent) -> None: ...
def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ...
def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ...
def childEvent(self, a0: QtCore.QChildEvent) -> None: ...
def event(self, a0: QtCore.QEvent) -> bool: ...
def initStyleOption(self, option: 'QStyleOptionGroupBox') -> None: ...
def toggled(self, a0: bool) -> None: ...
def clicked(self, checked: bool = ...) -> None: ...
def setChecked(self, b: bool) -> None: ...
def isChecked(self) -> bool: ...
def setCheckable(self, b: bool) -> None: ...
def isCheckable(self) -> bool: ...
def setFlat(self, b: bool) -> None: ...
def isFlat(self) -> bool: ...
def minimumSizeHint(self) -> QtCore.QSize: ...
def setAlignment(self, a0: int) -> None: ...
def alignment(self) -> QtCore.Qt.Alignment: ...
def setTitle(self, a0: str) -> None: ...
def title(self) -> str: ...
class QHeaderView(QAbstractItemView):
class ResizeMode(int): ...
Interactive = ... # type: 'QHeaderView.ResizeMode'
Fixed = ... # type: 'QHeaderView.ResizeMode'
Stretch = ... # type: 'QHeaderView.ResizeMode'
ResizeToContents = ... # type: 'QHeaderView.ResizeMode'
Custom = ... # type: 'QHeaderView.ResizeMode'
def __init__(self, orientation: QtCore.Qt.Orientation, parent: typing.Optional[QWidget] = ...) -> None: ...
def resetDefaultSectionSize(self) -> None: ...
def setMaximumSectionSize(self, size: int) -> None: ...
def maximumSectionSize(self) -> int: ...
def resizeContentsPrecision(self) -> int: ...
def setResizeContentsPrecision(self, precision: int) -> None: ...
def setVisible(self, v: bool) -> None: ...
@typing.overload
def setSectionResizeMode(self, logicalIndex: int, mode: 'QHeaderView.ResizeMode') -> None: ...
@typing.overload
def setSectionResizeMode(self, mode: 'QHeaderView.ResizeMode') -> None: ...
def sectionResizeMode(self, logicalIndex: int) -> 'QHeaderView.ResizeMode': ...
def sectionsClickable(self) -> bool: ...
def setSectionsClickable(self, clickable: bool) -> None: ...
def sectionsMovable(self) -> bool: ...
def setSectionsMovable(self, movable: bool) -> None: ...
def initStyleOption(self, option: 'QStyleOptionHeader') -> None: ...
def sortIndicatorChanged(self, logicalIndex: int, order: QtCore.Qt.SortOrder) -> None: ...
def sectionEntered(self, logicalIndex: int) -> None: ...
def setOffsetToLastSection(self) -> None: ...
def reset(self) -> None: ...
def restoreState(self, state: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> bool: ...
def saveState(self) -> QtCore.QByteArray: ...
def setMinimumSectionSize(self, size: int) -> None: ...
def minimumSectionSize(self) -> int: ...
def setCascadingSectionResizes(self, enable: bool) -> None: ...
def cascadingSectionResizes(self) -> bool: ...
def swapSections(self, first: int, second: int) -> None: ...
def sectionsHidden(self) -> bool: ...
def setDefaultAlignment(self, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ...
def defaultAlignment(self) -> QtCore.Qt.Alignment: ...
def setDefaultSectionSize(self, size: int) -> None: ...
def defaultSectionSize(self) -> int: ...
def hiddenSectionCount(self) -> int: ...
def showSection(self, alogicalIndex: int) -> None: ...
def hideSection(self, alogicalIndex: int) -> None: ...
def visualRegionForSelection(self, selection: QtCore.QItemSelection) -> QtGui.QRegion: ...
def setSelection(self, rect: QtCore.QRect, flags: typing.Union[QtCore.QItemSelectionModel.SelectionFlags, QtCore.QItemSelectionModel.SelectionFlag]) -> None: ...
def moveCursor(self, a0: QAbstractItemView.CursorAction, a1: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier]) -> QtCore.QModelIndex: ...
def isIndexHidden(self, index: QtCore.QModelIndex) -> bool: ...
def indexAt(self, p: QtCore.QPoint) -> QtCore.QModelIndex: ...
def scrollTo(self, index: QtCore.QModelIndex, hint: QAbstractItemView.ScrollHint) -> None: ...
def visualRect(self, index: QtCore.QModelIndex) -> QtCore.QRect: ...
def rowsInserted(self, parent: QtCore.QModelIndex, start: int, end: int) -> None: ...
def dataChanged(self, topLeft: QtCore.QModelIndex, bottomRight: QtCore.QModelIndex, roles: typing.Iterable[int] = ...) -> None: ...
def scrollContentsBy(self, dx: int, dy: int) -> None: ...
def updateGeometries(self) -> None: ...
def verticalOffset(self) -> int: ...
def horizontalOffset(self) -> int: ...
def sectionSizeFromContents(self, logicalIndex: int) -> QtCore.QSize: ...
def paintSection(self, painter: QtGui.QPainter, rect: QtCore.QRect, logicalIndex: int) -> None: ...
def mouseDoubleClickEvent(self, e: QtGui.QMouseEvent) -> None: ...
def mouseReleaseEvent(self, e: QtGui.QMouseEvent) -> None: ...
def mouseMoveEvent(self, e: QtGui.QMouseEvent) -> None: ...
def mousePressEvent(self, e: QtGui.QMouseEvent) -> None: ...
def paintEvent(self, e: QtGui.QPaintEvent) -> None: ...
def viewportEvent(self, e: QtCore.QEvent) -> bool: ...
def event(self, e: QtCore.QEvent) -> bool: ...
def currentChanged(self, current: QtCore.QModelIndex, old: QtCore.QModelIndex) -> None: ...
@typing.overload
def initializeSections(self) -> None: ...
@typing.overload
def initializeSections(self, start: int, end: int) -> None: ...
def initialize(self) -> None: ...
def sectionsAboutToBeRemoved(self, parent: QtCore.QModelIndex, logicalFirst: int, logicalLast: int) -> None: ...
def sectionsInserted(self, parent: QtCore.QModelIndex, logicalFirst: int, logicalLast: int) -> None: ...
@typing.overload
def resizeSections(self) -> None: ...
@typing.overload
def resizeSections(self, mode: 'QHeaderView.ResizeMode') -> None: ...
def updateSection(self, logicalIndex: int) -> None: ...
def sectionHandleDoubleClicked(self, logicalIndex: int) -> None: ...
def sectionCountChanged(self, oldCount: int, newCount: int) -> None: ...
def sectionDoubleClicked(self, logicalIndex: int) -> None: ...
def sectionClicked(self, logicalIndex: int) -> None: ...
def sectionPressed(self, logicalIndex: int) -> None: ...
def sectionResized(self, logicalIndex: int, oldSize: int, newSize: int) -> None: ...
def sectionMoved(self, logicalIndex: int, oldVisualIndex: int, newVisualIndex: int) -> None: ...
def geometriesChanged(self) -> None: ...
def setOffsetToSectionPosition(self, visualIndex: int) -> None: ...
def headerDataChanged(self, orientation: QtCore.Qt.Orientation, logicalFirst: int, logicalLast: int) -> None: ...
def setOffset(self, offset: int) -> None: ...
def sectionsMoved(self) -> bool: ...
def setStretchLastSection(self, stretch: bool) -> None: ...
def stretchLastSection(self) -> bool: ...
def sortIndicatorOrder(self) -> QtCore.Qt.SortOrder: ...
def sortIndicatorSection(self) -> int: ...
def setSortIndicator(self, logicalIndex: int, order: QtCore.Qt.SortOrder) -> None: ...
def isSortIndicatorShown(self) -> bool: ...
def setSortIndicatorShown(self, show: bool) -> None: ...
def stretchSectionCount(self) -> int: ...
def highlightSections(self) -> bool: ...
def setHighlightSections(self, highlight: bool) -> None: ...
def logicalIndex(self, visualIndex: int) -> int: ...
def visualIndex(self, logicalIndex: int) -> int: ...
def __len__(self) -> int: ...
def count(self) -> int: ...
def setSectionHidden(self, logicalIndex: int, hide: bool) -> None: ...
def isSectionHidden(self, logicalIndex: int) -> bool: ...
def resizeSection(self, logicalIndex: int, size: int) -> None: ...
def moveSection(self, from_: int, to: int) -> None: ...
def sectionViewportPosition(self, logicalIndex: int) -> int: ...
def sectionPosition(self, logicalIndex: int) -> int: ...
def sectionSize(self, logicalIndex: int) -> int: ...
@typing.overload
def logicalIndexAt(self, position: int) -> int: ...
@typing.overload
def logicalIndexAt(self, ax: int, ay: int) -> int: ...
@typing.overload
def logicalIndexAt(self, apos: QtCore.QPoint) -> int: ...
def visualIndexAt(self, position: int) -> int: ...
def sectionSizeHint(self, logicalIndex: int) -> int: ...
def sizeHint(self) -> QtCore.QSize: ...
def length(self) -> int: ...
def offset(self) -> int: ...
def orientation(self) -> QtCore.Qt.Orientation: ...
def setModel(self, model: QtCore.QAbstractItemModel) -> None: ...
class QInputDialog(QDialog):
class InputMode(int): ...
TextInput = ... # type: 'QInputDialog.InputMode'
IntInput = ... # type: 'QInputDialog.InputMode'
DoubleInput = ... # type: 'QInputDialog.InputMode'
class InputDialogOption(int): ...
NoButtons = ... # type: 'QInputDialog.InputDialogOption'
UseListViewForComboBoxItems = ... # type: 'QInputDialog.InputDialogOption'
UsePlainTextEditForTextInput = ... # type: 'QInputDialog.InputDialogOption'
class InputDialogOptions(sip.simplewrapper):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, f: typing.Union['QInputDialog.InputDialogOptions', 'QInputDialog.InputDialogOption']) -> None: ...
@typing.overload
def __init__(self, a0: 'QInputDialog.InputDialogOptions') -> None: ...
def __hash__(self) -> int: ...
def __bool__(self) -> int: ...
def __invert__(self) -> 'QInputDialog.InputDialogOptions': ...
def __int__(self) -> int: ...
def __init__(self, parent: typing.Optional[QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ...
def doubleValueSelected(self, value: float) -> None: ...
def doubleValueChanged(self, value: float) -> None: ...
def intValueSelected(self, value: int) -> None: ...
def intValueChanged(self, value: int) -> None: ...
def textValueSelected(self, text: str) -> None: ...
def textValueChanged(self, text: str) -> None: ...
def done(self, result: int) -> None: ...
def setVisible(self, visible: bool) -> None: ...
def sizeHint(self) -> QtCore.QSize: ...
def minimumSizeHint(self) -> QtCore.QSize: ...
@typing.overload
def open(self) -> None: ...
@typing.overload
def open(self, slot: PYQT_SLOT) -> None: ...
def cancelButtonText(self) -> str: ...
def setCancelButtonText(self, text: str) -> None: ...
def okButtonText(self) -> str: ...
def setOkButtonText(self, text: str) -> None: ...
def doubleDecimals(self) -> int: ...
def setDoubleDecimals(self, decimals: int) -> None: ...
def setDoubleRange(self, min: float, max: float) -> None: ...
def doubleMaximum(self) -> float: ...
def setDoubleMaximum(self, max: float) -> None: ...
def doubleMinimum(self) -> float: ...
def setDoubleMinimum(self, min: float) -> None: ...
def doubleValue(self) -> float: ...
def setDoubleValue(self, value: float) -> None: ...
def intStep(self) -> int: ...
def setIntStep(self, step: int) -> None: ...
def setIntRange(self, min: int, max: int) -> None: ...
def intMaximum(self) -> int: ...
def setIntMaximum(self, max: int) -> None: ...
def intMinimum(self) -> int: ...
def setIntMinimum(self, min: int) -> None: ...
def intValue(self) -> int: ...
def setIntValue(self, value: int) -> None: ...
def comboBoxItems(self) -> typing.List[str]: ...
def setComboBoxItems(self, items: typing.Iterable[str]) -> None: ...
def isComboBoxEditable(self) -> bool: ...
def setComboBoxEditable(self, editable: bool) -> None: ...
def textEchoMode(self) -> 'QLineEdit.EchoMode': ...
def setTextEchoMode(self, mode: 'QLineEdit.EchoMode') -> None: ...
def textValue(self) -> str: ...
def setTextValue(self, text: str) -> None: ...
def options(self) -> 'QInputDialog.InputDialogOptions': ...
def setOptions(self, options: typing.Union['QInputDialog.InputDialogOptions', 'QInputDialog.InputDialogOption']) -> None: ...
def testOption(self, option: 'QInputDialog.InputDialogOption') -> bool: ...
def setOption(self, option: 'QInputDialog.InputDialogOption', on: bool = ...) -> None: ...
def labelText(self) -> str: ...
def setLabelText(self, text: str) -> None: ...
def inputMode(self) -> 'QInputDialog.InputMode': ...
def setInputMode(self, mode: 'QInputDialog.InputMode') -> None: ...
@staticmethod
def getMultiLineText(parent: QWidget, title: str, label: str, text: str = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ..., inputMethodHints: typing.Union[QtCore.Qt.InputMethodHints, QtCore.Qt.InputMethodHint] = ...) -> typing.Tuple[str, bool]: ...
@staticmethod
def getItem(parent: QWidget, title: str, label: str, items: typing.Iterable[str], current: int = ..., editable: bool = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ..., inputMethodHints: typing.Union[QtCore.Qt.InputMethodHints, QtCore.Qt.InputMethodHint] = ...) -> typing.Tuple[str, bool]: ...
@staticmethod
def getDouble(parent: QWidget, title: str, label: str, value: float = ..., min: float = ..., max: float = ..., decimals: int = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> typing.Tuple[float, bool]: ...
@staticmethod
def getInt(parent: QWidget, title: str, label: str, value: int = ..., min: int = ..., max: int = ..., step: int = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> typing.Tuple[int, bool]: ...
@staticmethod
def getText(parent: QWidget, title: str, label: str, echo: 'QLineEdit.EchoMode' = ..., text: str = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ..., inputMethodHints: typing.Union[QtCore.Qt.InputMethodHints, QtCore.Qt.InputMethodHint] = ...) -> typing.Tuple[str, bool]: ...
class QItemDelegate(QAbstractItemDelegate):
def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ...
def editorEvent(self, event: QtCore.QEvent, model: QtCore.QAbstractItemModel, option: 'QStyleOptionViewItem', index: QtCore.QModelIndex) -> bool: ...
def eventFilter(self, object: QtCore.QObject, event: QtCore.QEvent) -> bool: ...
def drawFocus(self, painter: QtGui.QPainter, option: 'QStyleOptionViewItem', rect: QtCore.QRect) -> None: ...
def drawDisplay(self, painter: QtGui.QPainter, option: 'QStyleOptionViewItem', rect: QtCore.QRect, text: str) -> None: ...
def drawDecoration(self, painter: QtGui.QPainter, option: 'QStyleOptionViewItem', rect: QtCore.QRect, pixmap: QtGui.QPixmap) -> None: ...
def drawCheck(self, painter: QtGui.QPainter, option: 'QStyleOptionViewItem', rect: QtCore.QRect, state: QtCore.Qt.CheckState) -> None: ...
def drawBackground(self, painter: QtGui.QPainter, option: 'QStyleOptionViewItem', index: QtCore.QModelIndex) -> None: ...
def setClipping(self, clip: bool) -> None: ...
def hasClipping(self) -> bool: ...
def setItemEditorFactory(self, factory: 'QItemEditorFactory') -> None: ...
def itemEditorFactory(self) -> 'QItemEditorFactory': ...
def updateEditorGeometry(self, editor: QWidget, option: 'QStyleOptionViewItem', index: QtCore.QModelIndex) -> None: ...
def setModelData(self, editor: QWidget, model: QtCore.QAbstractItemModel, index: QtCore.QModelIndex) -> None: ...
def setEditorData(self, editor: QWidget, index: QtCore.QModelIndex) -> None: ...
def createEditor(self, parent: QWidget, option: 'QStyleOptionViewItem', index: QtCore.QModelIndex) -> QWidget: ...
def sizeHint(self, option: 'QStyleOptionViewItem', index: QtCore.QModelIndex) -> QtCore.QSize: ...
def paint(self, painter: QtGui.QPainter, option: 'QStyleOptionViewItem', index: QtCore.QModelIndex) -> None: ...
class QItemEditorCreatorBase(sip.wrapper):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, a0: 'QItemEditorCreatorBase') -> None: ...
def valuePropertyName(self) -> QtCore.QByteArray: ...
def createWidget(self, parent: QWidget) -> QWidget: ...
class QItemEditorFactory(sip.wrapper):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, a0: 'QItemEditorFactory') -> None: ...
@staticmethod
def setDefaultFactory(factory: 'QItemEditorFactory') -> None: ...
@staticmethod
def defaultFactory() -> 'QItemEditorFactory': ...
def registerEditor(self, userType: int, creator: QItemEditorCreatorBase) -> None: ...
def valuePropertyName(self, userType: int) -> QtCore.QByteArray: ...
def createEditor(self, userType: int, parent: QWidget) -> QWidget: ...
class QKeyEventTransition(QtCore.QEventTransition):
@typing.overload
def __init__(self, sourceState: typing.Optional[QtCore.QState] = ...) -> None: ...
@typing.overload
def __init__(self, object: QtCore.QObject, type: QtCore.QEvent.Type, key: int, sourceState: typing.Optional[QtCore.QState] = ...) -> None: ...
def eventTest(self, event: QtCore.QEvent) -> bool: ...
def onTransition(self, event: QtCore.QEvent) -> None: ...
def setModifierMask(self, modifiers: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier]) -> None: ...
def modifierMask(self) -> QtCore.Qt.KeyboardModifiers: ...
def setKey(self, key: int) -> None: ...
def key(self) -> int: ...
class QKeySequenceEdit(QWidget):
@typing.overload
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
@typing.overload
def __init__(self, keySequence: typing.Union[QtGui.QKeySequence, QtGui.QKeySequence.StandardKey, str, int], parent: typing.Optional[QWidget] = ...) -> None: ...
def timerEvent(self, a0: QtCore.QTimerEvent) -> None: ...
def keyReleaseEvent(self, a0: QtGui.QKeyEvent) -> None: ...
def keyPressEvent(self, a0: QtGui.QKeyEvent) -> None: ...
def event(self, a0: QtCore.QEvent) -> bool: ...
def keySequenceChanged(self, keySequence: typing.Union[QtGui.QKeySequence, QtGui.QKeySequence.StandardKey, str, int]) -> None: ...
def editingFinished(self) -> None: ...
def clear(self) -> None: ...
def setKeySequence(self, keySequence: typing.Union[QtGui.QKeySequence, QtGui.QKeySequence.StandardKey, str, int]) -> None: ...
def keySequence(self) -> QtGui.QKeySequence: ...
class QLabel(QFrame):
@typing.overload
def __init__(self, parent: typing.Optional[QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ...
@typing.overload
def __init__(self, text: str, parent: typing.Optional[QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ...
def selectionStart(self) -> int: ...
def selectedText(self) -> str: ...
def hasSelectedText(self) -> bool: ...
def setSelection(self, a0: int, a1: int) -> None: ...
def focusNextPrevChild(self, next: bool) -> bool: ...
def focusOutEvent(self, ev: QtGui.QFocusEvent) -> None: ...
def focusInEvent(self, ev: QtGui.QFocusEvent) -> None: ...
def contextMenuEvent(self, ev: QtGui.QContextMenuEvent) -> None: ...
def mouseReleaseEvent(self, ev: QtGui.QMouseEvent) -> None: ...
def mouseMoveEvent(self, ev: QtGui.QMouseEvent) -> None: ...
def mousePressEvent(self, ev: QtGui.QMouseEvent) -> None: ...
def keyPressEvent(self, ev: QtGui.QKeyEvent) -> None: ...
def changeEvent(self, a0: QtCore.QEvent) -> None: ...
def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ...
def event(self, e: QtCore.QEvent) -> bool: ...
def linkHovered(self, link: str) -> None: ...
def linkActivated(self, link: str) -> None: ...
def setText(self, a0: str) -> None: ...
def setPixmap(self, a0: QtGui.QPixmap) -> None: ...
def setPicture(self, a0: QtGui.QPicture) -> None: ...
@typing.overload
def setNum(self, a0: float) -> None: ...
@typing.overload
def setNum(self, a0: int) -> None: ...
def setMovie(self, movie: QtGui.QMovie) -> None: ...
def clear(self) -> None: ...
def setOpenExternalLinks(self, open: bool) -> None: ...
def textInteractionFlags(self) -> QtCore.Qt.TextInteractionFlags: ...
def setTextInteractionFlags(self, flags: typing.Union[QtCore.Qt.TextInteractionFlags, QtCore.Qt.TextInteractionFlag]) -> None: ...
def openExternalLinks(self) -> bool: ...
def heightForWidth(self, a0: int) -> int: ...
def buddy(self) -> QWidget: ...
def setBuddy(self, a0: QWidget) -> None: ...
def minimumSizeHint(self) -> QtCore.QSize: ...
def sizeHint(self) -> QtCore.QSize: ...
def setScaledContents(self, a0: bool) -> None: ...
def hasScaledContents(self) -> bool: ...
def setMargin(self, a0: int) -> None: ...
def margin(self) -> int: ...
def setIndent(self, a0: int) -> None: ...
def indent(self) -> int: ...
def wordWrap(self) -> bool: ...
def setWordWrap(self, on: bool) -> None: ...
def setAlignment(self, a0: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ...
def alignment(self) -> QtCore.Qt.Alignment: ...
def setTextFormat(self, a0: QtCore.Qt.TextFormat) -> None: ...
def textFormat(self) -> QtCore.Qt.TextFormat: ...
def movie(self) -> QtGui.QMovie: ...
def picture(self) -> QtGui.QPicture: ...
def pixmap(self) -> QtGui.QPixmap: ...
def text(self) -> str: ...
class QSpacerItem(QLayoutItem):
@typing.overload
def __init__(self, w: int, h: int, hPolicy: 'QSizePolicy.Policy' = ..., vPolicy: 'QSizePolicy.Policy' = ...) -> None: ...
@typing.overload
def __init__(self, a0: 'QSpacerItem') -> None: ...
def sizePolicy(self) -> 'QSizePolicy': ...
def spacerItem(self) -> 'QSpacerItem': ...
def geometry(self) -> QtCore.QRect: ...
def setGeometry(self, a0: QtCore.QRect) -> None: ...
def isEmpty(self) -> bool: ...
def expandingDirections(self) -> QtCore.Qt.Orientations: ...
def maximumSize(self) -> QtCore.QSize: ...
def minimumSize(self) -> QtCore.QSize: ...
def sizeHint(self) -> QtCore.QSize: ...
def changeSize(self, w: int, h: int, hPolicy: 'QSizePolicy.Policy' = ..., vPolicy: 'QSizePolicy.Policy' = ...) -> None: ...
class QWidgetItem(QLayoutItem):
def __init__(self, w: QWidget) -> None: ...
def controlTypes(self) -> 'QSizePolicy.ControlTypes': ...
def heightForWidth(self, a0: int) -> int: ...
def hasHeightForWidth(self) -> bool: ...
def widget(self) -> QWidget: ...
def geometry(self) -> QtCore.QRect: ...
def setGeometry(self, a0: QtCore.QRect) -> None: ...
def isEmpty(self) -> bool: ...
def expandingDirections(self) -> QtCore.Qt.Orientations: ...
def maximumSize(self) -> QtCore.QSize: ...
def minimumSize(self) -> QtCore.QSize: ...
def sizeHint(self) -> QtCore.QSize: ...
class QLCDNumber(QFrame):
class SegmentStyle(int): ...
Outline = ... # type: 'QLCDNumber.SegmentStyle'
Filled = ... # type: 'QLCDNumber.SegmentStyle'
Flat = ... # type: 'QLCDNumber.SegmentStyle'
class Mode(int): ...
Hex = ... # type: 'QLCDNumber.Mode'
Dec = ... # type: 'QLCDNumber.Mode'
Oct = ... # type: 'QLCDNumber.Mode'
Bin = ... # type: 'QLCDNumber.Mode'
@typing.overload
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
@typing.overload
def __init__(self, numDigits: int, parent: typing.Optional[QWidget] = ...) -> None: ...
def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ...
def event(self, e: QtCore.QEvent) -> bool: ...
def overflow(self) -> None: ...
def setSmallDecimalPoint(self, a0: bool) -> None: ...
def setBinMode(self) -> None: ...
def setOctMode(self) -> None: ...
def setDecMode(self) -> None: ...
def setHexMode(self) -> None: ...
@typing.overload
def display(self, str: str) -> None: ...
@typing.overload
def display(self, num: float) -> None: ...
@typing.overload
def display(self, num: int) -> None: ...
def sizeHint(self) -> QtCore.QSize: ...
def intValue(self) -> int: ...
def value(self) -> float: ...
def setSegmentStyle(self, a0: 'QLCDNumber.SegmentStyle') -> None: ...
def segmentStyle(self) -> 'QLCDNumber.SegmentStyle': ...
def setMode(self, a0: 'QLCDNumber.Mode') -> None: ...
def mode(self) -> 'QLCDNumber.Mode': ...
@typing.overload
def checkOverflow(self, num: float) -> bool: ...
@typing.overload
def checkOverflow(self, num: int) -> bool: ...
def setNumDigits(self, nDigits: int) -> None: ...
def setDigitCount(self, nDigits: int) -> None: ...
def digitCount(self) -> int: ...
def smallDecimalPoint(self) -> bool: ...
class QLineEdit(QWidget):
class ActionPosition(int): ...
LeadingPosition = ... # type: 'QLineEdit.ActionPosition'
TrailingPosition = ... # type: 'QLineEdit.ActionPosition'
class EchoMode(int): ...
Normal = ... # type: 'QLineEdit.EchoMode'
NoEcho = ... # type: 'QLineEdit.EchoMode'
Password = ... # type: 'QLineEdit.EchoMode'
PasswordEchoOnEdit = ... # type: 'QLineEdit.EchoMode'
@typing.overload
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
@typing.overload
def __init__(self, contents: str, parent: typing.Optional[QWidget] = ...) -> None: ...
@typing.overload
def addAction(self, action: QAction) -> None: ...
@typing.overload
def addAction(self, action: QAction, position: 'QLineEdit.ActionPosition') -> None: ...
@typing.overload
def addAction(self, icon: QtGui.QIcon, position: 'QLineEdit.ActionPosition') -> QAction: ...
def isClearButtonEnabled(self) -> bool: ...
def setClearButtonEnabled(self, enable: bool) -> None: ...
def cursorMoveStyle(self) -> QtCore.Qt.CursorMoveStyle: ...
def setCursorMoveStyle(self, style: QtCore.Qt.CursorMoveStyle) -> None: ...
def setPlaceholderText(self, a0: str) -> None: ...
def placeholderText(self) -> str: ...
def textMargins(self) -> QtCore.QMargins: ...
def getTextMargins(self) -> typing.Tuple[int, int, int, int]: ...
@typing.overload
def setTextMargins(self, left: int, top: int, right: int, bottom: int) -> None: ...
@typing.overload
def setTextMargins(self, margins: QtCore.QMargins) -> None: ...
def completer(self) -> QCompleter: ...
def setCompleter(self, completer: QCompleter) -> None: ...
def event(self, a0: QtCore.QEvent) -> bool: ...
@typing.overload
def inputMethodQuery(self, a0: QtCore.Qt.InputMethodQuery) -> typing.Any: ...
@typing.overload
def inputMethodQuery(self, property: QtCore.Qt.InputMethodQuery, argument: typing.Any) -> typing.Any: ...
def cursorRect(self) -> QtCore.QRect: ...
def inputMethodEvent(self, a0: QtGui.QInputMethodEvent) -> None: ...
def contextMenuEvent(self, a0: QtGui.QContextMenuEvent) -> None: ...
def changeEvent(self, a0: QtCore.QEvent) -> None: ...
def dropEvent(self, a0: QtGui.QDropEvent) -> None: ...
def dragLeaveEvent(self, e: QtGui.QDragLeaveEvent) -> None: ...
def dragMoveEvent(self, e: QtGui.QDragMoveEvent) -> None: ...
def dragEnterEvent(self, a0: QtGui.QDragEnterEvent) -> None: ...
def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ...
def focusOutEvent(self, a0: QtGui.QFocusEvent) -> None: ...
def focusInEvent(self, a0: QtGui.QFocusEvent) -> None: ...
def keyPressEvent(self, a0: QtGui.QKeyEvent) -> None: ...
def mouseDoubleClickEvent(self, a0: QtGui.QMouseEvent) -> None: ...
def mouseReleaseEvent(self, a0: QtGui.QMouseEvent) -> None: ...
def mouseMoveEvent(self, a0: QtGui.QMouseEvent) -> None: ...
def mousePressEvent(self, a0: QtGui.QMouseEvent) -> None: ...
def initStyleOption(self, option: 'QStyleOptionFrame') -> None: ...
def selectionChanged(self) -> None: ...
def editingFinished(self) -> None: ...
def returnPressed(self) -> None: ...
def cursorPositionChanged(self, a0: int, a1: int) -> None: ...
def textEdited(self, a0: str) -> None: ...
def textChanged(self, a0: str) -> None: ...
def createStandardContextMenu(self) -> 'QMenu': ...
def insert(self, a0: str) -> None: ...
def deselect(self) -> None: ...
def paste(self) -> None: ...
def copy(self) -> None: ...
def cut(self) -> None: ...
def redo(self) -> None: ...
def undo(self) -> None: ...
def selectAll(self) -> None: ...
def clear(self) -> None: ...
def setText(self, a0: str) -> None: ...
def hasAcceptableInput(self) -> bool: ...
def setInputMask(self, inputMask: str) -> None: ...
def inputMask(self) -> str: ...
def dragEnabled(self) -> bool: ...
def setDragEnabled(self, b: bool) -> None: ...
def isRedoAvailable(self) -> bool: ...
def isUndoAvailable(self) -> bool: ...
def selectionStart(self) -> int: ...
def selectedText(self) -> str: ...
def hasSelectedText(self) -> bool: ...
def setSelection(self, a0: int, a1: int) -> None: ...
def setModified(self, a0: bool) -> None: ...
def isModified(self) -> bool: ...
def end(self, mark: bool) -> None: ...
def home(self, mark: bool) -> None: ...
def del_(self) -> None: ...
def backspace(self) -> None: ...
def cursorWordBackward(self, mark: bool) -> None: ...
def cursorWordForward(self, mark: bool) -> None: ...
def cursorBackward(self, mark: bool, steps: int = ...) -> None: ...
def cursorForward(self, mark: bool, steps: int = ...) -> None: ...
def alignment(self) -> QtCore.Qt.Alignment: ...
def setAlignment(self, flag: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ...
def cursorPositionAt(self, pos: QtCore.QPoint) -> int: ...
def setCursorPosition(self, a0: int) -> None: ...
def cursorPosition(self) -> int: ...
def minimumSizeHint(self) -> QtCore.QSize: ...
def sizeHint(self) -> QtCore.QSize: ...
def validator(self) -> QtGui.QValidator: ...
def setValidator(self, a0: QtGui.QValidator) -> None: ...
def setReadOnly(self, a0: bool) -> None: ...
def isReadOnly(self) -> bool: ...
def setEchoMode(self, a0: 'QLineEdit.EchoMode') -> None: ...
def echoMode(self) -> 'QLineEdit.EchoMode': ...
def hasFrame(self) -> bool: ...
def setFrame(self, a0: bool) -> None: ...
def setMaxLength(self, a0: int) -> None: ...
def maxLength(self) -> int: ...
def displayText(self) -> str: ...
def text(self) -> str: ...
class QListView(QAbstractItemView):
class ViewMode(int): ...
ListMode = ... # type: 'QListView.ViewMode'
IconMode = ... # type: 'QListView.ViewMode'
class LayoutMode(int): ...
SinglePass = ... # type: 'QListView.LayoutMode'
Batched = ... # type: 'QListView.LayoutMode'
class ResizeMode(int): ...
Fixed = ... # type: 'QListView.ResizeMode'
Adjust = ... # type: 'QListView.ResizeMode'
class Flow(int): ...
LeftToRight = ... # type: 'QListView.Flow'
TopToBottom = ... # type: 'QListView.Flow'
class Movement(int): ...
Static = ... # type: 'QListView.Movement'
Free = ... # type: 'QListView.Movement'
Snap = ... # type: 'QListView.Movement'
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
def currentChanged(self, current: QtCore.QModelIndex, previous: QtCore.QModelIndex) -> None: ...
def selectionChanged(self, selected: QtCore.QItemSelection, deselected: QtCore.QItemSelection) -> None: ...
def isSelectionRectVisible(self) -> bool: ...
def setSelectionRectVisible(self, show: bool) -> None: ...
def wordWrap(self) -> bool: ...
def setWordWrap(self, on: bool) -> None: ...
def batchSize(self) -> int: ...
def setBatchSize(self, batchSize: int) -> None: ...
def viewportSizeHint(self) -> QtCore.QSize: ...
def isIndexHidden(self, index: QtCore.QModelIndex) -> bool: ...
def updateGeometries(self) -> None: ...
def selectedIndexes(self) -> typing.Any: ...
def visualRegionForSelection(self, selection: QtCore.QItemSelection) -> QtGui.QRegion: ...
def setSelection(self, rect: QtCore.QRect, command: typing.Union[QtCore.QItemSelectionModel.SelectionFlags, QtCore.QItemSelectionModel.SelectionFlag]) -> None: ...
def setPositionForIndex(self, position: QtCore.QPoint, index: QtCore.QModelIndex) -> None: ...
def rectForIndex(self, index: QtCore.QModelIndex) -> QtCore.QRect: ...
def moveCursor(self, cursorAction: QAbstractItemView.CursorAction, modifiers: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier]) -> QtCore.QModelIndex: ...
def verticalOffset(self) -> int: ...
def horizontalOffset(self) -> int: ...
def paintEvent(self, e: QtGui.QPaintEvent) -> None: ...
def viewOptions(self) -> 'QStyleOptionViewItem': ...
def startDrag(self, supportedActions: typing.Union[QtCore.Qt.DropActions, QtCore.Qt.DropAction]) -> None: ...
def wheelEvent(self, e: QtGui.QWheelEvent) -> None: ...
def dropEvent(self, e: QtGui.QDropEvent) -> None: ...
def dragLeaveEvent(self, e: QtGui.QDragLeaveEvent) -> None: ...
def dragMoveEvent(self, e: QtGui.QDragMoveEvent) -> None: ...
def resizeEvent(self, e: QtGui.QResizeEvent) -> None: ...
def timerEvent(self, e: QtCore.QTimerEvent) -> None: ...
def mouseReleaseEvent(self, e: QtGui.QMouseEvent) -> None: ...
def mouseMoveEvent(self, e: QtGui.QMouseEvent) -> None: ...
def event(self, e: QtCore.QEvent) -> bool: ...
def rowsAboutToBeRemoved(self, parent: QtCore.QModelIndex, start: int, end: int) -> None: ...
def rowsInserted(self, parent: QtCore.QModelIndex, start: int, end: int) -> None: ...
def dataChanged(self, topLeft: QtCore.QModelIndex, bottomRight: QtCore.QModelIndex, roles: typing.Iterable[int] = ...) -> None: ...
def scrollContentsBy(self, dx: int, dy: int) -> None: ...
def indexesMoved(self, indexes: typing.Any) -> None: ...
def setRootIndex(self, index: QtCore.QModelIndex) -> None: ...
def reset(self) -> None: ...
def indexAt(self, p: QtCore.QPoint) -> QtCore.QModelIndex: ...
def scrollTo(self, index: QtCore.QModelIndex, hint: QAbstractItemView.ScrollHint = ...) -> None: ...
def visualRect(self, index: QtCore.QModelIndex) -> QtCore.QRect: ...
def uniformItemSizes(self) -> bool: ...
def setUniformItemSizes(self, enable: bool) -> None: ...
def modelColumn(self) -> int: ...
def setModelColumn(self, column: int) -> None: ...
def setRowHidden(self, row: int, hide: bool) -> None: ...
def isRowHidden(self, row: int) -> bool: ...
def clearPropertyFlags(self) -> None: ...
def viewMode(self) -> 'QListView.ViewMode': ...
def setViewMode(self, mode: 'QListView.ViewMode') -> None: ...
def gridSize(self) -> QtCore.QSize: ...
def setGridSize(self, size: QtCore.QSize) -> None: ...
def spacing(self) -> int: ...
def setSpacing(self, space: int) -> None: ...
def layoutMode(self) -> 'QListView.LayoutMode': ...
def setLayoutMode(self, mode: 'QListView.LayoutMode') -> None: ...
def resizeMode(self) -> 'QListView.ResizeMode': ...
def setResizeMode(self, mode: 'QListView.ResizeMode') -> None: ...
def isWrapping(self) -> bool: ...
def setWrapping(self, enable: bool) -> None: ...
def flow(self) -> 'QListView.Flow': ...
def setFlow(self, flow: 'QListView.Flow') -> None: ...
def movement(self) -> 'QListView.Movement': ...
def setMovement(self, movement: 'QListView.Movement') -> None: ...
class QListWidgetItem(sip.wrapper):
class ItemType(int): ...
Type = ... # type: 'QListWidgetItem.ItemType'
UserType = ... # type: 'QListWidgetItem.ItemType'
@typing.overload
def __init__(self, parent: typing.Optional['QListWidget'] = ..., type: int = ...) -> None: ...
@typing.overload
def __init__(self, text: str, parent: typing.Optional['QListWidget'] = ..., type: int = ...) -> None: ...
@typing.overload
def __init__(self, icon: QtGui.QIcon, text: str, parent: typing.Optional['QListWidget'] = ..., type: int = ...) -> None: ...
@typing.overload
def __init__(self, other: 'QListWidgetItem') -> None: ...
def isHidden(self) -> bool: ...
def setHidden(self, ahide: bool) -> None: ...
def isSelected(self) -> bool: ...
def setSelected(self, aselect: bool) -> None: ...
def setForeground(self, brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ...
def foreground(self) -> QtGui.QBrush: ...
def setBackground(self, brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ...
def background(self) -> QtGui.QBrush: ...
def setFont(self, afont: QtGui.QFont) -> None: ...
def setWhatsThis(self, awhatsThis: str) -> None: ...
def setToolTip(self, atoolTip: str) -> None: ...
def setStatusTip(self, astatusTip: str) -> None: ...
def setIcon(self, aicon: QtGui.QIcon) -> None: ...
def setText(self, atext: str) -> None: ...
def setFlags(self, aflags: typing.Union[QtCore.Qt.ItemFlags, QtCore.Qt.ItemFlag]) -> None: ...
def type(self) -> int: ...
def write(self, out: QtCore.QDataStream) -> None: ...
def read(self, in_: QtCore.QDataStream) -> None: ...
def setData(self, role: int, value: typing.Any) -> None: ...
def data(self, role: int) -> typing.Any: ...
def setSizeHint(self, size: QtCore.QSize) -> None: ...
def sizeHint(self) -> QtCore.QSize: ...
def setCheckState(self, state: QtCore.Qt.CheckState) -> None: ...
def checkState(self) -> QtCore.Qt.CheckState: ...
def setTextAlignment(self, alignment: int) -> None: ...
def textAlignment(self) -> int: ...
def font(self) -> QtGui.QFont: ...
def whatsThis(self) -> str: ...
def toolTip(self) -> str: ...
def statusTip(self) -> str: ...
def icon(self) -> QtGui.QIcon: ...
def text(self) -> str: ...
def flags(self) -> QtCore.Qt.ItemFlags: ...
def listWidget(self) -> 'QListWidget': ...
def clone(self) -> 'QListWidgetItem': ...
class QListWidget(QListView):
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
def setSelectionModel(self, selectionModel: QtCore.QItemSelectionModel) -> None: ...
def removeItemWidget(self, aItem: QListWidgetItem) -> None: ...
def dropEvent(self, event: QtGui.QDropEvent) -> None: ...
def isSortingEnabled(self) -> bool: ...
def setSortingEnabled(self, enable: bool) -> None: ...
def event(self, e: QtCore.QEvent) -> bool: ...
def itemFromIndex(self, index: QtCore.QModelIndex) -> QListWidgetItem: ...
def indexFromItem(self, item: QListWidgetItem) -> QtCore.QModelIndex: ...
def items(self, data: QtCore.QMimeData) -> typing.List[QListWidgetItem]: ...
def supportedDropActions(self) -> QtCore.Qt.DropActions: ...
def dropMimeData(self, index: int, data: QtCore.QMimeData, action: QtCore.Qt.DropAction) -> bool: ...
def mimeData(self, items: typing.Iterable[QListWidgetItem]) -> QtCore.QMimeData: ...
def mimeTypes(self) -> typing.List[str]: ...
def itemSelectionChanged(self) -> None: ...
def currentRowChanged(self, currentRow: int) -> None: ...
def currentTextChanged(self, currentText: str) -> None: ...
def currentItemChanged(self, current: QListWidgetItem, previous: QListWidgetItem) -> None: ...
def itemChanged(self, item: QListWidgetItem) -> None: ...
def itemEntered(self, item: QListWidgetItem) -> None: ...
def itemActivated(self, item: QListWidgetItem) -> None: ...
def itemDoubleClicked(self, item: QListWidgetItem) -> None: ...
def itemClicked(self, item: QListWidgetItem) -> None: ...
def itemPressed(self, item: QListWidgetItem) -> None: ...
def scrollToItem(self, item: QListWidgetItem, hint: QAbstractItemView.ScrollHint = ...) -> None: ...
def clear(self) -> None: ...
def findItems(self, text: str, flags: typing.Union[QtCore.Qt.MatchFlags, QtCore.Qt.MatchFlag]) -> typing.List[QListWidgetItem]: ...
def selectedItems(self) -> typing.Any: ...
def closePersistentEditor(self, item: QListWidgetItem) -> None: ...
def openPersistentEditor(self, item: QListWidgetItem) -> None: ...
def editItem(self, item: QListWidgetItem) -> None: ...
def sortItems(self, order: QtCore.Qt.SortOrder = ...) -> None: ...
def visualItemRect(self, item: QListWidgetItem) -> QtCore.QRect: ...
def setItemWidget(self, item: QListWidgetItem, widget: QWidget) -> None: ...
def itemWidget(self, item: QListWidgetItem) -> QWidget: ...
@typing.overload
def itemAt(self, p: QtCore.QPoint) -> QListWidgetItem: ...
@typing.overload
def itemAt(self, ax: int, ay: int) -> QListWidgetItem: ...
@typing.overload
def setCurrentRow(self, row: int) -> None: ...
@typing.overload
def setCurrentRow(self, row: int, command: typing.Union[QtCore.QItemSelectionModel.SelectionFlags, QtCore.QItemSelectionModel.SelectionFlag]) -> None: ...
def currentRow(self) -> int: ...
@typing.overload
def setCurrentItem(self, item: QListWidgetItem) -> None: ...
@typing.overload
def setCurrentItem(self, item: QListWidgetItem, command: typing.Union[QtCore.QItemSelectionModel.SelectionFlags, QtCore.QItemSelectionModel.SelectionFlag]) -> None: ...
def currentItem(self) -> QListWidgetItem: ...
def __len__(self) -> int: ...
def count(self) -> int: ...
def takeItem(self, row: int) -> QListWidgetItem: ...
def addItems(self, labels: typing.Iterable[str]) -> None: ...
@typing.overload
def addItem(self, aitem: QListWidgetItem) -> None: ...
@typing.overload
def addItem(self, label: str) -> None: ...
def insertItems(self, row: int, labels: typing.Iterable[str]) -> None: ...
@typing.overload
def insertItem(self, row: int, item: QListWidgetItem) -> None: ...
@typing.overload
def insertItem(self, row: int, label: str) -> None: ...
def row(self, item: QListWidgetItem) -> int: ...
def item(self, row: int) -> QListWidgetItem: ...
class QMainWindow(QWidget):
class DockOption(int): ...
AnimatedDocks = ... # type: 'QMainWindow.DockOption'
AllowNestedDocks = ... # type: 'QMainWindow.DockOption'
AllowTabbedDocks = ... # type: 'QMainWindow.DockOption'
ForceTabbedDocks = ... # type: 'QMainWindow.DockOption'
VerticalTabs = ... # type: 'QMainWindow.DockOption'
GroupedDragging = ... # type: 'QMainWindow.DockOption'
class DockOptions(sip.simplewrapper):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, f: typing.Union['QMainWindow.DockOptions', 'QMainWindow.DockOption']) -> None: ...
@typing.overload
def __init__(self, a0: 'QMainWindow.DockOptions') -> None: ...
def __hash__(self) -> int: ...
def __bool__(self) -> int: ...
def __invert__(self) -> 'QMainWindow.DockOptions': ...
def __int__(self) -> int: ...
def __init__(self, parent: typing.Optional[QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ...
def resizeDocks(self, docks: typing.Iterable[QDockWidget], sizes: typing.Iterable[int], orientation: QtCore.Qt.Orientation) -> None: ...
def takeCentralWidget(self) -> QWidget: ...
def tabifiedDockWidgets(self, dockwidget: QDockWidget) -> typing.Any: ...
def setTabPosition(self, areas: typing.Union[QtCore.Qt.DockWidgetAreas, QtCore.Qt.DockWidgetArea], tabPosition: 'QTabWidget.TabPosition') -> None: ...
def tabPosition(self, area: QtCore.Qt.DockWidgetArea) -> 'QTabWidget.TabPosition': ...
def setTabShape(self, tabShape: 'QTabWidget.TabShape') -> None: ...
def tabShape(self) -> 'QTabWidget.TabShape': ...
def setDocumentMode(self, enabled: bool) -> None: ...
def documentMode(self) -> bool: ...
def restoreDockWidget(self, dockwidget: QDockWidget) -> bool: ...
def unifiedTitleAndToolBarOnMac(self) -> bool: ...
def setUnifiedTitleAndToolBarOnMac(self, set: bool) -> None: ...
def toolBarBreak(self, toolbar: 'QToolBar') -> bool: ...
def removeToolBarBreak(self, before: 'QToolBar') -> None: ...
def dockOptions(self) -> 'QMainWindow.DockOptions': ...
def setDockOptions(self, options: typing.Union['QMainWindow.DockOptions', 'QMainWindow.DockOption']) -> None: ...
def tabifyDockWidget(self, first: QDockWidget, second: QDockWidget) -> None: ...
def setMenuWidget(self, menubar: QWidget) -> None: ...
def menuWidget(self) -> QWidget: ...
def isSeparator(self, pos: QtCore.QPoint) -> bool: ...
def isDockNestingEnabled(self) -> bool: ...
def isAnimated(self) -> bool: ...
def event(self, event: QtCore.QEvent) -> bool: ...
def contextMenuEvent(self, event: QtGui.QContextMenuEvent) -> None: ...
def tabifiedDockWidgetActivated(self, dockWidget: QDockWidget) -> None: ...
def toolButtonStyleChanged(self, toolButtonStyle: QtCore.Qt.ToolButtonStyle) -> None: ...
def iconSizeChanged(self, iconSize: QtCore.QSize) -> None: ...
def setDockNestingEnabled(self, enabled: bool) -> None: ...
def setAnimated(self, enabled: bool) -> None: ...
def createPopupMenu(self) -> 'QMenu': ...
def restoreState(self, state: typing.Union[QtCore.QByteArray, bytes, bytearray], version: int = ...) -> bool: ...
def saveState(self, version: int = ...) -> QtCore.QByteArray: ...
def dockWidgetArea(self, dockwidget: QDockWidget) -> QtCore.Qt.DockWidgetArea: ...
def removeDockWidget(self, dockwidget: QDockWidget) -> None: ...
def splitDockWidget(self, after: QDockWidget, dockwidget: QDockWidget, orientation: QtCore.Qt.Orientation) -> None: ...
@typing.overload
def addDockWidget(self, area: QtCore.Qt.DockWidgetArea, dockwidget: QDockWidget) -> None: ...
@typing.overload
def addDockWidget(self, area: QtCore.Qt.DockWidgetArea, dockwidget: QDockWidget, orientation: QtCore.Qt.Orientation) -> None: ...
def toolBarArea(self, toolbar: 'QToolBar') -> QtCore.Qt.ToolBarArea: ...
def removeToolBar(self, toolbar: 'QToolBar') -> None: ...
def insertToolBar(self, before: 'QToolBar', toolbar: 'QToolBar') -> None: ...
@typing.overload
def addToolBar(self, area: QtCore.Qt.ToolBarArea, toolbar: 'QToolBar') -> None: ...
@typing.overload
def addToolBar(self, toolbar: 'QToolBar') -> None: ...
@typing.overload
def addToolBar(self, title: str) -> 'QToolBar': ...
def insertToolBarBreak(self, before: 'QToolBar') -> None: ...
def addToolBarBreak(self, area: QtCore.Qt.ToolBarArea = ...) -> None: ...
def corner(self, corner: QtCore.Qt.Corner) -> QtCore.Qt.DockWidgetArea: ...
def setCorner(self, corner: QtCore.Qt.Corner, area: QtCore.Qt.DockWidgetArea) -> None: ...
def setCentralWidget(self, widget: QWidget) -> None: ...
def centralWidget(self) -> QWidget: ...
def setStatusBar(self, statusbar: 'QStatusBar') -> None: ...
def statusBar(self) -> 'QStatusBar': ...
def setMenuBar(self, menubar: 'QMenuBar') -> None: ...
def menuBar(self) -> 'QMenuBar': ...
def setToolButtonStyle(self, toolButtonStyle: QtCore.Qt.ToolButtonStyle) -> None: ...
def toolButtonStyle(self) -> QtCore.Qt.ToolButtonStyle: ...
def setIconSize(self, iconSize: QtCore.QSize) -> None: ...
def iconSize(self) -> QtCore.QSize: ...
class QMdiArea(QAbstractScrollArea):
class WindowOrder(int): ...
CreationOrder = ... # type: 'QMdiArea.WindowOrder'
StackingOrder = ... # type: 'QMdiArea.WindowOrder'
ActivationHistoryOrder = ... # type: 'QMdiArea.WindowOrder'
class ViewMode(int): ...
SubWindowView = ... # type: 'QMdiArea.ViewMode'
TabbedView = ... # type: 'QMdiArea.ViewMode'
class AreaOption(int): ...
DontMaximizeSubWindowOnActivation = ... # type: 'QMdiArea.AreaOption'
class AreaOptions(sip.simplewrapper):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, f: typing.Union['QMdiArea.AreaOptions', 'QMdiArea.AreaOption']) -> None: ...
@typing.overload
def __init__(self, a0: 'QMdiArea.AreaOptions') -> None: ...
def __hash__(self) -> int: ...
def __bool__(self) -> int: ...
def __invert__(self) -> 'QMdiArea.AreaOptions': ...
def __int__(self) -> int: ...
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
def tabsMovable(self) -> bool: ...
def setTabsMovable(self, movable: bool) -> None: ...
def tabsClosable(self) -> bool: ...
def setTabsClosable(self, closable: bool) -> None: ...
def setDocumentMode(self, enabled: bool) -> None: ...
def documentMode(self) -> bool: ...
def tabPosition(self) -> 'QTabWidget.TabPosition': ...
def setTabPosition(self, position: 'QTabWidget.TabPosition') -> None: ...
def tabShape(self) -> 'QTabWidget.TabShape': ...
def setTabShape(self, shape: 'QTabWidget.TabShape') -> None: ...
def viewMode(self) -> 'QMdiArea.ViewMode': ...
def setViewMode(self, mode: 'QMdiArea.ViewMode') -> None: ...
def setActivationOrder(self, order: 'QMdiArea.WindowOrder') -> None: ...
def activationOrder(self) -> 'QMdiArea.WindowOrder': ...
def scrollContentsBy(self, dx: int, dy: int) -> None: ...
def viewportEvent(self, event: QtCore.QEvent) -> bool: ...
def showEvent(self, showEvent: QtGui.QShowEvent) -> None: ...
def timerEvent(self, timerEvent: QtCore.QTimerEvent) -> None: ...
def resizeEvent(self, resizeEvent: QtGui.QResizeEvent) -> None: ...
def childEvent(self, childEvent: QtCore.QChildEvent) -> None: ...
def paintEvent(self, paintEvent: QtGui.QPaintEvent) -> None: ...
def eventFilter(self, object: QtCore.QObject, event: QtCore.QEvent) -> bool: ...
def event(self, event: QtCore.QEvent) -> bool: ...
def setupViewport(self, viewport: QWidget) -> None: ...
def activatePreviousSubWindow(self) -> None: ...
def activateNextSubWindow(self) -> None: ...
def closeAllSubWindows(self) -> None: ...
def closeActiveSubWindow(self) -> None: ...
def cascadeSubWindows(self) -> None: ...
def tileSubWindows(self) -> None: ...
def setActiveSubWindow(self, window: 'QMdiSubWindow') -> None: ...
def subWindowActivated(self, a0: 'QMdiSubWindow') -> None: ...
def testOption(self, opton: 'QMdiArea.AreaOption') -> bool: ...
def setOption(self, option: 'QMdiArea.AreaOption', on: bool = ...) -> None: ...
def setBackground(self, background: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ...
def background(self) -> QtGui.QBrush: ...
def removeSubWindow(self, widget: QWidget) -> None: ...
def currentSubWindow(self) -> 'QMdiSubWindow': ...
def subWindowList(self, order: 'QMdiArea.WindowOrder' = ...) -> typing.Any: ...
def addSubWindow(self, widget: QWidget, flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> 'QMdiSubWindow': ...
def activeSubWindow(self) -> 'QMdiSubWindow': ...
def minimumSizeHint(self) -> QtCore.QSize: ...
def sizeHint(self) -> QtCore.QSize: ...
class QMdiSubWindow(QWidget):
class SubWindowOption(int): ...
RubberBandResize = ... # type: 'QMdiSubWindow.SubWindowOption'
RubberBandMove = ... # type: 'QMdiSubWindow.SubWindowOption'
class SubWindowOptions(sip.simplewrapper):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, f: typing.Union['QMdiSubWindow.SubWindowOptions', 'QMdiSubWindow.SubWindowOption']) -> None: ...
@typing.overload
def __init__(self, a0: 'QMdiSubWindow.SubWindowOptions') -> None: ...
def __hash__(self) -> int: ...
def __bool__(self) -> int: ...
def __invert__(self) -> 'QMdiSubWindow.SubWindowOptions': ...
def __int__(self) -> int: ...
def __init__(self, parent: typing.Optional[QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ...
def childEvent(self, childEvent: QtCore.QChildEvent) -> None: ...
def focusOutEvent(self, focusOutEvent: QtGui.QFocusEvent) -> None: ...
def focusInEvent(self, focusInEvent: QtGui.QFocusEvent) -> None: ...
def contextMenuEvent(self, contextMenuEvent: QtGui.QContextMenuEvent) -> None: ...
def keyPressEvent(self, keyEvent: QtGui.QKeyEvent) -> None: ...
def mouseMoveEvent(self, mouseEvent: QtGui.QMouseEvent) -> None: ...
def mouseReleaseEvent(self, mouseEvent: QtGui.QMouseEvent) -> None: ...
def mouseDoubleClickEvent(self, mouseEvent: QtGui.QMouseEvent) -> None: ...
def mousePressEvent(self, mouseEvent: QtGui.QMouseEvent) -> None: ...
def paintEvent(self, paintEvent: QtGui.QPaintEvent) -> None: ...
def moveEvent(self, moveEvent: QtGui.QMoveEvent) -> None: ...
def timerEvent(self, timerEvent: QtCore.QTimerEvent) -> None: ...
def resizeEvent(self, resizeEvent: QtGui.QResizeEvent) -> None: ...
def leaveEvent(self, leaveEvent: QtCore.QEvent) -> None: ...
def closeEvent(self, closeEvent: QtGui.QCloseEvent) -> None: ...
def changeEvent(self, changeEvent: QtCore.QEvent) -> None: ...
def hideEvent(self, hideEvent: QtGui.QHideEvent) -> None: ...
def showEvent(self, showEvent: QtGui.QShowEvent) -> None: ...
def event(self, event: QtCore.QEvent) -> bool: ...
def eventFilter(self, object: QtCore.QObject, event: QtCore.QEvent) -> bool: ...
def showShaded(self) -> None: ...
def showSystemMenu(self) -> None: ...
def aboutToActivate(self) -> None: ...
def windowStateChanged(self, oldState: typing.Union[QtCore.Qt.WindowStates, QtCore.Qt.WindowState], newState: typing.Union[QtCore.Qt.WindowStates, QtCore.Qt.WindowState]) -> None: ...
def mdiArea(self) -> QMdiArea: ...
def systemMenu(self) -> 'QMenu': ...
def setSystemMenu(self, systemMenu: 'QMenu') -> None: ...
def keyboardPageStep(self) -> int: ...
def setKeyboardPageStep(self, step: int) -> None: ...
def keyboardSingleStep(self) -> int: ...
def setKeyboardSingleStep(self, step: int) -> None: ...
def testOption(self, a0: 'QMdiSubWindow.SubWindowOption') -> bool: ...
def setOption(self, option: 'QMdiSubWindow.SubWindowOption', on: bool = ...) -> None: ...
def isShaded(self) -> bool: ...
def widget(self) -> QWidget: ...
def setWidget(self, widget: QWidget) -> None: ...
def minimumSizeHint(self) -> QtCore.QSize: ...
def sizeHint(self) -> QtCore.QSize: ...
class QMenu(QWidget):
@typing.overload
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
@typing.overload
def __init__(self, title: str, parent: typing.Optional[QWidget] = ...) -> None: ...
@typing.overload
def showTearOffMenu(self) -> None: ...
@typing.overload
def showTearOffMenu(self, pos: QtCore.QPoint) -> None: ...
def setToolTipsVisible(self, visible: bool) -> None: ...
def toolTipsVisible(self) -> bool: ...
@typing.overload
def insertSection(self, before: QAction, text: str) -> QAction: ...
@typing.overload
def insertSection(self, before: QAction, icon: QtGui.QIcon, text: str) -> QAction: ...
@typing.overload
def addSection(self, text: str) -> QAction: ...
@typing.overload
def addSection(self, icon: QtGui.QIcon, text: str) -> QAction: ...
def setSeparatorsCollapsible(self, collapse: bool) -> None: ...
def separatorsCollapsible(self) -> bool: ...
def isEmpty(self) -> bool: ...
def focusNextPrevChild(self, next: bool) -> bool: ...
def event(self, a0: QtCore.QEvent) -> bool: ...
def timerEvent(self, a0: QtCore.QTimerEvent) -> None: ...
def actionEvent(self, a0: QtGui.QActionEvent) -> None: ...
def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ...
def hideEvent(self, a0: QtGui.QHideEvent) -> None: ...
def leaveEvent(self, a0: QtCore.QEvent) -> None: ...
def enterEvent(self, a0: QtCore.QEvent) -> None: ...
def wheelEvent(self, a0: QtGui.QWheelEvent) -> None: ...
def mouseMoveEvent(self, a0: QtGui.QMouseEvent) -> None: ...
def mousePressEvent(self, a0: QtGui.QMouseEvent) -> None: ...
def mouseReleaseEvent(self, a0: QtGui.QMouseEvent) -> None: ...
def keyPressEvent(self, a0: QtGui.QKeyEvent) -> None: ...
def changeEvent(self, a0: QtCore.QEvent) -> None: ...
def initStyleOption(self, option: 'QStyleOptionMenuItem', action: QAction) -> None: ...
def columnCount(self) -> int: ...
def triggered(self, action: QAction) -> None: ...
def hovered(self, action: QAction) -> None: ...
def aboutToShow(self) -> None: ...
def aboutToHide(self) -> None: ...
def setNoReplayFor(self, widget: QWidget) -> None: ...
def setIcon(self, icon: QtGui.QIcon) -> None: ...
def icon(self) -> QtGui.QIcon: ...
def setTitle(self, title: str) -> None: ...
def title(self) -> str: ...
def menuAction(self) -> QAction: ...
def actionAt(self, a0: QtCore.QPoint) -> QAction: ...
def actionGeometry(self, a0: QAction) -> QtCore.QRect: ...
def sizeHint(self) -> QtCore.QSize: ...
@typing.overload
def exec(self) -> QAction: ...
@typing.overload
def exec(self, pos: QtCore.QPoint, action: typing.Optional[QAction] = ...) -> QAction: ...
@typing.overload
@staticmethod
def exec(actions: typing.Iterable[QAction], pos: QtCore.QPoint, at: typing.Optional[QAction] = ..., parent: typing.Optional[QWidget] = ...) -> QAction: ...
@typing.overload
def exec_(self) -> QAction: ...
@typing.overload
def exec_(self, p: QtCore.QPoint, action: typing.Optional[QAction] = ...) -> QAction: ...
@typing.overload
@staticmethod
def exec_(actions: typing.Iterable[QAction], pos: QtCore.QPoint, at: typing.Optional[QAction] = ..., parent: typing.Optional[QWidget] = ...) -> QAction: ...
def popup(self, p: QtCore.QPoint, action: typing.Optional[QAction] = ...) -> None: ...
def activeAction(self) -> QAction: ...
def setActiveAction(self, act: QAction) -> None: ...
def defaultAction(self) -> QAction: ...
def setDefaultAction(self, a0: QAction) -> None: ...
def hideTearOffMenu(self) -> None: ...
def isTearOffMenuVisible(self) -> bool: ...
def isTearOffEnabled(self) -> bool: ...
def setTearOffEnabled(self, a0: bool) -> None: ...
def clear(self) -> None: ...
def insertSeparator(self, before: QAction) -> QAction: ...
def insertMenu(self, before: QAction, menu: 'QMenu') -> QAction: ...
def addSeparator(self) -> QAction: ...
@typing.overload
def addMenu(self, menu: 'QMenu') -> QAction: ...
@typing.overload
def addMenu(self, title: str) -> 'QMenu': ...
@typing.overload
def addMenu(self, icon: QtGui.QIcon, title: str) -> 'QMenu': ...
@typing.overload
def addAction(self, action: QAction) -> None: ...
@typing.overload
def addAction(self, text: str) -> QAction: ...
@typing.overload
def addAction(self, icon: QtGui.QIcon, text: str) -> QAction: ...
@typing.overload
def addAction(self, text: str, slot: PYQT_SLOT, shortcut: typing.Union[QtGui.QKeySequence, QtGui.QKeySequence.StandardKey, str, int] = ...) -> QAction: ...
@typing.overload
def addAction(self, icon: QtGui.QIcon, text: str, slot: PYQT_SLOT, shortcut: typing.Union[QtGui.QKeySequence, QtGui.QKeySequence.StandardKey, str, int] = ...) -> QAction: ...
class QMenuBar(QWidget):
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
def setNativeMenuBar(self, nativeMenuBar: bool) -> None: ...
def isNativeMenuBar(self) -> bool: ...
def timerEvent(self, a0: QtCore.QTimerEvent) -> None: ...
def event(self, a0: QtCore.QEvent) -> bool: ...
def eventFilter(self, a0: QtCore.QObject, a1: QtCore.QEvent) -> bool: ...
def focusInEvent(self, a0: QtGui.QFocusEvent) -> None: ...
def focusOutEvent(self, a0: QtGui.QFocusEvent) -> None: ...
def actionEvent(self, a0: QtGui.QActionEvent) -> None: ...
def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ...
def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ...
def leaveEvent(self, a0: QtCore.QEvent) -> None: ...
def mouseMoveEvent(self, a0: QtGui.QMouseEvent) -> None: ...
def mousePressEvent(self, a0: QtGui.QMouseEvent) -> None: ...
def mouseReleaseEvent(self, a0: QtGui.QMouseEvent) -> None: ...
def keyPressEvent(self, a0: QtGui.QKeyEvent) -> None: ...
def changeEvent(self, a0: QtCore.QEvent) -> None: ...
def initStyleOption(self, option: 'QStyleOptionMenuItem', action: QAction) -> None: ...
def hovered(self, action: QAction) -> None: ...
def triggered(self, action: QAction) -> None: ...
def setVisible(self, visible: bool) -> None: ...
def cornerWidget(self, corner: QtCore.Qt.Corner = ...) -> QWidget: ...
def setCornerWidget(self, widget: QWidget, corner: QtCore.Qt.Corner = ...) -> None: ...
def actionAt(self, a0: QtCore.QPoint) -> QAction: ...
def actionGeometry(self, a0: QAction) -> QtCore.QRect: ...
def heightForWidth(self, a0: int) -> int: ...
def minimumSizeHint(self) -> QtCore.QSize: ...
def sizeHint(self) -> QtCore.QSize: ...
def isDefaultUp(self) -> bool: ...
def setDefaultUp(self, a0: bool) -> None: ...
def setActiveAction(self, action: QAction) -> None: ...
def activeAction(self) -> QAction: ...
def clear(self) -> None: ...
def insertSeparator(self, before: QAction) -> QAction: ...
def insertMenu(self, before: QAction, menu: QMenu) -> QAction: ...
def addSeparator(self) -> QAction: ...
@typing.overload
def addMenu(self, menu: QMenu) -> QAction: ...
@typing.overload
def addMenu(self, title: str) -> QMenu: ...
@typing.overload
def addMenu(self, icon: QtGui.QIcon, title: str) -> QMenu: ...
@typing.overload
def addAction(self, action: QAction) -> None: ...
@typing.overload
def addAction(self, text: str) -> QAction: ...
@typing.overload
def addAction(self, text: str, slot: PYQT_SLOT) -> QAction: ...
class QMessageBox(QDialog):
class StandardButton(int): ...
NoButton = ... # type: 'QMessageBox.StandardButton'
Ok = ... # type: 'QMessageBox.StandardButton'
Save = ... # type: 'QMessageBox.StandardButton'
SaveAll = ... # type: 'QMessageBox.StandardButton'
Open = ... # type: 'QMessageBox.StandardButton'
Yes = ... # type: 'QMessageBox.StandardButton'
YesToAll = ... # type: 'QMessageBox.StandardButton'
No = ... # type: 'QMessageBox.StandardButton'
NoToAll = ... # type: 'QMessageBox.StandardButton'
Abort = ... # type: 'QMessageBox.StandardButton'
Retry = ... # type: 'QMessageBox.StandardButton'
Ignore = ... # type: 'QMessageBox.StandardButton'
Close = ... # type: 'QMessageBox.StandardButton'
Cancel = ... # type: 'QMessageBox.StandardButton'
Discard = ... # type: 'QMessageBox.StandardButton'
Help = ... # type: 'QMessageBox.StandardButton'
Apply = ... # type: 'QMessageBox.StandardButton'
Reset = ... # type: 'QMessageBox.StandardButton'
RestoreDefaults = ... # type: 'QMessageBox.StandardButton'
FirstButton = ... # type: 'QMessageBox.StandardButton'
LastButton = ... # type: 'QMessageBox.StandardButton'
YesAll = ... # type: 'QMessageBox.StandardButton'
NoAll = ... # type: 'QMessageBox.StandardButton'
Default = ... # type: 'QMessageBox.StandardButton'
Escape = ... # type: 'QMessageBox.StandardButton'
FlagMask = ... # type: 'QMessageBox.StandardButton'
ButtonMask = ... # type: 'QMessageBox.StandardButton'
class Icon(int): ...
NoIcon = ... # type: 'QMessageBox.Icon'
Information = ... # type: 'QMessageBox.Icon'
Warning = ... # type: 'QMessageBox.Icon'
Critical = ... # type: 'QMessageBox.Icon'
Question = ... # type: 'QMessageBox.Icon'
class ButtonRole(int): ...
InvalidRole = ... # type: 'QMessageBox.ButtonRole'
AcceptRole = ... # type: 'QMessageBox.ButtonRole'
RejectRole = ... # type: 'QMessageBox.ButtonRole'
DestructiveRole = ... # type: 'QMessageBox.ButtonRole'
ActionRole = ... # type: 'QMessageBox.ButtonRole'
HelpRole = ... # type: 'QMessageBox.ButtonRole'
YesRole = ... # type: 'QMessageBox.ButtonRole'
NoRole = ... # type: 'QMessageBox.ButtonRole'
ResetRole = ... # type: 'QMessageBox.ButtonRole'
ApplyRole = ... # type: 'QMessageBox.ButtonRole'
class StandardButtons(sip.simplewrapper):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, f: typing.Union['QMessageBox.StandardButtons', 'QMessageBox.StandardButton']) -> None: ...
@typing.overload
def __init__(self, a0: 'QMessageBox.StandardButtons') -> None: ...
def __hash__(self) -> int: ...
def __bool__(self) -> int: ...
def __invert__(self) -> 'QMessageBox.StandardButtons': ...
def __int__(self) -> int: ...
@typing.overload
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
@typing.overload
def __init__(self, icon: 'QMessageBox.Icon', title: str, text: str, buttons: typing.Union['QMessageBox.StandardButtons', 'QMessageBox.StandardButton'] = ..., parent: typing.Optional[QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ...
def checkBox(self) -> QCheckBox: ...
def setCheckBox(self, cb: QCheckBox) -> None: ...
def textInteractionFlags(self) -> QtCore.Qt.TextInteractionFlags: ...
def setTextInteractionFlags(self, flags: typing.Union[QtCore.Qt.TextInteractionFlags, QtCore.Qt.TextInteractionFlag]) -> None: ...
def buttonClicked(self, button: QAbstractButton) -> None: ...
def buttonRole(self, button: QAbstractButton) -> 'QMessageBox.ButtonRole': ...
def buttons(self) -> typing.List[QAbstractButton]: ...
@typing.overload
def open(self) -> None: ...
@typing.overload
def open(self, slot: PYQT_SLOT) -> None: ...
def setWindowModality(self, windowModality: QtCore.Qt.WindowModality) -> None: ...
def setWindowTitle(self, title: str) -> None: ...
def setDetailedText(self, text: str) -> None: ...
def detailedText(self) -> str: ...
def setInformativeText(self, text: str) -> None: ...
def informativeText(self) -> str: ...
def clickedButton(self) -> QAbstractButton: ...
@typing.overload
def setEscapeButton(self, button: QAbstractButton) -> None: ...
@typing.overload
def setEscapeButton(self, button: 'QMessageBox.StandardButton') -> None: ...
def escapeButton(self) -> QAbstractButton: ...
@typing.overload
def setDefaultButton(self, button: QPushButton) -> None: ...
@typing.overload
def setDefaultButton(self, button: 'QMessageBox.StandardButton') -> None: ...
def defaultButton(self) -> QPushButton: ...
def button(self, which: 'QMessageBox.StandardButton') -> QAbstractButton: ...
def standardButton(self, button: QAbstractButton) -> 'QMessageBox.StandardButton': ...
def standardButtons(self) -> 'QMessageBox.StandardButtons': ...
def setStandardButtons(self, buttons: typing.Union['QMessageBox.StandardButtons', 'QMessageBox.StandardButton']) -> None: ...
def removeButton(self, button: QAbstractButton) -> None: ...
@typing.overload
def addButton(self, button: QAbstractButton, role: 'QMessageBox.ButtonRole') -> None: ...
@typing.overload
def addButton(self, text: str, role: 'QMessageBox.ButtonRole') -> QPushButton: ...
@typing.overload
def addButton(self, button: 'QMessageBox.StandardButton') -> QPushButton: ...
def changeEvent(self, a0: QtCore.QEvent) -> None: ...
def keyPressEvent(self, a0: QtGui.QKeyEvent) -> None: ...
def closeEvent(self, a0: QtGui.QCloseEvent) -> None: ...
def showEvent(self, a0: QtGui.QShowEvent) -> None: ...
def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ...
def event(self, e: QtCore.QEvent) -> bool: ...
@staticmethod
def standardIcon(icon: 'QMessageBox.Icon') -> QtGui.QPixmap: ...
@staticmethod
def aboutQt(parent: QWidget, title: str = ...) -> None: ...
@staticmethod
def about(parent: QWidget, caption: str, text: str) -> None: ...
@staticmethod
def critical(parent: QWidget, title: str, text: str, buttons: typing.Union['QMessageBox.StandardButtons', 'QMessageBox.StandardButton'] = ..., defaultButton: 'QMessageBox.StandardButton' = ...) -> 'QMessageBox.StandardButton': ...
@staticmethod
def warning(parent: QWidget, title: str, text: str, buttons: typing.Union['QMessageBox.StandardButtons', 'QMessageBox.StandardButton'] = ..., defaultButton: 'QMessageBox.StandardButton' = ...) -> 'QMessageBox.StandardButton': ...
@staticmethod
def question(parent: QWidget, title: str, text: str, buttons: typing.Union['QMessageBox.StandardButtons', 'QMessageBox.StandardButton'] = ..., defaultButton: 'QMessageBox.StandardButton' = ...) -> 'QMessageBox.StandardButton': ...
@staticmethod
def information(parent: QWidget, title: str, text: str, buttons: typing.Union['QMessageBox.StandardButtons', 'QMessageBox.StandardButton'] = ..., defaultButton: 'QMessageBox.StandardButton' = ...) -> 'QMessageBox.StandardButton': ...
def setTextFormat(self, a0: QtCore.Qt.TextFormat) -> None: ...
def textFormat(self) -> QtCore.Qt.TextFormat: ...
def setIconPixmap(self, a0: QtGui.QPixmap) -> None: ...
def iconPixmap(self) -> QtGui.QPixmap: ...
def setIcon(self, a0: 'QMessageBox.Icon') -> None: ...
def icon(self) -> 'QMessageBox.Icon': ...
def setText(self, a0: str) -> None: ...
def text(self) -> str: ...
class QMouseEventTransition(QtCore.QEventTransition):
@typing.overload
def __init__(self, sourceState: typing.Optional[QtCore.QState] = ...) -> None: ...
@typing.overload
def __init__(self, object: QtCore.QObject, type: QtCore.QEvent.Type, button: QtCore.Qt.MouseButton, sourceState: typing.Optional[QtCore.QState] = ...) -> None: ...
def eventTest(self, event: QtCore.QEvent) -> bool: ...
def onTransition(self, event: QtCore.QEvent) -> None: ...
def setHitTestPath(self, path: QtGui.QPainterPath) -> None: ...
def hitTestPath(self) -> QtGui.QPainterPath: ...
def setModifierMask(self, modifiers: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier]) -> None: ...
def modifierMask(self) -> QtCore.Qt.KeyboardModifiers: ...
def setButton(self, button: QtCore.Qt.MouseButton) -> None: ...
def button(self) -> QtCore.Qt.MouseButton: ...
class QOpenGLWidget(QWidget):
class UpdateBehavior(int): ...
NoPartialUpdate = ... # type: 'QOpenGLWidget.UpdateBehavior'
PartialUpdate = ... # type: 'QOpenGLWidget.UpdateBehavior'
def __init__(self, parent: typing.Optional[QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ...
def updateBehavior(self) -> 'QOpenGLWidget.UpdateBehavior': ...
def setUpdateBehavior(self, updateBehavior: 'QOpenGLWidget.UpdateBehavior') -> None: ...
def paintEngine(self) -> QtGui.QPaintEngine: ...
def metric(self, metric: QtGui.QPaintDevice.PaintDeviceMetric) -> int: ...
def event(self, e: QtCore.QEvent) -> bool: ...
def resizeEvent(self, e: QtGui.QResizeEvent) -> None: ...
def paintEvent(self, e: QtGui.QPaintEvent) -> None: ...
def paintGL(self) -> None: ...
def resizeGL(self, w: int, h: int) -> None: ...
def initializeGL(self) -> None: ...
def resized(self) -> None: ...
def aboutToResize(self) -> None: ...
def frameSwapped(self) -> None: ...
def aboutToCompose(self) -> None: ...
def grabFramebuffer(self) -> QtGui.QImage: ...
def defaultFramebufferObject(self) -> int: ...
def context(self) -> QtGui.QOpenGLContext: ...
def doneCurrent(self) -> None: ...
def makeCurrent(self) -> None: ...
def isValid(self) -> bool: ...
def format(self) -> QtGui.QSurfaceFormat: ...
def setFormat(self, format: QtGui.QSurfaceFormat) -> None: ...
class QPlainTextEdit(QAbstractScrollArea):
class LineWrapMode(int): ...
NoWrap = ... # type: 'QPlainTextEdit.LineWrapMode'
WidgetWidth = ... # type: 'QPlainTextEdit.LineWrapMode'
@typing.overload
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
@typing.overload
def __init__(self, text: str, parent: typing.Optional[QWidget] = ...) -> None: ...
def placeholderText(self) -> str: ...
def setPlaceholderText(self, placeholderText: str) -> None: ...
def zoomOut(self, range: int = ...) -> None: ...
def zoomIn(self, range: int = ...) -> None: ...
def anchorAt(self, pos: QtCore.QPoint) -> str: ...
def getPaintContext(self) -> QtGui.QAbstractTextDocumentLayout.PaintContext: ...
def blockBoundingGeometry(self, block: QtGui.QTextBlock) -> QtCore.QRectF: ...
def blockBoundingRect(self, block: QtGui.QTextBlock) -> QtCore.QRectF: ...
def contentOffset(self) -> QtCore.QPointF: ...
def firstVisibleBlock(self) -> QtGui.QTextBlock: ...
def scrollContentsBy(self, dx: int, dy: int) -> None: ...
def insertFromMimeData(self, source: QtCore.QMimeData) -> None: ...
def canInsertFromMimeData(self, source: QtCore.QMimeData) -> bool: ...
def createMimeDataFromSelection(self) -> QtCore.QMimeData: ...
@typing.overload
def inputMethodQuery(self, property: QtCore.Qt.InputMethodQuery) -> typing.Any: ...
@typing.overload
def inputMethodQuery(self, query: QtCore.Qt.InputMethodQuery, argument: typing.Any) -> typing.Any: ...
def inputMethodEvent(self, a0: QtGui.QInputMethodEvent) -> None: ...
def wheelEvent(self, e: QtGui.QWheelEvent) -> None: ...
def changeEvent(self, e: QtCore.QEvent) -> None: ...
def showEvent(self, a0: QtGui.QShowEvent) -> None: ...
def focusOutEvent(self, e: QtGui.QFocusEvent) -> None: ...
def focusInEvent(self, e: QtGui.QFocusEvent) -> None: ...
def dropEvent(self, e: QtGui.QDropEvent) -> None: ...
def dragMoveEvent(self, e: QtGui.QDragMoveEvent) -> None: ...
def dragLeaveEvent(self, e: QtGui.QDragLeaveEvent) -> None: ...
def dragEnterEvent(self, e: QtGui.QDragEnterEvent) -> None: ...
def contextMenuEvent(self, e: QtGui.QContextMenuEvent) -> None: ...
def focusNextPrevChild(self, next: bool) -> bool: ...
def mouseDoubleClickEvent(self, e: QtGui.QMouseEvent) -> None: ...
def mouseReleaseEvent(self, e: QtGui.QMouseEvent) -> None: ...
def mouseMoveEvent(self, e: QtGui.QMouseEvent) -> None: ...
def mousePressEvent(self, e: QtGui.QMouseEvent) -> None: ...
def paintEvent(self, e: QtGui.QPaintEvent) -> None: ...
def resizeEvent(self, e: QtGui.QResizeEvent) -> None: ...
def keyReleaseEvent(self, e: QtGui.QKeyEvent) -> None: ...
def keyPressEvent(self, e: QtGui.QKeyEvent) -> None: ...
def timerEvent(self, e: QtCore.QTimerEvent) -> None: ...
def event(self, e: QtCore.QEvent) -> bool: ...
def modificationChanged(self, a0: bool) -> None: ...
def blockCountChanged(self, newBlockCount: int) -> None: ...
def updateRequest(self, rect: QtCore.QRect, dy: int) -> None: ...
def cursorPositionChanged(self) -> None: ...
def selectionChanged(self) -> None: ...
def copyAvailable(self, b: bool) -> None: ...
def redoAvailable(self, b: bool) -> None: ...
def undoAvailable(self, b: bool) -> None: ...
def textChanged(self) -> None: ...
def centerCursor(self) -> None: ...
def appendHtml(self, html: str) -> None: ...
def appendPlainText(self, text: str) -> None: ...
def insertPlainText(self, text: str) -> None: ...
def selectAll(self) -> None: ...
def clear(self) -> None: ...
def redo(self) -> None: ...
def undo(self) -> None: ...
def paste(self) -> None: ...
def copy(self) -> None: ...
def cut(self) -> None: ...
def setPlainText(self, text: str) -> None: ...
def blockCount(self) -> int: ...
def print(self, printer: QtGui.QPagedPaintDevice) -> None: ...
def print_(self, printer: QtGui.QPagedPaintDevice) -> None: ...
def canPaste(self) -> bool: ...
def moveCursor(self, operation: QtGui.QTextCursor.MoveOperation, mode: QtGui.QTextCursor.MoveMode = ...) -> None: ...
def extraSelections(self) -> typing.List['QTextEdit.ExtraSelection']: ...
def setExtraSelections(self, selections: typing.Any) -> None: ...
def setCursorWidth(self, width: int) -> None: ...
def cursorWidth(self) -> int: ...
def setTabStopWidth(self, width: int) -> None: ...
def tabStopWidth(self) -> int: ...
def setOverwriteMode(self, overwrite: bool) -> None: ...
def overwriteMode(self) -> bool: ...
@typing.overload
def cursorRect(self, cursor: QtGui.QTextCursor) -> QtCore.QRect: ...
@typing.overload
def cursorRect(self) -> QtCore.QRect: ...
def cursorForPosition(self, pos: QtCore.QPoint) -> QtGui.QTextCursor: ...
@typing.overload
def createStandardContextMenu(self) -> QMenu: ...
@typing.overload
def createStandardContextMenu(self, position: QtCore.QPoint) -> QMenu: ...
def loadResource(self, type: int, name: QtCore.QUrl) -> typing.Any: ...
def ensureCursorVisible(self) -> None: ...
def toPlainText(self) -> str: ...
@typing.overload
def find(self, exp: str, options: typing.Union[QtGui.QTextDocument.FindFlags, QtGui.QTextDocument.FindFlag] = ...) -> bool: ...
@typing.overload
def find(self, exp: QtCore.QRegExp, options: typing.Union[QtGui.QTextDocument.FindFlags, QtGui.QTextDocument.FindFlag] = ...) -> bool: ...
def centerOnScroll(self) -> bool: ...
def setCenterOnScroll(self, enabled: bool) -> None: ...
def backgroundVisible(self) -> bool: ...
def setBackgroundVisible(self, visible: bool) -> None: ...
def setWordWrapMode(self, policy: QtGui.QTextOption.WrapMode) -> None: ...
def wordWrapMode(self) -> QtGui.QTextOption.WrapMode: ...
def setLineWrapMode(self, mode: 'QPlainTextEdit.LineWrapMode') -> None: ...
def lineWrapMode(self) -> 'QPlainTextEdit.LineWrapMode': ...
def maximumBlockCount(self) -> int: ...
def setMaximumBlockCount(self, maximum: int) -> None: ...
def setUndoRedoEnabled(self, enable: bool) -> None: ...
def isUndoRedoEnabled(self) -> bool: ...
def documentTitle(self) -> str: ...
def setDocumentTitle(self, title: str) -> None: ...
def setTabChangesFocus(self, b: bool) -> None: ...
def tabChangesFocus(self) -> bool: ...
def currentCharFormat(self) -> QtGui.QTextCharFormat: ...
def setCurrentCharFormat(self, format: QtGui.QTextCharFormat) -> None: ...
def mergeCurrentCharFormat(self, modifier: QtGui.QTextCharFormat) -> None: ...
def textInteractionFlags(self) -> QtCore.Qt.TextInteractionFlags: ...
def setTextInteractionFlags(self, flags: typing.Union[QtCore.Qt.TextInteractionFlags, QtCore.Qt.TextInteractionFlag]) -> None: ...
def setReadOnly(self, ro: bool) -> None: ...
def isReadOnly(self) -> bool: ...
def textCursor(self) -> QtGui.QTextCursor: ...
def setTextCursor(self, cursor: QtGui.QTextCursor) -> None: ...
def document(self) -> QtGui.QTextDocument: ...
def setDocument(self, document: QtGui.QTextDocument) -> None: ...
class QPlainTextDocumentLayout(QtGui.QAbstractTextDocumentLayout):
def __init__(self, document: QtGui.QTextDocument) -> None: ...
def documentChanged(self, from_: int, a1: int, charsAdded: int) -> None: ...
def requestUpdate(self) -> None: ...
def cursorWidth(self) -> int: ...
def setCursorWidth(self, width: int) -> None: ...
def ensureBlockLayout(self, block: QtGui.QTextBlock) -> None: ...
def blockBoundingRect(self, block: QtGui.QTextBlock) -> QtCore.QRectF: ...
def frameBoundingRect(self, a0: QtGui.QTextFrame) -> QtCore.QRectF: ...
def documentSize(self) -> QtCore.QSizeF: ...
def pageCount(self) -> int: ...
def hitTest(self, a0: typing.Union[QtCore.QPointF, QtCore.QPoint], a1: QtCore.Qt.HitTestAccuracy) -> int: ...
def draw(self, a0: QtGui.QPainter, a1: QtGui.QAbstractTextDocumentLayout.PaintContext) -> None: ...
class QProgressBar(QWidget):
class Direction(int): ...
TopToBottom = ... # type: 'QProgressBar.Direction'
BottomToTop = ... # type: 'QProgressBar.Direction'
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ...
def event(self, e: QtCore.QEvent) -> bool: ...
def initStyleOption(self, option: 'QStyleOptionProgressBar') -> None: ...
def valueChanged(self, value: int) -> None: ...
def setOrientation(self, a0: QtCore.Qt.Orientation) -> None: ...
def setValue(self, value: int) -> None: ...
def setMaximum(self, maximum: int) -> None: ...
def setMinimum(self, minimum: int) -> None: ...
def reset(self) -> None: ...
def resetFormat(self) -> None: ...
def format(self) -> str: ...
def setFormat(self, format: str) -> None: ...
def setTextDirection(self, textDirection: 'QProgressBar.Direction') -> None: ...
def setInvertedAppearance(self, invert: bool) -> None: ...
def orientation(self) -> QtCore.Qt.Orientation: ...
def minimumSizeHint(self) -> QtCore.QSize: ...
def sizeHint(self) -> QtCore.QSize: ...
def setAlignment(self, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ...
def alignment(self) -> QtCore.Qt.Alignment: ...
def isTextVisible(self) -> bool: ...
def setTextVisible(self, visible: bool) -> None: ...
def text(self) -> str: ...
def value(self) -> int: ...
def setRange(self, minimum: int, maximum: int) -> None: ...
def maximum(self) -> int: ...
def minimum(self) -> int: ...
class QProgressDialog(QDialog):
@typing.overload
def __init__(self, parent: typing.Optional[QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ...
@typing.overload
def __init__(self, labelText: str, cancelButtonText: str, minimum: int, maximum: int, parent: typing.Optional[QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ...
@typing.overload
def open(self) -> None: ...
@typing.overload
def open(self, slot: PYQT_SLOT) -> None: ...
def forceShow(self) -> None: ...
def showEvent(self, e: QtGui.QShowEvent) -> None: ...
def changeEvent(self, a0: QtCore.QEvent) -> None: ...
def closeEvent(self, a0: QtGui.QCloseEvent) -> None: ...
def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ...
def canceled(self) -> None: ...
def setMinimumDuration(self, ms: int) -> None: ...
def setCancelButtonText(self, a0: str) -> None: ...
def setLabelText(self, a0: str) -> None: ...
def setValue(self, progress: int) -> None: ...
def setMinimum(self, minimum: int) -> None: ...
def setMaximum(self, maximum: int) -> None: ...
def reset(self) -> None: ...
def cancel(self) -> None: ...
def autoClose(self) -> bool: ...
def setAutoClose(self, b: bool) -> None: ...
def autoReset(self) -> bool: ...
def setAutoReset(self, b: bool) -> None: ...
def minimumDuration(self) -> int: ...
def labelText(self) -> str: ...
def sizeHint(self) -> QtCore.QSize: ...
def value(self) -> int: ...
def setRange(self, minimum: int, maximum: int) -> None: ...
def maximum(self) -> int: ...
def minimum(self) -> int: ...
def wasCanceled(self) -> bool: ...
def setBar(self, bar: QProgressBar) -> None: ...
def setCancelButton(self, button: QPushButton) -> None: ...
def setLabel(self, label: QLabel) -> None: ...
class QProxyStyle(QCommonStyle):
@typing.overload
def __init__(self, style: typing.Optional[QStyle] = ...) -> None: ...
@typing.overload
def __init__(self, key: str) -> None: ...
def event(self, e: QtCore.QEvent) -> bool: ...
@typing.overload
def unpolish(self, widget: QWidget) -> None: ...
@typing.overload
def unpolish(self, app: QApplication) -> None: ...
@typing.overload
def polish(self, widget: QWidget) -> None: ...
@typing.overload
def polish(self, pal: QtGui.QPalette) -> QtGui.QPalette: ...
@typing.overload
def polish(self, app: QApplication) -> None: ...
def standardPalette(self) -> QtGui.QPalette: ...
def generatedIconPixmap(self, iconMode: QtGui.QIcon.Mode, pixmap: QtGui.QPixmap, opt: 'QStyleOption') -> QtGui.QPixmap: ...
def standardPixmap(self, standardPixmap: QStyle.StandardPixmap, opt: 'QStyleOption', widget: typing.Optional[QWidget] = ...) -> QtGui.QPixmap: ...
def standardIcon(self, standardIcon: QStyle.StandardPixmap, option: typing.Optional['QStyleOption'] = ..., widget: typing.Optional[QWidget] = ...) -> QtGui.QIcon: ...
def layoutSpacing(self, control1: 'QSizePolicy.ControlType', control2: 'QSizePolicy.ControlType', orientation: QtCore.Qt.Orientation, option: typing.Optional['QStyleOption'] = ..., widget: typing.Optional[QWidget] = ...) -> int: ...
def pixelMetric(self, metric: QStyle.PixelMetric, option: typing.Optional['QStyleOption'] = ..., widget: typing.Optional[QWidget] = ...) -> int: ...
def styleHint(self, hint: QStyle.StyleHint, option: typing.Optional['QStyleOption'] = ..., widget: typing.Optional[QWidget] = ..., returnData: typing.Optional['QStyleHintReturn'] = ...) -> int: ...
def hitTestComplexControl(self, control: QStyle.ComplexControl, option: 'QStyleOptionComplex', pos: QtCore.QPoint, widget: typing.Optional[QWidget] = ...) -> QStyle.SubControl: ...
def itemPixmapRect(self, r: QtCore.QRect, flags: int, pixmap: QtGui.QPixmap) -> QtCore.QRect: ...
def itemTextRect(self, fm: QtGui.QFontMetrics, r: QtCore.QRect, flags: int, enabled: bool, text: str) -> QtCore.QRect: ...
def subControlRect(self, cc: QStyle.ComplexControl, opt: 'QStyleOptionComplex', sc: QStyle.SubControl, widget: QWidget) -> QtCore.QRect: ...
def subElementRect(self, element: QStyle.SubElement, option: 'QStyleOption', widget: QWidget) -> QtCore.QRect: ...
def sizeFromContents(self, type: QStyle.ContentsType, option: 'QStyleOption', size: QtCore.QSize, widget: QWidget) -> QtCore.QSize: ...
def drawItemPixmap(self, painter: QtGui.QPainter, rect: QtCore.QRect, alignment: int, pixmap: QtGui.QPixmap) -> None: ...
def drawItemText(self, painter: QtGui.QPainter, rect: QtCore.QRect, flags: int, pal: QtGui.QPalette, enabled: bool, text: str, textRole: QtGui.QPalette.ColorRole = ...) -> None: ...
def drawComplexControl(self, control: QStyle.ComplexControl, option: 'QStyleOptionComplex', painter: QtGui.QPainter, widget: typing.Optional[QWidget] = ...) -> None: ...
def drawControl(self, element: QStyle.ControlElement, option: 'QStyleOption', painter: QtGui.QPainter, widget: typing.Optional[QWidget] = ...) -> None: ...
def drawPrimitive(self, element: QStyle.PrimitiveElement, option: 'QStyleOption', painter: QtGui.QPainter, widget: typing.Optional[QWidget] = ...) -> None: ...
def setBaseStyle(self, style: QStyle) -> None: ...
def baseStyle(self) -> QStyle: ...
class QRadioButton(QAbstractButton):
@typing.overload
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
@typing.overload
def __init__(self, text: str, parent: typing.Optional[QWidget] = ...) -> None: ...
def mouseMoveEvent(self, a0: QtGui.QMouseEvent) -> None: ...
def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ...
def event(self, e: QtCore.QEvent) -> bool: ...
def hitButton(self, a0: QtCore.QPoint) -> bool: ...
def initStyleOption(self, button: 'QStyleOptionButton') -> None: ...
def minimumSizeHint(self) -> QtCore.QSize: ...
def sizeHint(self) -> QtCore.QSize: ...
class QRubberBand(QWidget):
class Shape(int): ...
Line = ... # type: 'QRubberBand.Shape'
Rectangle = ... # type: 'QRubberBand.Shape'
def __init__(self, a0: 'QRubberBand.Shape', parent: typing.Optional[QWidget] = ...) -> None: ...
def moveEvent(self, a0: QtGui.QMoveEvent) -> None: ...
def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ...
def showEvent(self, a0: QtGui.QShowEvent) -> None: ...
def changeEvent(self, a0: QtCore.QEvent) -> None: ...
def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ...
def event(self, e: QtCore.QEvent) -> bool: ...
def initStyleOption(self, option: 'QStyleOptionRubberBand') -> None: ...
@typing.overload
def resize(self, w: int, h: int) -> None: ...
@typing.overload
def resize(self, s: QtCore.QSize) -> None: ...
@typing.overload
def move(self, p: QtCore.QPoint) -> None: ...
@typing.overload
def move(self, ax: int, ay: int) -> None: ...
@typing.overload
def setGeometry(self, r: QtCore.QRect) -> None: ...
@typing.overload
def setGeometry(self, ax: int, ay: int, aw: int, ah: int) -> None: ...
def shape(self) -> 'QRubberBand.Shape': ...
class QScrollArea(QAbstractScrollArea):
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
def viewportSizeHint(self) -> QtCore.QSize: ...
def scrollContentsBy(self, dx: int, dy: int) -> None: ...
def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ...
def eventFilter(self, a0: QtCore.QObject, a1: QtCore.QEvent) -> bool: ...
def event(self, a0: QtCore.QEvent) -> bool: ...
def ensureWidgetVisible(self, childWidget: QWidget, xMargin: int = ..., yMargin: int = ...) -> None: ...
def ensureVisible(self, x: int, y: int, xMargin: int = ..., yMargin: int = ...) -> None: ...
def focusNextPrevChild(self, next: bool) -> bool: ...
def sizeHint(self) -> QtCore.QSize: ...
def setAlignment(self, a0: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ...
def alignment(self) -> QtCore.Qt.Alignment: ...
def setWidgetResizable(self, resizable: bool) -> None: ...
def widgetResizable(self) -> bool: ...
def takeWidget(self) -> QWidget: ...
def setWidget(self, w: QWidget) -> None: ...
def widget(self) -> QWidget: ...
class QScrollBar(QAbstractSlider):
@typing.overload
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
@typing.overload
def __init__(self, orientation: QtCore.Qt.Orientation, parent: typing.Optional[QWidget] = ...) -> None: ...
def sliderChange(self, change: QAbstractSlider.SliderChange) -> None: ...
def wheelEvent(self, a0: QtGui.QWheelEvent) -> None: ...
def contextMenuEvent(self, a0: QtGui.QContextMenuEvent) -> None: ...
def hideEvent(self, a0: QtGui.QHideEvent) -> None: ...
def mouseMoveEvent(self, a0: QtGui.QMouseEvent) -> None: ...
def mouseReleaseEvent(self, a0: QtGui.QMouseEvent) -> None: ...
def mousePressEvent(self, a0: QtGui.QMouseEvent) -> None: ...
def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ...
def initStyleOption(self, option: 'QStyleOptionSlider') -> None: ...
def event(self, event: QtCore.QEvent) -> bool: ...
def sizeHint(self) -> QtCore.QSize: ...
class QScroller(QtCore.QObject):
class Input(int): ...
InputPress = ... # type: 'QScroller.Input'
InputMove = ... # type: 'QScroller.Input'
InputRelease = ... # type: 'QScroller.Input'
class ScrollerGestureType(int): ...
TouchGesture = ... # type: 'QScroller.ScrollerGestureType'
LeftMouseButtonGesture = ... # type: 'QScroller.ScrollerGestureType'
RightMouseButtonGesture = ... # type: 'QScroller.ScrollerGestureType'
MiddleMouseButtonGesture = ... # type: 'QScroller.ScrollerGestureType'
class State(int): ...
Inactive = ... # type: 'QScroller.State'
Pressed = ... # type: 'QScroller.State'
Dragging = ... # type: 'QScroller.State'
Scrolling = ... # type: 'QScroller.State'
def scrollerPropertiesChanged(self, a0: 'QScrollerProperties') -> None: ...
def stateChanged(self, newstate: 'QScroller.State') -> None: ...
def resendPrepareEvent(self) -> None: ...
@typing.overload
def ensureVisible(self, rect: QtCore.QRectF, xmargin: float, ymargin: float) -> None: ...
@typing.overload
def ensureVisible(self, rect: QtCore.QRectF, xmargin: float, ymargin: float, scrollTime: int) -> None: ...
@typing.overload
def scrollTo(self, pos: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ...
@typing.overload
def scrollTo(self, pos: typing.Union[QtCore.QPointF, QtCore.QPoint], scrollTime: int) -> None: ...
def setScrollerProperties(self, prop: 'QScrollerProperties') -> None: ...
@typing.overload
def setSnapPositionsY(self, positions: typing.Iterable[float]) -> None: ...
@typing.overload
def setSnapPositionsY(self, first: float, interval: float) -> None: ...
@typing.overload
def setSnapPositionsX(self, positions: typing.Iterable[float]) -> None: ...
@typing.overload
def setSnapPositionsX(self, first: float, interval: float) -> None: ...
def scrollerProperties(self) -> 'QScrollerProperties': ...
def pixelPerMeter(self) -> QtCore.QPointF: ...
def finalPosition(self) -> QtCore.QPointF: ...
def velocity(self) -> QtCore.QPointF: ...
def stop(self) -> None: ...
def handleInput(self, input: 'QScroller.Input', position: typing.Union[QtCore.QPointF, QtCore.QPoint], timestamp: int = ...) -> bool: ...
def state(self) -> 'QScroller.State': ...
def target(self) -> QtCore.QObject: ...
@staticmethod
def activeScrollers() -> typing.Any: ...
@staticmethod
def ungrabGesture(target: QtCore.QObject) -> None: ...
@staticmethod
def grabbedGesture(target: QtCore.QObject) -> QtCore.Qt.GestureType: ...
@staticmethod
def grabGesture(target: QtCore.QObject, scrollGestureType: 'QScroller.ScrollerGestureType' = ...) -> QtCore.Qt.GestureType: ...
@staticmethod
def scroller(target: QtCore.QObject) -> 'QScroller': ...
@staticmethod
def hasScroller(target: QtCore.QObject) -> bool: ...
class QScrollerProperties(sip.simplewrapper):
class ScrollMetric(int): ...
MousePressEventDelay = ... # type: 'QScrollerProperties.ScrollMetric'
DragStartDistance = ... # type: 'QScrollerProperties.ScrollMetric'
DragVelocitySmoothingFactor = ... # type: 'QScrollerProperties.ScrollMetric'
AxisLockThreshold = ... # type: 'QScrollerProperties.ScrollMetric'
ScrollingCurve = ... # type: 'QScrollerProperties.ScrollMetric'
DecelerationFactor = ... # type: 'QScrollerProperties.ScrollMetric'
MinimumVelocity = ... # type: 'QScrollerProperties.ScrollMetric'
MaximumVelocity = ... # type: 'QScrollerProperties.ScrollMetric'
MaximumClickThroughVelocity = ... # type: 'QScrollerProperties.ScrollMetric'
AcceleratingFlickMaximumTime = ... # type: 'QScrollerProperties.ScrollMetric'
AcceleratingFlickSpeedupFactor = ... # type: 'QScrollerProperties.ScrollMetric'
SnapPositionRatio = ... # type: 'QScrollerProperties.ScrollMetric'
SnapTime = ... # type: 'QScrollerProperties.ScrollMetric'
OvershootDragResistanceFactor = ... # type: 'QScrollerProperties.ScrollMetric'
OvershootDragDistanceFactor = ... # type: 'QScrollerProperties.ScrollMetric'
OvershootScrollDistanceFactor = ... # type: 'QScrollerProperties.ScrollMetric'
OvershootScrollTime = ... # type: 'QScrollerProperties.ScrollMetric'
HorizontalOvershootPolicy = ... # type: 'QScrollerProperties.ScrollMetric'
VerticalOvershootPolicy = ... # type: 'QScrollerProperties.ScrollMetric'
FrameRate = ... # type: 'QScrollerProperties.ScrollMetric'
ScrollMetricCount = ... # type: 'QScrollerProperties.ScrollMetric'
class FrameRates(int): ...
Standard = ... # type: 'QScrollerProperties.FrameRates'
Fps60 = ... # type: 'QScrollerProperties.FrameRates'
Fps30 = ... # type: 'QScrollerProperties.FrameRates'
Fps20 = ... # type: 'QScrollerProperties.FrameRates'
class OvershootPolicy(int): ...
OvershootWhenScrollable = ... # type: 'QScrollerProperties.OvershootPolicy'
OvershootAlwaysOff = ... # type: 'QScrollerProperties.OvershootPolicy'
OvershootAlwaysOn = ... # type: 'QScrollerProperties.OvershootPolicy'
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, sp: 'QScrollerProperties') -> None: ...
def setScrollMetric(self, metric: 'QScrollerProperties.ScrollMetric', value: typing.Any) -> None: ...
def scrollMetric(self, metric: 'QScrollerProperties.ScrollMetric') -> typing.Any: ...
@staticmethod
def unsetDefaultScrollerProperties() -> None: ...
@staticmethod
def setDefaultScrollerProperties(sp: 'QScrollerProperties') -> None: ...
class QShortcut(QtCore.QObject):
@typing.overload
def __init__(self, parent: QWidget) -> None: ...
@typing.overload
def __init__(self, key: typing.Union[QtGui.QKeySequence, QtGui.QKeySequence.StandardKey, str, int], parent: QWidget, member: PYQT_SLOT = ..., ambiguousMember: PYQT_SLOT = ..., context: QtCore.Qt.ShortcutContext = ...) -> None: ...
def event(self, e: QtCore.QEvent) -> bool: ...
def activatedAmbiguously(self) -> None: ...
def activated(self) -> None: ...
def autoRepeat(self) -> bool: ...
def setAutoRepeat(self, on: bool) -> None: ...
def parentWidget(self) -> QWidget: ...
def id(self) -> int: ...
def whatsThis(self) -> str: ...
def setWhatsThis(self, text: str) -> None: ...
def context(self) -> QtCore.Qt.ShortcutContext: ...
def setContext(self, context: QtCore.Qt.ShortcutContext) -> None: ...
def isEnabled(self) -> bool: ...
def setEnabled(self, enable: bool) -> None: ...
def key(self) -> QtGui.QKeySequence: ...
def setKey(self, key: typing.Union[QtGui.QKeySequence, QtGui.QKeySequence.StandardKey, str, int]) -> None: ...
class QSizeGrip(QWidget):
def __init__(self, parent: QWidget) -> None: ...
def hideEvent(self, hideEvent: QtGui.QHideEvent) -> None: ...
def showEvent(self, showEvent: QtGui.QShowEvent) -> None: ...
def moveEvent(self, moveEvent: QtGui.QMoveEvent) -> None: ...
def event(self, a0: QtCore.QEvent) -> bool: ...
def eventFilter(self, a0: QtCore.QObject, a1: QtCore.QEvent) -> bool: ...
def mouseMoveEvent(self, a0: QtGui.QMouseEvent) -> None: ...
def mouseReleaseEvent(self, mouseEvent: QtGui.QMouseEvent) -> None: ...
def mousePressEvent(self, a0: QtGui.QMouseEvent) -> None: ...
def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ...
def setVisible(self, a0: bool) -> None: ...
def sizeHint(self) -> QtCore.QSize: ...
class QSizePolicy(sip.simplewrapper):
class ControlType(int): ...
DefaultType = ... # type: 'QSizePolicy.ControlType'
ButtonBox = ... # type: 'QSizePolicy.ControlType'
CheckBox = ... # type: 'QSizePolicy.ControlType'
ComboBox = ... # type: 'QSizePolicy.ControlType'
Frame = ... # type: 'QSizePolicy.ControlType'
GroupBox = ... # type: 'QSizePolicy.ControlType'
Label = ... # type: 'QSizePolicy.ControlType'
Line = ... # type: 'QSizePolicy.ControlType'
LineEdit = ... # type: 'QSizePolicy.ControlType'
PushButton = ... # type: 'QSizePolicy.ControlType'
RadioButton = ... # type: 'QSizePolicy.ControlType'
Slider = ... # type: 'QSizePolicy.ControlType'
SpinBox = ... # type: 'QSizePolicy.ControlType'
TabWidget = ... # type: 'QSizePolicy.ControlType'
ToolButton = ... # type: 'QSizePolicy.ControlType'
class Policy(int): ...
Fixed = ... # type: 'QSizePolicy.Policy'
Minimum = ... # type: 'QSizePolicy.Policy'
Maximum = ... # type: 'QSizePolicy.Policy'
Preferred = ... # type: 'QSizePolicy.Policy'
MinimumExpanding = ... # type: 'QSizePolicy.Policy'
Expanding = ... # type: 'QSizePolicy.Policy'
Ignored = ... # type: 'QSizePolicy.Policy'
class PolicyFlag(int): ...
GrowFlag = ... # type: 'QSizePolicy.PolicyFlag'
ExpandFlag = ... # type: 'QSizePolicy.PolicyFlag'
ShrinkFlag = ... # type: 'QSizePolicy.PolicyFlag'
IgnoreFlag = ... # type: 'QSizePolicy.PolicyFlag'
class ControlTypes(sip.simplewrapper):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, f: typing.Union['QSizePolicy.ControlTypes', 'QSizePolicy.ControlType']) -> None: ...
@typing.overload
def __init__(self, a0: 'QSizePolicy.ControlTypes') -> None: ...
def __hash__(self) -> int: ...
def __bool__(self) -> int: ...
def __invert__(self) -> 'QSizePolicy.ControlTypes': ...
def __int__(self) -> int: ...
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, horizontal: 'QSizePolicy.Policy', vertical: 'QSizePolicy.Policy', type: 'QSizePolicy.ControlType' = ...) -> None: ...
@typing.overload
def __init__(self, variant: typing.Any) -> None: ...
@typing.overload
def __init__(self, a0: 'QSizePolicy') -> None: ...
def __hash__(self) -> int: ...
def setRetainSizeWhenHidden(self, retainSize: bool) -> None: ...
def retainSizeWhenHidden(self) -> bool: ...
def hasWidthForHeight(self) -> bool: ...
def setWidthForHeight(self, b: bool) -> None: ...
def setControlType(self, type: 'QSizePolicy.ControlType') -> None: ...
def controlType(self) -> 'QSizePolicy.ControlType': ...
def transposed(self) -> 'QSizePolicy': ...
def transpose(self) -> None: ...
def setVerticalStretch(self, stretchFactor: int) -> None: ...
def setHorizontalStretch(self, stretchFactor: int) -> None: ...
def verticalStretch(self) -> int: ...
def horizontalStretch(self) -> int: ...
def hasHeightForWidth(self) -> bool: ...
def setHeightForWidth(self, b: bool) -> None: ...
def expandingDirections(self) -> QtCore.Qt.Orientations: ...
def setVerticalPolicy(self, d: 'QSizePolicy.Policy') -> None: ...
def setHorizontalPolicy(self, d: 'QSizePolicy.Policy') -> None: ...
def verticalPolicy(self) -> 'QSizePolicy.Policy': ...
def horizontalPolicy(self) -> 'QSizePolicy.Policy': ...
class QSlider(QAbstractSlider):
class TickPosition(int): ...
NoTicks = ... # type: 'QSlider.TickPosition'
TicksAbove = ... # type: 'QSlider.TickPosition'
TicksLeft = ... # type: 'QSlider.TickPosition'
TicksBelow = ... # type: 'QSlider.TickPosition'
TicksRight = ... # type: 'QSlider.TickPosition'
TicksBothSides = ... # type: 'QSlider.TickPosition'
@typing.overload
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
@typing.overload
def __init__(self, orientation: QtCore.Qt.Orientation, parent: typing.Optional[QWidget] = ...) -> None: ...
def mouseMoveEvent(self, ev: QtGui.QMouseEvent) -> None: ...
def mouseReleaseEvent(self, ev: QtGui.QMouseEvent) -> None: ...
def mousePressEvent(self, ev: QtGui.QMouseEvent) -> None: ...
def paintEvent(self, ev: QtGui.QPaintEvent) -> None: ...
def initStyleOption(self, option: 'QStyleOptionSlider') -> None: ...
def event(self, event: QtCore.QEvent) -> bool: ...
def tickInterval(self) -> int: ...
def setTickInterval(self, ti: int) -> None: ...
def tickPosition(self) -> 'QSlider.TickPosition': ...
def setTickPosition(self, position: 'QSlider.TickPosition') -> None: ...
def minimumSizeHint(self) -> QtCore.QSize: ...
def sizeHint(self) -> QtCore.QSize: ...
class QSpinBox(QAbstractSpinBox):
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
def setDisplayIntegerBase(self, base: int) -> None: ...
def displayIntegerBase(self) -> int: ...
@typing.overload
def valueChanged(self, a0: int) -> None: ...
@typing.overload
def valueChanged(self, a0: str) -> None: ...
def setValue(self, val: int) -> None: ...
def event(self, e: QtCore.QEvent) -> bool: ...
def fixup(self, str: str) -> str: ...
def textFromValue(self, v: int) -> str: ...
def valueFromText(self, text: str) -> int: ...
def validate(self, input: str, pos: int) -> typing.Tuple[QtGui.QValidator.State, str, int]: ...
def setRange(self, min: int, max: int) -> None: ...
def setMaximum(self, max: int) -> None: ...
def maximum(self) -> int: ...
def setMinimum(self, min: int) -> None: ...
def minimum(self) -> int: ...
def setSingleStep(self, val: int) -> None: ...
def singleStep(self) -> int: ...
def cleanText(self) -> str: ...
def setSuffix(self, s: str) -> None: ...
def suffix(self) -> str: ...
def setPrefix(self, p: str) -> None: ...
def prefix(self) -> str: ...
def value(self) -> int: ...
class QDoubleSpinBox(QAbstractSpinBox):
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
@typing.overload
def valueChanged(self, a0: float) -> None: ...
@typing.overload
def valueChanged(self, a0: str) -> None: ...
def setValue(self, val: float) -> None: ...
def fixup(self, str: str) -> str: ...
def textFromValue(self, v: float) -> str: ...
def valueFromText(self, text: str) -> float: ...
def validate(self, input: str, pos: int) -> typing.Tuple[QtGui.QValidator.State, str, int]: ...
def setDecimals(self, prec: int) -> None: ...
def decimals(self) -> int: ...
def setRange(self, min: float, max: float) -> None: ...
def setMaximum(self, max: float) -> None: ...
def maximum(self) -> float: ...
def setMinimum(self, min: float) -> None: ...
def minimum(self) -> float: ...
def setSingleStep(self, val: float) -> None: ...
def singleStep(self) -> float: ...
def cleanText(self) -> str: ...
def setSuffix(self, s: str) -> None: ...
def suffix(self) -> str: ...
def setPrefix(self, p: str) -> None: ...
def prefix(self) -> str: ...
def value(self) -> float: ...
class QSplashScreen(QWidget):
@typing.overload
def __init__(self, pixmap: QtGui.QPixmap = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ...
@typing.overload
def __init__(self, parent: QWidget, pixmap: QtGui.QPixmap = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ...
def mousePressEvent(self, a0: QtGui.QMouseEvent) -> None: ...
def event(self, e: QtCore.QEvent) -> bool: ...
def drawContents(self, painter: QtGui.QPainter) -> None: ...
def messageChanged(self, message: str) -> None: ...
def clearMessage(self) -> None: ...
def showMessage(self, message: str, alignment: int = ..., color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient] = ...) -> None: ...
def message(self) -> str: ...
def repaint(self) -> None: ...
def finish(self, w: QWidget) -> None: ...
def pixmap(self) -> QtGui.QPixmap: ...
def setPixmap(self, pixmap: QtGui.QPixmap) -> None: ...
class QSplitter(QFrame):
@typing.overload
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
@typing.overload
def __init__(self, orientation: QtCore.Qt.Orientation, parent: typing.Optional[QWidget] = ...) -> None: ...
def closestLegalPosition(self, a0: int, a1: int) -> int: ...
def setRubberBand(self, position: int) -> None: ...
def moveSplitter(self, pos: int, index: int) -> None: ...
def changeEvent(self, a0: QtCore.QEvent) -> None: ...
def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ...
def event(self, a0: QtCore.QEvent) -> bool: ...
def childEvent(self, a0: QtCore.QChildEvent) -> None: ...
def createHandle(self) -> 'QSplitterHandle': ...
def splitterMoved(self, pos: int, index: int) -> None: ...
def replaceWidget(self, index: int, widget: QWidget) -> QWidget: ...
def setStretchFactor(self, index: int, stretch: int) -> None: ...
def handle(self, index: int) -> 'QSplitterHandle': ...
def getRange(self, index: int) -> typing.Tuple[int, int]: ...
def __len__(self) -> int: ...
def count(self) -> int: ...
def widget(self, index: int) -> QWidget: ...
def indexOf(self, w: QWidget) -> int: ...
def setHandleWidth(self, a0: int) -> None: ...
def handleWidth(self) -> int: ...
def restoreState(self, state: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> bool: ...
def saveState(self) -> QtCore.QByteArray: ...
def setSizes(self, list: typing.Iterable[int]) -> None: ...
def sizes(self) -> typing.List[int]: ...
def minimumSizeHint(self) -> QtCore.QSize: ...
def sizeHint(self) -> QtCore.QSize: ...
def refresh(self) -> None: ...
def opaqueResize(self) -> bool: ...
def setOpaqueResize(self, opaque: bool = ...) -> None: ...
def isCollapsible(self, index: int) -> bool: ...
def setCollapsible(self, index: int, a1: bool) -> None: ...
def childrenCollapsible(self) -> bool: ...
def setChildrenCollapsible(self, a0: bool) -> None: ...
def orientation(self) -> QtCore.Qt.Orientation: ...
def setOrientation(self, a0: QtCore.Qt.Orientation) -> None: ...
def insertWidget(self, index: int, widget: QWidget) -> None: ...
def addWidget(self, widget: QWidget) -> None: ...
class QSplitterHandle(QWidget):
def __init__(self, o: QtCore.Qt.Orientation, parent: QSplitter) -> None: ...
def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ...
def closestLegalPosition(self, p: int) -> int: ...
def moveSplitter(self, p: int) -> None: ...
def event(self, a0: QtCore.QEvent) -> bool: ...
def mouseReleaseEvent(self, a0: QtGui.QMouseEvent) -> None: ...
def mousePressEvent(self, a0: QtGui.QMouseEvent) -> None: ...
def mouseMoveEvent(self, a0: QtGui.QMouseEvent) -> None: ...
def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ...
def sizeHint(self) -> QtCore.QSize: ...
def splitter(self) -> QSplitter: ...
def opaqueResize(self) -> bool: ...
def orientation(self) -> QtCore.Qt.Orientation: ...
def setOrientation(self, o: QtCore.Qt.Orientation) -> None: ...
class QStackedLayout(QLayout):
class StackingMode(int): ...
StackOne = ... # type: 'QStackedLayout.StackingMode'
StackAll = ... # type: 'QStackedLayout.StackingMode'
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, parent: QWidget) -> None: ...
@typing.overload
def __init__(self, parentLayout: QLayout) -> None: ...
def heightForWidth(self, width: int) -> int: ...
def hasHeightForWidth(self) -> bool: ...
def setStackingMode(self, stackingMode: 'QStackedLayout.StackingMode') -> None: ...
def stackingMode(self) -> 'QStackedLayout.StackingMode': ...
def setCurrentWidget(self, w: QWidget) -> None: ...
def setCurrentIndex(self, index: int) -> None: ...
def currentChanged(self, index: int) -> None: ...
def widgetRemoved(self, index: int) -> None: ...
def setGeometry(self, rect: QtCore.QRect) -> None: ...
def takeAt(self, a0: int) -> QLayoutItem: ...
def itemAt(self, a0: int) -> QLayoutItem: ...
def minimumSize(self) -> QtCore.QSize: ...
def sizeHint(self) -> QtCore.QSize: ...
def addItem(self, item: QLayoutItem) -> None: ...
def count(self) -> int: ...
@typing.overload
def widget(self, a0: int) -> QWidget: ...
@typing.overload
def widget(self) -> QWidget: ...
def currentIndex(self) -> int: ...
def currentWidget(self) -> QWidget: ...
def insertWidget(self, index: int, w: QWidget) -> int: ...
def addWidget(self, w: QWidget) -> int: ...
class QStackedWidget(QFrame):
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
def event(self, e: QtCore.QEvent) -> bool: ...
def widgetRemoved(self, index: int) -> None: ...
def currentChanged(self, a0: int) -> None: ...
def setCurrentWidget(self, w: QWidget) -> None: ...
def setCurrentIndex(self, index: int) -> None: ...
def __len__(self) -> int: ...
def count(self) -> int: ...
def widget(self, a0: int) -> QWidget: ...
def indexOf(self, a0: QWidget) -> int: ...
def currentIndex(self) -> int: ...
def currentWidget(self) -> QWidget: ...
def removeWidget(self, w: QWidget) -> None: ...
def insertWidget(self, index: int, w: QWidget) -> int: ...
def addWidget(self, w: QWidget) -> int: ...
class QStatusBar(QWidget):
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
def showEvent(self, a0: QtGui.QShowEvent) -> None: ...
def event(self, a0: QtCore.QEvent) -> bool: ...
def hideOrShow(self) -> None: ...
def reformat(self) -> None: ...
def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ...
def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ...
def messageChanged(self, text: str) -> None: ...
def clearMessage(self) -> None: ...
def showMessage(self, message: str, msecs: int = ...) -> None: ...
def insertPermanentWidget(self, index: int, widget: QWidget, stretch: int = ...) -> int: ...
def insertWidget(self, index: int, widget: QWidget, stretch: int = ...) -> int: ...
def currentMessage(self) -> str: ...
def isSizeGripEnabled(self) -> bool: ...
def setSizeGripEnabled(self, a0: bool) -> None: ...
def removeWidget(self, widget: QWidget) -> None: ...
def addPermanentWidget(self, widget: QWidget, stretch: int = ...) -> None: ...
def addWidget(self, widget: QWidget, stretch: int = ...) -> None: ...
class QStyledItemDelegate(QAbstractItemDelegate):
def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ...
def editorEvent(self, event: QtCore.QEvent, model: QtCore.QAbstractItemModel, option: 'QStyleOptionViewItem', index: QtCore.QModelIndex) -> bool: ...
def eventFilter(self, object: QtCore.QObject, event: QtCore.QEvent) -> bool: ...
def initStyleOption(self, option: 'QStyleOptionViewItem', index: QtCore.QModelIndex) -> None: ...
def displayText(self, value: typing.Any, locale: QtCore.QLocale) -> str: ...
def setItemEditorFactory(self, factory: QItemEditorFactory) -> None: ...
def itemEditorFactory(self) -> QItemEditorFactory: ...
def updateEditorGeometry(self, editor: QWidget, option: 'QStyleOptionViewItem', index: QtCore.QModelIndex) -> None: ...
def setModelData(self, editor: QWidget, model: QtCore.QAbstractItemModel, index: QtCore.QModelIndex) -> None: ...
def setEditorData(self, editor: QWidget, index: QtCore.QModelIndex) -> None: ...
def createEditor(self, parent: QWidget, option: 'QStyleOptionViewItem', index: QtCore.QModelIndex) -> QWidget: ...
def sizeHint(self, option: 'QStyleOptionViewItem', index: QtCore.QModelIndex) -> QtCore.QSize: ...
def paint(self, painter: QtGui.QPainter, option: 'QStyleOptionViewItem', index: QtCore.QModelIndex) -> None: ...
class QStyleFactory(sip.simplewrapper):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, a0: 'QStyleFactory') -> None: ...
@staticmethod
def create(a0: str) -> QStyle: ...
@staticmethod
def keys() -> typing.List[str]: ...
class QStyleOption(sip.simplewrapper):
class StyleOptionVersion(int): ...
Version = ... # type: 'QStyleOption.StyleOptionVersion'
class StyleOptionType(int): ...
Type = ... # type: 'QStyleOption.StyleOptionType'
class OptionType(int): ...
SO_Default = ... # type: 'QStyleOption.OptionType'
SO_FocusRect = ... # type: 'QStyleOption.OptionType'
SO_Button = ... # type: 'QStyleOption.OptionType'
SO_Tab = ... # type: 'QStyleOption.OptionType'
SO_MenuItem = ... # type: 'QStyleOption.OptionType'
SO_Frame = ... # type: 'QStyleOption.OptionType'
SO_ProgressBar = ... # type: 'QStyleOption.OptionType'
SO_ToolBox = ... # type: 'QStyleOption.OptionType'
SO_Header = ... # type: 'QStyleOption.OptionType'
SO_DockWidget = ... # type: 'QStyleOption.OptionType'
SO_ViewItem = ... # type: 'QStyleOption.OptionType'
SO_TabWidgetFrame = ... # type: 'QStyleOption.OptionType'
SO_TabBarBase = ... # type: 'QStyleOption.OptionType'
SO_RubberBand = ... # type: 'QStyleOption.OptionType'
SO_ToolBar = ... # type: 'QStyleOption.OptionType'
SO_Complex = ... # type: 'QStyleOption.OptionType'
SO_Slider = ... # type: 'QStyleOption.OptionType'
SO_SpinBox = ... # type: 'QStyleOption.OptionType'
SO_ToolButton = ... # type: 'QStyleOption.OptionType'
SO_ComboBox = ... # type: 'QStyleOption.OptionType'
SO_TitleBar = ... # type: 'QStyleOption.OptionType'
SO_GroupBox = ... # type: 'QStyleOption.OptionType'
SO_ComplexCustomBase = ... # type: 'QStyleOption.OptionType'
SO_GraphicsItem = ... # type: 'QStyleOption.OptionType'
SO_SizeGrip = ... # type: 'QStyleOption.OptionType'
SO_CustomBase = ... # type: 'QStyleOption.OptionType'
direction = ... # type: QtCore.Qt.LayoutDirection
fontMetrics = ... # type: QtGui.QFontMetrics
palette = ... # type: QtGui.QPalette
rect = ... # type: QtCore.QRect
state = ... # type: typing.Union[QStyle.State, QStyle.StateFlag]
styleObject = ... # type: QtCore.QObject
type = ... # type: int
version = ... # type: int
@typing.overload
def __init__(self, version: int = ..., type: int = ...) -> None: ...
@typing.overload
def __init__(self, other: 'QStyleOption') -> None: ...
def initFrom(self, w: QWidget) -> None: ...
class QStyleOptionFocusRect(QStyleOption):
class StyleOptionVersion(int): ...
Version = ... # type: 'QStyleOptionFocusRect.StyleOptionVersion'
class StyleOptionType(int): ...
Type = ... # type: 'QStyleOptionFocusRect.StyleOptionType'
backgroundColor = ... # type: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, other: 'QStyleOptionFocusRect') -> None: ...
class QStyleOptionFrame(QStyleOption):
class FrameFeature(int): ...
None_ = ... # type: 'QStyleOptionFrame.FrameFeature'
Flat = ... # type: 'QStyleOptionFrame.FrameFeature'
Rounded = ... # type: 'QStyleOptionFrame.FrameFeature'
class StyleOptionVersion(int): ...
Version = ... # type: 'QStyleOptionFrame.StyleOptionVersion'
class StyleOptionType(int): ...
Type = ... # type: 'QStyleOptionFrame.StyleOptionType'
class FrameFeatures(sip.simplewrapper):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, f: typing.Union['QStyleOptionFrame.FrameFeatures', 'QStyleOptionFrame.FrameFeature']) -> None: ...
@typing.overload
def __init__(self, a0: 'QStyleOptionFrame.FrameFeatures') -> None: ...
def __hash__(self) -> int: ...
def __bool__(self) -> int: ...
def __invert__(self) -> 'QStyleOptionFrame.FrameFeatures': ...
def __int__(self) -> int: ...
features = ... # type: typing.Union['QStyleOptionFrame.FrameFeatures', 'QStyleOptionFrame.FrameFeature']
frameShape = ... # type: QFrame.Shape
lineWidth = ... # type: int
midLineWidth = ... # type: int
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, other: 'QStyleOptionFrame') -> None: ...
class QStyleOptionTabWidgetFrame(QStyleOption):
class StyleOptionVersion(int): ...
Version = ... # type: 'QStyleOptionTabWidgetFrame.StyleOptionVersion'
class StyleOptionType(int): ...
Type = ... # type: 'QStyleOptionTabWidgetFrame.StyleOptionType'
leftCornerWidgetSize = ... # type: QtCore.QSize
lineWidth = ... # type: int
midLineWidth = ... # type: int
rightCornerWidgetSize = ... # type: QtCore.QSize
selectedTabRect = ... # type: QtCore.QRect
shape = ... # type: 'QTabBar.Shape'
tabBarRect = ... # type: QtCore.QRect
tabBarSize = ... # type: QtCore.QSize
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, other: 'QStyleOptionTabWidgetFrame') -> None: ...
class QStyleOptionTabBarBase(QStyleOption):
class StyleOptionVersion(int): ...
Version = ... # type: 'QStyleOptionTabBarBase.StyleOptionVersion'
class StyleOptionType(int): ...
Type = ... # type: 'QStyleOptionTabBarBase.StyleOptionType'
documentMode = ... # type: bool
selectedTabRect = ... # type: QtCore.QRect
shape = ... # type: 'QTabBar.Shape'
tabBarRect = ... # type: QtCore.QRect
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, other: 'QStyleOptionTabBarBase') -> None: ...
class QStyleOptionHeader(QStyleOption):
class SortIndicator(int): ...
None_ = ... # type: 'QStyleOptionHeader.SortIndicator'
SortUp = ... # type: 'QStyleOptionHeader.SortIndicator'
SortDown = ... # type: 'QStyleOptionHeader.SortIndicator'
class SelectedPosition(int): ...
NotAdjacent = ... # type: 'QStyleOptionHeader.SelectedPosition'
NextIsSelected = ... # type: 'QStyleOptionHeader.SelectedPosition'
PreviousIsSelected = ... # type: 'QStyleOptionHeader.SelectedPosition'
NextAndPreviousAreSelected = ... # type: 'QStyleOptionHeader.SelectedPosition'
class SectionPosition(int): ...
Beginning = ... # type: 'QStyleOptionHeader.SectionPosition'
Middle = ... # type: 'QStyleOptionHeader.SectionPosition'
End = ... # type: 'QStyleOptionHeader.SectionPosition'
OnlyOneSection = ... # type: 'QStyleOptionHeader.SectionPosition'
class StyleOptionVersion(int): ...
Version = ... # type: 'QStyleOptionHeader.StyleOptionVersion'
class StyleOptionType(int): ...
Type = ... # type: 'QStyleOptionHeader.StyleOptionType'
icon = ... # type: QtGui.QIcon
iconAlignment = ... # type: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]
orientation = ... # type: QtCore.Qt.Orientation
position = ... # type: 'QStyleOptionHeader.SectionPosition'
section = ... # type: int
selectedPosition = ... # type: 'QStyleOptionHeader.SelectedPosition'
sortIndicator = ... # type: 'QStyleOptionHeader.SortIndicator'
text = ... # type: str
textAlignment = ... # type: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, other: 'QStyleOptionHeader') -> None: ...
class QStyleOptionButton(QStyleOption):
class ButtonFeature(int): ...
None_ = ... # type: 'QStyleOptionButton.ButtonFeature'
Flat = ... # type: 'QStyleOptionButton.ButtonFeature'
HasMenu = ... # type: 'QStyleOptionButton.ButtonFeature'
DefaultButton = ... # type: 'QStyleOptionButton.ButtonFeature'
AutoDefaultButton = ... # type: 'QStyleOptionButton.ButtonFeature'
CommandLinkButton = ... # type: 'QStyleOptionButton.ButtonFeature'
class StyleOptionVersion(int): ...
Version = ... # type: 'QStyleOptionButton.StyleOptionVersion'
class StyleOptionType(int): ...
Type = ... # type: 'QStyleOptionButton.StyleOptionType'
class ButtonFeatures(sip.simplewrapper):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, f: typing.Union['QStyleOptionButton.ButtonFeatures', 'QStyleOptionButton.ButtonFeature']) -> None: ...
@typing.overload
def __init__(self, a0: 'QStyleOptionButton.ButtonFeatures') -> None: ...
def __hash__(self) -> int: ...
def __bool__(self) -> int: ...
def __invert__(self) -> 'QStyleOptionButton.ButtonFeatures': ...
def __int__(self) -> int: ...
features = ... # type: typing.Union['QStyleOptionButton.ButtonFeatures', 'QStyleOptionButton.ButtonFeature']
icon = ... # type: QtGui.QIcon
iconSize = ... # type: QtCore.QSize
text = ... # type: str
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, other: 'QStyleOptionButton') -> None: ...
class QStyleOptionTab(QStyleOption):
class TabFeature(int): ...
None_ = ... # type: 'QStyleOptionTab.TabFeature'
HasFrame = ... # type: 'QStyleOptionTab.TabFeature'
class CornerWidget(int): ...
NoCornerWidgets = ... # type: 'QStyleOptionTab.CornerWidget'
LeftCornerWidget = ... # type: 'QStyleOptionTab.CornerWidget'
RightCornerWidget = ... # type: 'QStyleOptionTab.CornerWidget'
class SelectedPosition(int): ...
NotAdjacent = ... # type: 'QStyleOptionTab.SelectedPosition'
NextIsSelected = ... # type: 'QStyleOptionTab.SelectedPosition'
PreviousIsSelected = ... # type: 'QStyleOptionTab.SelectedPosition'
class TabPosition(int): ...
Beginning = ... # type: 'QStyleOptionTab.TabPosition'
Middle = ... # type: 'QStyleOptionTab.TabPosition'
End = ... # type: 'QStyleOptionTab.TabPosition'
OnlyOneTab = ... # type: 'QStyleOptionTab.TabPosition'
class StyleOptionVersion(int): ...
Version = ... # type: 'QStyleOptionTab.StyleOptionVersion'
class StyleOptionType(int): ...
Type = ... # type: 'QStyleOptionTab.StyleOptionType'
class CornerWidgets(sip.simplewrapper):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, f: typing.Union['QStyleOptionTab.CornerWidgets', 'QStyleOptionTab.CornerWidget']) -> None: ...
@typing.overload
def __init__(self, a0: 'QStyleOptionTab.CornerWidgets') -> None: ...
def __hash__(self) -> int: ...
def __bool__(self) -> int: ...
def __invert__(self) -> 'QStyleOptionTab.CornerWidgets': ...
def __int__(self) -> int: ...
class TabFeatures(sip.simplewrapper):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, f: typing.Union['QStyleOptionTab.TabFeatures', 'QStyleOptionTab.TabFeature']) -> None: ...
@typing.overload
def __init__(self, a0: 'QStyleOptionTab.TabFeatures') -> None: ...
def __hash__(self) -> int: ...
def __bool__(self) -> int: ...
def __invert__(self) -> 'QStyleOptionTab.TabFeatures': ...
def __int__(self) -> int: ...
cornerWidgets = ... # type: typing.Union['QStyleOptionTab.CornerWidgets', 'QStyleOptionTab.CornerWidget']
documentMode = ... # type: bool
features = ... # type: typing.Union['QStyleOptionTab.TabFeatures', 'QStyleOptionTab.TabFeature']
icon = ... # type: QtGui.QIcon
iconSize = ... # type: QtCore.QSize
leftButtonSize = ... # type: QtCore.QSize
position = ... # type: 'QStyleOptionTab.TabPosition'
rightButtonSize = ... # type: QtCore.QSize
row = ... # type: int
selectedPosition = ... # type: 'QStyleOptionTab.SelectedPosition'
shape = ... # type: 'QTabBar.Shape'
text = ... # type: str
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, other: 'QStyleOptionTab') -> None: ...
class QStyleOptionProgressBar(QStyleOption):
class StyleOptionVersion(int): ...
Version = ... # type: 'QStyleOptionProgressBar.StyleOptionVersion'
class StyleOptionType(int): ...
Type = ... # type: 'QStyleOptionProgressBar.StyleOptionType'
bottomToTop = ... # type: bool
invertedAppearance = ... # type: bool
maximum = ... # type: int
minimum = ... # type: int
orientation = ... # type: QtCore.Qt.Orientation
progress = ... # type: int
text = ... # type: str
textAlignment = ... # type: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]
textVisible = ... # type: bool
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, other: 'QStyleOptionProgressBar') -> None: ...
class QStyleOptionMenuItem(QStyleOption):
class CheckType(int): ...
NotCheckable = ... # type: 'QStyleOptionMenuItem.CheckType'
Exclusive = ... # type: 'QStyleOptionMenuItem.CheckType'
NonExclusive = ... # type: 'QStyleOptionMenuItem.CheckType'
class MenuItemType(int): ...
Normal = ... # type: 'QStyleOptionMenuItem.MenuItemType'
DefaultItem = ... # type: 'QStyleOptionMenuItem.MenuItemType'
Separator = ... # type: 'QStyleOptionMenuItem.MenuItemType'
SubMenu = ... # type: 'QStyleOptionMenuItem.MenuItemType'
Scroller = ... # type: 'QStyleOptionMenuItem.MenuItemType'
TearOff = ... # type: 'QStyleOptionMenuItem.MenuItemType'
Margin = ... # type: 'QStyleOptionMenuItem.MenuItemType'
EmptyArea = ... # type: 'QStyleOptionMenuItem.MenuItemType'
class StyleOptionVersion(int): ...
Version = ... # type: 'QStyleOptionMenuItem.StyleOptionVersion'
class StyleOptionType(int): ...
Type = ... # type: 'QStyleOptionMenuItem.StyleOptionType'
checkType = ... # type: 'QStyleOptionMenuItem.CheckType'
checked = ... # type: bool
font = ... # type: QtGui.QFont
icon = ... # type: QtGui.QIcon
maxIconWidth = ... # type: int
menuHasCheckableItems = ... # type: bool
menuItemType = ... # type: 'QStyleOptionMenuItem.MenuItemType'
menuRect = ... # type: QtCore.QRect
tabWidth = ... # type: int
text = ... # type: str
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, other: 'QStyleOptionMenuItem') -> None: ...
class QStyleOptionDockWidget(QStyleOption):
class StyleOptionVersion(int): ...
Version = ... # type: 'QStyleOptionDockWidget.StyleOptionVersion'
class StyleOptionType(int): ...
Type = ... # type: 'QStyleOptionDockWidget.StyleOptionType'
closable = ... # type: bool
floatable = ... # type: bool
movable = ... # type: bool
title = ... # type: str
verticalTitleBar = ... # type: bool
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, other: 'QStyleOptionDockWidget') -> None: ...
class QStyleOptionViewItem(QStyleOption):
class ViewItemPosition(int): ...
Invalid = ... # type: 'QStyleOptionViewItem.ViewItemPosition'
Beginning = ... # type: 'QStyleOptionViewItem.ViewItemPosition'
Middle = ... # type: 'QStyleOptionViewItem.ViewItemPosition'
End = ... # type: 'QStyleOptionViewItem.ViewItemPosition'
OnlyOne = ... # type: 'QStyleOptionViewItem.ViewItemPosition'
class ViewItemFeature(int): ...
None_ = ... # type: 'QStyleOptionViewItem.ViewItemFeature'
WrapText = ... # type: 'QStyleOptionViewItem.ViewItemFeature'
Alternate = ... # type: 'QStyleOptionViewItem.ViewItemFeature'
HasCheckIndicator = ... # type: 'QStyleOptionViewItem.ViewItemFeature'
HasDisplay = ... # type: 'QStyleOptionViewItem.ViewItemFeature'
HasDecoration = ... # type: 'QStyleOptionViewItem.ViewItemFeature'
class Position(int): ...
Left = ... # type: 'QStyleOptionViewItem.Position'
Right = ... # type: 'QStyleOptionViewItem.Position'
Top = ... # type: 'QStyleOptionViewItem.Position'
Bottom = ... # type: 'QStyleOptionViewItem.Position'
class StyleOptionVersion(int): ...
Version = ... # type: 'QStyleOptionViewItem.StyleOptionVersion'
class StyleOptionType(int): ...
Type = ... # type: 'QStyleOptionViewItem.StyleOptionType'
class ViewItemFeatures(sip.simplewrapper):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, f: typing.Union['QStyleOptionViewItem.ViewItemFeatures', 'QStyleOptionViewItem.ViewItemFeature']) -> None: ...
@typing.overload
def __init__(self, a0: 'QStyleOptionViewItem.ViewItemFeatures') -> None: ...
def __hash__(self) -> int: ...
def __bool__(self) -> int: ...
def __invert__(self) -> 'QStyleOptionViewItem.ViewItemFeatures': ...
def __int__(self) -> int: ...
backgroundBrush = ... # type: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]
checkState = ... # type: QtCore.Qt.CheckState
decorationAlignment = ... # type: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]
decorationPosition = ... # type: 'QStyleOptionViewItem.Position'
decorationSize = ... # type: QtCore.QSize
displayAlignment = ... # type: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]
features = ... # type: typing.Union['QStyleOptionViewItem.ViewItemFeatures', 'QStyleOptionViewItem.ViewItemFeature']
font = ... # type: QtGui.QFont
icon = ... # type: QtGui.QIcon
index = ... # type: QtCore.QModelIndex
locale = ... # type: QtCore.QLocale
showDecorationSelected = ... # type: bool
text = ... # type: str
textElideMode = ... # type: QtCore.Qt.TextElideMode
viewItemPosition = ... # type: 'QStyleOptionViewItem.ViewItemPosition'
widget = ... # type: QWidget
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, other: 'QStyleOptionViewItem') -> None: ...
class QStyleOptionToolBox(QStyleOption):
class SelectedPosition(int): ...
NotAdjacent = ... # type: 'QStyleOptionToolBox.SelectedPosition'
NextIsSelected = ... # type: 'QStyleOptionToolBox.SelectedPosition'
PreviousIsSelected = ... # type: 'QStyleOptionToolBox.SelectedPosition'
class TabPosition(int): ...
Beginning = ... # type: 'QStyleOptionToolBox.TabPosition'
Middle = ... # type: 'QStyleOptionToolBox.TabPosition'
End = ... # type: 'QStyleOptionToolBox.TabPosition'
OnlyOneTab = ... # type: 'QStyleOptionToolBox.TabPosition'
class StyleOptionVersion(int): ...
Version = ... # type: 'QStyleOptionToolBox.StyleOptionVersion'
class StyleOptionType(int): ...
Type = ... # type: 'QStyleOptionToolBox.StyleOptionType'
icon = ... # type: QtGui.QIcon
position = ... # type: 'QStyleOptionToolBox.TabPosition'
selectedPosition = ... # type: 'QStyleOptionToolBox.SelectedPosition'
text = ... # type: str
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, other: 'QStyleOptionToolBox') -> None: ...
class QStyleOptionRubberBand(QStyleOption):
class StyleOptionVersion(int): ...
Version = ... # type: 'QStyleOptionRubberBand.StyleOptionVersion'
class StyleOptionType(int): ...
Type = ... # type: 'QStyleOptionRubberBand.StyleOptionType'
opaque = ... # type: bool
shape = ... # type: QRubberBand.Shape
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, other: 'QStyleOptionRubberBand') -> None: ...
class QStyleOptionComplex(QStyleOption):
class StyleOptionVersion(int): ...
Version = ... # type: 'QStyleOptionComplex.StyleOptionVersion'
class StyleOptionType(int): ...
Type = ... # type: 'QStyleOptionComplex.StyleOptionType'
activeSubControls = ... # type: typing.Union[QStyle.SubControls, QStyle.SubControl]
subControls = ... # type: typing.Union[QStyle.SubControls, QStyle.SubControl]
@typing.overload
def __init__(self, version: int = ..., type: int = ...) -> None: ...
@typing.overload
def __init__(self, other: 'QStyleOptionComplex') -> None: ...
class QStyleOptionSlider(QStyleOptionComplex):
class StyleOptionVersion(int): ...
Version = ... # type: 'QStyleOptionSlider.StyleOptionVersion'
class StyleOptionType(int): ...
Type = ... # type: 'QStyleOptionSlider.StyleOptionType'
dialWrapping = ... # type: bool
maximum = ... # type: int
minimum = ... # type: int
notchTarget = ... # type: float
orientation = ... # type: QtCore.Qt.Orientation
pageStep = ... # type: int
singleStep = ... # type: int
sliderPosition = ... # type: int
sliderValue = ... # type: int
tickInterval = ... # type: int
tickPosition = ... # type: QSlider.TickPosition
upsideDown = ... # type: bool
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, other: 'QStyleOptionSlider') -> None: ...
class QStyleOptionSpinBox(QStyleOptionComplex):
class StyleOptionVersion(int): ...
Version = ... # type: 'QStyleOptionSpinBox.StyleOptionVersion'
class StyleOptionType(int): ...
Type = ... # type: 'QStyleOptionSpinBox.StyleOptionType'
buttonSymbols = ... # type: QAbstractSpinBox.ButtonSymbols
frame = ... # type: bool
stepEnabled = ... # type: typing.Union[QAbstractSpinBox.StepEnabled, QAbstractSpinBox.StepEnabledFlag]
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, other: 'QStyleOptionSpinBox') -> None: ...
class QStyleOptionToolButton(QStyleOptionComplex):
class ToolButtonFeature(int): ...
None_ = ... # type: 'QStyleOptionToolButton.ToolButtonFeature'
Arrow = ... # type: 'QStyleOptionToolButton.ToolButtonFeature'
Menu = ... # type: 'QStyleOptionToolButton.ToolButtonFeature'
PopupDelay = ... # type: 'QStyleOptionToolButton.ToolButtonFeature'
MenuButtonPopup = ... # type: 'QStyleOptionToolButton.ToolButtonFeature'
HasMenu = ... # type: 'QStyleOptionToolButton.ToolButtonFeature'
class StyleOptionVersion(int): ...
Version = ... # type: 'QStyleOptionToolButton.StyleOptionVersion'
class StyleOptionType(int): ...
Type = ... # type: 'QStyleOptionToolButton.StyleOptionType'
class ToolButtonFeatures(sip.simplewrapper):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, f: typing.Union['QStyleOptionToolButton.ToolButtonFeatures', 'QStyleOptionToolButton.ToolButtonFeature']) -> None: ...
@typing.overload
def __init__(self, a0: 'QStyleOptionToolButton.ToolButtonFeatures') -> None: ...
def __hash__(self) -> int: ...
def __bool__(self) -> int: ...
def __invert__(self) -> 'QStyleOptionToolButton.ToolButtonFeatures': ...
def __int__(self) -> int: ...
arrowType = ... # type: QtCore.Qt.ArrowType
features = ... # type: typing.Union['QStyleOptionToolButton.ToolButtonFeatures', 'QStyleOptionToolButton.ToolButtonFeature']
font = ... # type: QtGui.QFont
icon = ... # type: QtGui.QIcon
iconSize = ... # type: QtCore.QSize
pos = ... # type: QtCore.QPoint
text = ... # type: str
toolButtonStyle = ... # type: QtCore.Qt.ToolButtonStyle
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, other: 'QStyleOptionToolButton') -> None: ...
class QStyleOptionComboBox(QStyleOptionComplex):
class StyleOptionVersion(int): ...
Version = ... # type: 'QStyleOptionComboBox.StyleOptionVersion'
class StyleOptionType(int): ...
Type = ... # type: 'QStyleOptionComboBox.StyleOptionType'
currentIcon = ... # type: QtGui.QIcon
currentText = ... # type: str
editable = ... # type: bool
frame = ... # type: bool
iconSize = ... # type: QtCore.QSize
popupRect = ... # type: QtCore.QRect
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, other: 'QStyleOptionComboBox') -> None: ...
class QStyleOptionTitleBar(QStyleOptionComplex):
class StyleOptionVersion(int): ...
Version = ... # type: 'QStyleOptionTitleBar.StyleOptionVersion'
class StyleOptionType(int): ...
Type = ... # type: 'QStyleOptionTitleBar.StyleOptionType'
icon = ... # type: QtGui.QIcon
text = ... # type: str
titleBarFlags = ... # type: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType]
titleBarState = ... # type: int
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, other: 'QStyleOptionTitleBar') -> None: ...
class QStyleHintReturn(sip.simplewrapper):
class StyleOptionVersion(int): ...
Version = ... # type: 'QStyleHintReturn.StyleOptionVersion'
class StyleOptionType(int): ...
Type = ... # type: 'QStyleHintReturn.StyleOptionType'
class HintReturnType(int): ...
SH_Default = ... # type: 'QStyleHintReturn.HintReturnType'
SH_Mask = ... # type: 'QStyleHintReturn.HintReturnType'
SH_Variant = ... # type: 'QStyleHintReturn.HintReturnType'
type = ... # type: int
version = ... # type: int
@typing.overload
def __init__(self, version: int = ..., type: int = ...) -> None: ...
@typing.overload
def __init__(self, a0: 'QStyleHintReturn') -> None: ...
class QStyleHintReturnMask(QStyleHintReturn):
class StyleOptionVersion(int): ...
Version = ... # type: 'QStyleHintReturnMask.StyleOptionVersion'
class StyleOptionType(int): ...
Type = ... # type: 'QStyleHintReturnMask.StyleOptionType'
region = ... # type: QtGui.QRegion
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, a0: 'QStyleHintReturnMask') -> None: ...
class QStyleOptionToolBar(QStyleOption):
class ToolBarFeature(int): ...
None_ = ... # type: 'QStyleOptionToolBar.ToolBarFeature'
Movable = ... # type: 'QStyleOptionToolBar.ToolBarFeature'
class ToolBarPosition(int): ...
Beginning = ... # type: 'QStyleOptionToolBar.ToolBarPosition'
Middle = ... # type: 'QStyleOptionToolBar.ToolBarPosition'
End = ... # type: 'QStyleOptionToolBar.ToolBarPosition'
OnlyOne = ... # type: 'QStyleOptionToolBar.ToolBarPosition'
class StyleOptionVersion(int): ...
Version = ... # type: 'QStyleOptionToolBar.StyleOptionVersion'
class StyleOptionType(int): ...
Type = ... # type: 'QStyleOptionToolBar.StyleOptionType'
class ToolBarFeatures(sip.simplewrapper):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, f: typing.Union['QStyleOptionToolBar.ToolBarFeatures', 'QStyleOptionToolBar.ToolBarFeature']) -> None: ...
@typing.overload
def __init__(self, a0: 'QStyleOptionToolBar.ToolBarFeatures') -> None: ...
def __hash__(self) -> int: ...
def __bool__(self) -> int: ...
def __invert__(self) -> 'QStyleOptionToolBar.ToolBarFeatures': ...
def __int__(self) -> int: ...
features = ... # type: typing.Union['QStyleOptionToolBar.ToolBarFeatures', 'QStyleOptionToolBar.ToolBarFeature']
lineWidth = ... # type: int
midLineWidth = ... # type: int
positionOfLine = ... # type: 'QStyleOptionToolBar.ToolBarPosition'
positionWithinLine = ... # type: 'QStyleOptionToolBar.ToolBarPosition'
toolBarArea = ... # type: QtCore.Qt.ToolBarArea
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, other: 'QStyleOptionToolBar') -> None: ...
class QStyleOptionGroupBox(QStyleOptionComplex):
class StyleOptionVersion(int): ...
Version = ... # type: 'QStyleOptionGroupBox.StyleOptionVersion'
class StyleOptionType(int): ...
Type = ... # type: 'QStyleOptionGroupBox.StyleOptionType'
features = ... # type: typing.Union[QStyleOptionFrame.FrameFeatures, QStyleOptionFrame.FrameFeature]
lineWidth = ... # type: int
midLineWidth = ... # type: int
text = ... # type: str
textAlignment = ... # type: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]
textColor = ... # type: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, other: 'QStyleOptionGroupBox') -> None: ...
class QStyleOptionSizeGrip(QStyleOptionComplex):
class StyleOptionVersion(int): ...
Version = ... # type: 'QStyleOptionSizeGrip.StyleOptionVersion'
class StyleOptionType(int): ...
Type = ... # type: 'QStyleOptionSizeGrip.StyleOptionType'
corner = ... # type: QtCore.Qt.Corner
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, other: 'QStyleOptionSizeGrip') -> None: ...
class QStyleOptionGraphicsItem(QStyleOption):
class StyleOptionVersion(int): ...
Version = ... # type: 'QStyleOptionGraphicsItem.StyleOptionVersion'
class StyleOptionType(int): ...
Type = ... # type: 'QStyleOptionGraphicsItem.StyleOptionType'
exposedRect = ... # type: QtCore.QRectF
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, other: 'QStyleOptionGraphicsItem') -> None: ...
@staticmethod
def levelOfDetailFromTransform(worldTransform: QtGui.QTransform) -> float: ...
class QStyleHintReturnVariant(QStyleHintReturn):
class StyleOptionVersion(int): ...
Version = ... # type: 'QStyleHintReturnVariant.StyleOptionVersion'
class StyleOptionType(int): ...
Type = ... # type: 'QStyleHintReturnVariant.StyleOptionType'
variant = ... # type: typing.Any
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, a0: 'QStyleHintReturnVariant') -> None: ...
class QStylePainter(QtGui.QPainter):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, w: QWidget) -> None: ...
@typing.overload
def __init__(self, pd: QtGui.QPaintDevice, w: QWidget) -> None: ...
def drawItemPixmap(self, r: QtCore.QRect, flags: int, pixmap: QtGui.QPixmap) -> None: ...
def drawItemText(self, rect: QtCore.QRect, flags: int, pal: QtGui.QPalette, enabled: bool, text: str, textRole: QtGui.QPalette.ColorRole = ...) -> None: ...
def drawComplexControl(self, cc: QStyle.ComplexControl, opt: QStyleOptionComplex) -> None: ...
def drawControl(self, ce: QStyle.ControlElement, opt: QStyleOption) -> None: ...
def drawPrimitive(self, pe: QStyle.PrimitiveElement, opt: QStyleOption) -> None: ...
def style(self) -> QStyle: ...
@typing.overload
def begin(self, w: QWidget) -> bool: ...
@typing.overload
def begin(self, pd: QtGui.QPaintDevice, w: QWidget) -> bool: ...
class QSystemTrayIcon(QtCore.QObject):
class MessageIcon(int): ...
NoIcon = ... # type: 'QSystemTrayIcon.MessageIcon'
Information = ... # type: 'QSystemTrayIcon.MessageIcon'
Warning = ... # type: 'QSystemTrayIcon.MessageIcon'
Critical = ... # type: 'QSystemTrayIcon.MessageIcon'
class ActivationReason(int): ...
Unknown = ... # type: 'QSystemTrayIcon.ActivationReason'
Context = ... # type: 'QSystemTrayIcon.ActivationReason'
DoubleClick = ... # type: 'QSystemTrayIcon.ActivationReason'
Trigger = ... # type: 'QSystemTrayIcon.ActivationReason'
MiddleClick = ... # type: 'QSystemTrayIcon.ActivationReason'
@typing.overload
def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ...
@typing.overload
def __init__(self, icon: QtGui.QIcon, parent: typing.Optional[QtCore.QObject] = ...) -> None: ...
def event(self, event: QtCore.QEvent) -> bool: ...
def messageClicked(self) -> None: ...
def activated(self, reason: 'QSystemTrayIcon.ActivationReason') -> None: ...
def show(self) -> None: ...
def setVisible(self, visible: bool) -> None: ...
def hide(self) -> None: ...
def isVisible(self) -> bool: ...
@typing.overload
def showMessage(self, title: str, msg: str, icon: 'QSystemTrayIcon.MessageIcon' = ..., msecs: int = ...) -> None: ...
@typing.overload
def showMessage(self, title: str, msg: str, icon: QtGui.QIcon, msecs: int = ...) -> None: ...
@staticmethod
def supportsMessages() -> bool: ...
@staticmethod
def isSystemTrayAvailable() -> bool: ...
def setToolTip(self, tip: str) -> None: ...
def toolTip(self) -> str: ...
def setIcon(self, icon: QtGui.QIcon) -> None: ...
def icon(self) -> QtGui.QIcon: ...
def geometry(self) -> QtCore.QRect: ...
def contextMenu(self) -> QMenu: ...
def setContextMenu(self, menu: QMenu) -> None: ...
class QTabBar(QWidget):
class SelectionBehavior(int): ...
SelectLeftTab = ... # type: 'QTabBar.SelectionBehavior'
SelectRightTab = ... # type: 'QTabBar.SelectionBehavior'
SelectPreviousTab = ... # type: 'QTabBar.SelectionBehavior'
class ButtonPosition(int): ...
LeftSide = ... # type: 'QTabBar.ButtonPosition'
RightSide = ... # type: 'QTabBar.ButtonPosition'
class Shape(int): ...
RoundedNorth = ... # type: 'QTabBar.Shape'
RoundedSouth = ... # type: 'QTabBar.Shape'
RoundedWest = ... # type: 'QTabBar.Shape'
RoundedEast = ... # type: 'QTabBar.Shape'
TriangularNorth = ... # type: 'QTabBar.Shape'
TriangularSouth = ... # type: 'QTabBar.Shape'
TriangularWest = ... # type: 'QTabBar.Shape'
TriangularEast = ... # type: 'QTabBar.Shape'
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
def setAccessibleTabName(self, index: int, name: str) -> None: ...
def accessibleTabName(self, index: int) -> str: ...
def timerEvent(self, event: QtCore.QTimerEvent) -> None: ...
def setChangeCurrentOnDrag(self, change: bool) -> None: ...
def changeCurrentOnDrag(self) -> bool: ...
def setAutoHide(self, hide: bool) -> None: ...
def autoHide(self) -> bool: ...
def tabBarDoubleClicked(self, index: int) -> None: ...
def tabBarClicked(self, index: int) -> None: ...
def minimumTabSizeHint(self, index: int) -> QtCore.QSize: ...
def wheelEvent(self, event: QtGui.QWheelEvent) -> None: ...
def hideEvent(self, a0: QtGui.QHideEvent) -> None: ...
def tabMoved(self, from_: int, to: int) -> None: ...
def tabCloseRequested(self, index: int) -> None: ...
def setDocumentMode(self, set: bool) -> None: ...
def documentMode(self) -> bool: ...
def setMovable(self, movable: bool) -> None: ...
def isMovable(self) -> bool: ...
def setExpanding(self, enabled: bool) -> None: ...
def expanding(self) -> bool: ...
def setSelectionBehaviorOnRemove(self, behavior: 'QTabBar.SelectionBehavior') -> None: ...
def selectionBehaviorOnRemove(self) -> 'QTabBar.SelectionBehavior': ...
def tabButton(self, index: int, position: 'QTabBar.ButtonPosition') -> QWidget: ...
def setTabButton(self, index: int, position: 'QTabBar.ButtonPosition', widget: QWidget) -> None: ...
def setTabsClosable(self, closable: bool) -> None: ...
def tabsClosable(self) -> bool: ...
def moveTab(self, from_: int, to: int) -> None: ...
def changeEvent(self, a0: QtCore.QEvent) -> None: ...
def keyPressEvent(self, a0: QtGui.QKeyEvent) -> None: ...
def mouseReleaseEvent(self, a0: QtGui.QMouseEvent) -> None: ...
def mouseMoveEvent(self, a0: QtGui.QMouseEvent) -> None: ...
def mousePressEvent(self, a0: QtGui.QMouseEvent) -> None: ...
def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ...
def showEvent(self, a0: QtGui.QShowEvent) -> None: ...
def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ...
def event(self, a0: QtCore.QEvent) -> bool: ...
def tabLayoutChange(self) -> None: ...
def tabRemoved(self, index: int) -> None: ...
def tabInserted(self, index: int) -> None: ...
def tabSizeHint(self, index: int) -> QtCore.QSize: ...
def initStyleOption(self, option: QStyleOptionTab, tabIndex: int) -> None: ...
def currentChanged(self, index: int) -> None: ...
def setCurrentIndex(self, index: int) -> None: ...
def usesScrollButtons(self) -> bool: ...
def setUsesScrollButtons(self, useButtons: bool) -> None: ...
def setElideMode(self, a0: QtCore.Qt.TextElideMode) -> None: ...
def elideMode(self) -> QtCore.Qt.TextElideMode: ...
def setIconSize(self, size: QtCore.QSize) -> None: ...
def iconSize(self) -> QtCore.QSize: ...
def drawBase(self) -> bool: ...
def setDrawBase(self, drawTheBase: bool) -> None: ...
def minimumSizeHint(self) -> QtCore.QSize: ...
def sizeHint(self) -> QtCore.QSize: ...
def __len__(self) -> int: ...
def count(self) -> int: ...
def currentIndex(self) -> int: ...
def tabRect(self, index: int) -> QtCore.QRect: ...
def tabAt(self, pos: QtCore.QPoint) -> int: ...
def tabData(self, index: int) -> typing.Any: ...
def setTabData(self, index: int, data: typing.Any) -> None: ...
def tabWhatsThis(self, index: int) -> str: ...
def setTabWhatsThis(self, index: int, text: str) -> None: ...
def tabToolTip(self, index: int) -> str: ...
def setTabToolTip(self, index: int, tip: str) -> None: ...
def setTabIcon(self, index: int, icon: QtGui.QIcon) -> None: ...
def tabIcon(self, index: int) -> QtGui.QIcon: ...
def setTabTextColor(self, index: int, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ...
def tabTextColor(self, index: int) -> QtGui.QColor: ...
def setTabText(self, index: int, text: str) -> None: ...
def tabText(self, index: int) -> str: ...
def setTabEnabled(self, index: int, a1: bool) -> None: ...
def isTabEnabled(self, index: int) -> bool: ...
def removeTab(self, index: int) -> None: ...
@typing.overload
def insertTab(self, index: int, text: str) -> int: ...
@typing.overload
def insertTab(self, index: int, icon: QtGui.QIcon, text: str) -> int: ...
@typing.overload
def addTab(self, text: str) -> int: ...
@typing.overload
def addTab(self, icon: QtGui.QIcon, text: str) -> int: ...
def setShape(self, shape: 'QTabBar.Shape') -> None: ...
def shape(self) -> 'QTabBar.Shape': ...
class QTableView(QAbstractItemView):
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
def currentChanged(self, current: QtCore.QModelIndex, previous: QtCore.QModelIndex) -> None: ...
def selectionChanged(self, selected: QtCore.QItemSelection, deselected: QtCore.QItemSelection) -> None: ...
def clearSpans(self) -> None: ...
def isCornerButtonEnabled(self) -> bool: ...
def setCornerButtonEnabled(self, enable: bool) -> None: ...
def wordWrap(self) -> bool: ...
def setWordWrap(self, on: bool) -> None: ...
def sortByColumn(self, column: int, order: QtCore.Qt.SortOrder) -> None: ...
def columnSpan(self, row: int, column: int) -> int: ...
def rowSpan(self, row: int, column: int) -> int: ...
def setSpan(self, row: int, column: int, rowSpan: int, columnSpan: int) -> None: ...
def isSortingEnabled(self) -> bool: ...
def setSortingEnabled(self, enable: bool) -> None: ...
def viewportSizeHint(self) -> QtCore.QSize: ...
def isIndexHidden(self, index: QtCore.QModelIndex) -> bool: ...
def horizontalScrollbarAction(self, action: int) -> None: ...
def verticalScrollbarAction(self, action: int) -> None: ...
def sizeHintForColumn(self, column: int) -> int: ...
def sizeHintForRow(self, row: int) -> int: ...
def updateGeometries(self) -> None: ...
def selectedIndexes(self) -> typing.Any: ...
def visualRegionForSelection(self, selection: QtCore.QItemSelection) -> QtGui.QRegion: ...
def setSelection(self, rect: QtCore.QRect, command: typing.Union[QtCore.QItemSelectionModel.SelectionFlags, QtCore.QItemSelectionModel.SelectionFlag]) -> None: ...
def moveCursor(self, cursorAction: QAbstractItemView.CursorAction, modifiers: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier]) -> QtCore.QModelIndex: ...
def verticalOffset(self) -> int: ...
def horizontalOffset(self) -> int: ...
def timerEvent(self, event: QtCore.QTimerEvent) -> None: ...
def paintEvent(self, e: QtGui.QPaintEvent) -> None: ...
def viewOptions(self) -> QStyleOptionViewItem: ...
def scrollContentsBy(self, dx: int, dy: int) -> None: ...
def columnCountChanged(self, oldCount: int, newCount: int) -> None: ...
def rowCountChanged(self, oldCount: int, newCount: int) -> None: ...
def columnResized(self, column: int, oldWidth: int, newWidth: int) -> None: ...
def rowResized(self, row: int, oldHeight: int, newHeight: int) -> None: ...
def columnMoved(self, column: int, oldIndex: int, newIndex: int) -> None: ...
def rowMoved(self, row: int, oldIndex: int, newIndex: int) -> None: ...
def resizeColumnsToContents(self) -> None: ...
def resizeColumnToContents(self, column: int) -> None: ...
def resizeRowsToContents(self) -> None: ...
def resizeRowToContents(self, row: int) -> None: ...
def showColumn(self, column: int) -> None: ...
def showRow(self, row: int) -> None: ...
def hideColumn(self, column: int) -> None: ...
def hideRow(self, row: int) -> None: ...
def selectColumn(self, column: int) -> None: ...
def selectRow(self, row: int) -> None: ...
def indexAt(self, p: QtCore.QPoint) -> QtCore.QModelIndex: ...
def scrollTo(self, index: QtCore.QModelIndex, hint: QAbstractItemView.ScrollHint = ...) -> None: ...
def visualRect(self, index: QtCore.QModelIndex) -> QtCore.QRect: ...
def setGridStyle(self, style: QtCore.Qt.PenStyle) -> None: ...
def gridStyle(self) -> QtCore.Qt.PenStyle: ...
def setShowGrid(self, show: bool) -> None: ...
def showGrid(self) -> bool: ...
def setColumnHidden(self, column: int, hide: bool) -> None: ...
def isColumnHidden(self, column: int) -> bool: ...
def setRowHidden(self, row: int, hide: bool) -> None: ...
def isRowHidden(self, row: int) -> bool: ...
def columnAt(self, x: int) -> int: ...
def columnWidth(self, column: int) -> int: ...
def setColumnWidth(self, column: int, width: int) -> None: ...
def columnViewportPosition(self, column: int) -> int: ...
def rowAt(self, y: int) -> int: ...
def rowHeight(self, row: int) -> int: ...
def setRowHeight(self, row: int, height: int) -> None: ...
def rowViewportPosition(self, row: int) -> int: ...
def setVerticalHeader(self, header: QHeaderView) -> None: ...
def setHorizontalHeader(self, header: QHeaderView) -> None: ...
def verticalHeader(self) -> QHeaderView: ...
def horizontalHeader(self) -> QHeaderView: ...
def setSelectionModel(self, selectionModel: QtCore.QItemSelectionModel) -> None: ...
def setRootIndex(self, index: QtCore.QModelIndex) -> None: ...
def setModel(self, model: QtCore.QAbstractItemModel) -> None: ...
class QTableWidgetSelectionRange(sip.simplewrapper):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, top: int, left: int, bottom: int, right: int) -> None: ...
@typing.overload
def __init__(self, other: 'QTableWidgetSelectionRange') -> None: ...
def columnCount(self) -> int: ...
def rowCount(self) -> int: ...
def rightColumn(self) -> int: ...
def leftColumn(self) -> int: ...
def bottomRow(self) -> int: ...
def topRow(self) -> int: ...
class QTableWidgetItem(sip.wrapper):
class ItemType(int): ...
Type = ... # type: 'QTableWidgetItem.ItemType'
UserType = ... # type: 'QTableWidgetItem.ItemType'
@typing.overload
def __init__(self, type: int = ...) -> None: ...
@typing.overload
def __init__(self, text: str, type: int = ...) -> None: ...
@typing.overload
def __init__(self, icon: QtGui.QIcon, text: str, type: int = ...) -> None: ...
@typing.overload
def __init__(self, other: 'QTableWidgetItem') -> None: ...
def isSelected(self) -> bool: ...
def setSelected(self, aselect: bool) -> None: ...
def column(self) -> int: ...
def row(self) -> int: ...
def setForeground(self, brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ...
def foreground(self) -> QtGui.QBrush: ...
def setBackground(self, brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ...
def background(self) -> QtGui.QBrush: ...
def setSizeHint(self, size: QtCore.QSize) -> None: ...
def sizeHint(self) -> QtCore.QSize: ...
def setFont(self, afont: QtGui.QFont) -> None: ...
def setWhatsThis(self, awhatsThis: str) -> None: ...
def setToolTip(self, atoolTip: str) -> None: ...
def setStatusTip(self, astatusTip: str) -> None: ...
def setIcon(self, aicon: QtGui.QIcon) -> None: ...
def setText(self, atext: str) -> None: ...
def setFlags(self, aflags: typing.Union[QtCore.Qt.ItemFlags, QtCore.Qt.ItemFlag]) -> None: ...
def type(self) -> int: ...
def write(self, out: QtCore.QDataStream) -> None: ...
def read(self, in_: QtCore.QDataStream) -> None: ...
def setData(self, role: int, value: typing.Any) -> None: ...
def data(self, role: int) -> typing.Any: ...
def setCheckState(self, state: QtCore.Qt.CheckState) -> None: ...
def checkState(self) -> QtCore.Qt.CheckState: ...
def setTextAlignment(self, alignment: int) -> None: ...
def textAlignment(self) -> int: ...
def font(self) -> QtGui.QFont: ...
def whatsThis(self) -> str: ...
def toolTip(self) -> str: ...
def statusTip(self) -> str: ...
def icon(self) -> QtGui.QIcon: ...
def text(self) -> str: ...
def flags(self) -> QtCore.Qt.ItemFlags: ...
def tableWidget(self) -> 'QTableWidget': ...
def clone(self) -> 'QTableWidgetItem': ...
class QTableWidget(QTableView):
@typing.overload
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
@typing.overload
def __init__(self, rows: int, columns: int, parent: typing.Optional[QWidget] = ...) -> None: ...
def dropEvent(self, event: QtGui.QDropEvent) -> None: ...
def event(self, e: QtCore.QEvent) -> bool: ...
def itemFromIndex(self, index: QtCore.QModelIndex) -> QTableWidgetItem: ...
def indexFromItem(self, item: QTableWidgetItem) -> QtCore.QModelIndex: ...
def items(self, data: QtCore.QMimeData) -> typing.List[QTableWidgetItem]: ...
def supportedDropActions(self) -> QtCore.Qt.DropActions: ...
def dropMimeData(self, row: int, column: int, data: QtCore.QMimeData, action: QtCore.Qt.DropAction) -> bool: ...
def mimeData(self, items: typing.Iterable[QTableWidgetItem]) -> QtCore.QMimeData: ...
def mimeTypes(self) -> typing.List[str]: ...
def currentCellChanged(self, currentRow: int, currentColumn: int, previousRow: int, previousColumn: int) -> None: ...
def cellChanged(self, row: int, column: int) -> None: ...
def cellEntered(self, row: int, column: int) -> None: ...
def cellActivated(self, row: int, column: int) -> None: ...
def cellDoubleClicked(self, row: int, column: int) -> None: ...
def cellClicked(self, row: int, column: int) -> None: ...
def cellPressed(self, row: int, column: int) -> None: ...
def itemSelectionChanged(self) -> None: ...
def currentItemChanged(self, current: QTableWidgetItem, previous: QTableWidgetItem) -> None: ...
def itemChanged(self, item: QTableWidgetItem) -> None: ...
def itemEntered(self, item: QTableWidgetItem) -> None: ...
def itemActivated(self, item: QTableWidgetItem) -> None: ...
def itemDoubleClicked(self, item: QTableWidgetItem) -> None: ...
def itemClicked(self, item: QTableWidgetItem) -> None: ...
def itemPressed(self, item: QTableWidgetItem) -> None: ...
def clearContents(self) -> None: ...
def clear(self) -> None: ...
def removeColumn(self, column: int) -> None: ...
def removeRow(self, row: int) -> None: ...
def insertColumn(self, column: int) -> None: ...
def insertRow(self, row: int) -> None: ...
def scrollToItem(self, item: QTableWidgetItem, hint: QAbstractItemView.ScrollHint = ...) -> None: ...
def setItemPrototype(self, item: QTableWidgetItem) -> None: ...
def itemPrototype(self) -> QTableWidgetItem: ...
def visualItemRect(self, item: QTableWidgetItem) -> QtCore.QRect: ...
@typing.overload
def itemAt(self, p: QtCore.QPoint) -> QTableWidgetItem: ...
@typing.overload
def itemAt(self, ax: int, ay: int) -> QTableWidgetItem: ...
def visualColumn(self, logicalColumn: int) -> int: ...
def visualRow(self, logicalRow: int) -> int: ...
def findItems(self, text: str, flags: typing.Union[QtCore.Qt.MatchFlags, QtCore.Qt.MatchFlag]) -> typing.List[QTableWidgetItem]: ...
def selectedItems(self) -> typing.Any: ...
def selectedRanges(self) -> typing.Any: ...
def setRangeSelected(self, range: QTableWidgetSelectionRange, select: bool) -> None: ...
def removeCellWidget(self, arow: int, acolumn: int) -> None: ...
def setCellWidget(self, row: int, column: int, widget: QWidget) -> None: ...
def cellWidget(self, row: int, column: int) -> QWidget: ...
def closePersistentEditor(self, item: QTableWidgetItem) -> None: ...
def openPersistentEditor(self, item: QTableWidgetItem) -> None: ...
def editItem(self, item: QTableWidgetItem) -> None: ...
def isSortingEnabled(self) -> bool: ...
def setSortingEnabled(self, enable: bool) -> None: ...
def sortItems(self, column: int, order: QtCore.Qt.SortOrder = ...) -> None: ...
@typing.overload
def setCurrentCell(self, row: int, column: int) -> None: ...
@typing.overload
def setCurrentCell(self, row: int, column: int, command: typing.Union[QtCore.QItemSelectionModel.SelectionFlags, QtCore.QItemSelectionModel.SelectionFlag]) -> None: ...
@typing.overload
def setCurrentItem(self, item: QTableWidgetItem) -> None: ...
@typing.overload
def setCurrentItem(self, item: QTableWidgetItem, command: typing.Union[QtCore.QItemSelectionModel.SelectionFlags, QtCore.QItemSelectionModel.SelectionFlag]) -> None: ...
def currentItem(self) -> QTableWidgetItem: ...
def currentColumn(self) -> int: ...
def currentRow(self) -> int: ...
def setHorizontalHeaderLabels(self, labels: typing.Iterable[str]) -> None: ...
def setVerticalHeaderLabels(self, labels: typing.Iterable[str]) -> None: ...
def takeHorizontalHeaderItem(self, column: int) -> QTableWidgetItem: ...
def setHorizontalHeaderItem(self, column: int, item: QTableWidgetItem) -> None: ...
def horizontalHeaderItem(self, column: int) -> QTableWidgetItem: ...
def takeVerticalHeaderItem(self, row: int) -> QTableWidgetItem: ...
def setVerticalHeaderItem(self, row: int, item: QTableWidgetItem) -> None: ...
def verticalHeaderItem(self, row: int) -> QTableWidgetItem: ...
def takeItem(self, row: int, column: int) -> QTableWidgetItem: ...
def setItem(self, row: int, column: int, item: QTableWidgetItem) -> None: ...
def item(self, row: int, column: int) -> QTableWidgetItem: ...
def column(self, item: QTableWidgetItem) -> int: ...
def row(self, item: QTableWidgetItem) -> int: ...
def columnCount(self) -> int: ...
def setColumnCount(self, columns: int) -> None: ...
def rowCount(self) -> int: ...
def setRowCount(self, rows: int) -> None: ...
class QTabWidget(QWidget):
class TabShape(int): ...
Rounded = ... # type: 'QTabWidget.TabShape'
Triangular = ... # type: 'QTabWidget.TabShape'
class TabPosition(int): ...
North = ... # type: 'QTabWidget.TabPosition'
South = ... # type: 'QTabWidget.TabPosition'
West = ... # type: 'QTabWidget.TabPosition'
East = ... # type: 'QTabWidget.TabPosition'
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
def setTabBarAutoHide(self, enabled: bool) -> None: ...
def tabBarAutoHide(self) -> bool: ...
def tabBarDoubleClicked(self, index: int) -> None: ...
def tabBarClicked(self, index: int) -> None: ...
def hasHeightForWidth(self) -> bool: ...
def heightForWidth(self, width: int) -> int: ...
def tabCloseRequested(self, index: int) -> None: ...
def setDocumentMode(self, set: bool) -> None: ...
def documentMode(self) -> bool: ...
def setMovable(self, movable: bool) -> None: ...
def isMovable(self) -> bool: ...
def setTabsClosable(self, closeable: bool) -> None: ...
def tabsClosable(self) -> bool: ...
def setUsesScrollButtons(self, useButtons: bool) -> None: ...
def usesScrollButtons(self) -> bool: ...
def setIconSize(self, size: QtCore.QSize) -> None: ...
def iconSize(self) -> QtCore.QSize: ...
def setElideMode(self, a0: QtCore.Qt.TextElideMode) -> None: ...
def elideMode(self) -> QtCore.Qt.TextElideMode: ...
def changeEvent(self, a0: QtCore.QEvent) -> None: ...
def tabBar(self) -> QTabBar: ...
def setTabBar(self, a0: QTabBar) -> None: ...
def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ...
def keyPressEvent(self, a0: QtGui.QKeyEvent) -> None: ...
def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ...
def showEvent(self, a0: QtGui.QShowEvent) -> None: ...
def event(self, a0: QtCore.QEvent) -> bool: ...
def tabRemoved(self, index: int) -> None: ...
def tabInserted(self, index: int) -> None: ...
def initStyleOption(self, option: QStyleOptionTabWidgetFrame) -> None: ...
def currentChanged(self, index: int) -> None: ...
def setCurrentWidget(self, widget: QWidget) -> None: ...
def setCurrentIndex(self, index: int) -> None: ...
def cornerWidget(self, corner: QtCore.Qt.Corner = ...) -> QWidget: ...
def setCornerWidget(self, widget: QWidget, corner: QtCore.Qt.Corner = ...) -> None: ...
def minimumSizeHint(self) -> QtCore.QSize: ...
def sizeHint(self) -> QtCore.QSize: ...
def setTabShape(self, s: 'QTabWidget.TabShape') -> None: ...
def tabShape(self) -> 'QTabWidget.TabShape': ...
def setTabPosition(self, a0: 'QTabWidget.TabPosition') -> None: ...
def tabPosition(self) -> 'QTabWidget.TabPosition': ...
def __len__(self) -> int: ...
def count(self) -> int: ...
def indexOf(self, widget: QWidget) -> int: ...
def widget(self, index: int) -> QWidget: ...
def currentWidget(self) -> QWidget: ...
def currentIndex(self) -> int: ...
def tabWhatsThis(self, index: int) -> str: ...
def setTabWhatsThis(self, index: int, text: str) -> None: ...
def tabToolTip(self, index: int) -> str: ...
def setTabToolTip(self, index: int, tip: str) -> None: ...
def setTabIcon(self, index: int, icon: QtGui.QIcon) -> None: ...
def tabIcon(self, index: int) -> QtGui.QIcon: ...
def setTabText(self, index: int, a1: str) -> None: ...
def tabText(self, index: int) -> str: ...
def setTabEnabled(self, index: int, a1: bool) -> None: ...
def isTabEnabled(self, index: int) -> bool: ...
def removeTab(self, index: int) -> None: ...
@typing.overload
def insertTab(self, index: int, widget: QWidget, a2: str) -> int: ...
@typing.overload
def insertTab(self, index: int, widget: QWidget, icon: QtGui.QIcon, label: str) -> int: ...
@typing.overload
def addTab(self, widget: QWidget, a1: str) -> int: ...
@typing.overload
def addTab(self, widget: QWidget, icon: QtGui.QIcon, label: str) -> int: ...
def clear(self) -> None: ...
class QTextEdit(QAbstractScrollArea):
class AutoFormattingFlag(int): ...
AutoNone = ... # type: 'QTextEdit.AutoFormattingFlag'
AutoBulletList = ... # type: 'QTextEdit.AutoFormattingFlag'
AutoAll = ... # type: 'QTextEdit.AutoFormattingFlag'
class LineWrapMode(int): ...
NoWrap = ... # type: 'QTextEdit.LineWrapMode'
WidgetWidth = ... # type: 'QTextEdit.LineWrapMode'
FixedPixelWidth = ... # type: 'QTextEdit.LineWrapMode'
FixedColumnWidth = ... # type: 'QTextEdit.LineWrapMode'
class ExtraSelection(sip.simplewrapper):
cursor = ... # type: QtGui.QTextCursor
format = ... # type: QtGui.QTextCharFormat
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, a0: 'QTextEdit.ExtraSelection') -> None: ...
class AutoFormatting(sip.simplewrapper):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, f: typing.Union['QTextEdit.AutoFormatting', 'QTextEdit.AutoFormattingFlag']) -> None: ...
@typing.overload
def __init__(self, a0: 'QTextEdit.AutoFormatting') -> None: ...
def __hash__(self) -> int: ...
def __bool__(self) -> int: ...
def __invert__(self) -> 'QTextEdit.AutoFormatting': ...
def __int__(self) -> int: ...
@typing.overload
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
@typing.overload
def __init__(self, text: str, parent: typing.Optional[QWidget] = ...) -> None: ...
def placeholderText(self) -> str: ...
def setPlaceholderText(self, placeholderText: str) -> None: ...
def setTextBackgroundColor(self, c: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ...
def textBackgroundColor(self) -> QtGui.QColor: ...
def scrollContentsBy(self, dx: int, dy: int) -> None: ...
@typing.overload
def inputMethodQuery(self, property: QtCore.Qt.InputMethodQuery) -> typing.Any: ...
@typing.overload
def inputMethodQuery(self, query: QtCore.Qt.InputMethodQuery, argument: typing.Any) -> typing.Any: ...
def inputMethodEvent(self, a0: QtGui.QInputMethodEvent) -> None: ...
def insertFromMimeData(self, source: QtCore.QMimeData) -> None: ...
def canInsertFromMimeData(self, source: QtCore.QMimeData) -> bool: ...
def createMimeDataFromSelection(self) -> QtCore.QMimeData: ...
def wheelEvent(self, e: QtGui.QWheelEvent) -> None: ...
def changeEvent(self, e: QtCore.QEvent) -> None: ...
def showEvent(self, a0: QtGui.QShowEvent) -> None: ...
def focusOutEvent(self, e: QtGui.QFocusEvent) -> None: ...
def focusInEvent(self, e: QtGui.QFocusEvent) -> None: ...
def dropEvent(self, e: QtGui.QDropEvent) -> None: ...
def dragMoveEvent(self, e: QtGui.QDragMoveEvent) -> None: ...
def dragLeaveEvent(self, e: QtGui.QDragLeaveEvent) -> None: ...
def dragEnterEvent(self, e: QtGui.QDragEnterEvent) -> None: ...
def contextMenuEvent(self, e: QtGui.QContextMenuEvent) -> None: ...
def focusNextPrevChild(self, next: bool) -> bool: ...
def mouseDoubleClickEvent(self, e: QtGui.QMouseEvent) -> None: ...
def mouseReleaseEvent(self, e: QtGui.QMouseEvent) -> None: ...
def mouseMoveEvent(self, e: QtGui.QMouseEvent) -> None: ...
def mousePressEvent(self, e: QtGui.QMouseEvent) -> None: ...
def paintEvent(self, e: QtGui.QPaintEvent) -> None: ...
def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ...
def keyReleaseEvent(self, e: QtGui.QKeyEvent) -> None: ...
def keyPressEvent(self, e: QtGui.QKeyEvent) -> None: ...
def timerEvent(self, e: QtCore.QTimerEvent) -> None: ...
def event(self, e: QtCore.QEvent) -> bool: ...
def cursorPositionChanged(self) -> None: ...
def selectionChanged(self) -> None: ...
def copyAvailable(self, b: bool) -> None: ...
def currentCharFormatChanged(self, format: QtGui.QTextCharFormat) -> None: ...
def redoAvailable(self, b: bool) -> None: ...
def undoAvailable(self, b: bool) -> None: ...
def textChanged(self) -> None: ...
def zoomOut(self, range: int = ...) -> None: ...
def zoomIn(self, range: int = ...) -> None: ...
def undo(self) -> None: ...
def redo(self) -> None: ...
def scrollToAnchor(self, name: str) -> None: ...
def insertHtml(self, text: str) -> None: ...
def insertPlainText(self, text: str) -> None: ...
def selectAll(self) -> None: ...
def clear(self) -> None: ...
def paste(self) -> None: ...
def copy(self) -> None: ...
def cut(self) -> None: ...
def setHtml(self, text: str) -> None: ...
def setPlainText(self, text: str) -> None: ...
def setAlignment(self, a: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ...
def setCurrentFont(self, f: QtGui.QFont) -> None: ...
def setTextColor(self, c: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ...
def setText(self, text: str) -> None: ...
def setFontItalic(self, b: bool) -> None: ...
def setFontUnderline(self, b: bool) -> None: ...
def setFontWeight(self, w: int) -> None: ...
def setFontFamily(self, fontFamily: str) -> None: ...
def setFontPointSize(self, s: float) -> None: ...
def print(self, printer: QtGui.QPagedPaintDevice) -> None: ...
def print_(self, printer: QtGui.QPagedPaintDevice) -> None: ...
def moveCursor(self, operation: QtGui.QTextCursor.MoveOperation, mode: QtGui.QTextCursor.MoveMode = ...) -> None: ...
def canPaste(self) -> bool: ...
def extraSelections(self) -> typing.List['QTextEdit.ExtraSelection']: ...
def setExtraSelections(self, selections: typing.Iterable['QTextEdit.ExtraSelection']) -> None: ...
def cursorWidth(self) -> int: ...
def setCursorWidth(self, width: int) -> None: ...
def textInteractionFlags(self) -> QtCore.Qt.TextInteractionFlags: ...
def setTextInteractionFlags(self, flags: typing.Union[QtCore.Qt.TextInteractionFlags, QtCore.Qt.TextInteractionFlag]) -> None: ...
def setAcceptRichText(self, accept: bool) -> None: ...
def acceptRichText(self) -> bool: ...
def setTabStopWidth(self, width: int) -> None: ...
def tabStopWidth(self) -> int: ...
def setOverwriteMode(self, overwrite: bool) -> None: ...
def overwriteMode(self) -> bool: ...
def anchorAt(self, pos: QtCore.QPoint) -> str: ...
@typing.overload
def cursorRect(self, cursor: QtGui.QTextCursor) -> QtCore.QRect: ...
@typing.overload
def cursorRect(self) -> QtCore.QRect: ...
def cursorForPosition(self, pos: QtCore.QPoint) -> QtGui.QTextCursor: ...
@typing.overload
def createStandardContextMenu(self) -> QMenu: ...
@typing.overload
def createStandardContextMenu(self, position: QtCore.QPoint) -> QMenu: ...
def loadResource(self, type: int, name: QtCore.QUrl) -> typing.Any: ...
def ensureCursorVisible(self) -> None: ...
def append(self, text: str) -> None: ...
def toHtml(self) -> str: ...
def toPlainText(self) -> str: ...
@typing.overload
def find(self, exp: str, options: typing.Union[QtGui.QTextDocument.FindFlags, QtGui.QTextDocument.FindFlag] = ...) -> bool: ...
@typing.overload
def find(self, exp: QtCore.QRegExp, options: typing.Union[QtGui.QTextDocument.FindFlags, QtGui.QTextDocument.FindFlag] = ...) -> bool: ...
def setWordWrapMode(self, policy: QtGui.QTextOption.WrapMode) -> None: ...
def wordWrapMode(self) -> QtGui.QTextOption.WrapMode: ...
def setLineWrapColumnOrWidth(self, w: int) -> None: ...
def lineWrapColumnOrWidth(self) -> int: ...
def setLineWrapMode(self, mode: 'QTextEdit.LineWrapMode') -> None: ...
def lineWrapMode(self) -> 'QTextEdit.LineWrapMode': ...
def setUndoRedoEnabled(self, enable: bool) -> None: ...
def isUndoRedoEnabled(self) -> bool: ...
def documentTitle(self) -> str: ...
def setDocumentTitle(self, title: str) -> None: ...
def setTabChangesFocus(self, b: bool) -> None: ...
def tabChangesFocus(self) -> bool: ...
def setAutoFormatting(self, features: typing.Union['QTextEdit.AutoFormatting', 'QTextEdit.AutoFormattingFlag']) -> None: ...
def autoFormatting(self) -> 'QTextEdit.AutoFormatting': ...
def currentCharFormat(self) -> QtGui.QTextCharFormat: ...
def setCurrentCharFormat(self, format: QtGui.QTextCharFormat) -> None: ...
def mergeCurrentCharFormat(self, modifier: QtGui.QTextCharFormat) -> None: ...
def alignment(self) -> QtCore.Qt.Alignment: ...
def currentFont(self) -> QtGui.QFont: ...
def textColor(self) -> QtGui.QColor: ...
def fontItalic(self) -> bool: ...
def fontUnderline(self) -> bool: ...
def fontWeight(self) -> int: ...
def fontFamily(self) -> str: ...
def fontPointSize(self) -> float: ...
def setReadOnly(self, ro: bool) -> None: ...
def isReadOnly(self) -> bool: ...
def textCursor(self) -> QtGui.QTextCursor: ...
def setTextCursor(self, cursor: QtGui.QTextCursor) -> None: ...
def document(self) -> QtGui.QTextDocument: ...
def setDocument(self, document: QtGui.QTextDocument) -> None: ...
class QTextBrowser(QTextEdit):
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
def historyChanged(self) -> None: ...
def forwardHistoryCount(self) -> int: ...
def backwardHistoryCount(self) -> int: ...
def historyUrl(self, a0: int) -> QtCore.QUrl: ...
def historyTitle(self, a0: int) -> str: ...
def setOpenLinks(self, open: bool) -> None: ...
def openLinks(self) -> bool: ...
def setOpenExternalLinks(self, open: bool) -> None: ...
def openExternalLinks(self) -> bool: ...
def clearHistory(self) -> None: ...
def isForwardAvailable(self) -> bool: ...
def isBackwardAvailable(self) -> bool: ...
def paintEvent(self, e: QtGui.QPaintEvent) -> None: ...
def focusNextPrevChild(self, next: bool) -> bool: ...
def focusOutEvent(self, ev: QtGui.QFocusEvent) -> None: ...
def mouseReleaseEvent(self, ev: QtGui.QMouseEvent) -> None: ...
def mousePressEvent(self, ev: QtGui.QMouseEvent) -> None: ...
def mouseMoveEvent(self, ev: QtGui.QMouseEvent) -> None: ...
def keyPressEvent(self, ev: QtGui.QKeyEvent) -> None: ...
def event(self, e: QtCore.QEvent) -> bool: ...
def anchorClicked(self, a0: QtCore.QUrl) -> None: ...
@typing.overload
def highlighted(self, a0: QtCore.QUrl) -> None: ...
@typing.overload
def highlighted(self, a0: str) -> None: ...
def sourceChanged(self, a0: QtCore.QUrl) -> None: ...
def forwardAvailable(self, a0: bool) -> None: ...
def backwardAvailable(self, a0: bool) -> None: ...
def reload(self) -> None: ...
def home(self) -> None: ...
def forward(self) -> None: ...
def backward(self) -> None: ...
def setSource(self, name: QtCore.QUrl) -> None: ...
def loadResource(self, type: int, name: QtCore.QUrl) -> typing.Any: ...
def setSearchPaths(self, paths: typing.Iterable[str]) -> None: ...
def searchPaths(self) -> typing.List[str]: ...
def source(self) -> QtCore.QUrl: ...
class QToolBar(QWidget):
@typing.overload
def __init__(self, title: str, parent: typing.Optional[QWidget] = ...) -> None: ...
@typing.overload
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
def isFloating(self) -> bool: ...
def setFloatable(self, floatable: bool) -> None: ...
def isFloatable(self) -> bool: ...
def event(self, event: QtCore.QEvent) -> bool: ...
def paintEvent(self, event: QtGui.QPaintEvent) -> None: ...
def changeEvent(self, event: QtCore.QEvent) -> None: ...
def actionEvent(self, event: QtGui.QActionEvent) -> None: ...
def initStyleOption(self, option: QStyleOptionToolBar) -> None: ...
def visibilityChanged(self, visible: bool) -> None: ...
def topLevelChanged(self, topLevel: bool) -> None: ...
def toolButtonStyleChanged(self, toolButtonStyle: QtCore.Qt.ToolButtonStyle) -> None: ...
def iconSizeChanged(self, iconSize: QtCore.QSize) -> None: ...
def orientationChanged(self, orientation: QtCore.Qt.Orientation) -> None: ...
def allowedAreasChanged(self, allowedAreas: typing.Union[QtCore.Qt.ToolBarAreas, QtCore.Qt.ToolBarArea]) -> None: ...
def movableChanged(self, movable: bool) -> None: ...
def actionTriggered(self, action: QAction) -> None: ...
def setToolButtonStyle(self, toolButtonStyle: QtCore.Qt.ToolButtonStyle) -> None: ...
def setIconSize(self, iconSize: QtCore.QSize) -> None: ...
def widgetForAction(self, action: QAction) -> QWidget: ...
def toolButtonStyle(self) -> QtCore.Qt.ToolButtonStyle: ...
def iconSize(self) -> QtCore.QSize: ...
def toggleViewAction(self) -> QAction: ...
@typing.overload
def actionAt(self, p: QtCore.QPoint) -> QAction: ...
@typing.overload
def actionAt(self, ax: int, ay: int) -> QAction: ...
def actionGeometry(self, action: QAction) -> QtCore.QRect: ...
def insertWidget(self, before: QAction, widget: QWidget) -> QAction: ...
def addWidget(self, widget: QWidget) -> QAction: ...
def insertSeparator(self, before: QAction) -> QAction: ...
def addSeparator(self) -> QAction: ...
@typing.overload
def addAction(self, action: QAction) -> None: ...
@typing.overload
def addAction(self, text: str) -> QAction: ...
@typing.overload
def addAction(self, icon: QtGui.QIcon, text: str) -> QAction: ...
@typing.overload
def addAction(self, text: str, slot: PYQT_SLOT) -> QAction: ...
@typing.overload
def addAction(self, icon: QtGui.QIcon, text: str, slot: PYQT_SLOT) -> QAction: ...
def clear(self) -> None: ...
def orientation(self) -> QtCore.Qt.Orientation: ...
def setOrientation(self, orientation: QtCore.Qt.Orientation) -> None: ...
def isAreaAllowed(self, area: QtCore.Qt.ToolBarArea) -> bool: ...
def allowedAreas(self) -> QtCore.Qt.ToolBarAreas: ...
def setAllowedAreas(self, areas: typing.Union[QtCore.Qt.ToolBarAreas, QtCore.Qt.ToolBarArea]) -> None: ...
def isMovable(self) -> bool: ...
def setMovable(self, movable: bool) -> None: ...
class QToolBox(QFrame):
def __init__(self, parent: typing.Optional[QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ...
def changeEvent(self, a0: QtCore.QEvent) -> None: ...
def showEvent(self, e: QtGui.QShowEvent) -> None: ...
def event(self, e: QtCore.QEvent) -> bool: ...
def itemRemoved(self, index: int) -> None: ...
def itemInserted(self, index: int) -> None: ...
def currentChanged(self, index: int) -> None: ...
def setCurrentWidget(self, widget: QWidget) -> None: ...
def setCurrentIndex(self, index: int) -> None: ...
def __len__(self) -> int: ...
def count(self) -> int: ...
def indexOf(self, widget: QWidget) -> int: ...
def widget(self, index: int) -> QWidget: ...
def currentWidget(self) -> QWidget: ...
def currentIndex(self) -> int: ...
def itemToolTip(self, index: int) -> str: ...
def setItemToolTip(self, index: int, toolTip: str) -> None: ...
def itemIcon(self, index: int) -> QtGui.QIcon: ...
def setItemIcon(self, index: int, icon: QtGui.QIcon) -> None: ...
def itemText(self, index: int) -> str: ...
def setItemText(self, index: int, text: str) -> None: ...
def isItemEnabled(self, index: int) -> bool: ...
def setItemEnabled(self, index: int, enabled: bool) -> None: ...
def removeItem(self, index: int) -> None: ...
@typing.overload
def insertItem(self, index: int, item: QWidget, text: str) -> int: ...
@typing.overload
def insertItem(self, index: int, widget: QWidget, icon: QtGui.QIcon, text: str) -> int: ...
@typing.overload
def addItem(self, item: QWidget, text: str) -> int: ...
@typing.overload
def addItem(self, item: QWidget, iconSet: QtGui.QIcon, text: str) -> int: ...
class QToolButton(QAbstractButton):
class ToolButtonPopupMode(int): ...
DelayedPopup = ... # type: 'QToolButton.ToolButtonPopupMode'
MenuButtonPopup = ... # type: 'QToolButton.ToolButtonPopupMode'
InstantPopup = ... # type: 'QToolButton.ToolButtonPopupMode'
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
def hitButton(self, pos: QtCore.QPoint) -> bool: ...
def nextCheckState(self) -> None: ...
def mouseReleaseEvent(self, a0: QtGui.QMouseEvent) -> None: ...
def changeEvent(self, a0: QtCore.QEvent) -> None: ...
def timerEvent(self, a0: QtCore.QTimerEvent) -> None: ...
def leaveEvent(self, a0: QtCore.QEvent) -> None: ...
def enterEvent(self, a0: QtCore.QEvent) -> None: ...
def actionEvent(self, a0: QtGui.QActionEvent) -> None: ...
def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ...
def mousePressEvent(self, a0: QtGui.QMouseEvent) -> None: ...
def event(self, e: QtCore.QEvent) -> bool: ...
def initStyleOption(self, option: QStyleOptionToolButton) -> None: ...
def triggered(self, a0: QAction) -> None: ...
def setDefaultAction(self, a0: QAction) -> None: ...
def setToolButtonStyle(self, style: QtCore.Qt.ToolButtonStyle) -> None: ...
def showMenu(self) -> None: ...
def autoRaise(self) -> bool: ...
def setAutoRaise(self, enable: bool) -> None: ...
def defaultAction(self) -> QAction: ...
def popupMode(self) -> 'QToolButton.ToolButtonPopupMode': ...
def setPopupMode(self, mode: 'QToolButton.ToolButtonPopupMode') -> None: ...
def menu(self) -> QMenu: ...
def setMenu(self, menu: QMenu) -> None: ...
def setArrowType(self, type: QtCore.Qt.ArrowType) -> None: ...
def arrowType(self) -> QtCore.Qt.ArrowType: ...
def toolButtonStyle(self) -> QtCore.Qt.ToolButtonStyle: ...
def minimumSizeHint(self) -> QtCore.QSize: ...
def sizeHint(self) -> QtCore.QSize: ...
class QToolTip(sip.simplewrapper):
def __init__(self, a0: 'QToolTip') -> None: ...
@staticmethod
def text() -> str: ...
@staticmethod
def isVisible() -> bool: ...
@staticmethod
def setFont(a0: QtGui.QFont) -> None: ...
@staticmethod
def font() -> QtGui.QFont: ...
@staticmethod
def setPalette(a0: QtGui.QPalette) -> None: ...
@staticmethod
def hideText() -> None: ...
@staticmethod
def palette() -> QtGui.QPalette: ...
@typing.overload
@staticmethod
def showText(pos: QtCore.QPoint, text: str, widget: typing.Optional[QWidget] = ...) -> None: ...
@typing.overload
@staticmethod
def showText(pos: QtCore.QPoint, text: str, w: QWidget, rect: QtCore.QRect) -> None: ...
@typing.overload
@staticmethod
def showText(pos: QtCore.QPoint, text: str, w: QWidget, rect: QtCore.QRect, msecShowTime: int) -> None: ...
class QTreeView(QAbstractItemView):
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
def resetIndentation(self) -> None: ...
def viewportSizeHint(self) -> QtCore.QSize: ...
def treePosition(self) -> int: ...
def setTreePosition(self, logicalIndex: int) -> None: ...
def setHeaderHidden(self, hide: bool) -> None: ...
def isHeaderHidden(self) -> bool: ...
def setExpandsOnDoubleClick(self, enable: bool) -> None: ...
def expandsOnDoubleClick(self) -> bool: ...
def currentChanged(self, current: QtCore.QModelIndex, previous: QtCore.QModelIndex) -> None: ...
def selectionChanged(self, selected: QtCore.QItemSelection, deselected: QtCore.QItemSelection) -> None: ...
def rowHeight(self, index: QtCore.QModelIndex) -> int: ...
def viewportEvent(self, event: QtCore.QEvent) -> bool: ...
def dragMoveEvent(self, event: QtGui.QDragMoveEvent) -> None: ...
def expandToDepth(self, depth: int) -> None: ...
def wordWrap(self) -> bool: ...
def setWordWrap(self, on: bool) -> None: ...
def setFirstColumnSpanned(self, row: int, parent: QtCore.QModelIndex, span: bool) -> None: ...
def isFirstColumnSpanned(self, row: int, parent: QtCore.QModelIndex) -> bool: ...
def setAutoExpandDelay(self, delay: int) -> None: ...
def autoExpandDelay(self) -> int: ...
def sortByColumn(self, column: int, order: QtCore.Qt.SortOrder) -> None: ...
def allColumnsShowFocus(self) -> bool: ...
def setAllColumnsShowFocus(self, enable: bool) -> None: ...
def isAnimated(self) -> bool: ...
def setAnimated(self, enable: bool) -> None: ...
def isSortingEnabled(self) -> bool: ...
def setSortingEnabled(self, enable: bool) -> None: ...
def setColumnWidth(self, column: int, width: int) -> None: ...
def isIndexHidden(self, index: QtCore.QModelIndex) -> bool: ...
def horizontalScrollbarAction(self, action: int) -> None: ...
def indexRowSizeHint(self, index: QtCore.QModelIndex) -> int: ...
def sizeHintForColumn(self, column: int) -> int: ...
def updateGeometries(self) -> None: ...
def keyPressEvent(self, event: QtGui.QKeyEvent) -> None: ...
def mouseDoubleClickEvent(self, e: QtGui.QMouseEvent) -> None: ...
def mouseMoveEvent(self, event: QtGui.QMouseEvent) -> None: ...
def mousePressEvent(self, e: QtGui.QMouseEvent) -> None: ...
def drawTree(self, painter: QtGui.QPainter, region: QtGui.QRegion) -> None: ...
def drawBranches(self, painter: QtGui.QPainter, rect: QtCore.QRect, index: QtCore.QModelIndex) -> None: ...
def drawRow(self, painter: QtGui.QPainter, options: QStyleOptionViewItem, index: QtCore.QModelIndex) -> None: ...
def mouseReleaseEvent(self, event: QtGui.QMouseEvent) -> None: ...
def timerEvent(self, event: QtCore.QTimerEvent) -> None: ...
def paintEvent(self, e: QtGui.QPaintEvent) -> None: ...
def selectedIndexes(self) -> typing.Any: ...
def visualRegionForSelection(self, selection: QtCore.QItemSelection) -> QtGui.QRegion: ...
def setSelection(self, rect: QtCore.QRect, command: typing.Union[QtCore.QItemSelectionModel.SelectionFlags, QtCore.QItemSelectionModel.SelectionFlag]) -> None: ...
def verticalOffset(self) -> int: ...
def horizontalOffset(self) -> int: ...
def moveCursor(self, cursorAction: QAbstractItemView.CursorAction, modifiers: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier]) -> QtCore.QModelIndex: ...
def rowsAboutToBeRemoved(self, parent: QtCore.QModelIndex, start: int, end: int) -> None: ...
def rowsInserted(self, parent: QtCore.QModelIndex, start: int, end: int) -> None: ...
def scrollContentsBy(self, dx: int, dy: int) -> None: ...
def rowsRemoved(self, parent: QtCore.QModelIndex, first: int, last: int) -> None: ...
def reexpand(self) -> None: ...
def columnMoved(self) -> None: ...
def columnCountChanged(self, oldCount: int, newCount: int) -> None: ...
def columnResized(self, column: int, oldSize: int, newSize: int) -> None: ...
def selectAll(self) -> None: ...
def resizeColumnToContents(self, column: int) -> None: ...
def collapseAll(self) -> None: ...
def collapse(self, index: QtCore.QModelIndex) -> None: ...
def expandAll(self) -> None: ...
def expand(self, index: QtCore.QModelIndex) -> None: ...
def showColumn(self, column: int) -> None: ...
def hideColumn(self, column: int) -> None: ...
def dataChanged(self, topLeft: QtCore.QModelIndex, bottomRight: QtCore.QModelIndex, roles: typing.Iterable[int] = ...) -> None: ...
def collapsed(self, index: QtCore.QModelIndex) -> None: ...
def expanded(self, index: QtCore.QModelIndex) -> None: ...
def reset(self) -> None: ...
def indexBelow(self, index: QtCore.QModelIndex) -> QtCore.QModelIndex: ...
def indexAbove(self, index: QtCore.QModelIndex) -> QtCore.QModelIndex: ...
def indexAt(self, p: QtCore.QPoint) -> QtCore.QModelIndex: ...
def scrollTo(self, index: QtCore.QModelIndex, hint: QAbstractItemView.ScrollHint = ...) -> None: ...
def visualRect(self, index: QtCore.QModelIndex) -> QtCore.QRect: ...
def keyboardSearch(self, search: str) -> None: ...
def setExpanded(self, index: QtCore.QModelIndex, expand: bool) -> None: ...
def isExpanded(self, index: QtCore.QModelIndex) -> bool: ...
def setRowHidden(self, row: int, parent: QtCore.QModelIndex, hide: bool) -> None: ...
def isRowHidden(self, row: int, parent: QtCore.QModelIndex) -> bool: ...
def setColumnHidden(self, column: int, hide: bool) -> None: ...
def isColumnHidden(self, column: int) -> bool: ...
def columnAt(self, x: int) -> int: ...
def columnWidth(self, column: int) -> int: ...
def columnViewportPosition(self, column: int) -> int: ...
def setItemsExpandable(self, enable: bool) -> None: ...
def itemsExpandable(self) -> bool: ...
def setUniformRowHeights(self, uniform: bool) -> None: ...
def uniformRowHeights(self) -> bool: ...
def setRootIsDecorated(self, show: bool) -> None: ...
def rootIsDecorated(self) -> bool: ...
def setIndentation(self, i: int) -> None: ...
def indentation(self) -> int: ...
def setHeader(self, header: QHeaderView) -> None: ...
def header(self) -> QHeaderView: ...
def setSelectionModel(self, selectionModel: QtCore.QItemSelectionModel) -> None: ...
def setRootIndex(self, index: QtCore.QModelIndex) -> None: ...
def setModel(self, model: QtCore.QAbstractItemModel) -> None: ...
class QTreeWidgetItem(sip.wrapper):
class ChildIndicatorPolicy(int): ...
ShowIndicator = ... # type: 'QTreeWidgetItem.ChildIndicatorPolicy'
DontShowIndicator = ... # type: 'QTreeWidgetItem.ChildIndicatorPolicy'
DontShowIndicatorWhenChildless = ... # type: 'QTreeWidgetItem.ChildIndicatorPolicy'
class ItemType(int): ...
Type = ... # type: 'QTreeWidgetItem.ItemType'
UserType = ... # type: 'QTreeWidgetItem.ItemType'
@typing.overload
def __init__(self, type: int = ...) -> None: ...
@typing.overload
def __init__(self, strings: typing.Iterable[str], type: int = ...) -> None: ...
@typing.overload
def __init__(self, parent: 'QTreeWidget', type: int = ...) -> None: ...
@typing.overload
def __init__(self, parent: 'QTreeWidget', strings: typing.Iterable[str], type: int = ...) -> None: ...
@typing.overload
def __init__(self, parent: 'QTreeWidget', preceding: 'QTreeWidgetItem', type: int = ...) -> None: ...
@typing.overload
def __init__(self, parent: 'QTreeWidgetItem', type: int = ...) -> None: ...
@typing.overload
def __init__(self, parent: 'QTreeWidgetItem', strings: typing.Iterable[str], type: int = ...) -> None: ...
@typing.overload
def __init__(self, parent: 'QTreeWidgetItem', preceding: 'QTreeWidgetItem', type: int = ...) -> None: ...
@typing.overload
def __init__(self, other: 'QTreeWidgetItem') -> None: ...
def emitDataChanged(self) -> None: ...
def isDisabled(self) -> bool: ...
def setDisabled(self, disabled: bool) -> None: ...
def isFirstColumnSpanned(self) -> bool: ...
def setFirstColumnSpanned(self, aspan: bool) -> None: ...
def removeChild(self, child: 'QTreeWidgetItem') -> None: ...
def childIndicatorPolicy(self) -> 'QTreeWidgetItem.ChildIndicatorPolicy': ...
def setChildIndicatorPolicy(self, policy: 'QTreeWidgetItem.ChildIndicatorPolicy') -> None: ...
def isExpanded(self) -> bool: ...
def setExpanded(self, aexpand: bool) -> None: ...
def isHidden(self) -> bool: ...
def setHidden(self, ahide: bool) -> None: ...
def isSelected(self) -> bool: ...
def setSelected(self, aselect: bool) -> None: ...
def sortChildren(self, column: int, order: QtCore.Qt.SortOrder) -> None: ...
def setForeground(self, column: int, brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ...
def foreground(self, column: int) -> QtGui.QBrush: ...
def setBackground(self, column: int, brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ...
def background(self, column: int) -> QtGui.QBrush: ...
def takeChildren(self) -> typing.List['QTreeWidgetItem']: ...
def insertChildren(self, index: int, children: typing.Iterable['QTreeWidgetItem']) -> None: ...
def addChildren(self, children: typing.Any) -> None: ...
def setSizeHint(self, column: int, size: QtCore.QSize) -> None: ...
def sizeHint(self, column: int) -> QtCore.QSize: ...
def indexOfChild(self, achild: 'QTreeWidgetItem') -> int: ...
def setFont(self, column: int, afont: QtGui.QFont) -> None: ...
def setWhatsThis(self, column: int, awhatsThis: str) -> None: ...
def setToolTip(self, column: int, atoolTip: str) -> None: ...
def setStatusTip(self, column: int, astatusTip: str) -> None: ...
def setIcon(self, column: int, aicon: QtGui.QIcon) -> None: ...
def setText(self, column: int, atext: str) -> None: ...
def setFlags(self, aflags: typing.Union[QtCore.Qt.ItemFlags, QtCore.Qt.ItemFlag]) -> None: ...
def type(self) -> int: ...
def takeChild(self, index: int) -> 'QTreeWidgetItem': ...
def insertChild(self, index: int, child: 'QTreeWidgetItem') -> None: ...
def addChild(self, child: 'QTreeWidgetItem') -> None: ...
def columnCount(self) -> int: ...
def childCount(self) -> int: ...
def child(self, index: int) -> 'QTreeWidgetItem': ...
def parent(self) -> 'QTreeWidgetItem': ...
def write(self, out: QtCore.QDataStream) -> None: ...
def read(self, in_: QtCore.QDataStream) -> None: ...
def setData(self, column: int, role: int, value: typing.Any) -> None: ...
def data(self, column: int, role: int) -> typing.Any: ...
def setCheckState(self, column: int, state: QtCore.Qt.CheckState) -> None: ...
def checkState(self, column: int) -> QtCore.Qt.CheckState: ...
def setTextAlignment(self, column: int, alignment: int) -> None: ...
def textAlignment(self, column: int) -> int: ...
def font(self, column: int) -> QtGui.QFont: ...
def whatsThis(self, column: int) -> str: ...
def toolTip(self, column: int) -> str: ...
def statusTip(self, column: int) -> str: ...
def icon(self, column: int) -> QtGui.QIcon: ...
def text(self, column: int) -> str: ...
def flags(self) -> QtCore.Qt.ItemFlags: ...
def treeWidget(self) -> 'QTreeWidget': ...
def clone(self) -> 'QTreeWidgetItem': ...
class QTreeWidget(QTreeView):
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
def setSelectionModel(self, selectionModel: QtCore.QItemSelectionModel) -> None: ...
def removeItemWidget(self, item: QTreeWidgetItem, column: int) -> None: ...
def itemBelow(self, item: QTreeWidgetItem) -> QTreeWidgetItem: ...
def itemAbove(self, item: QTreeWidgetItem) -> QTreeWidgetItem: ...
def setFirstItemColumnSpanned(self, item: QTreeWidgetItem, span: bool) -> None: ...
def isFirstItemColumnSpanned(self, item: QTreeWidgetItem) -> bool: ...
def setHeaderLabel(self, alabel: str) -> None: ...
def invisibleRootItem(self) -> QTreeWidgetItem: ...
def dropEvent(self, event: QtGui.QDropEvent) -> None: ...
def event(self, e: QtCore.QEvent) -> bool: ...
def itemFromIndex(self, index: QtCore.QModelIndex) -> QTreeWidgetItem: ...
def indexFromItem(self, item: QTreeWidgetItem, column: int = ...) -> QtCore.QModelIndex: ...
def supportedDropActions(self) -> QtCore.Qt.DropActions: ...
def dropMimeData(self, parent: QTreeWidgetItem, index: int, data: QtCore.QMimeData, action: QtCore.Qt.DropAction) -> bool: ...
def mimeData(self, items: typing.Iterable[QTreeWidgetItem]) -> QtCore.QMimeData: ...
def mimeTypes(self) -> typing.List[str]: ...
def itemSelectionChanged(self) -> None: ...
def currentItemChanged(self, current: QTreeWidgetItem, previous: QTreeWidgetItem) -> None: ...
def itemCollapsed(self, item: QTreeWidgetItem) -> None: ...
def itemExpanded(self, item: QTreeWidgetItem) -> None: ...
def itemChanged(self, item: QTreeWidgetItem, column: int) -> None: ...
def itemEntered(self, item: QTreeWidgetItem, column: int) -> None: ...
def itemActivated(self, item: QTreeWidgetItem, column: int) -> None: ...
def itemDoubleClicked(self, item: QTreeWidgetItem, column: int) -> None: ...
def itemClicked(self, item: QTreeWidgetItem, column: int) -> None: ...
def itemPressed(self, item: QTreeWidgetItem, column: int) -> None: ...
def clear(self) -> None: ...
def collapseItem(self, item: QTreeWidgetItem) -> None: ...
def expandItem(self, item: QTreeWidgetItem) -> None: ...
def scrollToItem(self, item: QTreeWidgetItem, hint: QAbstractItemView.ScrollHint = ...) -> None: ...
def findItems(self, text: str, flags: typing.Union[QtCore.Qt.MatchFlags, QtCore.Qt.MatchFlag], column: int = ...) -> typing.List[QTreeWidgetItem]: ...
def selectedItems(self) -> typing.List[QTreeWidgetItem]: ...
def setItemWidget(self, item: QTreeWidgetItem, column: int, widget: QWidget) -> None: ...
def itemWidget(self, item: QTreeWidgetItem, column: int) -> QWidget: ...
def closePersistentEditor(self, item: QTreeWidgetItem, column: int = ...) -> None: ...
def openPersistentEditor(self, item: QTreeWidgetItem, column: int = ...) -> None: ...
def editItem(self, item: QTreeWidgetItem, column: int = ...) -> None: ...
def sortItems(self, column: int, order: QtCore.Qt.SortOrder) -> None: ...
def sortColumn(self) -> int: ...
def visualItemRect(self, item: QTreeWidgetItem) -> QtCore.QRect: ...
@typing.overload
def itemAt(self, p: QtCore.QPoint) -> QTreeWidgetItem: ...
@typing.overload
def itemAt(self, ax: int, ay: int) -> QTreeWidgetItem: ...
@typing.overload
def setCurrentItem(self, item: QTreeWidgetItem) -> None: ...
@typing.overload
def setCurrentItem(self, item: QTreeWidgetItem, column: int) -> None: ...
@typing.overload
def setCurrentItem(self, item: QTreeWidgetItem, column: int, command: typing.Union[QtCore.QItemSelectionModel.SelectionFlags, QtCore.QItemSelectionModel.SelectionFlag]) -> None: ...
def currentColumn(self) -> int: ...
def currentItem(self) -> QTreeWidgetItem: ...
def setHeaderLabels(self, labels: typing.Iterable[str]) -> None: ...
def setHeaderItem(self, item: QTreeWidgetItem) -> None: ...
def headerItem(self) -> QTreeWidgetItem: ...
def addTopLevelItems(self, items: typing.Iterable[QTreeWidgetItem]) -> None: ...
def insertTopLevelItems(self, index: int, items: typing.Iterable[QTreeWidgetItem]) -> None: ...
def indexOfTopLevelItem(self, item: QTreeWidgetItem) -> int: ...
def takeTopLevelItem(self, index: int) -> QTreeWidgetItem: ...
def addTopLevelItem(self, item: QTreeWidgetItem) -> None: ...
def insertTopLevelItem(self, index: int, item: QTreeWidgetItem) -> None: ...
def topLevelItemCount(self) -> int: ...
def topLevelItem(self, index: int) -> QTreeWidgetItem: ...
def setColumnCount(self, columns: int) -> None: ...
def columnCount(self) -> int: ...
class QTreeWidgetItemIterator(sip.simplewrapper):
class IteratorFlag(int): ...
All = ... # type: 'QTreeWidgetItemIterator.IteratorFlag'
Hidden = ... # type: 'QTreeWidgetItemIterator.IteratorFlag'
NotHidden = ... # type: 'QTreeWidgetItemIterator.IteratorFlag'
Selected = ... # type: 'QTreeWidgetItemIterator.IteratorFlag'
Unselected = ... # type: 'QTreeWidgetItemIterator.IteratorFlag'
Selectable = ... # type: 'QTreeWidgetItemIterator.IteratorFlag'
NotSelectable = ... # type: 'QTreeWidgetItemIterator.IteratorFlag'
DragEnabled = ... # type: 'QTreeWidgetItemIterator.IteratorFlag'
DragDisabled = ... # type: 'QTreeWidgetItemIterator.IteratorFlag'
DropEnabled = ... # type: 'QTreeWidgetItemIterator.IteratorFlag'
DropDisabled = ... # type: 'QTreeWidgetItemIterator.IteratorFlag'
HasChildren = ... # type: 'QTreeWidgetItemIterator.IteratorFlag'
NoChildren = ... # type: 'QTreeWidgetItemIterator.IteratorFlag'
Checked = ... # type: 'QTreeWidgetItemIterator.IteratorFlag'
NotChecked = ... # type: 'QTreeWidgetItemIterator.IteratorFlag'
Enabled = ... # type: 'QTreeWidgetItemIterator.IteratorFlag'
Disabled = ... # type: 'QTreeWidgetItemIterator.IteratorFlag'
Editable = ... # type: 'QTreeWidgetItemIterator.IteratorFlag'
NotEditable = ... # type: 'QTreeWidgetItemIterator.IteratorFlag'
UserFlag = ... # type: 'QTreeWidgetItemIterator.IteratorFlag'
class IteratorFlags(sip.simplewrapper):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, f: typing.Union['QTreeWidgetItemIterator.IteratorFlags', 'QTreeWidgetItemIterator.IteratorFlag']) -> None: ...
@typing.overload
def __init__(self, a0: 'QTreeWidgetItemIterator.IteratorFlags') -> None: ...
def __hash__(self) -> int: ...
def __bool__(self) -> int: ...
def __invert__(self) -> 'QTreeWidgetItemIterator.IteratorFlags': ...
def __int__(self) -> int: ...
@typing.overload
def __init__(self, it: 'QTreeWidgetItemIterator') -> None: ...
@typing.overload
def __init__(self, widget: QTreeWidget, flags: 'QTreeWidgetItemIterator.IteratorFlags' = ...) -> None: ...
@typing.overload
def __init__(self, item: QTreeWidgetItem, flags: 'QTreeWidgetItemIterator.IteratorFlags' = ...) -> None: ...
def value(self) -> QTreeWidgetItem: ...
class QUndoGroup(QtCore.QObject):
def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ...
def undoTextChanged(self, undoText: str) -> None: ...
def redoTextChanged(self, redoText: str) -> None: ...
def indexChanged(self, idx: int) -> None: ...
def cleanChanged(self, clean: bool) -> None: ...
def canUndoChanged(self, canUndo: bool) -> None: ...
def canRedoChanged(self, canRedo: bool) -> None: ...
def activeStackChanged(self, stack: 'QUndoStack') -> None: ...
def undo(self) -> None: ...
def setActiveStack(self, stack: 'QUndoStack') -> None: ...
def redo(self) -> None: ...
def isClean(self) -> bool: ...
def redoText(self) -> str: ...
def undoText(self) -> str: ...
def canRedo(self) -> bool: ...
def canUndo(self) -> bool: ...
def createUndoAction(self, parent: QtCore.QObject, prefix: str = ...) -> QAction: ...
def createRedoAction(self, parent: QtCore.QObject, prefix: str = ...) -> QAction: ...
def activeStack(self) -> 'QUndoStack': ...
def stacks(self) -> typing.Any: ...
def removeStack(self, stack: 'QUndoStack') -> None: ...
def addStack(self, stack: 'QUndoStack') -> None: ...
class QUndoCommand(sip.wrapper):
@typing.overload
def __init__(self, parent: typing.Optional['QUndoCommand'] = ...) -> None: ...
@typing.overload
def __init__(self, text: str, parent: typing.Optional['QUndoCommand'] = ...) -> None: ...
def setObsolete(self, obsolete: bool) -> None: ...
def isObsolete(self) -> bool: ...
def actionText(self) -> str: ...
def child(self, index: int) -> 'QUndoCommand': ...
def childCount(self) -> int: ...
def undo(self) -> None: ...
def text(self) -> str: ...
def setText(self, text: str) -> None: ...
def redo(self) -> None: ...
def mergeWith(self, other: 'QUndoCommand') -> bool: ...
def id(self) -> int: ...
class QUndoStack(QtCore.QObject):
def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ...
def command(self, index: int) -> QUndoCommand: ...
def undoLimit(self) -> int: ...
def setUndoLimit(self, limit: int) -> None: ...
def undoTextChanged(self, undoText: str) -> None: ...
def redoTextChanged(self, redoText: str) -> None: ...
def indexChanged(self, idx: int) -> None: ...
def cleanChanged(self, clean: bool) -> None: ...
def canUndoChanged(self, canUndo: bool) -> None: ...
def canRedoChanged(self, canRedo: bool) -> None: ...
def resetClean(self) -> None: ...
def undo(self) -> None: ...
def setIndex(self, idx: int) -> None: ...
def setClean(self) -> None: ...
def setActive(self, active: bool = ...) -> None: ...
def redo(self) -> None: ...
def endMacro(self) -> None: ...
def beginMacro(self, text: str) -> None: ...
def cleanIndex(self) -> int: ...
def isClean(self) -> bool: ...
def isActive(self) -> bool: ...
def createRedoAction(self, parent: QtCore.QObject, prefix: str = ...) -> QAction: ...
def createUndoAction(self, parent: QtCore.QObject, prefix: str = ...) -> QAction: ...
def text(self, idx: int) -> str: ...
def index(self) -> int: ...
def __len__(self) -> int: ...
def count(self) -> int: ...
def redoText(self) -> str: ...
def undoText(self) -> str: ...
def canRedo(self) -> bool: ...
def canUndo(self) -> bool: ...
def push(self, cmd: QUndoCommand) -> None: ...
def clear(self) -> None: ...
class QUndoView(QListView):
@typing.overload
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
@typing.overload
def __init__(self, stack: QUndoStack, parent: typing.Optional[QWidget] = ...) -> None: ...
@typing.overload
def __init__(self, group: QUndoGroup, parent: typing.Optional[QWidget] = ...) -> None: ...
def setGroup(self, group: QUndoGroup) -> None: ...
def setStack(self, stack: QUndoStack) -> None: ...
def cleanIcon(self) -> QtGui.QIcon: ...
def setCleanIcon(self, icon: QtGui.QIcon) -> None: ...
def emptyLabel(self) -> str: ...
def setEmptyLabel(self, label: str) -> None: ...
def group(self) -> QUndoGroup: ...
def stack(self) -> QUndoStack: ...
class QWhatsThis(sip.simplewrapper):
def __init__(self, a0: 'QWhatsThis') -> None: ...
@staticmethod
def createAction(parent: typing.Optional[QtCore.QObject] = ...) -> QAction: ...
@staticmethod
def hideText() -> None: ...
@staticmethod
def showText(pos: QtCore.QPoint, text: str, widget: typing.Optional[QWidget] = ...) -> None: ...
@staticmethod
def leaveWhatsThisMode() -> None: ...
@staticmethod
def inWhatsThisMode() -> bool: ...
@staticmethod
def enterWhatsThisMode() -> None: ...
class QWidgetAction(QAction):
def __init__(self, parent: QtCore.QObject) -> None: ...
def createdWidgets(self) -> typing.List[QWidget]: ...
def deleteWidget(self, widget: QWidget) -> None: ...
def createWidget(self, parent: QWidget) -> QWidget: ...
def eventFilter(self, a0: QtCore.QObject, a1: QtCore.QEvent) -> bool: ...
def event(self, a0: QtCore.QEvent) -> bool: ...
def releaseWidget(self, widget: QWidget) -> None: ...
def requestWidget(self, parent: QWidget) -> QWidget: ...
def defaultWidget(self) -> QWidget: ...
def setDefaultWidget(self, w: QWidget) -> None: ...
class QWizard(QDialog):
class WizardOption(int): ...
IndependentPages = ... # type: 'QWizard.WizardOption'
IgnoreSubTitles = ... # type: 'QWizard.WizardOption'
ExtendedWatermarkPixmap = ... # type: 'QWizard.WizardOption'
NoDefaultButton = ... # type: 'QWizard.WizardOption'
NoBackButtonOnStartPage = ... # type: 'QWizard.WizardOption'
NoBackButtonOnLastPage = ... # type: 'QWizard.WizardOption'
DisabledBackButtonOnLastPage = ... # type: 'QWizard.WizardOption'
HaveNextButtonOnLastPage = ... # type: 'QWizard.WizardOption'
HaveFinishButtonOnEarlyPages = ... # type: 'QWizard.WizardOption'
NoCancelButton = ... # type: 'QWizard.WizardOption'
CancelButtonOnLeft = ... # type: 'QWizard.WizardOption'
HaveHelpButton = ... # type: 'QWizard.WizardOption'
HelpButtonOnRight = ... # type: 'QWizard.WizardOption'
HaveCustomButton1 = ... # type: 'QWizard.WizardOption'
HaveCustomButton2 = ... # type: 'QWizard.WizardOption'
HaveCustomButton3 = ... # type: 'QWizard.WizardOption'
NoCancelButtonOnLastPage = ... # type: 'QWizard.WizardOption'
class WizardStyle(int): ...
ClassicStyle = ... # type: 'QWizard.WizardStyle'
ModernStyle = ... # type: 'QWizard.WizardStyle'
MacStyle = ... # type: 'QWizard.WizardStyle'
AeroStyle = ... # type: 'QWizard.WizardStyle'
class WizardPixmap(int): ...
WatermarkPixmap = ... # type: 'QWizard.WizardPixmap'
LogoPixmap = ... # type: 'QWizard.WizardPixmap'
BannerPixmap = ... # type: 'QWizard.WizardPixmap'
BackgroundPixmap = ... # type: 'QWizard.WizardPixmap'
class WizardButton(int): ...
BackButton = ... # type: 'QWizard.WizardButton'
NextButton = ... # type: 'QWizard.WizardButton'
CommitButton = ... # type: 'QWizard.WizardButton'
FinishButton = ... # type: 'QWizard.WizardButton'
CancelButton = ... # type: 'QWizard.WizardButton'
HelpButton = ... # type: 'QWizard.WizardButton'
CustomButton1 = ... # type: 'QWizard.WizardButton'
CustomButton2 = ... # type: 'QWizard.WizardButton'
CustomButton3 = ... # type: 'QWizard.WizardButton'
Stretch = ... # type: 'QWizard.WizardButton'
class WizardOptions(sip.simplewrapper):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, f: typing.Union['QWizard.WizardOptions', 'QWizard.WizardOption']) -> None: ...
@typing.overload
def __init__(self, a0: 'QWizard.WizardOptions') -> None: ...
def __hash__(self) -> int: ...
def __bool__(self) -> int: ...
def __invert__(self) -> 'QWizard.WizardOptions': ...
def __int__(self) -> int: ...
def __init__(self, parent: typing.Optional[QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ...
def pageRemoved(self, id: int) -> None: ...
def pageAdded(self, id: int) -> None: ...
def sideWidget(self) -> QWidget: ...
def setSideWidget(self, widget: QWidget) -> None: ...
def pageIds(self) -> typing.List[int]: ...
def removePage(self, id: int) -> None: ...
def cleanupPage(self, id: int) -> None: ...
def initializePage(self, id: int) -> None: ...
def done(self, result: int) -> None: ...
def paintEvent(self, event: QtGui.QPaintEvent) -> None: ...
def resizeEvent(self, event: QtGui.QResizeEvent) -> None: ...
def event(self, event: QtCore.QEvent) -> bool: ...
def restart(self) -> None: ...
def next(self) -> None: ...
def back(self) -> None: ...
def customButtonClicked(self, which: int) -> None: ...
def helpRequested(self) -> None: ...
def currentIdChanged(self, id: int) -> None: ...
def sizeHint(self) -> QtCore.QSize: ...
def setVisible(self, visible: bool) -> None: ...
def setDefaultProperty(self, className: str, property: str, changedSignal: PYQT_SIGNAL) -> None: ...
def pixmap(self, which: 'QWizard.WizardPixmap') -> QtGui.QPixmap: ...
def setPixmap(self, which: 'QWizard.WizardPixmap', pixmap: QtGui.QPixmap) -> None: ...
def subTitleFormat(self) -> QtCore.Qt.TextFormat: ...
def setSubTitleFormat(self, format: QtCore.Qt.TextFormat) -> None: ...
def titleFormat(self) -> QtCore.Qt.TextFormat: ...
def setTitleFormat(self, format: QtCore.Qt.TextFormat) -> None: ...
def button(self, which: 'QWizard.WizardButton') -> QAbstractButton: ...
def setButton(self, which: 'QWizard.WizardButton', button: QAbstractButton) -> None: ...
def setButtonLayout(self, layout: typing.Iterable['QWizard.WizardButton']) -> None: ...
def buttonText(self, which: 'QWizard.WizardButton') -> str: ...
def setButtonText(self, which: 'QWizard.WizardButton', text: str) -> None: ...
def options(self) -> 'QWizard.WizardOptions': ...
def setOptions(self, options: typing.Union['QWizard.WizardOptions', 'QWizard.WizardOption']) -> None: ...
def testOption(self, option: 'QWizard.WizardOption') -> bool: ...
def setOption(self, option: 'QWizard.WizardOption', on: bool = ...) -> None: ...
def wizardStyle(self) -> 'QWizard.WizardStyle': ...
def setWizardStyle(self, style: 'QWizard.WizardStyle') -> None: ...
def field(self, name: str) -> typing.Any: ...
def setField(self, name: str, value: typing.Any) -> None: ...
def nextId(self) -> int: ...
def validateCurrentPage(self) -> bool: ...
def currentId(self) -> int: ...
def currentPage(self) -> 'QWizardPage': ...
def startId(self) -> int: ...
def setStartId(self, id: int) -> None: ...
def visitedPages(self) -> typing.List[int]: ...
def hasVisitedPage(self, id: int) -> bool: ...
def page(self, id: int) -> 'QWizardPage': ...
def setPage(self, id: int, page: 'QWizardPage') -> None: ...
def addPage(self, page: 'QWizardPage') -> int: ...
class QWizardPage(QWidget):
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ...
def wizard(self) -> QWizard: ...
def registerField(self, name: str, widget: QWidget, property: typing.Optional[str] = ..., changedSignal: PYQT_SIGNAL = ...) -> None: ...
def field(self, name: str) -> typing.Any: ...
def setField(self, name: str, value: typing.Any) -> None: ...
def completeChanged(self) -> None: ...
def nextId(self) -> int: ...
def isComplete(self) -> bool: ...
def validatePage(self) -> bool: ...
def cleanupPage(self) -> None: ...
def initializePage(self) -> None: ...
def buttonText(self, which: QWizard.WizardButton) -> str: ...
def setButtonText(self, which: QWizard.WizardButton, text: str) -> None: ...
def isCommitPage(self) -> bool: ...
def setCommitPage(self, commitPage: bool) -> None: ...
def isFinalPage(self) -> bool: ...
def setFinalPage(self, finalPage: bool) -> None: ...
def pixmap(self, which: QWizard.WizardPixmap) -> QtGui.QPixmap: ...
def setPixmap(self, which: QWizard.WizardPixmap, pixmap: QtGui.QPixmap) -> None: ...
def subTitle(self) -> str: ...
def setSubTitle(self, subTitle: str) -> None: ...
def title(self) -> str: ...
def setTitle(self, title: str) -> None: ...
QWIDGETSIZE_MAX = ... # type: int
qApp = ... # type: QApplication
def qDrawBorderPixmap(painter: QtGui.QPainter, target: QtCore.QRect, margins: QtCore.QMargins, pixmap: QtGui.QPixmap) -> None: ...
@typing.overload
def qDrawPlainRect(p: QtGui.QPainter, x: int, y: int, w: int, h: int, a5: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient], lineWidth: int = ..., fill: typing.Optional[typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]] = ...) -> None: ...
@typing.overload
def qDrawPlainRect(p: QtGui.QPainter, r: QtCore.QRect, a2: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient], lineWidth: int = ..., fill: typing.Optional[typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]] = ...) -> None: ...
@typing.overload
def qDrawWinPanel(p: QtGui.QPainter, x: int, y: int, w: int, h: int, pal: QtGui.QPalette, sunken: bool = ..., fill: typing.Optional[typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]] = ...) -> None: ...
@typing.overload
def qDrawWinPanel(p: QtGui.QPainter, r: QtCore.QRect, pal: QtGui.QPalette, sunken: bool = ..., fill: typing.Optional[typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]] = ...) -> None: ...
@typing.overload
def qDrawWinButton(p: QtGui.QPainter, x: int, y: int, w: int, h: int, pal: QtGui.QPalette, sunken: bool = ..., fill: typing.Optional[typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]] = ...) -> None: ...
@typing.overload
def qDrawWinButton(p: QtGui.QPainter, r: QtCore.QRect, pal: QtGui.QPalette, sunken: bool = ..., fill: typing.Optional[typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]] = ...) -> None: ...
@typing.overload
def qDrawShadePanel(p: QtGui.QPainter, x: int, y: int, w: int, h: int, pal: QtGui.QPalette, sunken: bool = ..., lineWidth: int = ..., fill: typing.Optional[typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]] = ...) -> None: ...
@typing.overload
def qDrawShadePanel(p: QtGui.QPainter, r: QtCore.QRect, pal: QtGui.QPalette, sunken: bool = ..., lineWidth: int = ..., fill: typing.Optional[typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]] = ...) -> None: ...
@typing.overload
def qDrawShadeRect(p: QtGui.QPainter, x: int, y: int, w: int, h: int, pal: QtGui.QPalette, sunken: bool = ..., lineWidth: int = ..., midLineWidth: int = ..., fill: typing.Optional[typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]] = ...) -> None: ...
@typing.overload
def qDrawShadeRect(p: QtGui.QPainter, r: QtCore.QRect, pal: QtGui.QPalette, sunken: bool = ..., lineWidth: int = ..., midLineWidth: int = ..., fill: typing.Optional[typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]] = ...) -> None: ...
@typing.overload
def qDrawShadeLine(p: QtGui.QPainter, x1: int, y1: int, x2: int, y2: int, pal: QtGui.QPalette, sunken: bool = ..., lineWidth: int = ..., midLineWidth: int = ...) -> None: ...
@typing.overload
def qDrawShadeLine(p: QtGui.QPainter, p1: QtCore.QPoint, p2: QtCore.QPoint, pal: QtGui.QPalette, sunken: bool = ..., lineWidth: int = ..., midLineWidth: int = ...) -> None: ...
|