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
|
/****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the tools applications of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial Usage
** Licensees holding valid Qt Commercial licenses may use this file in
** accordance with the Qt Commercial License Agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and Nokia.
**
** GNU Lesser General Public License Usage
** Alternatively, this file may be used under the terms of the GNU Lesser
** General Public License version 2.1 as published by the Free Software
** Foundation and appearing in the file LICENSE.LGPL included in the
** packaging of this file. Please review the following information to
** ensure the GNU Lesser General Public License version 2.1 requirements
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Nokia gives you certain additional
** rights. These rights are described in the Nokia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
** GNU General Public License Usage
** Alternatively, 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.GPL 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 have questions regarding the use of this file, please contact
** Nokia at qt-info@nokia.com.
** $QT_END_LICENSE$
**
****************************************************************************/
//
// W A R N I N G
// -------------
//
// This file is not part of the Qt API. It exists for the convenience
// of Qt Designer. This header
// file may change from version to version without notice, or even be removed.
//
// We mean it.
//
// THIS FILE IS AUTOMATICALLY GENERATED
#ifndef UI4_H
#define UI4_H
#include <QtCore/QList>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtCore/QXmlStreamReader>
#include <QtCore/QXmlStreamWriter>
#include <QtCore/qglobal.h>
#if defined(QT_UIC3)
#define QUILOADER_QDOM_READ
#endif
QT_BEGIN_NAMESPACE
#ifdef QUILOADER_QDOM_READ
class QDomElement;
#endif
#define QDESIGNER_UILIB_EXTERN Q_DECL_EXPORT
#define QDESIGNER_UILIB_IMPORT Q_DECL_IMPORT
#if defined(QT_DESIGNER_STATIC) || defined(QT_UIC) || defined(QT_UIC3)
# define QDESIGNER_UILIB_EXPORT
#elif defined(QDESIGNER_UILIB_LIBRARY)
# define QDESIGNER_UILIB_EXPORT QDESIGNER_UILIB_EXTERN
#else
# define QDESIGNER_UILIB_EXPORT QDESIGNER_UILIB_IMPORT
#endif
#ifndef QDESIGNER_UILIB_EXPORT
# define QDESIGNER_UILIB_EXPORT
#endif
#ifdef QFORMINTERNAL_NAMESPACE
namespace QFormInternal
{
#endif
/*******************************************************************************
** Forward declarations
*/
class DomUI;
class DomIncludes;
class DomInclude;
class DomResources;
class DomResource;
class DomActionGroup;
class DomAction;
class DomActionRef;
class DomButtonGroup;
class DomButtonGroups;
class DomImages;
class DomImage;
class DomImageData;
class DomCustomWidgets;
class DomHeader;
class DomCustomWidget;
class DomProperties;
class DomPropertyData;
class DomSizePolicyData;
class DomLayoutDefault;
class DomLayoutFunction;
class DomTabStops;
class DomLayout;
class DomLayoutItem;
class DomRow;
class DomColumn;
class DomItem;
class DomWidget;
class DomSpacer;
class DomColor;
class DomGradientStop;
class DomGradient;
class DomBrush;
class DomColorRole;
class DomColorGroup;
class DomPalette;
class DomFont;
class DomPoint;
class DomRect;
class DomLocale;
class DomSizePolicy;
class DomSize;
class DomDate;
class DomTime;
class DomDateTime;
class DomStringList;
class DomResourcePixmap;
class DomResourceIcon;
class DomString;
class DomPointF;
class DomRectF;
class DomSizeF;
class DomChar;
class DomUrl;
class DomProperty;
class DomConnections;
class DomConnection;
class DomConnectionHints;
class DomConnectionHint;
class DomScript;
class DomWidgetData;
class DomDesignerData;
class DomSlots;
class DomPropertySpecifications;
class DomStringPropertySpecification;
/*******************************************************************************
** Declarations
*/
class QDESIGNER_UILIB_EXPORT DomUI {
public:
DomUI();
~DomUI();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
inline bool hasAttributeVersion() const { return m_has_attr_version; }
inline QString attributeVersion() const { return m_attr_version; }
inline void setAttributeVersion(const QString& a) { m_attr_version = a; m_has_attr_version = true; }
inline void clearAttributeVersion() { m_has_attr_version = false; }
inline bool hasAttributeLanguage() const { return m_has_attr_language; }
inline QString attributeLanguage() const { return m_attr_language; }
inline void setAttributeLanguage(const QString& a) { m_attr_language = a; m_has_attr_language = true; }
inline void clearAttributeLanguage() { m_has_attr_language = false; }
inline bool hasAttributeDisplayname() const { return m_has_attr_displayname; }
inline QString attributeDisplayname() const { return m_attr_displayname; }
inline void setAttributeDisplayname(const QString& a) { m_attr_displayname = a; m_has_attr_displayname = true; }
inline void clearAttributeDisplayname() { m_has_attr_displayname = false; }
inline bool hasAttributeStdsetdef() const { return m_has_attr_stdsetdef; }
inline int attributeStdsetdef() const { return m_attr_stdsetdef; }
inline void setAttributeStdsetdef(int a) { m_attr_stdsetdef = a; m_has_attr_stdsetdef = true; }
inline void clearAttributeStdsetdef() { m_has_attr_stdsetdef = false; }
inline bool hasAttributeStdSetDef() const { return m_has_attr_stdSetDef; }
inline int attributeStdSetDef() const { return m_attr_stdSetDef; }
inline void setAttributeStdSetDef(int a) { m_attr_stdSetDef = a; m_has_attr_stdSetDef = true; }
inline void clearAttributeStdSetDef() { m_has_attr_stdSetDef = false; }
// child element accessors
inline QString elementAuthor() const { return m_author; }
void setElementAuthor(const QString& a);
inline bool hasElementAuthor() const { return m_children & Author; }
void clearElementAuthor();
inline QString elementComment() const { return m_comment; }
void setElementComment(const QString& a);
inline bool hasElementComment() const { return m_children & Comment; }
void clearElementComment();
inline QString elementExportMacro() const { return m_exportMacro; }
void setElementExportMacro(const QString& a);
inline bool hasElementExportMacro() const { return m_children & ExportMacro; }
void clearElementExportMacro();
inline QString elementClass() const { return m_class; }
void setElementClass(const QString& a);
inline bool hasElementClass() const { return m_children & Class; }
void clearElementClass();
inline DomWidget* elementWidget() const { return m_widget; }
DomWidget* takeElementWidget();
void setElementWidget(DomWidget* a);
inline bool hasElementWidget() const { return m_children & Widget; }
void clearElementWidget();
inline DomLayoutDefault* elementLayoutDefault() const { return m_layoutDefault; }
DomLayoutDefault* takeElementLayoutDefault();
void setElementLayoutDefault(DomLayoutDefault* a);
inline bool hasElementLayoutDefault() const { return m_children & LayoutDefault; }
void clearElementLayoutDefault();
inline DomLayoutFunction* elementLayoutFunction() const { return m_layoutFunction; }
DomLayoutFunction* takeElementLayoutFunction();
void setElementLayoutFunction(DomLayoutFunction* a);
inline bool hasElementLayoutFunction() const { return m_children & LayoutFunction; }
void clearElementLayoutFunction();
inline QString elementPixmapFunction() const { return m_pixmapFunction; }
void setElementPixmapFunction(const QString& a);
inline bool hasElementPixmapFunction() const { return m_children & PixmapFunction; }
void clearElementPixmapFunction();
inline DomCustomWidgets* elementCustomWidgets() const { return m_customWidgets; }
DomCustomWidgets* takeElementCustomWidgets();
void setElementCustomWidgets(DomCustomWidgets* a);
inline bool hasElementCustomWidgets() const { return m_children & CustomWidgets; }
void clearElementCustomWidgets();
inline DomTabStops* elementTabStops() const { return m_tabStops; }
DomTabStops* takeElementTabStops();
void setElementTabStops(DomTabStops* a);
inline bool hasElementTabStops() const { return m_children & TabStops; }
void clearElementTabStops();
inline DomImages* elementImages() const { return m_images; }
DomImages* takeElementImages();
void setElementImages(DomImages* a);
inline bool hasElementImages() const { return m_children & Images; }
void clearElementImages();
inline DomIncludes* elementIncludes() const { return m_includes; }
DomIncludes* takeElementIncludes();
void setElementIncludes(DomIncludes* a);
inline bool hasElementIncludes() const { return m_children & Includes; }
void clearElementIncludes();
inline DomResources* elementResources() const { return m_resources; }
DomResources* takeElementResources();
void setElementResources(DomResources* a);
inline bool hasElementResources() const { return m_children & Resources; }
void clearElementResources();
inline DomConnections* elementConnections() const { return m_connections; }
DomConnections* takeElementConnections();
void setElementConnections(DomConnections* a);
inline bool hasElementConnections() const { return m_children & Connections; }
void clearElementConnections();
inline DomDesignerData* elementDesignerdata() const { return m_designerdata; }
DomDesignerData* takeElementDesignerdata();
void setElementDesignerdata(DomDesignerData* a);
inline bool hasElementDesignerdata() const { return m_children & Designerdata; }
void clearElementDesignerdata();
inline DomSlots* elementSlots() const { return m_slots; }
DomSlots* takeElementSlots();
void setElementSlots(DomSlots* a);
inline bool hasElementSlots() const { return m_children & Slots; }
void clearElementSlots();
inline DomButtonGroups* elementButtonGroups() const { return m_buttonGroups; }
DomButtonGroups* takeElementButtonGroups();
void setElementButtonGroups(DomButtonGroups* a);
inline bool hasElementButtonGroups() const { return m_children & ButtonGroups; }
void clearElementButtonGroups();
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
QString m_attr_version;
bool m_has_attr_version;
QString m_attr_language;
bool m_has_attr_language;
QString m_attr_displayname;
bool m_has_attr_displayname;
int m_attr_stdsetdef;
bool m_has_attr_stdsetdef;
int m_attr_stdSetDef;
bool m_has_attr_stdSetDef;
// child element data
uint m_children;
QString m_author;
QString m_comment;
QString m_exportMacro;
QString m_class;
DomWidget* m_widget;
DomLayoutDefault* m_layoutDefault;
DomLayoutFunction* m_layoutFunction;
QString m_pixmapFunction;
DomCustomWidgets* m_customWidgets;
DomTabStops* m_tabStops;
DomImages* m_images;
DomIncludes* m_includes;
DomResources* m_resources;
DomConnections* m_connections;
DomDesignerData* m_designerdata;
DomSlots* m_slots;
DomButtonGroups* m_buttonGroups;
enum Child {
Author = 1,
Comment = 2,
ExportMacro = 4,
Class = 8,
Widget = 16,
LayoutDefault = 32,
LayoutFunction = 64,
PixmapFunction = 128,
CustomWidgets = 256,
TabStops = 512,
Images = 1024,
Includes = 2048,
Resources = 4096,
Connections = 8192,
Designerdata = 16384,
Slots = 32768,
ButtonGroups = 65536
};
DomUI(const DomUI &other);
void operator = (const DomUI&other);
};
class QDESIGNER_UILIB_EXPORT DomIncludes {
public:
DomIncludes();
~DomIncludes();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
// child element accessors
inline QList<DomInclude*> elementInclude() const { return m_include; }
void setElementInclude(const QList<DomInclude*>& a);
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
// child element data
uint m_children;
QList<DomInclude*> m_include;
enum Child {
Include = 1
};
DomIncludes(const DomIncludes &other);
void operator = (const DomIncludes&other);
};
class QDESIGNER_UILIB_EXPORT DomInclude {
public:
DomInclude();
~DomInclude();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
inline bool hasAttributeLocation() const { return m_has_attr_location; }
inline QString attributeLocation() const { return m_attr_location; }
inline void setAttributeLocation(const QString& a) { m_attr_location = a; m_has_attr_location = true; }
inline void clearAttributeLocation() { m_has_attr_location = false; }
inline bool hasAttributeImpldecl() const { return m_has_attr_impldecl; }
inline QString attributeImpldecl() const { return m_attr_impldecl; }
inline void setAttributeImpldecl(const QString& a) { m_attr_impldecl = a; m_has_attr_impldecl = true; }
inline void clearAttributeImpldecl() { m_has_attr_impldecl = false; }
// child element accessors
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
QString m_attr_location;
bool m_has_attr_location;
QString m_attr_impldecl;
bool m_has_attr_impldecl;
// child element data
uint m_children;
DomInclude(const DomInclude &other);
void operator = (const DomInclude&other);
};
class QDESIGNER_UILIB_EXPORT DomResources {
public:
DomResources();
~DomResources();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
inline bool hasAttributeName() const { return m_has_attr_name; }
inline QString attributeName() const { return m_attr_name; }
inline void setAttributeName(const QString& a) { m_attr_name = a; m_has_attr_name = true; }
inline void clearAttributeName() { m_has_attr_name = false; }
// child element accessors
inline QList<DomResource*> elementInclude() const { return m_include; }
void setElementInclude(const QList<DomResource*>& a);
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
QString m_attr_name;
bool m_has_attr_name;
// child element data
uint m_children;
QList<DomResource*> m_include;
enum Child {
Include = 1
};
DomResources(const DomResources &other);
void operator = (const DomResources&other);
};
class QDESIGNER_UILIB_EXPORT DomResource {
public:
DomResource();
~DomResource();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
inline bool hasAttributeLocation() const { return m_has_attr_location; }
inline QString attributeLocation() const { return m_attr_location; }
inline void setAttributeLocation(const QString& a) { m_attr_location = a; m_has_attr_location = true; }
inline void clearAttributeLocation() { m_has_attr_location = false; }
// child element accessors
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
QString m_attr_location;
bool m_has_attr_location;
// child element data
uint m_children;
DomResource(const DomResource &other);
void operator = (const DomResource&other);
};
class QDESIGNER_UILIB_EXPORT DomActionGroup {
public:
DomActionGroup();
~DomActionGroup();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
inline bool hasAttributeName() const { return m_has_attr_name; }
inline QString attributeName() const { return m_attr_name; }
inline void setAttributeName(const QString& a) { m_attr_name = a; m_has_attr_name = true; }
inline void clearAttributeName() { m_has_attr_name = false; }
// child element accessors
inline QList<DomAction*> elementAction() const { return m_action; }
void setElementAction(const QList<DomAction*>& a);
inline QList<DomActionGroup*> elementActionGroup() const { return m_actionGroup; }
void setElementActionGroup(const QList<DomActionGroup*>& a);
inline QList<DomProperty*> elementProperty() const { return m_property; }
void setElementProperty(const QList<DomProperty*>& a);
inline QList<DomProperty*> elementAttribute() const { return m_attribute; }
void setElementAttribute(const QList<DomProperty*>& a);
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
QString m_attr_name;
bool m_has_attr_name;
// child element data
uint m_children;
QList<DomAction*> m_action;
QList<DomActionGroup*> m_actionGroup;
QList<DomProperty*> m_property;
QList<DomProperty*> m_attribute;
enum Child {
Action = 1,
ActionGroup = 2,
Property = 4,
Attribute = 8
};
DomActionGroup(const DomActionGroup &other);
void operator = (const DomActionGroup&other);
};
class QDESIGNER_UILIB_EXPORT DomAction {
public:
DomAction();
~DomAction();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
inline bool hasAttributeName() const { return m_has_attr_name; }
inline QString attributeName() const { return m_attr_name; }
inline void setAttributeName(const QString& a) { m_attr_name = a; m_has_attr_name = true; }
inline void clearAttributeName() { m_has_attr_name = false; }
inline bool hasAttributeMenu() const { return m_has_attr_menu; }
inline QString attributeMenu() const { return m_attr_menu; }
inline void setAttributeMenu(const QString& a) { m_attr_menu = a; m_has_attr_menu = true; }
inline void clearAttributeMenu() { m_has_attr_menu = false; }
// child element accessors
inline QList<DomProperty*> elementProperty() const { return m_property; }
void setElementProperty(const QList<DomProperty*>& a);
inline QList<DomProperty*> elementAttribute() const { return m_attribute; }
void setElementAttribute(const QList<DomProperty*>& a);
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
QString m_attr_name;
bool m_has_attr_name;
QString m_attr_menu;
bool m_has_attr_menu;
// child element data
uint m_children;
QList<DomProperty*> m_property;
QList<DomProperty*> m_attribute;
enum Child {
Property = 1,
Attribute = 2
};
DomAction(const DomAction &other);
void operator = (const DomAction&other);
};
class QDESIGNER_UILIB_EXPORT DomActionRef {
public:
DomActionRef();
~DomActionRef();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
inline bool hasAttributeName() const { return m_has_attr_name; }
inline QString attributeName() const { return m_attr_name; }
inline void setAttributeName(const QString& a) { m_attr_name = a; m_has_attr_name = true; }
inline void clearAttributeName() { m_has_attr_name = false; }
// child element accessors
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
QString m_attr_name;
bool m_has_attr_name;
// child element data
uint m_children;
DomActionRef(const DomActionRef &other);
void operator = (const DomActionRef&other);
};
class QDESIGNER_UILIB_EXPORT DomButtonGroup {
public:
DomButtonGroup();
~DomButtonGroup();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
inline bool hasAttributeName() const { return m_has_attr_name; }
inline QString attributeName() const { return m_attr_name; }
inline void setAttributeName(const QString& a) { m_attr_name = a; m_has_attr_name = true; }
inline void clearAttributeName() { m_has_attr_name = false; }
// child element accessors
inline QList<DomProperty*> elementProperty() const { return m_property; }
void setElementProperty(const QList<DomProperty*>& a);
inline QList<DomProperty*> elementAttribute() const { return m_attribute; }
void setElementAttribute(const QList<DomProperty*>& a);
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
QString m_attr_name;
bool m_has_attr_name;
// child element data
uint m_children;
QList<DomProperty*> m_property;
QList<DomProperty*> m_attribute;
enum Child {
Property = 1,
Attribute = 2
};
DomButtonGroup(const DomButtonGroup &other);
void operator = (const DomButtonGroup&other);
};
class QDESIGNER_UILIB_EXPORT DomButtonGroups {
public:
DomButtonGroups();
~DomButtonGroups();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
// child element accessors
inline QList<DomButtonGroup*> elementButtonGroup() const { return m_buttonGroup; }
void setElementButtonGroup(const QList<DomButtonGroup*>& a);
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
// child element data
uint m_children;
QList<DomButtonGroup*> m_buttonGroup;
enum Child {
ButtonGroup = 1
};
DomButtonGroups(const DomButtonGroups &other);
void operator = (const DomButtonGroups&other);
};
class QDESIGNER_UILIB_EXPORT DomImages {
public:
DomImages();
~DomImages();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
// child element accessors
inline QList<DomImage*> elementImage() const { return m_image; }
void setElementImage(const QList<DomImage*>& a);
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
// child element data
uint m_children;
QList<DomImage*> m_image;
enum Child {
Image = 1
};
DomImages(const DomImages &other);
void operator = (const DomImages&other);
};
class QDESIGNER_UILIB_EXPORT DomImage {
public:
DomImage();
~DomImage();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
inline bool hasAttributeName() const { return m_has_attr_name; }
inline QString attributeName() const { return m_attr_name; }
inline void setAttributeName(const QString& a) { m_attr_name = a; m_has_attr_name = true; }
inline void clearAttributeName() { m_has_attr_name = false; }
// child element accessors
inline DomImageData* elementData() const { return m_data; }
DomImageData* takeElementData();
void setElementData(DomImageData* a);
inline bool hasElementData() const { return m_children & Data; }
void clearElementData();
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
QString m_attr_name;
bool m_has_attr_name;
// child element data
uint m_children;
DomImageData* m_data;
enum Child {
Data = 1
};
DomImage(const DomImage &other);
void operator = (const DomImage&other);
};
class QDESIGNER_UILIB_EXPORT DomImageData {
public:
DomImageData();
~DomImageData();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
inline bool hasAttributeFormat() const { return m_has_attr_format; }
inline QString attributeFormat() const { return m_attr_format; }
inline void setAttributeFormat(const QString& a) { m_attr_format = a; m_has_attr_format = true; }
inline void clearAttributeFormat() { m_has_attr_format = false; }
inline bool hasAttributeLength() const { return m_has_attr_length; }
inline int attributeLength() const { return m_attr_length; }
inline void setAttributeLength(int a) { m_attr_length = a; m_has_attr_length = true; }
inline void clearAttributeLength() { m_has_attr_length = false; }
// child element accessors
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
QString m_attr_format;
bool m_has_attr_format;
int m_attr_length;
bool m_has_attr_length;
// child element data
uint m_children;
DomImageData(const DomImageData &other);
void operator = (const DomImageData&other);
};
class QDESIGNER_UILIB_EXPORT DomCustomWidgets {
public:
DomCustomWidgets();
~DomCustomWidgets();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
// child element accessors
inline QList<DomCustomWidget*> elementCustomWidget() const { return m_customWidget; }
void setElementCustomWidget(const QList<DomCustomWidget*>& a);
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
// child element data
uint m_children;
QList<DomCustomWidget*> m_customWidget;
enum Child {
CustomWidget = 1
};
DomCustomWidgets(const DomCustomWidgets &other);
void operator = (const DomCustomWidgets&other);
};
class QDESIGNER_UILIB_EXPORT DomHeader {
public:
DomHeader();
~DomHeader();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
inline bool hasAttributeLocation() const { return m_has_attr_location; }
inline QString attributeLocation() const { return m_attr_location; }
inline void setAttributeLocation(const QString& a) { m_attr_location = a; m_has_attr_location = true; }
inline void clearAttributeLocation() { m_has_attr_location = false; }
// child element accessors
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
QString m_attr_location;
bool m_has_attr_location;
// child element data
uint m_children;
DomHeader(const DomHeader &other);
void operator = (const DomHeader&other);
};
class QDESIGNER_UILIB_EXPORT DomCustomWidget {
public:
DomCustomWidget();
~DomCustomWidget();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
// child element accessors
inline QString elementClass() const { return m_class; }
void setElementClass(const QString& a);
inline bool hasElementClass() const { return m_children & Class; }
void clearElementClass();
inline QString elementExtends() const { return m_extends; }
void setElementExtends(const QString& a);
inline bool hasElementExtends() const { return m_children & Extends; }
void clearElementExtends();
inline DomHeader* elementHeader() const { return m_header; }
DomHeader* takeElementHeader();
void setElementHeader(DomHeader* a);
inline bool hasElementHeader() const { return m_children & Header; }
void clearElementHeader();
inline DomSize* elementSizeHint() const { return m_sizeHint; }
DomSize* takeElementSizeHint();
void setElementSizeHint(DomSize* a);
inline bool hasElementSizeHint() const { return m_children & SizeHint; }
void clearElementSizeHint();
inline QString elementAddPageMethod() const { return m_addPageMethod; }
void setElementAddPageMethod(const QString& a);
inline bool hasElementAddPageMethod() const { return m_children & AddPageMethod; }
void clearElementAddPageMethod();
inline int elementContainer() const { return m_container; }
void setElementContainer(int a);
inline bool hasElementContainer() const { return m_children & Container; }
void clearElementContainer();
inline DomSizePolicyData* elementSizePolicy() const { return m_sizePolicy; }
DomSizePolicyData* takeElementSizePolicy();
void setElementSizePolicy(DomSizePolicyData* a);
inline bool hasElementSizePolicy() const { return m_children & SizePolicy; }
void clearElementSizePolicy();
inline QString elementPixmap() const { return m_pixmap; }
void setElementPixmap(const QString& a);
inline bool hasElementPixmap() const { return m_children & Pixmap; }
void clearElementPixmap();
inline DomScript* elementScript() const { return m_script; }
DomScript* takeElementScript();
void setElementScript(DomScript* a);
inline bool hasElementScript() const { return m_children & Script; }
void clearElementScript();
inline DomProperties* elementProperties() const { return m_properties; }
DomProperties* takeElementProperties();
void setElementProperties(DomProperties* a);
inline bool hasElementProperties() const { return m_children & Properties; }
void clearElementProperties();
inline DomSlots* elementSlots() const { return m_slots; }
DomSlots* takeElementSlots();
void setElementSlots(DomSlots* a);
inline bool hasElementSlots() const { return m_children & Slots; }
void clearElementSlots();
inline DomPropertySpecifications* elementPropertyspecifications() const { return m_propertyspecifications; }
DomPropertySpecifications* takeElementPropertyspecifications();
void setElementPropertyspecifications(DomPropertySpecifications* a);
inline bool hasElementPropertyspecifications() const { return m_children & Propertyspecifications; }
void clearElementPropertyspecifications();
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
// child element data
uint m_children;
QString m_class;
QString m_extends;
DomHeader* m_header;
DomSize* m_sizeHint;
QString m_addPageMethod;
int m_container;
DomSizePolicyData* m_sizePolicy;
QString m_pixmap;
DomScript* m_script;
DomProperties* m_properties;
DomSlots* m_slots;
DomPropertySpecifications* m_propertyspecifications;
enum Child {
Class = 1,
Extends = 2,
Header = 4,
SizeHint = 8,
AddPageMethod = 16,
Container = 32,
SizePolicy = 64,
Pixmap = 128,
Script = 256,
Properties = 512,
Slots = 1024,
Propertyspecifications = 2048
};
DomCustomWidget(const DomCustomWidget &other);
void operator = (const DomCustomWidget&other);
};
class QDESIGNER_UILIB_EXPORT DomProperties {
public:
DomProperties();
~DomProperties();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
// child element accessors
inline QList<DomPropertyData*> elementProperty() const { return m_property; }
void setElementProperty(const QList<DomPropertyData*>& a);
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
// child element data
uint m_children;
QList<DomPropertyData*> m_property;
enum Child {
Property = 1
};
DomProperties(const DomProperties &other);
void operator = (const DomProperties&other);
};
class QDESIGNER_UILIB_EXPORT DomPropertyData {
public:
DomPropertyData();
~DomPropertyData();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
inline bool hasAttributeType() const { return m_has_attr_type; }
inline QString attributeType() const { return m_attr_type; }
inline void setAttributeType(const QString& a) { m_attr_type = a; m_has_attr_type = true; }
inline void clearAttributeType() { m_has_attr_type = false; }
// child element accessors
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
QString m_attr_type;
bool m_has_attr_type;
// child element data
uint m_children;
DomPropertyData(const DomPropertyData &other);
void operator = (const DomPropertyData&other);
};
class QDESIGNER_UILIB_EXPORT DomSizePolicyData {
public:
DomSizePolicyData();
~DomSizePolicyData();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
// child element accessors
inline int elementHorData() const { return m_horData; }
void setElementHorData(int a);
inline bool hasElementHorData() const { return m_children & HorData; }
void clearElementHorData();
inline int elementVerData() const { return m_verData; }
void setElementVerData(int a);
inline bool hasElementVerData() const { return m_children & VerData; }
void clearElementVerData();
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
// child element data
uint m_children;
int m_horData;
int m_verData;
enum Child {
HorData = 1,
VerData = 2
};
DomSizePolicyData(const DomSizePolicyData &other);
void operator = (const DomSizePolicyData&other);
};
class QDESIGNER_UILIB_EXPORT DomLayoutDefault {
public:
DomLayoutDefault();
~DomLayoutDefault();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
inline bool hasAttributeSpacing() const { return m_has_attr_spacing; }
inline int attributeSpacing() const { return m_attr_spacing; }
inline void setAttributeSpacing(int a) { m_attr_spacing = a; m_has_attr_spacing = true; }
inline void clearAttributeSpacing() { m_has_attr_spacing = false; }
inline bool hasAttributeMargin() const { return m_has_attr_margin; }
inline int attributeMargin() const { return m_attr_margin; }
inline void setAttributeMargin(int a) { m_attr_margin = a; m_has_attr_margin = true; }
inline void clearAttributeMargin() { m_has_attr_margin = false; }
// child element accessors
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
int m_attr_spacing;
bool m_has_attr_spacing;
int m_attr_margin;
bool m_has_attr_margin;
// child element data
uint m_children;
DomLayoutDefault(const DomLayoutDefault &other);
void operator = (const DomLayoutDefault&other);
};
class QDESIGNER_UILIB_EXPORT DomLayoutFunction {
public:
DomLayoutFunction();
~DomLayoutFunction();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
inline bool hasAttributeSpacing() const { return m_has_attr_spacing; }
inline QString attributeSpacing() const { return m_attr_spacing; }
inline void setAttributeSpacing(const QString& a) { m_attr_spacing = a; m_has_attr_spacing = true; }
inline void clearAttributeSpacing() { m_has_attr_spacing = false; }
inline bool hasAttributeMargin() const { return m_has_attr_margin; }
inline QString attributeMargin() const { return m_attr_margin; }
inline void setAttributeMargin(const QString& a) { m_attr_margin = a; m_has_attr_margin = true; }
inline void clearAttributeMargin() { m_has_attr_margin = false; }
// child element accessors
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
QString m_attr_spacing;
bool m_has_attr_spacing;
QString m_attr_margin;
bool m_has_attr_margin;
// child element data
uint m_children;
DomLayoutFunction(const DomLayoutFunction &other);
void operator = (const DomLayoutFunction&other);
};
class QDESIGNER_UILIB_EXPORT DomTabStops {
public:
DomTabStops();
~DomTabStops();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
// child element accessors
inline QStringList elementTabStop() const { return m_tabStop; }
void setElementTabStop(const QStringList& a);
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
// child element data
uint m_children;
QStringList m_tabStop;
enum Child {
TabStop = 1
};
DomTabStops(const DomTabStops &other);
void operator = (const DomTabStops&other);
};
class QDESIGNER_UILIB_EXPORT DomLayout {
public:
DomLayout();
~DomLayout();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
inline bool hasAttributeClass() const { return m_has_attr_class; }
inline QString attributeClass() const { return m_attr_class; }
inline void setAttributeClass(const QString& a) { m_attr_class = a; m_has_attr_class = true; }
inline void clearAttributeClass() { m_has_attr_class = false; }
inline bool hasAttributeName() const { return m_has_attr_name; }
inline QString attributeName() const { return m_attr_name; }
inline void setAttributeName(const QString& a) { m_attr_name = a; m_has_attr_name = true; }
inline void clearAttributeName() { m_has_attr_name = false; }
inline bool hasAttributeStretch() const { return m_has_attr_stretch; }
inline QString attributeStretch() const { return m_attr_stretch; }
inline void setAttributeStretch(const QString& a) { m_attr_stretch = a; m_has_attr_stretch = true; }
inline void clearAttributeStretch() { m_has_attr_stretch = false; }
inline bool hasAttributeRowStretch() const { return m_has_attr_rowStretch; }
inline QString attributeRowStretch() const { return m_attr_rowStretch; }
inline void setAttributeRowStretch(const QString& a) { m_attr_rowStretch = a; m_has_attr_rowStretch = true; }
inline void clearAttributeRowStretch() { m_has_attr_rowStretch = false; }
inline bool hasAttributeColumnStretch() const { return m_has_attr_columnStretch; }
inline QString attributeColumnStretch() const { return m_attr_columnStretch; }
inline void setAttributeColumnStretch(const QString& a) { m_attr_columnStretch = a; m_has_attr_columnStretch = true; }
inline void clearAttributeColumnStretch() { m_has_attr_columnStretch = false; }
inline bool hasAttributeRowMinimumHeight() const { return m_has_attr_rowMinimumHeight; }
inline QString attributeRowMinimumHeight() const { return m_attr_rowMinimumHeight; }
inline void setAttributeRowMinimumHeight(const QString& a) { m_attr_rowMinimumHeight = a; m_has_attr_rowMinimumHeight = true; }
inline void clearAttributeRowMinimumHeight() { m_has_attr_rowMinimumHeight = false; }
inline bool hasAttributeColumnMinimumWidth() const { return m_has_attr_columnMinimumWidth; }
inline QString attributeColumnMinimumWidth() const { return m_attr_columnMinimumWidth; }
inline void setAttributeColumnMinimumWidth(const QString& a) { m_attr_columnMinimumWidth = a; m_has_attr_columnMinimumWidth = true; }
inline void clearAttributeColumnMinimumWidth() { m_has_attr_columnMinimumWidth = false; }
// child element accessors
inline QList<DomProperty*> elementProperty() const { return m_property; }
void setElementProperty(const QList<DomProperty*>& a);
inline QList<DomProperty*> elementAttribute() const { return m_attribute; }
void setElementAttribute(const QList<DomProperty*>& a);
inline QList<DomLayoutItem*> elementItem() const { return m_item; }
void setElementItem(const QList<DomLayoutItem*>& a);
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
QString m_attr_class;
bool m_has_attr_class;
QString m_attr_name;
bool m_has_attr_name;
QString m_attr_stretch;
bool m_has_attr_stretch;
QString m_attr_rowStretch;
bool m_has_attr_rowStretch;
QString m_attr_columnStretch;
bool m_has_attr_columnStretch;
QString m_attr_rowMinimumHeight;
bool m_has_attr_rowMinimumHeight;
QString m_attr_columnMinimumWidth;
bool m_has_attr_columnMinimumWidth;
// child element data
uint m_children;
QList<DomProperty*> m_property;
QList<DomProperty*> m_attribute;
QList<DomLayoutItem*> m_item;
enum Child {
Property = 1,
Attribute = 2,
Item = 4
};
DomLayout(const DomLayout &other);
void operator = (const DomLayout&other);
};
class QDESIGNER_UILIB_EXPORT DomLayoutItem {
public:
DomLayoutItem();
~DomLayoutItem();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
inline bool hasAttributeRow() const { return m_has_attr_row; }
inline int attributeRow() const { return m_attr_row; }
inline void setAttributeRow(int a) { m_attr_row = a; m_has_attr_row = true; }
inline void clearAttributeRow() { m_has_attr_row = false; }
inline bool hasAttributeColumn() const { return m_has_attr_column; }
inline int attributeColumn() const { return m_attr_column; }
inline void setAttributeColumn(int a) { m_attr_column = a; m_has_attr_column = true; }
inline void clearAttributeColumn() { m_has_attr_column = false; }
inline bool hasAttributeRowSpan() const { return m_has_attr_rowSpan; }
inline int attributeRowSpan() const { return m_attr_rowSpan; }
inline void setAttributeRowSpan(int a) { m_attr_rowSpan = a; m_has_attr_rowSpan = true; }
inline void clearAttributeRowSpan() { m_has_attr_rowSpan = false; }
inline bool hasAttributeColSpan() const { return m_has_attr_colSpan; }
inline int attributeColSpan() const { return m_attr_colSpan; }
inline void setAttributeColSpan(int a) { m_attr_colSpan = a; m_has_attr_colSpan = true; }
inline void clearAttributeColSpan() { m_has_attr_colSpan = false; }
// child element accessors
enum Kind { Unknown = 0, Widget, Layout, Spacer };
inline Kind kind() const { return m_kind; }
inline DomWidget* elementWidget() const { return m_widget; }
DomWidget* takeElementWidget();
void setElementWidget(DomWidget* a);
inline DomLayout* elementLayout() const { return m_layout; }
DomLayout* takeElementLayout();
void setElementLayout(DomLayout* a);
inline DomSpacer* elementSpacer() const { return m_spacer; }
DomSpacer* takeElementSpacer();
void setElementSpacer(DomSpacer* a);
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
int m_attr_row;
bool m_has_attr_row;
int m_attr_column;
bool m_has_attr_column;
int m_attr_rowSpan;
bool m_has_attr_rowSpan;
int m_attr_colSpan;
bool m_has_attr_colSpan;
// child element data
Kind m_kind;
DomWidget* m_widget;
DomLayout* m_layout;
DomSpacer* m_spacer;
DomLayoutItem(const DomLayoutItem &other);
void operator = (const DomLayoutItem&other);
};
class QDESIGNER_UILIB_EXPORT DomRow {
public:
DomRow();
~DomRow();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
// child element accessors
inline QList<DomProperty*> elementProperty() const { return m_property; }
void setElementProperty(const QList<DomProperty*>& a);
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
// child element data
uint m_children;
QList<DomProperty*> m_property;
enum Child {
Property = 1
};
DomRow(const DomRow &other);
void operator = (const DomRow&other);
};
class QDESIGNER_UILIB_EXPORT DomColumn {
public:
DomColumn();
~DomColumn();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
// child element accessors
inline QList<DomProperty*> elementProperty() const { return m_property; }
void setElementProperty(const QList<DomProperty*>& a);
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
// child element data
uint m_children;
QList<DomProperty*> m_property;
enum Child {
Property = 1
};
DomColumn(const DomColumn &other);
void operator = (const DomColumn&other);
};
class QDESIGNER_UILIB_EXPORT DomItem {
public:
DomItem();
~DomItem();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
inline bool hasAttributeRow() const { return m_has_attr_row; }
inline int attributeRow() const { return m_attr_row; }
inline void setAttributeRow(int a) { m_attr_row = a; m_has_attr_row = true; }
inline void clearAttributeRow() { m_has_attr_row = false; }
inline bool hasAttributeColumn() const { return m_has_attr_column; }
inline int attributeColumn() const { return m_attr_column; }
inline void setAttributeColumn(int a) { m_attr_column = a; m_has_attr_column = true; }
inline void clearAttributeColumn() { m_has_attr_column = false; }
// child element accessors
inline QList<DomProperty*> elementProperty() const { return m_property; }
void setElementProperty(const QList<DomProperty*>& a);
inline QList<DomItem*> elementItem() const { return m_item; }
void setElementItem(const QList<DomItem*>& a);
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
int m_attr_row;
bool m_has_attr_row;
int m_attr_column;
bool m_has_attr_column;
// child element data
uint m_children;
QList<DomProperty*> m_property;
QList<DomItem*> m_item;
enum Child {
Property = 1,
Item = 2
};
DomItem(const DomItem &other);
void operator = (const DomItem&other);
};
class QDESIGNER_UILIB_EXPORT DomWidget {
public:
DomWidget();
~DomWidget();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
inline bool hasAttributeClass() const { return m_has_attr_class; }
inline QString attributeClass() const { return m_attr_class; }
inline void setAttributeClass(const QString& a) { m_attr_class = a; m_has_attr_class = true; }
inline void clearAttributeClass() { m_has_attr_class = false; }
inline bool hasAttributeName() const { return m_has_attr_name; }
inline QString attributeName() const { return m_attr_name; }
inline void setAttributeName(const QString& a) { m_attr_name = a; m_has_attr_name = true; }
inline void clearAttributeName() { m_has_attr_name = false; }
inline bool hasAttributeNative() const { return m_has_attr_native; }
inline bool attributeNative() const { return m_attr_native; }
inline void setAttributeNative(bool a) { m_attr_native = a; m_has_attr_native = true; }
inline void clearAttributeNative() { m_has_attr_native = false; }
// child element accessors
inline QStringList elementClass() const { return m_class; }
void setElementClass(const QStringList& a);
inline QList<DomProperty*> elementProperty() const { return m_property; }
void setElementProperty(const QList<DomProperty*>& a);
inline QList<DomScript*> elementScript() const { return m_script; }
void setElementScript(const QList<DomScript*>& a);
inline QList<DomWidgetData*> elementWidgetData() const { return m_widgetData; }
void setElementWidgetData(const QList<DomWidgetData*>& a);
inline QList<DomProperty*> elementAttribute() const { return m_attribute; }
void setElementAttribute(const QList<DomProperty*>& a);
inline QList<DomRow*> elementRow() const { return m_row; }
void setElementRow(const QList<DomRow*>& a);
inline QList<DomColumn*> elementColumn() const { return m_column; }
void setElementColumn(const QList<DomColumn*>& a);
inline QList<DomItem*> elementItem() const { return m_item; }
void setElementItem(const QList<DomItem*>& a);
inline QList<DomLayout*> elementLayout() const { return m_layout; }
void setElementLayout(const QList<DomLayout*>& a);
inline QList<DomWidget*> elementWidget() const { return m_widget; }
void setElementWidget(const QList<DomWidget*>& a);
inline QList<DomAction*> elementAction() const { return m_action; }
void setElementAction(const QList<DomAction*>& a);
inline QList<DomActionGroup*> elementActionGroup() const { return m_actionGroup; }
void setElementActionGroup(const QList<DomActionGroup*>& a);
inline QList<DomActionRef*> elementAddAction() const { return m_addAction; }
void setElementAddAction(const QList<DomActionRef*>& a);
inline QStringList elementZOrder() const { return m_zOrder; }
void setElementZOrder(const QStringList& a);
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
QString m_attr_class;
bool m_has_attr_class;
QString m_attr_name;
bool m_has_attr_name;
bool m_attr_native;
bool m_has_attr_native;
// child element data
uint m_children;
QStringList m_class;
QList<DomProperty*> m_property;
QList<DomScript*> m_script;
QList<DomWidgetData*> m_widgetData;
QList<DomProperty*> m_attribute;
QList<DomRow*> m_row;
QList<DomColumn*> m_column;
QList<DomItem*> m_item;
QList<DomLayout*> m_layout;
QList<DomWidget*> m_widget;
QList<DomAction*> m_action;
QList<DomActionGroup*> m_actionGroup;
QList<DomActionRef*> m_addAction;
QStringList m_zOrder;
enum Child {
Class = 1,
Property = 2,
Script = 4,
WidgetData = 8,
Attribute = 16,
Row = 32,
Column = 64,
Item = 128,
Layout = 256,
Widget = 512,
Action = 1024,
ActionGroup = 2048,
AddAction = 4096,
ZOrder = 8192
};
DomWidget(const DomWidget &other);
void operator = (const DomWidget&other);
};
class QDESIGNER_UILIB_EXPORT DomSpacer {
public:
DomSpacer();
~DomSpacer();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
inline bool hasAttributeName() const { return m_has_attr_name; }
inline QString attributeName() const { return m_attr_name; }
inline void setAttributeName(const QString& a) { m_attr_name = a; m_has_attr_name = true; }
inline void clearAttributeName() { m_has_attr_name = false; }
// child element accessors
inline QList<DomProperty*> elementProperty() const { return m_property; }
void setElementProperty(const QList<DomProperty*>& a);
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
QString m_attr_name;
bool m_has_attr_name;
// child element data
uint m_children;
QList<DomProperty*> m_property;
enum Child {
Property = 1
};
DomSpacer(const DomSpacer &other);
void operator = (const DomSpacer&other);
};
class QDESIGNER_UILIB_EXPORT DomColor {
public:
DomColor();
~DomColor();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
inline bool hasAttributeAlpha() const { return m_has_attr_alpha; }
inline int attributeAlpha() const { return m_attr_alpha; }
inline void setAttributeAlpha(int a) { m_attr_alpha = a; m_has_attr_alpha = true; }
inline void clearAttributeAlpha() { m_has_attr_alpha = false; }
// child element accessors
inline int elementRed() const { return m_red; }
void setElementRed(int a);
inline bool hasElementRed() const { return m_children & Red; }
void clearElementRed();
inline int elementGreen() const { return m_green; }
void setElementGreen(int a);
inline bool hasElementGreen() const { return m_children & Green; }
void clearElementGreen();
inline int elementBlue() const { return m_blue; }
void setElementBlue(int a);
inline bool hasElementBlue() const { return m_children & Blue; }
void clearElementBlue();
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
int m_attr_alpha;
bool m_has_attr_alpha;
// child element data
uint m_children;
int m_red;
int m_green;
int m_blue;
enum Child {
Red = 1,
Green = 2,
Blue = 4
};
DomColor(const DomColor &other);
void operator = (const DomColor&other);
};
class QDESIGNER_UILIB_EXPORT DomGradientStop {
public:
DomGradientStop();
~DomGradientStop();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
inline bool hasAttributePosition() const { return m_has_attr_position; }
inline double attributePosition() const { return m_attr_position; }
inline void setAttributePosition(double a) { m_attr_position = a; m_has_attr_position = true; }
inline void clearAttributePosition() { m_has_attr_position = false; }
// child element accessors
inline DomColor* elementColor() const { return m_color; }
DomColor* takeElementColor();
void setElementColor(DomColor* a);
inline bool hasElementColor() const { return m_children & Color; }
void clearElementColor();
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
double m_attr_position;
bool m_has_attr_position;
// child element data
uint m_children;
DomColor* m_color;
enum Child {
Color = 1
};
DomGradientStop(const DomGradientStop &other);
void operator = (const DomGradientStop&other);
};
class QDESIGNER_UILIB_EXPORT DomGradient {
public:
DomGradient();
~DomGradient();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
inline bool hasAttributeStartX() const { return m_has_attr_startX; }
inline double attributeStartX() const { return m_attr_startX; }
inline void setAttributeStartX(double a) { m_attr_startX = a; m_has_attr_startX = true; }
inline void clearAttributeStartX() { m_has_attr_startX = false; }
inline bool hasAttributeStartY() const { return m_has_attr_startY; }
inline double attributeStartY() const { return m_attr_startY; }
inline void setAttributeStartY(double a) { m_attr_startY = a; m_has_attr_startY = true; }
inline void clearAttributeStartY() { m_has_attr_startY = false; }
inline bool hasAttributeEndX() const { return m_has_attr_endX; }
inline double attributeEndX() const { return m_attr_endX; }
inline void setAttributeEndX(double a) { m_attr_endX = a; m_has_attr_endX = true; }
inline void clearAttributeEndX() { m_has_attr_endX = false; }
inline bool hasAttributeEndY() const { return m_has_attr_endY; }
inline double attributeEndY() const { return m_attr_endY; }
inline void setAttributeEndY(double a) { m_attr_endY = a; m_has_attr_endY = true; }
inline void clearAttributeEndY() { m_has_attr_endY = false; }
inline bool hasAttributeCentralX() const { return m_has_attr_centralX; }
inline double attributeCentralX() const { return m_attr_centralX; }
inline void setAttributeCentralX(double a) { m_attr_centralX = a; m_has_attr_centralX = true; }
inline void clearAttributeCentralX() { m_has_attr_centralX = false; }
inline bool hasAttributeCentralY() const { return m_has_attr_centralY; }
inline double attributeCentralY() const { return m_attr_centralY; }
inline void setAttributeCentralY(double a) { m_attr_centralY = a; m_has_attr_centralY = true; }
inline void clearAttributeCentralY() { m_has_attr_centralY = false; }
inline bool hasAttributeFocalX() const { return m_has_attr_focalX; }
inline double attributeFocalX() const { return m_attr_focalX; }
inline void setAttributeFocalX(double a) { m_attr_focalX = a; m_has_attr_focalX = true; }
inline void clearAttributeFocalX() { m_has_attr_focalX = false; }
inline bool hasAttributeFocalY() const { return m_has_attr_focalY; }
inline double attributeFocalY() const { return m_attr_focalY; }
inline void setAttributeFocalY(double a) { m_attr_focalY = a; m_has_attr_focalY = true; }
inline void clearAttributeFocalY() { m_has_attr_focalY = false; }
inline bool hasAttributeRadius() const { return m_has_attr_radius; }
inline double attributeRadius() const { return m_attr_radius; }
inline void setAttributeRadius(double a) { m_attr_radius = a; m_has_attr_radius = true; }
inline void clearAttributeRadius() { m_has_attr_radius = false; }
inline bool hasAttributeAngle() const { return m_has_attr_angle; }
inline double attributeAngle() const { return m_attr_angle; }
inline void setAttributeAngle(double a) { m_attr_angle = a; m_has_attr_angle = true; }
inline void clearAttributeAngle() { m_has_attr_angle = false; }
inline bool hasAttributeType() const { return m_has_attr_type; }
inline QString attributeType() const { return m_attr_type; }
inline void setAttributeType(const QString& a) { m_attr_type = a; m_has_attr_type = true; }
inline void clearAttributeType() { m_has_attr_type = false; }
inline bool hasAttributeSpread() const { return m_has_attr_spread; }
inline QString attributeSpread() const { return m_attr_spread; }
inline void setAttributeSpread(const QString& a) { m_attr_spread = a; m_has_attr_spread = true; }
inline void clearAttributeSpread() { m_has_attr_spread = false; }
inline bool hasAttributeCoordinateMode() const { return m_has_attr_coordinateMode; }
inline QString attributeCoordinateMode() const { return m_attr_coordinateMode; }
inline void setAttributeCoordinateMode(const QString& a) { m_attr_coordinateMode = a; m_has_attr_coordinateMode = true; }
inline void clearAttributeCoordinateMode() { m_has_attr_coordinateMode = false; }
// child element accessors
inline QList<DomGradientStop*> elementGradientStop() const { return m_gradientStop; }
void setElementGradientStop(const QList<DomGradientStop*>& a);
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
double m_attr_startX;
bool m_has_attr_startX;
double m_attr_startY;
bool m_has_attr_startY;
double m_attr_endX;
bool m_has_attr_endX;
double m_attr_endY;
bool m_has_attr_endY;
double m_attr_centralX;
bool m_has_attr_centralX;
double m_attr_centralY;
bool m_has_attr_centralY;
double m_attr_focalX;
bool m_has_attr_focalX;
double m_attr_focalY;
bool m_has_attr_focalY;
double m_attr_radius;
bool m_has_attr_radius;
double m_attr_angle;
bool m_has_attr_angle;
QString m_attr_type;
bool m_has_attr_type;
QString m_attr_spread;
bool m_has_attr_spread;
QString m_attr_coordinateMode;
bool m_has_attr_coordinateMode;
// child element data
uint m_children;
QList<DomGradientStop*> m_gradientStop;
enum Child {
GradientStop = 1
};
DomGradient(const DomGradient &other);
void operator = (const DomGradient&other);
};
class QDESIGNER_UILIB_EXPORT DomBrush {
public:
DomBrush();
~DomBrush();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
inline bool hasAttributeBrushStyle() const { return m_has_attr_brushStyle; }
inline QString attributeBrushStyle() const { return m_attr_brushStyle; }
inline void setAttributeBrushStyle(const QString& a) { m_attr_brushStyle = a; m_has_attr_brushStyle = true; }
inline void clearAttributeBrushStyle() { m_has_attr_brushStyle = false; }
// child element accessors
enum Kind { Unknown = 0, Color, Texture, Gradient };
inline Kind kind() const { return m_kind; }
inline DomColor* elementColor() const { return m_color; }
DomColor* takeElementColor();
void setElementColor(DomColor* a);
inline DomProperty* elementTexture() const { return m_texture; }
DomProperty* takeElementTexture();
void setElementTexture(DomProperty* a);
inline DomGradient* elementGradient() const { return m_gradient; }
DomGradient* takeElementGradient();
void setElementGradient(DomGradient* a);
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
QString m_attr_brushStyle;
bool m_has_attr_brushStyle;
// child element data
Kind m_kind;
DomColor* m_color;
DomProperty* m_texture;
DomGradient* m_gradient;
DomBrush(const DomBrush &other);
void operator = (const DomBrush&other);
};
class QDESIGNER_UILIB_EXPORT DomColorRole {
public:
DomColorRole();
~DomColorRole();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
inline bool hasAttributeRole() const { return m_has_attr_role; }
inline QString attributeRole() const { return m_attr_role; }
inline void setAttributeRole(const QString& a) { m_attr_role = a; m_has_attr_role = true; }
inline void clearAttributeRole() { m_has_attr_role = false; }
// child element accessors
inline DomBrush* elementBrush() const { return m_brush; }
DomBrush* takeElementBrush();
void setElementBrush(DomBrush* a);
inline bool hasElementBrush() const { return m_children & Brush; }
void clearElementBrush();
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
QString m_attr_role;
bool m_has_attr_role;
// child element data
uint m_children;
DomBrush* m_brush;
enum Child {
Brush = 1
};
DomColorRole(const DomColorRole &other);
void operator = (const DomColorRole&other);
};
class QDESIGNER_UILIB_EXPORT DomColorGroup {
public:
DomColorGroup();
~DomColorGroup();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
// child element accessors
inline QList<DomColorRole*> elementColorRole() const { return m_colorRole; }
void setElementColorRole(const QList<DomColorRole*>& a);
inline QList<DomColor*> elementColor() const { return m_color; }
void setElementColor(const QList<DomColor*>& a);
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
// child element data
uint m_children;
QList<DomColorRole*> m_colorRole;
QList<DomColor*> m_color;
enum Child {
ColorRole = 1,
Color = 2
};
DomColorGroup(const DomColorGroup &other);
void operator = (const DomColorGroup&other);
};
class QDESIGNER_UILIB_EXPORT DomPalette {
public:
DomPalette();
~DomPalette();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
// child element accessors
inline DomColorGroup* elementActive() const { return m_active; }
DomColorGroup* takeElementActive();
void setElementActive(DomColorGroup* a);
inline bool hasElementActive() const { return m_children & Active; }
void clearElementActive();
inline DomColorGroup* elementInactive() const { return m_inactive; }
DomColorGroup* takeElementInactive();
void setElementInactive(DomColorGroup* a);
inline bool hasElementInactive() const { return m_children & Inactive; }
void clearElementInactive();
inline DomColorGroup* elementDisabled() const { return m_disabled; }
DomColorGroup* takeElementDisabled();
void setElementDisabled(DomColorGroup* a);
inline bool hasElementDisabled() const { return m_children & Disabled; }
void clearElementDisabled();
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
// child element data
uint m_children;
DomColorGroup* m_active;
DomColorGroup* m_inactive;
DomColorGroup* m_disabled;
enum Child {
Active = 1,
Inactive = 2,
Disabled = 4
};
DomPalette(const DomPalette &other);
void operator = (const DomPalette&other);
};
class QDESIGNER_UILIB_EXPORT DomFont {
public:
DomFont();
~DomFont();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
// child element accessors
inline QString elementFamily() const { return m_family; }
void setElementFamily(const QString& a);
inline bool hasElementFamily() const { return m_children & Family; }
void clearElementFamily();
inline int elementPointSize() const { return m_pointSize; }
void setElementPointSize(int a);
inline bool hasElementPointSize() const { return m_children & PointSize; }
void clearElementPointSize();
inline int elementWeight() const { return m_weight; }
void setElementWeight(int a);
inline bool hasElementWeight() const { return m_children & Weight; }
void clearElementWeight();
inline bool elementItalic() const { return m_italic; }
void setElementItalic(bool a);
inline bool hasElementItalic() const { return m_children & Italic; }
void clearElementItalic();
inline bool elementBold() const { return m_bold; }
void setElementBold(bool a);
inline bool hasElementBold() const { return m_children & Bold; }
void clearElementBold();
inline bool elementUnderline() const { return m_underline; }
void setElementUnderline(bool a);
inline bool hasElementUnderline() const { return m_children & Underline; }
void clearElementUnderline();
inline bool elementStrikeOut() const { return m_strikeOut; }
void setElementStrikeOut(bool a);
inline bool hasElementStrikeOut() const { return m_children & StrikeOut; }
void clearElementStrikeOut();
inline bool elementAntialiasing() const { return m_antialiasing; }
void setElementAntialiasing(bool a);
inline bool hasElementAntialiasing() const { return m_children & Antialiasing; }
void clearElementAntialiasing();
inline QString elementStyleStrategy() const { return m_styleStrategy; }
void setElementStyleStrategy(const QString& a);
inline bool hasElementStyleStrategy() const { return m_children & StyleStrategy; }
void clearElementStyleStrategy();
inline bool elementKerning() const { return m_kerning; }
void setElementKerning(bool a);
inline bool hasElementKerning() const { return m_children & Kerning; }
void clearElementKerning();
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
// child element data
uint m_children;
QString m_family;
int m_pointSize;
int m_weight;
bool m_italic;
bool m_bold;
bool m_underline;
bool m_strikeOut;
bool m_antialiasing;
QString m_styleStrategy;
bool m_kerning;
enum Child {
Family = 1,
PointSize = 2,
Weight = 4,
Italic = 8,
Bold = 16,
Underline = 32,
StrikeOut = 64,
Antialiasing = 128,
StyleStrategy = 256,
Kerning = 512
};
DomFont(const DomFont &other);
void operator = (const DomFont&other);
};
class QDESIGNER_UILIB_EXPORT DomPoint {
public:
DomPoint();
~DomPoint();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
// child element accessors
inline int elementX() const { return m_x; }
void setElementX(int a);
inline bool hasElementX() const { return m_children & X; }
void clearElementX();
inline int elementY() const { return m_y; }
void setElementY(int a);
inline bool hasElementY() const { return m_children & Y; }
void clearElementY();
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
// child element data
uint m_children;
int m_x;
int m_y;
enum Child {
X = 1,
Y = 2
};
DomPoint(const DomPoint &other);
void operator = (const DomPoint&other);
};
class QDESIGNER_UILIB_EXPORT DomRect {
public:
DomRect();
~DomRect();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
// child element accessors
inline int elementX() const { return m_x; }
void setElementX(int a);
inline bool hasElementX() const { return m_children & X; }
void clearElementX();
inline int elementY() const { return m_y; }
void setElementY(int a);
inline bool hasElementY() const { return m_children & Y; }
void clearElementY();
inline int elementWidth() const { return m_width; }
void setElementWidth(int a);
inline bool hasElementWidth() const { return m_children & Width; }
void clearElementWidth();
inline int elementHeight() const { return m_height; }
void setElementHeight(int a);
inline bool hasElementHeight() const { return m_children & Height; }
void clearElementHeight();
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
// child element data
uint m_children;
int m_x;
int m_y;
int m_width;
int m_height;
enum Child {
X = 1,
Y = 2,
Width = 4,
Height = 8
};
DomRect(const DomRect &other);
void operator = (const DomRect&other);
};
class QDESIGNER_UILIB_EXPORT DomLocale {
public:
DomLocale();
~DomLocale();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
inline bool hasAttributeLanguage() const { return m_has_attr_language; }
inline QString attributeLanguage() const { return m_attr_language; }
inline void setAttributeLanguage(const QString& a) { m_attr_language = a; m_has_attr_language = true; }
inline void clearAttributeLanguage() { m_has_attr_language = false; }
inline bool hasAttributeCountry() const { return m_has_attr_country; }
inline QString attributeCountry() const { return m_attr_country; }
inline void setAttributeCountry(const QString& a) { m_attr_country = a; m_has_attr_country = true; }
inline void clearAttributeCountry() { m_has_attr_country = false; }
// child element accessors
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
QString m_attr_language;
bool m_has_attr_language;
QString m_attr_country;
bool m_has_attr_country;
// child element data
uint m_children;
DomLocale(const DomLocale &other);
void operator = (const DomLocale&other);
};
class QDESIGNER_UILIB_EXPORT DomSizePolicy {
public:
DomSizePolicy();
~DomSizePolicy();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
inline bool hasAttributeHSizeType() const { return m_has_attr_hSizeType; }
inline QString attributeHSizeType() const { return m_attr_hSizeType; }
inline void setAttributeHSizeType(const QString& a) { m_attr_hSizeType = a; m_has_attr_hSizeType = true; }
inline void clearAttributeHSizeType() { m_has_attr_hSizeType = false; }
inline bool hasAttributeVSizeType() const { return m_has_attr_vSizeType; }
inline QString attributeVSizeType() const { return m_attr_vSizeType; }
inline void setAttributeVSizeType(const QString& a) { m_attr_vSizeType = a; m_has_attr_vSizeType = true; }
inline void clearAttributeVSizeType() { m_has_attr_vSizeType = false; }
// child element accessors
inline int elementHSizeType() const { return m_hSizeType; }
void setElementHSizeType(int a);
inline bool hasElementHSizeType() const { return m_children & HSizeType; }
void clearElementHSizeType();
inline int elementVSizeType() const { return m_vSizeType; }
void setElementVSizeType(int a);
inline bool hasElementVSizeType() const { return m_children & VSizeType; }
void clearElementVSizeType();
inline int elementHorStretch() const { return m_horStretch; }
void setElementHorStretch(int a);
inline bool hasElementHorStretch() const { return m_children & HorStretch; }
void clearElementHorStretch();
inline int elementVerStretch() const { return m_verStretch; }
void setElementVerStretch(int a);
inline bool hasElementVerStretch() const { return m_children & VerStretch; }
void clearElementVerStretch();
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
QString m_attr_hSizeType;
bool m_has_attr_hSizeType;
QString m_attr_vSizeType;
bool m_has_attr_vSizeType;
// child element data
uint m_children;
int m_hSizeType;
int m_vSizeType;
int m_horStretch;
int m_verStretch;
enum Child {
HSizeType = 1,
VSizeType = 2,
HorStretch = 4,
VerStretch = 8
};
DomSizePolicy(const DomSizePolicy &other);
void operator = (const DomSizePolicy&other);
};
class QDESIGNER_UILIB_EXPORT DomSize {
public:
DomSize();
~DomSize();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
// child element accessors
inline int elementWidth() const { return m_width; }
void setElementWidth(int a);
inline bool hasElementWidth() const { return m_children & Width; }
void clearElementWidth();
inline int elementHeight() const { return m_height; }
void setElementHeight(int a);
inline bool hasElementHeight() const { return m_children & Height; }
void clearElementHeight();
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
// child element data
uint m_children;
int m_width;
int m_height;
enum Child {
Width = 1,
Height = 2
};
DomSize(const DomSize &other);
void operator = (const DomSize&other);
};
class QDESIGNER_UILIB_EXPORT DomDate {
public:
DomDate();
~DomDate();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
// child element accessors
inline int elementYear() const { return m_year; }
void setElementYear(int a);
inline bool hasElementYear() const { return m_children & Year; }
void clearElementYear();
inline int elementMonth() const { return m_month; }
void setElementMonth(int a);
inline bool hasElementMonth() const { return m_children & Month; }
void clearElementMonth();
inline int elementDay() const { return m_day; }
void setElementDay(int a);
inline bool hasElementDay() const { return m_children & Day; }
void clearElementDay();
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
// child element data
uint m_children;
int m_year;
int m_month;
int m_day;
enum Child {
Year = 1,
Month = 2,
Day = 4
};
DomDate(const DomDate &other);
void operator = (const DomDate&other);
};
class QDESIGNER_UILIB_EXPORT DomTime {
public:
DomTime();
~DomTime();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
// child element accessors
inline int elementHour() const { return m_hour; }
void setElementHour(int a);
inline bool hasElementHour() const { return m_children & Hour; }
void clearElementHour();
inline int elementMinute() const { return m_minute; }
void setElementMinute(int a);
inline bool hasElementMinute() const { return m_children & Minute; }
void clearElementMinute();
inline int elementSecond() const { return m_second; }
void setElementSecond(int a);
inline bool hasElementSecond() const { return m_children & Second; }
void clearElementSecond();
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
// child element data
uint m_children;
int m_hour;
int m_minute;
int m_second;
enum Child {
Hour = 1,
Minute = 2,
Second = 4
};
DomTime(const DomTime &other);
void operator = (const DomTime&other);
};
class QDESIGNER_UILIB_EXPORT DomDateTime {
public:
DomDateTime();
~DomDateTime();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
// child element accessors
inline int elementHour() const { return m_hour; }
void setElementHour(int a);
inline bool hasElementHour() const { return m_children & Hour; }
void clearElementHour();
inline int elementMinute() const { return m_minute; }
void setElementMinute(int a);
inline bool hasElementMinute() const { return m_children & Minute; }
void clearElementMinute();
inline int elementSecond() const { return m_second; }
void setElementSecond(int a);
inline bool hasElementSecond() const { return m_children & Second; }
void clearElementSecond();
inline int elementYear() const { return m_year; }
void setElementYear(int a);
inline bool hasElementYear() const { return m_children & Year; }
void clearElementYear();
inline int elementMonth() const { return m_month; }
void setElementMonth(int a);
inline bool hasElementMonth() const { return m_children & Month; }
void clearElementMonth();
inline int elementDay() const { return m_day; }
void setElementDay(int a);
inline bool hasElementDay() const { return m_children & Day; }
void clearElementDay();
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
// child element data
uint m_children;
int m_hour;
int m_minute;
int m_second;
int m_year;
int m_month;
int m_day;
enum Child {
Hour = 1,
Minute = 2,
Second = 4,
Year = 8,
Month = 16,
Day = 32
};
DomDateTime(const DomDateTime &other);
void operator = (const DomDateTime&other);
};
class QDESIGNER_UILIB_EXPORT DomStringList {
public:
DomStringList();
~DomStringList();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
// child element accessors
inline QStringList elementString() const { return m_string; }
void setElementString(const QStringList& a);
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
// child element data
uint m_children;
QStringList m_string;
enum Child {
String = 1
};
DomStringList(const DomStringList &other);
void operator = (const DomStringList&other);
};
class QDESIGNER_UILIB_EXPORT DomResourcePixmap {
public:
DomResourcePixmap();
~DomResourcePixmap();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
inline bool hasAttributeResource() const { return m_has_attr_resource; }
inline QString attributeResource() const { return m_attr_resource; }
inline void setAttributeResource(const QString& a) { m_attr_resource = a; m_has_attr_resource = true; }
inline void clearAttributeResource() { m_has_attr_resource = false; }
inline bool hasAttributeAlias() const { return m_has_attr_alias; }
inline QString attributeAlias() const { return m_attr_alias; }
inline void setAttributeAlias(const QString& a) { m_attr_alias = a; m_has_attr_alias = true; }
inline void clearAttributeAlias() { m_has_attr_alias = false; }
// child element accessors
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
QString m_attr_resource;
bool m_has_attr_resource;
QString m_attr_alias;
bool m_has_attr_alias;
// child element data
uint m_children;
DomResourcePixmap(const DomResourcePixmap &other);
void operator = (const DomResourcePixmap&other);
};
class QDESIGNER_UILIB_EXPORT DomResourceIcon {
public:
DomResourceIcon();
~DomResourceIcon();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
inline bool hasAttributeResource() const { return m_has_attr_resource; }
inline QString attributeResource() const { return m_attr_resource; }
inline void setAttributeResource(const QString& a) { m_attr_resource = a; m_has_attr_resource = true; }
inline void clearAttributeResource() { m_has_attr_resource = false; }
// child element accessors
inline DomResourcePixmap* elementNormalOff() const { return m_normalOff; }
DomResourcePixmap* takeElementNormalOff();
void setElementNormalOff(DomResourcePixmap* a);
inline bool hasElementNormalOff() const { return m_children & NormalOff; }
void clearElementNormalOff();
inline DomResourcePixmap* elementNormalOn() const { return m_normalOn; }
DomResourcePixmap* takeElementNormalOn();
void setElementNormalOn(DomResourcePixmap* a);
inline bool hasElementNormalOn() const { return m_children & NormalOn; }
void clearElementNormalOn();
inline DomResourcePixmap* elementDisabledOff() const { return m_disabledOff; }
DomResourcePixmap* takeElementDisabledOff();
void setElementDisabledOff(DomResourcePixmap* a);
inline bool hasElementDisabledOff() const { return m_children & DisabledOff; }
void clearElementDisabledOff();
inline DomResourcePixmap* elementDisabledOn() const { return m_disabledOn; }
DomResourcePixmap* takeElementDisabledOn();
void setElementDisabledOn(DomResourcePixmap* a);
inline bool hasElementDisabledOn() const { return m_children & DisabledOn; }
void clearElementDisabledOn();
inline DomResourcePixmap* elementActiveOff() const { return m_activeOff; }
DomResourcePixmap* takeElementActiveOff();
void setElementActiveOff(DomResourcePixmap* a);
inline bool hasElementActiveOff() const { return m_children & ActiveOff; }
void clearElementActiveOff();
inline DomResourcePixmap* elementActiveOn() const { return m_activeOn; }
DomResourcePixmap* takeElementActiveOn();
void setElementActiveOn(DomResourcePixmap* a);
inline bool hasElementActiveOn() const { return m_children & ActiveOn; }
void clearElementActiveOn();
inline DomResourcePixmap* elementSelectedOff() const { return m_selectedOff; }
DomResourcePixmap* takeElementSelectedOff();
void setElementSelectedOff(DomResourcePixmap* a);
inline bool hasElementSelectedOff() const { return m_children & SelectedOff; }
void clearElementSelectedOff();
inline DomResourcePixmap* elementSelectedOn() const { return m_selectedOn; }
DomResourcePixmap* takeElementSelectedOn();
void setElementSelectedOn(DomResourcePixmap* a);
inline bool hasElementSelectedOn() const { return m_children & SelectedOn; }
void clearElementSelectedOn();
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
QString m_attr_resource;
bool m_has_attr_resource;
// child element data
uint m_children;
DomResourcePixmap* m_normalOff;
DomResourcePixmap* m_normalOn;
DomResourcePixmap* m_disabledOff;
DomResourcePixmap* m_disabledOn;
DomResourcePixmap* m_activeOff;
DomResourcePixmap* m_activeOn;
DomResourcePixmap* m_selectedOff;
DomResourcePixmap* m_selectedOn;
enum Child {
NormalOff = 1,
NormalOn = 2,
DisabledOff = 4,
DisabledOn = 8,
ActiveOff = 16,
ActiveOn = 32,
SelectedOff = 64,
SelectedOn = 128
};
DomResourceIcon(const DomResourceIcon &other);
void operator = (const DomResourceIcon&other);
};
class QDESIGNER_UILIB_EXPORT DomString {
public:
DomString();
~DomString();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
inline bool hasAttributeNotr() const { return m_has_attr_notr; }
inline QString attributeNotr() const { return m_attr_notr; }
inline void setAttributeNotr(const QString& a) { m_attr_notr = a; m_has_attr_notr = true; }
inline void clearAttributeNotr() { m_has_attr_notr = false; }
inline bool hasAttributeComment() const { return m_has_attr_comment; }
inline QString attributeComment() const { return m_attr_comment; }
inline void setAttributeComment(const QString& a) { m_attr_comment = a; m_has_attr_comment = true; }
inline void clearAttributeComment() { m_has_attr_comment = false; }
inline bool hasAttributeExtraComment() const { return m_has_attr_extraComment; }
inline QString attributeExtraComment() const { return m_attr_extraComment; }
inline void setAttributeExtraComment(const QString& a) { m_attr_extraComment = a; m_has_attr_extraComment = true; }
inline void clearAttributeExtraComment() { m_has_attr_extraComment = false; }
// child element accessors
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
QString m_attr_notr;
bool m_has_attr_notr;
QString m_attr_comment;
bool m_has_attr_comment;
QString m_attr_extraComment;
bool m_has_attr_extraComment;
// child element data
uint m_children;
DomString(const DomString &other);
void operator = (const DomString&other);
};
class QDESIGNER_UILIB_EXPORT DomPointF {
public:
DomPointF();
~DomPointF();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
// child element accessors
inline double elementX() const { return m_x; }
void setElementX(double a);
inline bool hasElementX() const { return m_children & X; }
void clearElementX();
inline double elementY() const { return m_y; }
void setElementY(double a);
inline bool hasElementY() const { return m_children & Y; }
void clearElementY();
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
// child element data
uint m_children;
double m_x;
double m_y;
enum Child {
X = 1,
Y = 2
};
DomPointF(const DomPointF &other);
void operator = (const DomPointF&other);
};
class QDESIGNER_UILIB_EXPORT DomRectF {
public:
DomRectF();
~DomRectF();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
// child element accessors
inline double elementX() const { return m_x; }
void setElementX(double a);
inline bool hasElementX() const { return m_children & X; }
void clearElementX();
inline double elementY() const { return m_y; }
void setElementY(double a);
inline bool hasElementY() const { return m_children & Y; }
void clearElementY();
inline double elementWidth() const { return m_width; }
void setElementWidth(double a);
inline bool hasElementWidth() const { return m_children & Width; }
void clearElementWidth();
inline double elementHeight() const { return m_height; }
void setElementHeight(double a);
inline bool hasElementHeight() const { return m_children & Height; }
void clearElementHeight();
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
// child element data
uint m_children;
double m_x;
double m_y;
double m_width;
double m_height;
enum Child {
X = 1,
Y = 2,
Width = 4,
Height = 8
};
DomRectF(const DomRectF &other);
void operator = (const DomRectF&other);
};
class QDESIGNER_UILIB_EXPORT DomSizeF {
public:
DomSizeF();
~DomSizeF();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
// child element accessors
inline double elementWidth() const { return m_width; }
void setElementWidth(double a);
inline bool hasElementWidth() const { return m_children & Width; }
void clearElementWidth();
inline double elementHeight() const { return m_height; }
void setElementHeight(double a);
inline bool hasElementHeight() const { return m_children & Height; }
void clearElementHeight();
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
// child element data
uint m_children;
double m_width;
double m_height;
enum Child {
Width = 1,
Height = 2
};
DomSizeF(const DomSizeF &other);
void operator = (const DomSizeF&other);
};
class QDESIGNER_UILIB_EXPORT DomChar {
public:
DomChar();
~DomChar();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
// child element accessors
inline int elementUnicode() const { return m_unicode; }
void setElementUnicode(int a);
inline bool hasElementUnicode() const { return m_children & Unicode; }
void clearElementUnicode();
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
// child element data
uint m_children;
int m_unicode;
enum Child {
Unicode = 1
};
DomChar(const DomChar &other);
void operator = (const DomChar&other);
};
class QDESIGNER_UILIB_EXPORT DomUrl {
public:
DomUrl();
~DomUrl();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
// child element accessors
inline DomString* elementString() const { return m_string; }
DomString* takeElementString();
void setElementString(DomString* a);
inline bool hasElementString() const { return m_children & String; }
void clearElementString();
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
// child element data
uint m_children;
DomString* m_string;
enum Child {
String = 1
};
DomUrl(const DomUrl &other);
void operator = (const DomUrl&other);
};
class QDESIGNER_UILIB_EXPORT DomProperty {
public:
DomProperty();
~DomProperty();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
inline bool hasAttributeName() const { return m_has_attr_name; }
inline QString attributeName() const { return m_attr_name; }
inline void setAttributeName(const QString& a) { m_attr_name = a; m_has_attr_name = true; }
inline void clearAttributeName() { m_has_attr_name = false; }
inline bool hasAttributeStdset() const { return m_has_attr_stdset; }
inline int attributeStdset() const { return m_attr_stdset; }
inline void setAttributeStdset(int a) { m_attr_stdset = a; m_has_attr_stdset = true; }
inline void clearAttributeStdset() { m_has_attr_stdset = false; }
// child element accessors
enum Kind { Unknown = 0, Bool, Color, Cstring, Cursor, CursorShape, Enum, Font, IconSet, Pixmap, Palette, Point, Rect, Set, Locale, SizePolicy, Size, String, StringList, Number, Float, Double, Date, Time, DateTime, PointF, RectF, SizeF, LongLong, Char, Url, UInt, ULongLong, Brush };
inline Kind kind() const { return m_kind; }
inline QString elementBool() const { return m_bool; }
void setElementBool(const QString& a);
inline DomColor* elementColor() const { return m_color; }
DomColor* takeElementColor();
void setElementColor(DomColor* a);
inline QString elementCstring() const { return m_cstring; }
void setElementCstring(const QString& a);
inline int elementCursor() const { return m_cursor; }
void setElementCursor(int a);
inline QString elementCursorShape() const { return m_cursorShape; }
void setElementCursorShape(const QString& a);
inline QString elementEnum() const { return m_enum; }
void setElementEnum(const QString& a);
inline DomFont* elementFont() const { return m_font; }
DomFont* takeElementFont();
void setElementFont(DomFont* a);
inline DomResourceIcon* elementIconSet() const { return m_iconSet; }
DomResourceIcon* takeElementIconSet();
void setElementIconSet(DomResourceIcon* a);
inline DomResourcePixmap* elementPixmap() const { return m_pixmap; }
DomResourcePixmap* takeElementPixmap();
void setElementPixmap(DomResourcePixmap* a);
inline DomPalette* elementPalette() const { return m_palette; }
DomPalette* takeElementPalette();
void setElementPalette(DomPalette* a);
inline DomPoint* elementPoint() const { return m_point; }
DomPoint* takeElementPoint();
void setElementPoint(DomPoint* a);
inline DomRect* elementRect() const { return m_rect; }
DomRect* takeElementRect();
void setElementRect(DomRect* a);
inline QString elementSet() const { return m_set; }
void setElementSet(const QString& a);
inline DomLocale* elementLocale() const { return m_locale; }
DomLocale* takeElementLocale();
void setElementLocale(DomLocale* a);
inline DomSizePolicy* elementSizePolicy() const { return m_sizePolicy; }
DomSizePolicy* takeElementSizePolicy();
void setElementSizePolicy(DomSizePolicy* a);
inline DomSize* elementSize() const { return m_size; }
DomSize* takeElementSize();
void setElementSize(DomSize* a);
inline DomString* elementString() const { return m_string; }
DomString* takeElementString();
void setElementString(DomString* a);
inline DomStringList* elementStringList() const { return m_stringList; }
DomStringList* takeElementStringList();
void setElementStringList(DomStringList* a);
inline int elementNumber() const { return m_number; }
void setElementNumber(int a);
inline float elementFloat() const { return m_float; }
void setElementFloat(float a);
inline double elementDouble() const { return m_double; }
void setElementDouble(double a);
inline DomDate* elementDate() const { return m_date; }
DomDate* takeElementDate();
void setElementDate(DomDate* a);
inline DomTime* elementTime() const { return m_time; }
DomTime* takeElementTime();
void setElementTime(DomTime* a);
inline DomDateTime* elementDateTime() const { return m_dateTime; }
DomDateTime* takeElementDateTime();
void setElementDateTime(DomDateTime* a);
inline DomPointF* elementPointF() const { return m_pointF; }
DomPointF* takeElementPointF();
void setElementPointF(DomPointF* a);
inline DomRectF* elementRectF() const { return m_rectF; }
DomRectF* takeElementRectF();
void setElementRectF(DomRectF* a);
inline DomSizeF* elementSizeF() const { return m_sizeF; }
DomSizeF* takeElementSizeF();
void setElementSizeF(DomSizeF* a);
inline qlonglong elementLongLong() const { return m_longLong; }
void setElementLongLong(qlonglong a);
inline DomChar* elementChar() const { return m_char; }
DomChar* takeElementChar();
void setElementChar(DomChar* a);
inline DomUrl* elementUrl() const { return m_url; }
DomUrl* takeElementUrl();
void setElementUrl(DomUrl* a);
inline uint elementUInt() const { return m_UInt; }
void setElementUInt(uint a);
inline qulonglong elementULongLong() const { return m_uLongLong; }
void setElementULongLong(qulonglong a);
inline DomBrush* elementBrush() const { return m_brush; }
DomBrush* takeElementBrush();
void setElementBrush(DomBrush* a);
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
QString m_attr_name;
bool m_has_attr_name;
int m_attr_stdset;
bool m_has_attr_stdset;
// child element data
Kind m_kind;
QString m_bool;
DomColor* m_color;
QString m_cstring;
int m_cursor;
QString m_cursorShape;
QString m_enum;
DomFont* m_font;
DomResourceIcon* m_iconSet;
DomResourcePixmap* m_pixmap;
DomPalette* m_palette;
DomPoint* m_point;
DomRect* m_rect;
QString m_set;
DomLocale* m_locale;
DomSizePolicy* m_sizePolicy;
DomSize* m_size;
DomString* m_string;
DomStringList* m_stringList;
int m_number;
float m_float;
double m_double;
DomDate* m_date;
DomTime* m_time;
DomDateTime* m_dateTime;
DomPointF* m_pointF;
DomRectF* m_rectF;
DomSizeF* m_sizeF;
qlonglong m_longLong;
DomChar* m_char;
DomUrl* m_url;
uint m_UInt;
qulonglong m_uLongLong;
DomBrush* m_brush;
DomProperty(const DomProperty &other);
void operator = (const DomProperty&other);
};
class QDESIGNER_UILIB_EXPORT DomConnections {
public:
DomConnections();
~DomConnections();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
// child element accessors
inline QList<DomConnection*> elementConnection() const { return m_connection; }
void setElementConnection(const QList<DomConnection*>& a);
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
// child element data
uint m_children;
QList<DomConnection*> m_connection;
enum Child {
Connection = 1
};
DomConnections(const DomConnections &other);
void operator = (const DomConnections&other);
};
class QDESIGNER_UILIB_EXPORT DomConnection {
public:
DomConnection();
~DomConnection();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
// child element accessors
inline QString elementSender() const { return m_sender; }
void setElementSender(const QString& a);
inline bool hasElementSender() const { return m_children & Sender; }
void clearElementSender();
inline QString elementSignal() const { return m_signal; }
void setElementSignal(const QString& a);
inline bool hasElementSignal() const { return m_children & Signal; }
void clearElementSignal();
inline QString elementReceiver() const { return m_receiver; }
void setElementReceiver(const QString& a);
inline bool hasElementReceiver() const { return m_children & Receiver; }
void clearElementReceiver();
inline QString elementSlot() const { return m_slot; }
void setElementSlot(const QString& a);
inline bool hasElementSlot() const { return m_children & Slot; }
void clearElementSlot();
inline DomConnectionHints* elementHints() const { return m_hints; }
DomConnectionHints* takeElementHints();
void setElementHints(DomConnectionHints* a);
inline bool hasElementHints() const { return m_children & Hints; }
void clearElementHints();
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
// child element data
uint m_children;
QString m_sender;
QString m_signal;
QString m_receiver;
QString m_slot;
DomConnectionHints* m_hints;
enum Child {
Sender = 1,
Signal = 2,
Receiver = 4,
Slot = 8,
Hints = 16
};
DomConnection(const DomConnection &other);
void operator = (const DomConnection&other);
};
class QDESIGNER_UILIB_EXPORT DomConnectionHints {
public:
DomConnectionHints();
~DomConnectionHints();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
// child element accessors
inline QList<DomConnectionHint*> elementHint() const { return m_hint; }
void setElementHint(const QList<DomConnectionHint*>& a);
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
// child element data
uint m_children;
QList<DomConnectionHint*> m_hint;
enum Child {
Hint = 1
};
DomConnectionHints(const DomConnectionHints &other);
void operator = (const DomConnectionHints&other);
};
class QDESIGNER_UILIB_EXPORT DomConnectionHint {
public:
DomConnectionHint();
~DomConnectionHint();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
inline bool hasAttributeType() const { return m_has_attr_type; }
inline QString attributeType() const { return m_attr_type; }
inline void setAttributeType(const QString& a) { m_attr_type = a; m_has_attr_type = true; }
inline void clearAttributeType() { m_has_attr_type = false; }
// child element accessors
inline int elementX() const { return m_x; }
void setElementX(int a);
inline bool hasElementX() const { return m_children & X; }
void clearElementX();
inline int elementY() const { return m_y; }
void setElementY(int a);
inline bool hasElementY() const { return m_children & Y; }
void clearElementY();
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
QString m_attr_type;
bool m_has_attr_type;
// child element data
uint m_children;
int m_x;
int m_y;
enum Child {
X = 1,
Y = 2
};
DomConnectionHint(const DomConnectionHint &other);
void operator = (const DomConnectionHint&other);
};
class QDESIGNER_UILIB_EXPORT DomScript {
public:
DomScript();
~DomScript();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
inline bool hasAttributeSource() const { return m_has_attr_source; }
inline QString attributeSource() const { return m_attr_source; }
inline void setAttributeSource(const QString& a) { m_attr_source = a; m_has_attr_source = true; }
inline void clearAttributeSource() { m_has_attr_source = false; }
inline bool hasAttributeLanguage() const { return m_has_attr_language; }
inline QString attributeLanguage() const { return m_attr_language; }
inline void setAttributeLanguage(const QString& a) { m_attr_language = a; m_has_attr_language = true; }
inline void clearAttributeLanguage() { m_has_attr_language = false; }
// child element accessors
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
QString m_attr_source;
bool m_has_attr_source;
QString m_attr_language;
bool m_has_attr_language;
// child element data
uint m_children;
DomScript(const DomScript &other);
void operator = (const DomScript&other);
};
class QDESIGNER_UILIB_EXPORT DomWidgetData {
public:
DomWidgetData();
~DomWidgetData();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
// child element accessors
inline QList<DomProperty*> elementProperty() const { return m_property; }
void setElementProperty(const QList<DomProperty*>& a);
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
// child element data
uint m_children;
QList<DomProperty*> m_property;
enum Child {
Property = 1
};
DomWidgetData(const DomWidgetData &other);
void operator = (const DomWidgetData&other);
};
class QDESIGNER_UILIB_EXPORT DomDesignerData {
public:
DomDesignerData();
~DomDesignerData();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
// child element accessors
inline QList<DomProperty*> elementProperty() const { return m_property; }
void setElementProperty(const QList<DomProperty*>& a);
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
// child element data
uint m_children;
QList<DomProperty*> m_property;
enum Child {
Property = 1
};
DomDesignerData(const DomDesignerData &other);
void operator = (const DomDesignerData&other);
};
class QDESIGNER_UILIB_EXPORT DomSlots {
public:
DomSlots();
~DomSlots();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
// child element accessors
inline QStringList elementSignal() const { return m_signal; }
void setElementSignal(const QStringList& a);
inline QStringList elementSlot() const { return m_slot; }
void setElementSlot(const QStringList& a);
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
// child element data
uint m_children;
QStringList m_signal;
QStringList m_slot;
enum Child {
Signal = 1,
Slot = 2
};
DomSlots(const DomSlots &other);
void operator = (const DomSlots&other);
};
class QDESIGNER_UILIB_EXPORT DomPropertySpecifications {
public:
DomPropertySpecifications();
~DomPropertySpecifications();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
// child element accessors
inline QList<DomStringPropertySpecification*> elementStringpropertyspecification() const { return m_stringpropertyspecification; }
void setElementStringpropertyspecification(const QList<DomStringPropertySpecification*>& a);
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
// child element data
uint m_children;
QList<DomStringPropertySpecification*> m_stringpropertyspecification;
enum Child {
Stringpropertyspecification = 1
};
DomPropertySpecifications(const DomPropertySpecifications &other);
void operator = (const DomPropertySpecifications&other);
};
class QDESIGNER_UILIB_EXPORT DomStringPropertySpecification {
public:
DomStringPropertySpecification();
~DomStringPropertySpecification();
void read(QXmlStreamReader &reader);
#ifdef QUILOADER_QDOM_READ
void read(const QDomElement &node);
#endif
void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;
inline QString text() const { return m_text; }
inline void setText(const QString &s) { m_text = s; }
// attribute accessors
inline bool hasAttributeName() const { return m_has_attr_name; }
inline QString attributeName() const { return m_attr_name; }
inline void setAttributeName(const QString& a) { m_attr_name = a; m_has_attr_name = true; }
inline void clearAttributeName() { m_has_attr_name = false; }
inline bool hasAttributeType() const { return m_has_attr_type; }
inline QString attributeType() const { return m_attr_type; }
inline void setAttributeType(const QString& a) { m_attr_type = a; m_has_attr_type = true; }
inline void clearAttributeType() { m_has_attr_type = false; }
inline bool hasAttributeNotr() const { return m_has_attr_notr; }
inline QString attributeNotr() const { return m_attr_notr; }
inline void setAttributeNotr(const QString& a) { m_attr_notr = a; m_has_attr_notr = true; }
inline void clearAttributeNotr() { m_has_attr_notr = false; }
// child element accessors
private:
QString m_text;
void clear(bool clear_all = true);
// attribute data
QString m_attr_name;
bool m_has_attr_name;
QString m_attr_type;
bool m_has_attr_type;
QString m_attr_notr;
bool m_has_attr_notr;
// child element data
uint m_children;
DomStringPropertySpecification(const DomStringPropertySpecification &other);
void operator = (const DomStringPropertySpecification&other);
};
#ifdef QFORMINTERNAL_NAMESPACE
}
#endif
QT_END_NAMESPACE
#endif // UI4_H
|