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
|
#include <PythonQt.h>
#include <QObject>
#include <QTextCursor>
#include <QTextFrame>
#include <QTextLayout>
#include <QVariant>
#include <qabstractitemdelegate.h>
#include <qabstractitemmodel.h>
#include <qaction.h>
#include <qbitmap.h>
#include <qboxlayout.h>
#include <qbrush.h>
#include <qbuttongroup.h>
#include <qbytearray.h>
#include <qcalendarwidget.h>
#include <qcolor.h>
#include <qcoreevent.h>
#include <qcursor.h>
#include <qdatastream.h>
#include <qdatetime.h>
#include <qdatetimeedit.h>
#include <qdrawutil.h>
#include <qevent.h>
#include <qfont.h>
#include <qgraphicseffect.h>
#include <qgraphicsproxywidget.h>
#include <qheaderview.h>
#include <qicon.h>
#include <qinputcontext.h>
#include <qitemselectionmodel.h>
#include <qkeysequence.h>
#include <qlayout.h>
#include <qlayoutitem.h>
#include <qline.h>
#include <qlineedit.h>
#include <qlist.h>
#include <qlocale.h>
#include <qmargins.h>
#include <qmatrix.h>
#include <qmenu.h>
#include <qmimedata.h>
#include <qobject.h>
#include <qpaintdevice.h>
#include <qpaintengine.h>
#include <qpainter.h>
#include <qpainterpath.h>
#include <qpalette.h>
#include <qpen.h>
#include <qpoint.h>
#include <qpolygon.h>
#include <qrect.h>
#include <qregion.h>
#include <qscrollbar.h>
#include <qsize.h>
#include <qsizepolicy.h>
#include <qstringlist.h>
#include <qstyle.h>
#include <qstyleoption.h>
#include <qtextcursor.h>
#include <qtextdocument.h>
#include <qtextformat.h>
#include <qtextlayout.h>
#include <qtextlist.h>
#include <qtextobject.h>
#include <qtextoption.h>
#include <qtexttable.h>
#include <qtoolbar.h>
#include <qtoolbox.h>
#include <qtoolbutton.h>
#include <qtooltip.h>
#include <qtransform.h>
#include <qtreeview.h>
#include <qtreewidget.h>
#include <qundogroup.h>
#include <qundostack.h>
#include <qundoview.h>
#include <qvector.h>
#include <qwidget.h>
class PythonQtWrapper_QTextInlineObject : public QObject
{ Q_OBJECT
public:
public slots:
QTextInlineObject* new_QTextInlineObject();
QTextInlineObject* new_QTextInlineObject(const QTextInlineObject& other) {
QTextInlineObject* a = new QTextInlineObject();
*((QTextInlineObject*)a) = other;
return a; }
void delete_QTextInlineObject(QTextInlineObject* obj) { delete obj; }
qreal ascent(QTextInlineObject* theWrappedObject) const;
qreal descent(QTextInlineObject* theWrappedObject) const;
QTextFormat format(QTextInlineObject* theWrappedObject) const;
int formatIndex(QTextInlineObject* theWrappedObject) const;
qreal height(QTextInlineObject* theWrappedObject) const;
bool isValid(QTextInlineObject* theWrappedObject) const;
QRectF rect(QTextInlineObject* theWrappedObject) const;
void setAscent(QTextInlineObject* theWrappedObject, qreal a);
void setDescent(QTextInlineObject* theWrappedObject, qreal d);
void setWidth(QTextInlineObject* theWrappedObject, qreal w);
Qt::LayoutDirection textDirection(QTextInlineObject* theWrappedObject) const;
int textPosition(QTextInlineObject* theWrappedObject) const;
qreal width(QTextInlineObject* theWrappedObject) const;
};
class PythonQtShell_QTextItem : public QTextItem
{
public:
PythonQtShell_QTextItem():QTextItem(),_wrapper(NULL) {};
~PythonQtShell_QTextItem();
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtWrapper_QTextItem : public QObject
{ Q_OBJECT
public:
Q_ENUMS(RenderFlag )
Q_FLAGS(RenderFlags )
enum RenderFlag{
RightToLeft = QTextItem::RightToLeft, Overline = QTextItem::Overline, Underline = QTextItem::Underline, StrikeOut = QTextItem::StrikeOut, Dummy = QTextItem::Dummy};
Q_DECLARE_FLAGS(RenderFlags, RenderFlag)
public slots:
QTextItem* new_QTextItem();
void delete_QTextItem(QTextItem* obj) { delete obj; }
qreal ascent(QTextItem* theWrappedObject) const;
qreal descent(QTextItem* theWrappedObject) const;
QFont font(QTextItem* theWrappedObject) const;
QTextItem::RenderFlags renderFlags(QTextItem* theWrappedObject) const;
QString text(QTextItem* theWrappedObject) const;
qreal width(QTextItem* theWrappedObject) const;
};
class PythonQtWrapper_QTextLine : public QObject
{ Q_OBJECT
public:
Q_ENUMS(Edge CursorPosition )
enum Edge{
Leading = QTextLine::Leading, Trailing = QTextLine::Trailing};
enum CursorPosition{
CursorBetweenCharacters = QTextLine::CursorBetweenCharacters, CursorOnCharacter = QTextLine::CursorOnCharacter};
public slots:
QTextLine* new_QTextLine();
QTextLine* new_QTextLine(const QTextLine& other) {
QTextLine* a = new QTextLine();
*((QTextLine*)a) = other;
return a; }
void delete_QTextLine(QTextLine* obj) { delete obj; }
qreal ascent(QTextLine* theWrappedObject) const;
qreal cursorToX(QTextLine* theWrappedObject, int cursorPos, QTextLine::Edge edge = QTextLine::Leading) const;
qreal descent(QTextLine* theWrappedObject) const;
void draw(QTextLine* theWrappedObject, QPainter* p, const QPointF& point, const QTextLayout::FormatRange* selection = 0) const;
qreal height(QTextLine* theWrappedObject) const;
qreal horizontalAdvance(QTextLine* theWrappedObject) const;
bool isValid(QTextLine* theWrappedObject) const;
qreal leading(QTextLine* theWrappedObject) const;
bool leadingIncluded(QTextLine* theWrappedObject) const;
int lineNumber(QTextLine* theWrappedObject) const;
QRectF naturalTextRect(QTextLine* theWrappedObject) const;
qreal naturalTextWidth(QTextLine* theWrappedObject) const;
QPointF position(QTextLine* theWrappedObject) const;
QRectF rect(QTextLine* theWrappedObject) const;
void setLeadingIncluded(QTextLine* theWrappedObject, bool included);
void setLineWidth(QTextLine* theWrappedObject, qreal width);
void setNumColumns(QTextLine* theWrappedObject, int columns);
void setNumColumns(QTextLine* theWrappedObject, int columns, qreal alignmentWidth);
void setPosition(QTextLine* theWrappedObject, const QPointF& pos);
int textLength(QTextLine* theWrappedObject) const;
int textStart(QTextLine* theWrappedObject) const;
qreal width(QTextLine* theWrappedObject) const;
qreal x(QTextLine* theWrappedObject) const;
int xToCursor(QTextLine* theWrappedObject, qreal x, QTextLine::CursorPosition arg__2 = QTextLine::CursorBetweenCharacters) const;
qreal y(QTextLine* theWrappedObject) const;
};
class PythonQtShell_QTextList : public QTextList
{
public:
PythonQtShell_QTextList(QTextDocument* doc):QTextList(doc),_wrapper(NULL) {};
~PythonQtShell_QTextList();
virtual void blockFormatChanged(const QTextBlock& block);
virtual void blockInserted(const QTextBlock& block);
virtual void blockRemoved(const QTextBlock& block);
virtual void childEvent(QChildEvent* arg__1);
virtual void customEvent(QEvent* arg__1);
virtual bool event(QEvent* arg__1);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual void timerEvent(QTimerEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtWrapper_QTextList : public QObject
{ Q_OBJECT
public:
public slots:
QTextList* new_QTextList(QTextDocument* doc);
void delete_QTextList(QTextList* obj) { delete obj; }
void add(QTextList* theWrappedObject, const QTextBlock& block);
int count(QTextList* theWrappedObject) const;
QTextListFormat format(QTextList* theWrappedObject) const;
QTextBlock item(QTextList* theWrappedObject, int i) const;
int itemNumber(QTextList* theWrappedObject, const QTextBlock& arg__1) const;
QString itemText(QTextList* theWrappedObject, const QTextBlock& arg__1) const;
void remove(QTextList* theWrappedObject, const QTextBlock& arg__1);
void removeItem(QTextList* theWrappedObject, int i);
void setFormat(QTextList* theWrappedObject, const QTextListFormat& format);
};
class PythonQtShell_QTextListFormat : public QTextListFormat
{
public:
PythonQtShell_QTextListFormat():QTextListFormat(),_wrapper(NULL) {};
PythonQtShell_QTextListFormat(const QTextFormat& fmt):QTextListFormat(fmt),_wrapper(NULL) {};
~PythonQtShell_QTextListFormat();
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtWrapper_QTextListFormat : public QObject
{ Q_OBJECT
public:
Q_ENUMS(Style )
enum Style{
ListDisc = QTextListFormat::ListDisc, ListCircle = QTextListFormat::ListCircle, ListSquare = QTextListFormat::ListSquare, ListDecimal = QTextListFormat::ListDecimal, ListLowerAlpha = QTextListFormat::ListLowerAlpha, ListUpperAlpha = QTextListFormat::ListUpperAlpha, ListLowerRoman = QTextListFormat::ListLowerRoman, ListUpperRoman = QTextListFormat::ListUpperRoman, ListStyleUndefined = QTextListFormat::ListStyleUndefined};
public slots:
QTextListFormat* new_QTextListFormat();
QTextListFormat* new_QTextListFormat(const QTextListFormat& other) {
PythonQtShell_QTextListFormat* a = new PythonQtShell_QTextListFormat();
*((QTextListFormat*)a) = other;
return a; }
void delete_QTextListFormat(QTextListFormat* obj) { delete obj; }
int indent(QTextListFormat* theWrappedObject) const;
bool isValid(QTextListFormat* theWrappedObject) const;
QString numberPrefix(QTextListFormat* theWrappedObject) const;
QString numberSuffix(QTextListFormat* theWrappedObject) const;
void setIndent(QTextListFormat* theWrappedObject, int indent);
void setNumberPrefix(QTextListFormat* theWrappedObject, const QString& numberPrefix);
void setNumberSuffix(QTextListFormat* theWrappedObject, const QString& numberSuffix);
void setStyle(QTextListFormat* theWrappedObject, QTextListFormat::Style style);
QTextListFormat::Style style(QTextListFormat* theWrappedObject) const;
};
class PythonQtShell_QTextObject : public QTextObject
{
public:
PythonQtShell_QTextObject(QTextDocument* doc):QTextObject(doc),_wrapper(NULL) {};
~PythonQtShell_QTextObject();
virtual void childEvent(QChildEvent* arg__1);
virtual void customEvent(QEvent* arg__1);
virtual bool event(QEvent* arg__1);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual void timerEvent(QTimerEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtWrapper_QTextObject : public QObject
{ Q_OBJECT
public:
public slots:
QTextDocument* document(QTextObject* theWrappedObject) const;
QTextFormat format(QTextObject* theWrappedObject) const;
int formatIndex(QTextObject* theWrappedObject) const;
int objectIndex(QTextObject* theWrappedObject) const;
};
class PythonQtWrapper_QTextOption : public QObject
{ Q_OBJECT
public:
Q_ENUMS(TabType Flag WrapMode )
Q_FLAGS(Flags )
enum TabType{
LeftTab = QTextOption::LeftTab, RightTab = QTextOption::RightTab, CenterTab = QTextOption::CenterTab, DelimiterTab = QTextOption::DelimiterTab};
enum Flag{
ShowTabsAndSpaces = QTextOption::ShowTabsAndSpaces, ShowLineAndParagraphSeparators = QTextOption::ShowLineAndParagraphSeparators, AddSpaceForLineAndParagraphSeparators = QTextOption::AddSpaceForLineAndParagraphSeparators, SuppressColors = QTextOption::SuppressColors, IncludeTrailingSpaces = QTextOption::IncludeTrailingSpaces};
enum WrapMode{
NoWrap = QTextOption::NoWrap, WordWrap = QTextOption::WordWrap, ManualWrap = QTextOption::ManualWrap, WrapAnywhere = QTextOption::WrapAnywhere, WrapAtWordBoundaryOrAnywhere = QTextOption::WrapAtWordBoundaryOrAnywhere};
Q_DECLARE_FLAGS(Flags, Flag)
public slots:
QTextOption* new_QTextOption();
QTextOption* new_QTextOption(Qt::Alignment alignment);
QTextOption* new_QTextOption(const QTextOption& o);
void delete_QTextOption(QTextOption* obj) { delete obj; }
Qt::Alignment alignment(QTextOption* theWrappedObject) const;
QTextOption::Flags flags(QTextOption* theWrappedObject) const;
QTextOption* operator_assign(QTextOption* theWrappedObject, const QTextOption& o);
void setAlignment(QTextOption* theWrappedObject, Qt::Alignment alignment);
void setFlags(QTextOption* theWrappedObject, QTextOption::Flags flags);
void setTabArray(QTextOption* theWrappedObject, QList<qreal > tabStops);
void setTabStop(QTextOption* theWrappedObject, qreal tabStop);
void setTabs(QTextOption* theWrappedObject, QList<QTextOption::Tab > tabStops);
void setTextDirection(QTextOption* theWrappedObject, Qt::LayoutDirection aDirection);
void setUseDesignMetrics(QTextOption* theWrappedObject, bool b);
void setWrapMode(QTextOption* theWrappedObject, QTextOption::WrapMode wrap);
QList<qreal > tabArray(QTextOption* theWrappedObject) const;
qreal tabStop(QTextOption* theWrappedObject) const;
QList<QTextOption::Tab > tabs(QTextOption* theWrappedObject) const;
Qt::LayoutDirection textDirection(QTextOption* theWrappedObject) const;
bool useDesignMetrics(QTextOption* theWrappedObject) const;
QTextOption::WrapMode wrapMode(QTextOption* theWrappedObject) const;
};
class PythonQtShell_QTextOption_Tab : public QTextOption::Tab
{
public:
PythonQtShell_QTextOption_Tab():QTextOption::Tab(),_wrapper(NULL) {};
PythonQtShell_QTextOption_Tab(qreal pos, QTextOption::TabType tabType, QChar delim = QChar()):QTextOption::Tab(pos, tabType, delim),_wrapper(NULL) {};
~PythonQtShell_QTextOption_Tab();
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtWrapper_QTextOption_Tab : public QObject
{ Q_OBJECT
public:
public slots:
QTextOption::Tab* new_QTextOption_Tab();
QTextOption::Tab* new_QTextOption_Tab(qreal pos, QTextOption::TabType tabType, QChar delim = QChar());
QTextOption::Tab* new_QTextOption_Tab(const QTextOption::Tab& other) {
PythonQtShell_QTextOption_Tab* a = new PythonQtShell_QTextOption_Tab();
*((QTextOption::Tab*)a) = other;
return a; }
void delete_QTextOption_Tab(QTextOption::Tab* obj) { delete obj; }
bool __ne__(QTextOption::Tab* theWrappedObject, const QTextOption::Tab& other) const;
bool __eq__(QTextOption::Tab* theWrappedObject, const QTextOption::Tab& other) const;
void py_set_delimiter(QTextOption::Tab* theWrappedObject, QChar delimiter){ theWrappedObject->delimiter = delimiter; }
QChar py_get_delimiter(QTextOption::Tab* theWrappedObject){ return theWrappedObject->delimiter; }
void py_set_position(QTextOption::Tab* theWrappedObject, qreal position){ theWrappedObject->position = position; }
qreal py_get_position(QTextOption::Tab* theWrappedObject){ return theWrappedObject->position; }
void py_set_type(QTextOption::Tab* theWrappedObject, QTextOption::TabType type){ theWrappedObject->type = type; }
QTextOption::TabType py_get_type(QTextOption::Tab* theWrappedObject){ return theWrappedObject->type; }
};
class PythonQtShell_QTextTable : public QTextTable
{
public:
PythonQtShell_QTextTable(QTextDocument* doc):QTextTable(doc),_wrapper(NULL) {};
~PythonQtShell_QTextTable();
virtual void childEvent(QChildEvent* arg__1);
virtual void customEvent(QEvent* arg__1);
virtual bool event(QEvent* arg__1);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual void timerEvent(QTimerEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtWrapper_QTextTable : public QObject
{ Q_OBJECT
public:
public slots:
QTextTable* new_QTextTable(QTextDocument* doc);
void delete_QTextTable(QTextTable* obj) { delete obj; }
void appendColumns(QTextTable* theWrappedObject, int count);
void appendRows(QTextTable* theWrappedObject, int count);
QTextTableCell cellAt(QTextTable* theWrappedObject, const QTextCursor& c) const;
QTextTableCell cellAt(QTextTable* theWrappedObject, int position) const;
QTextTableCell cellAt(QTextTable* theWrappedObject, int row, int col) const;
int columns(QTextTable* theWrappedObject) const;
QTextTableFormat format(QTextTable* theWrappedObject) const;
void insertColumns(QTextTable* theWrappedObject, int pos, int num);
void insertRows(QTextTable* theWrappedObject, int pos, int num);
void mergeCells(QTextTable* theWrappedObject, const QTextCursor& cursor);
void mergeCells(QTextTable* theWrappedObject, int row, int col, int numRows, int numCols);
void removeColumns(QTextTable* theWrappedObject, int pos, int num);
void removeRows(QTextTable* theWrappedObject, int pos, int num);
void resize(QTextTable* theWrappedObject, int rows, int cols);
QTextCursor rowEnd(QTextTable* theWrappedObject, const QTextCursor& c) const;
QTextCursor rowStart(QTextTable* theWrappedObject, const QTextCursor& c) const;
int rows(QTextTable* theWrappedObject) const;
void setFormat(QTextTable* theWrappedObject, const QTextTableFormat& format);
void splitCell(QTextTable* theWrappedObject, int row, int col, int numRows, int numCols);
};
class PythonQtWrapper_QTextTableCell : public QObject
{ Q_OBJECT
public:
public slots:
QTextTableCell* new_QTextTableCell();
QTextTableCell* new_QTextTableCell(const QTextTableCell& o);
void delete_QTextTableCell(QTextTableCell* obj) { delete obj; }
QTextFrame::iterator begin(QTextTableCell* theWrappedObject) const;
int column(QTextTableCell* theWrappedObject) const;
int columnSpan(QTextTableCell* theWrappedObject) const;
QTextFrame::iterator end(QTextTableCell* theWrappedObject) const;
QTextCursor firstCursorPosition(QTextTableCell* theWrappedObject) const;
int firstPosition(QTextTableCell* theWrappedObject) const;
QTextCharFormat format(QTextTableCell* theWrappedObject) const;
bool isValid(QTextTableCell* theWrappedObject) const;
QTextCursor lastCursorPosition(QTextTableCell* theWrappedObject) const;
int lastPosition(QTextTableCell* theWrappedObject) const;
bool __ne__(QTextTableCell* theWrappedObject, const QTextTableCell& other) const;
bool __eq__(QTextTableCell* theWrappedObject, const QTextTableCell& other) const;
int row(QTextTableCell* theWrappedObject) const;
int rowSpan(QTextTableCell* theWrappedObject) const;
void setFormat(QTextTableCell* theWrappedObject, const QTextCharFormat& format);
int tableCellFormatIndex(QTextTableCell* theWrappedObject) const;
};
class PythonQtShell_QTextTableCellFormat : public QTextTableCellFormat
{
public:
PythonQtShell_QTextTableCellFormat():QTextTableCellFormat(),_wrapper(NULL) {};
PythonQtShell_QTextTableCellFormat(const QTextFormat& fmt):QTextTableCellFormat(fmt),_wrapper(NULL) {};
~PythonQtShell_QTextTableCellFormat();
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtWrapper_QTextTableCellFormat : public QObject
{ Q_OBJECT
public:
public slots:
QTextTableCellFormat* new_QTextTableCellFormat();
QTextTableCellFormat* new_QTextTableCellFormat(const QTextTableCellFormat& other) {
PythonQtShell_QTextTableCellFormat* a = new PythonQtShell_QTextTableCellFormat();
*((QTextTableCellFormat*)a) = other;
return a; }
void delete_QTextTableCellFormat(QTextTableCellFormat* obj) { delete obj; }
qreal bottomPadding(QTextTableCellFormat* theWrappedObject) const;
bool isValid(QTextTableCellFormat* theWrappedObject) const;
qreal leftPadding(QTextTableCellFormat* theWrappedObject) const;
qreal rightPadding(QTextTableCellFormat* theWrappedObject) const;
void setBottomPadding(QTextTableCellFormat* theWrappedObject, qreal padding);
void setLeftPadding(QTextTableCellFormat* theWrappedObject, qreal padding);
void setPadding(QTextTableCellFormat* theWrappedObject, qreal padding);
void setRightPadding(QTextTableCellFormat* theWrappedObject, qreal padding);
void setTopPadding(QTextTableCellFormat* theWrappedObject, qreal padding);
qreal topPadding(QTextTableCellFormat* theWrappedObject) const;
};
class PythonQtShell_QTextTableFormat : public QTextTableFormat
{
public:
PythonQtShell_QTextTableFormat():QTextTableFormat(),_wrapper(NULL) {};
PythonQtShell_QTextTableFormat(const QTextFormat& fmt):QTextTableFormat(fmt),_wrapper(NULL) {};
~PythonQtShell_QTextTableFormat();
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtWrapper_QTextTableFormat : public QObject
{ Q_OBJECT
public:
public slots:
QTextTableFormat* new_QTextTableFormat();
QTextTableFormat* new_QTextTableFormat(const QTextTableFormat& other) {
PythonQtShell_QTextTableFormat* a = new PythonQtShell_QTextTableFormat();
*((QTextTableFormat*)a) = other;
return a; }
void delete_QTextTableFormat(QTextTableFormat* obj) { delete obj; }
Qt::Alignment alignment(QTextTableFormat* theWrappedObject) const;
qreal cellPadding(QTextTableFormat* theWrappedObject) const;
qreal cellSpacing(QTextTableFormat* theWrappedObject) const;
void clearColumnWidthConstraints(QTextTableFormat* theWrappedObject);
QVector<QTextLength > columnWidthConstraints(QTextTableFormat* theWrappedObject) const;
int columns(QTextTableFormat* theWrappedObject) const;
int headerRowCount(QTextTableFormat* theWrappedObject) const;
bool isValid(QTextTableFormat* theWrappedObject) const;
void setAlignment(QTextTableFormat* theWrappedObject, Qt::Alignment alignment);
void setCellPadding(QTextTableFormat* theWrappedObject, qreal padding);
void setCellSpacing(QTextTableFormat* theWrappedObject, qreal spacing);
void setColumnWidthConstraints(QTextTableFormat* theWrappedObject, const QVector<QTextLength >& constraints);
void setColumns(QTextTableFormat* theWrappedObject, int columns);
void setHeaderRowCount(QTextTableFormat* theWrappedObject, int count);
};
class PythonQtShell_QTileRules : public QTileRules
{
public:
PythonQtShell_QTileRules(Qt::TileRule horizontalRule, Qt::TileRule verticalRule):QTileRules(horizontalRule, verticalRule),_wrapper(NULL) {};
PythonQtShell_QTileRules(Qt::TileRule rule = Qt::StretchTile):QTileRules(rule),_wrapper(NULL) {};
~PythonQtShell_QTileRules();
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtWrapper_QTileRules : public QObject
{ Q_OBJECT
public:
public slots:
QTileRules* new_QTileRules(Qt::TileRule horizontalRule, Qt::TileRule verticalRule);
QTileRules* new_QTileRules(Qt::TileRule rule = Qt::StretchTile);
void delete_QTileRules(QTileRules* obj) { delete obj; }
void py_set_vertical(QTileRules* theWrappedObject, Qt::TileRule vertical){ theWrappedObject->vertical = vertical; }
Qt::TileRule py_get_vertical(QTileRules* theWrappedObject){ return theWrappedObject->vertical; }
void py_set_horizontal(QTileRules* theWrappedObject, Qt::TileRule horizontal){ theWrappedObject->horizontal = horizontal; }
Qt::TileRule py_get_horizontal(QTileRules* theWrappedObject){ return theWrappedObject->horizontal; }
};
class PythonQtShell_QTimeEdit : public QTimeEdit
{
public:
PythonQtShell_QTimeEdit(QWidget* parent = 0):QTimeEdit(parent),_wrapper(NULL) {};
PythonQtShell_QTimeEdit(const QTime& time, QWidget* parent = 0):QTimeEdit(time, parent),_wrapper(NULL) {};
~PythonQtShell_QTimeEdit();
virtual void actionEvent(QActionEvent* arg__1);
virtual void changeEvent(QEvent* event);
virtual void childEvent(QChildEvent* arg__1);
virtual void clear();
virtual void closeEvent(QCloseEvent* event);
virtual void contextMenuEvent(QContextMenuEvent* event);
virtual void customEvent(QEvent* arg__1);
virtual QDateTime dateTimeFromText(const QString& text) const;
virtual int devType() const;
virtual void dragEnterEvent(QDragEnterEvent* arg__1);
virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
virtual void dragMoveEvent(QDragMoveEvent* arg__1);
virtual void dropEvent(QDropEvent* arg__1);
virtual void enterEvent(QEvent* arg__1);
virtual bool event(QEvent* event);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual void fixup(QString& input) const;
virtual void focusInEvent(QFocusEvent* event);
virtual bool focusNextPrevChild(bool next);
virtual void focusOutEvent(QFocusEvent* event);
virtual int heightForWidth(int arg__1) const;
virtual void hideEvent(QHideEvent* event);
virtual void inputMethodEvent(QInputMethodEvent* arg__1);
virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const;
virtual void keyPressEvent(QKeyEvent* event);
virtual void keyReleaseEvent(QKeyEvent* event);
virtual void languageChange();
virtual void leaveEvent(QEvent* arg__1);
virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
virtual void mouseMoveEvent(QMouseEvent* event);
virtual void mousePressEvent(QMouseEvent* event);
virtual void mouseReleaseEvent(QMouseEvent* event);
virtual void moveEvent(QMoveEvent* arg__1);
virtual QPaintEngine* paintEngine() const;
virtual void paintEvent(QPaintEvent* event);
virtual void resizeEvent(QResizeEvent* event);
virtual void showEvent(QShowEvent* event);
virtual void stepBy(int steps);
virtual QAbstractSpinBox::StepEnabled stepEnabled() const;
virtual void tabletEvent(QTabletEvent* arg__1);
virtual QString textFromDateTime(const QDateTime& dt) const;
virtual void timerEvent(QTimerEvent* event);
virtual QValidator::State validate(QString& input, int& pos) const;
virtual void wheelEvent(QWheelEvent* event);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtWrapper_QTimeEdit : public QObject
{ Q_OBJECT
public:
public slots:
QTimeEdit* new_QTimeEdit(QWidget* parent = 0);
QTimeEdit* new_QTimeEdit(const QTime& time, QWidget* parent = 0);
void delete_QTimeEdit(QTimeEdit* obj) { delete obj; }
};
class PythonQtShell_QToolBar : public QToolBar
{
public:
PythonQtShell_QToolBar(QWidget* parent = 0):QToolBar(parent),_wrapper(NULL) {};
PythonQtShell_QToolBar(const QString& title, QWidget* parent = 0):QToolBar(title, parent),_wrapper(NULL) {};
~PythonQtShell_QToolBar();
virtual void actionEvent(QActionEvent* event);
virtual void changeEvent(QEvent* event);
virtual void childEvent(QChildEvent* event);
virtual void closeEvent(QCloseEvent* arg__1);
virtual void contextMenuEvent(QContextMenuEvent* arg__1);
virtual void customEvent(QEvent* arg__1);
virtual int devType() const;
virtual void dragEnterEvent(QDragEnterEvent* arg__1);
virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
virtual void dragMoveEvent(QDragMoveEvent* arg__1);
virtual void dropEvent(QDropEvent* arg__1);
virtual void enterEvent(QEvent* arg__1);
virtual bool event(QEvent* event);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual void focusInEvent(QFocusEvent* arg__1);
virtual bool focusNextPrevChild(bool next);
virtual void focusOutEvent(QFocusEvent* arg__1);
virtual int heightForWidth(int arg__1) const;
virtual void hideEvent(QHideEvent* arg__1);
virtual void inputMethodEvent(QInputMethodEvent* arg__1);
virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const;
virtual void keyPressEvent(QKeyEvent* arg__1);
virtual void keyReleaseEvent(QKeyEvent* arg__1);
virtual void languageChange();
virtual void leaveEvent(QEvent* arg__1);
virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
virtual QSize minimumSizeHint() const;
virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
virtual void mouseMoveEvent(QMouseEvent* arg__1);
virtual void mousePressEvent(QMouseEvent* arg__1);
virtual void mouseReleaseEvent(QMouseEvent* arg__1);
virtual void moveEvent(QMoveEvent* arg__1);
virtual QPaintEngine* paintEngine() const;
virtual void paintEvent(QPaintEvent* event);
virtual void resizeEvent(QResizeEvent* event);
virtual void showEvent(QShowEvent* arg__1);
virtual QSize sizeHint() const;
virtual void tabletEvent(QTabletEvent* arg__1);
virtual void timerEvent(QTimerEvent* arg__1);
virtual void wheelEvent(QWheelEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QToolBar : public QToolBar
{ public:
inline void promoted_actionEvent(QActionEvent* event) { QToolBar::actionEvent(event); }
inline void promoted_changeEvent(QEvent* event) { QToolBar::changeEvent(event); }
inline void promoted_childEvent(QChildEvent* event) { QToolBar::childEvent(event); }
inline bool promoted_event(QEvent* event) { return QToolBar::event(event); }
inline void promoted_paintEvent(QPaintEvent* event) { QToolBar::paintEvent(event); }
inline void promoted_resizeEvent(QResizeEvent* event) { QToolBar::resizeEvent(event); }
};
class PythonQtWrapper_QToolBar : public QObject
{ Q_OBJECT
public:
public slots:
QToolBar* new_QToolBar(QWidget* parent = 0);
QToolBar* new_QToolBar(const QString& title, QWidget* parent = 0);
void delete_QToolBar(QToolBar* obj) { delete obj; }
QAction* actionAt(QToolBar* theWrappedObject, const QPoint& p) const;
QAction* actionAt(QToolBar* theWrappedObject, int x, int y) const;
void actionEvent(QToolBar* theWrappedObject, QActionEvent* event);
QRect actionGeometry(QToolBar* theWrappedObject, QAction* action) const;
void addAction(QToolBar* theWrappedObject, QAction* action);
QAction* addAction(QToolBar* theWrappedObject, const QIcon& icon, const QString& text);
QAction* addAction(QToolBar* theWrappedObject, const QIcon& icon, const QString& text, const QObject* receiver, const char* member);
QAction* addAction(QToolBar* theWrappedObject, const QString& text);
QAction* addAction(QToolBar* theWrappedObject, const QString& text, const QObject* receiver, const char* member);
QAction* addSeparator(QToolBar* theWrappedObject);
QAction* addWidget(QToolBar* theWrappedObject, QWidget* widget);
Qt::ToolBarAreas allowedAreas(QToolBar* theWrappedObject) const;
void changeEvent(QToolBar* theWrappedObject, QEvent* event);
void childEvent(QToolBar* theWrappedObject, QChildEvent* event);
void clear(QToolBar* theWrappedObject);
bool event(QToolBar* theWrappedObject, QEvent* event);
QSize iconSize(QToolBar* theWrappedObject) const;
QAction* insertSeparator(QToolBar* theWrappedObject, QAction* before);
QAction* insertWidget(QToolBar* theWrappedObject, QAction* before, QWidget* widget);
bool isAreaAllowed(QToolBar* theWrappedObject, Qt::ToolBarArea area) const;
bool isFloatable(QToolBar* theWrappedObject) const;
bool isFloating(QToolBar* theWrappedObject) const;
bool isMovable(QToolBar* theWrappedObject) const;
Qt::Orientation orientation(QToolBar* theWrappedObject) const;
void paintEvent(QToolBar* theWrappedObject, QPaintEvent* event);
void resizeEvent(QToolBar* theWrappedObject, QResizeEvent* event);
void setAllowedAreas(QToolBar* theWrappedObject, Qt::ToolBarAreas areas);
void setFloatable(QToolBar* theWrappedObject, bool floatable);
void setMovable(QToolBar* theWrappedObject, bool movable);
void setOrientation(QToolBar* theWrappedObject, Qt::Orientation orientation);
QAction* toggleViewAction(QToolBar* theWrappedObject) const;
Qt::ToolButtonStyle toolButtonStyle(QToolBar* theWrappedObject) const;
QWidget* widgetForAction(QToolBar* theWrappedObject, QAction* action) const;
QAction* addAction (QToolBar* menu, const QString & text, PyObject* callable)
{
QAction* a = menu->addAction(text);
PythonQt::self()->addSignalHandler(a, SIGNAL(triggered(bool)), callable);
return a;
}
QAction* addAction (QToolBar* menu, const QIcon& icon, const QString& text, PyObject* callable)
{
QAction* a = menu->addAction(text);
a->setIcon(icon);
PythonQt::self()->addSignalHandler(a, SIGNAL(triggered(bool)), callable);
return a;
}
};
class PythonQtWrapper_QToolBarChangeEvent : public QObject
{ Q_OBJECT
public:
public slots:
QToolBarChangeEvent* new_QToolBarChangeEvent(bool t);
void delete_QToolBarChangeEvent(QToolBarChangeEvent* obj) { delete obj; }
bool toggle(QToolBarChangeEvent* theWrappedObject) const;
};
class PythonQtShell_QToolBox : public QToolBox
{
public:
PythonQtShell_QToolBox(QWidget* parent = 0, Qt::WindowFlags f = 0):QToolBox(parent, f),_wrapper(NULL) {};
~PythonQtShell_QToolBox();
virtual void actionEvent(QActionEvent* arg__1);
virtual void changeEvent(QEvent* arg__1);
virtual void childEvent(QChildEvent* arg__1);
virtual void closeEvent(QCloseEvent* arg__1);
virtual void contextMenuEvent(QContextMenuEvent* arg__1);
virtual void customEvent(QEvent* arg__1);
virtual int devType() const;
virtual void dragEnterEvent(QDragEnterEvent* arg__1);
virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
virtual void dragMoveEvent(QDragMoveEvent* arg__1);
virtual void dropEvent(QDropEvent* arg__1);
virtual void enterEvent(QEvent* arg__1);
virtual bool event(QEvent* e);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual void focusInEvent(QFocusEvent* arg__1);
virtual bool focusNextPrevChild(bool next);
virtual void focusOutEvent(QFocusEvent* arg__1);
virtual int heightForWidth(int arg__1) const;
virtual void hideEvent(QHideEvent* arg__1);
virtual void inputMethodEvent(QInputMethodEvent* arg__1);
virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const;
virtual void itemInserted(int index);
virtual void itemRemoved(int index);
virtual void keyPressEvent(QKeyEvent* arg__1);
virtual void keyReleaseEvent(QKeyEvent* arg__1);
virtual void languageChange();
virtual void leaveEvent(QEvent* arg__1);
virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
virtual QSize minimumSizeHint() const;
virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
virtual void mouseMoveEvent(QMouseEvent* arg__1);
virtual void mousePressEvent(QMouseEvent* arg__1);
virtual void mouseReleaseEvent(QMouseEvent* arg__1);
virtual void moveEvent(QMoveEvent* arg__1);
virtual QPaintEngine* paintEngine() const;
virtual void paintEvent(QPaintEvent* arg__1);
virtual void resizeEvent(QResizeEvent* arg__1);
virtual void showEvent(QShowEvent* e);
virtual void tabletEvent(QTabletEvent* arg__1);
virtual void timerEvent(QTimerEvent* arg__1);
virtual void wheelEvent(QWheelEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QToolBox : public QToolBox
{ public:
inline void promoted_changeEvent(QEvent* arg__1) { QToolBox::changeEvent(arg__1); }
inline bool promoted_event(QEvent* e) { return QToolBox::event(e); }
inline void promoted_itemInserted(int index) { QToolBox::itemInserted(index); }
inline void promoted_itemRemoved(int index) { QToolBox::itemRemoved(index); }
inline void promoted_showEvent(QShowEvent* e) { QToolBox::showEvent(e); }
};
class PythonQtWrapper_QToolBox : public QObject
{ Q_OBJECT
public:
public slots:
QToolBox* new_QToolBox(QWidget* parent = 0, Qt::WindowFlags f = 0);
void delete_QToolBox(QToolBox* obj) { delete obj; }
int addItem(QToolBox* theWrappedObject, QWidget* widget, const QIcon& icon, const QString& text);
int addItem(QToolBox* theWrappedObject, QWidget* widget, const QString& text);
void changeEvent(QToolBox* theWrappedObject, QEvent* arg__1);
int count(QToolBox* theWrappedObject) const;
int currentIndex(QToolBox* theWrappedObject) const;
QWidget* currentWidget(QToolBox* theWrappedObject) const;
bool event(QToolBox* theWrappedObject, QEvent* e);
int indexOf(QToolBox* theWrappedObject, QWidget* widget) const;
int insertItem(QToolBox* theWrappedObject, int index, QWidget* widget, const QIcon& icon, const QString& text);
int insertItem(QToolBox* theWrappedObject, int index, QWidget* widget, const QString& text);
bool isItemEnabled(QToolBox* theWrappedObject, int index) const;
QIcon itemIcon(QToolBox* theWrappedObject, int index) const;
void itemInserted(QToolBox* theWrappedObject, int index);
void itemRemoved(QToolBox* theWrappedObject, int index);
QString itemText(QToolBox* theWrappedObject, int index) const;
QString itemToolTip(QToolBox* theWrappedObject, int index) const;
void removeItem(QToolBox* theWrappedObject, int index);
void setItemEnabled(QToolBox* theWrappedObject, int index, bool enabled);
void setItemIcon(QToolBox* theWrappedObject, int index, const QIcon& icon);
void setItemText(QToolBox* theWrappedObject, int index, const QString& text);
void setItemToolTip(QToolBox* theWrappedObject, int index, const QString& toolTip);
void showEvent(QToolBox* theWrappedObject, QShowEvent* e);
QWidget* widget(QToolBox* theWrappedObject, int index) const;
};
class PythonQtShell_QToolButton : public QToolButton
{
public:
PythonQtShell_QToolButton(QWidget* parent = 0):QToolButton(parent),_wrapper(NULL) {};
~PythonQtShell_QToolButton();
virtual void actionEvent(QActionEvent* arg__1);
virtual void changeEvent(QEvent* arg__1);
virtual void checkStateSet();
virtual void childEvent(QChildEvent* arg__1);
virtual void closeEvent(QCloseEvent* arg__1);
virtual void contextMenuEvent(QContextMenuEvent* arg__1);
virtual void customEvent(QEvent* arg__1);
virtual int devType() const;
virtual void dragEnterEvent(QDragEnterEvent* arg__1);
virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
virtual void dragMoveEvent(QDragMoveEvent* arg__1);
virtual void dropEvent(QDropEvent* arg__1);
virtual void enterEvent(QEvent* arg__1);
virtual bool event(QEvent* e);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual void focusInEvent(QFocusEvent* e);
virtual bool focusNextPrevChild(bool next);
virtual void focusOutEvent(QFocusEvent* e);
virtual int heightForWidth(int arg__1) const;
virtual void hideEvent(QHideEvent* arg__1);
virtual bool hitButton(const QPoint& pos) const;
virtual void inputMethodEvent(QInputMethodEvent* arg__1);
virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const;
virtual void keyPressEvent(QKeyEvent* e);
virtual void keyReleaseEvent(QKeyEvent* e);
virtual void languageChange();
virtual void leaveEvent(QEvent* arg__1);
virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
virtual void mouseMoveEvent(QMouseEvent* e);
virtual void mousePressEvent(QMouseEvent* arg__1);
virtual void mouseReleaseEvent(QMouseEvent* arg__1);
virtual void moveEvent(QMoveEvent* arg__1);
virtual void nextCheckState();
virtual QPaintEngine* paintEngine() const;
virtual void paintEvent(QPaintEvent* arg__1);
virtual void resizeEvent(QResizeEvent* arg__1);
virtual void showEvent(QShowEvent* arg__1);
virtual void tabletEvent(QTabletEvent* arg__1);
virtual void timerEvent(QTimerEvent* arg__1);
virtual void wheelEvent(QWheelEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QToolButton : public QToolButton
{ public:
inline void promoted_actionEvent(QActionEvent* arg__1) { QToolButton::actionEvent(arg__1); }
inline void promoted_changeEvent(QEvent* arg__1) { QToolButton::changeEvent(arg__1); }
inline void promoted_enterEvent(QEvent* arg__1) { QToolButton::enterEvent(arg__1); }
inline bool promoted_event(QEvent* e) { return QToolButton::event(e); }
inline bool promoted_hitButton(const QPoint& pos) const { return QToolButton::hitButton(pos); }
inline void promoted_leaveEvent(QEvent* arg__1) { QToolButton::leaveEvent(arg__1); }
inline void promoted_mousePressEvent(QMouseEvent* arg__1) { QToolButton::mousePressEvent(arg__1); }
inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { QToolButton::mouseReleaseEvent(arg__1); }
inline void promoted_nextCheckState() { QToolButton::nextCheckState(); }
inline void promoted_paintEvent(QPaintEvent* arg__1) { QToolButton::paintEvent(arg__1); }
inline void promoted_timerEvent(QTimerEvent* arg__1) { QToolButton::timerEvent(arg__1); }
};
class PythonQtWrapper_QToolButton : public QObject
{ Q_OBJECT
public:
public slots:
QToolButton* new_QToolButton(QWidget* parent = 0);
void delete_QToolButton(QToolButton* obj) { delete obj; }
void actionEvent(QToolButton* theWrappedObject, QActionEvent* arg__1);
Qt::ArrowType arrowType(QToolButton* theWrappedObject) const;
bool autoRaise(QToolButton* theWrappedObject) const;
void changeEvent(QToolButton* theWrappedObject, QEvent* arg__1);
QAction* defaultAction(QToolButton* theWrappedObject) const;
void enterEvent(QToolButton* theWrappedObject, QEvent* arg__1);
bool event(QToolButton* theWrappedObject, QEvent* e);
bool hitButton(QToolButton* theWrappedObject, const QPoint& pos) const;
void leaveEvent(QToolButton* theWrappedObject, QEvent* arg__1);
QMenu* menu(QToolButton* theWrappedObject) const;
QSize minimumSizeHint(QToolButton* theWrappedObject) const;
void mousePressEvent(QToolButton* theWrappedObject, QMouseEvent* arg__1);
void mouseReleaseEvent(QToolButton* theWrappedObject, QMouseEvent* arg__1);
void nextCheckState(QToolButton* theWrappedObject);
void paintEvent(QToolButton* theWrappedObject, QPaintEvent* arg__1);
QToolButton::ToolButtonPopupMode popupMode(QToolButton* theWrappedObject) const;
void setArrowType(QToolButton* theWrappedObject, Qt::ArrowType type);
void setAutoRaise(QToolButton* theWrappedObject, bool enable);
void setMenu(QToolButton* theWrappedObject, QMenu* menu);
void setPopupMode(QToolButton* theWrappedObject, QToolButton::ToolButtonPopupMode mode);
QSize sizeHint(QToolButton* theWrappedObject) const;
void timerEvent(QToolButton* theWrappedObject, QTimerEvent* arg__1);
Qt::ToolButtonStyle toolButtonStyle(QToolButton* theWrappedObject) const;
};
class PythonQtWrapper_QToolTip : public QObject
{ Q_OBJECT
public:
public slots:
void delete_QToolTip(QToolTip* obj) { delete obj; }
QFont static_QToolTip_font();
void static_QToolTip_hideText();
bool static_QToolTip_isVisible();
QPalette static_QToolTip_palette();
void static_QToolTip_setFont(const QFont& arg__1);
void static_QToolTip_setPalette(const QPalette& arg__1);
void static_QToolTip_showText(const QPoint& pos, const QString& text, QWidget* w = 0);
void static_QToolTip_showText(const QPoint& pos, const QString& text, QWidget* w, const QRect& rect);
QString static_QToolTip_text();
};
class PythonQtShell_QTouchEvent : public QTouchEvent
{
public:
PythonQtShell_QTouchEvent(QEvent::Type eventType, QTouchEvent::DeviceType deviceType = QTouchEvent::TouchScreen, Qt::KeyboardModifiers modifiers = Qt::NoModifier, Qt::TouchPointStates touchPointStates = 0, const QList<QTouchEvent::TouchPoint >& touchPoints = QList<QTouchEvent::TouchPoint>()):QTouchEvent(eventType, deviceType, modifiers, touchPointStates, touchPoints),_wrapper(NULL) {};
~PythonQtShell_QTouchEvent();
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtWrapper_QTouchEvent : public QObject
{ Q_OBJECT
public:
Q_ENUMS(DeviceType )
enum DeviceType{
TouchScreen = QTouchEvent::TouchScreen, TouchPad = QTouchEvent::TouchPad};
public slots:
QTouchEvent* new_QTouchEvent(QEvent::Type eventType, QTouchEvent::DeviceType deviceType = QTouchEvent::TouchScreen, Qt::KeyboardModifiers modifiers = Qt::NoModifier, Qt::TouchPointStates touchPointStates = 0, const QList<QTouchEvent::TouchPoint >& touchPoints = QList<QTouchEvent::TouchPoint>());
void delete_QTouchEvent(QTouchEvent* obj) { delete obj; }
QTouchEvent::DeviceType deviceType(QTouchEvent* theWrappedObject) const;
void setDeviceType(QTouchEvent* theWrappedObject, QTouchEvent::DeviceType adeviceType);
void setTouchPointStates(QTouchEvent* theWrappedObject, Qt::TouchPointStates aTouchPointStates);
void setTouchPoints(QTouchEvent* theWrappedObject, const QList<QTouchEvent::TouchPoint >& atouchPoints);
void setWidget(QTouchEvent* theWrappedObject, QWidget* awidget);
Qt::TouchPointStates touchPointStates(QTouchEvent* theWrappedObject) const;
const QList<QTouchEvent::TouchPoint >* touchPoints(QTouchEvent* theWrappedObject) const;
QWidget* widget(QTouchEvent* theWrappedObject) const;
};
class PythonQtWrapper_QTouchEvent_TouchPoint : public QObject
{ Q_OBJECT
public:
public slots:
QTouchEvent::TouchPoint* new_QTouchEvent_TouchPoint(const QTouchEvent::TouchPoint& other);
QTouchEvent::TouchPoint* new_QTouchEvent_TouchPoint(int id = -1);
void delete_QTouchEvent_TouchPoint(QTouchEvent::TouchPoint* obj) { delete obj; }
int id(QTouchEvent::TouchPoint* theWrappedObject) const;
bool isPrimary(QTouchEvent::TouchPoint* theWrappedObject) const;
QPointF lastNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject) const;
QPointF lastPos(QTouchEvent::TouchPoint* theWrappedObject) const;
QPointF lastScenePos(QTouchEvent::TouchPoint* theWrappedObject) const;
QPointF lastScreenPos(QTouchEvent::TouchPoint* theWrappedObject) const;
QPointF normalizedPos(QTouchEvent::TouchPoint* theWrappedObject) const;
QTouchEvent::TouchPoint* operator_assign(QTouchEvent::TouchPoint* theWrappedObject, const QTouchEvent::TouchPoint& other);
QPointF pos(QTouchEvent::TouchPoint* theWrappedObject) const;
qreal pressure(QTouchEvent::TouchPoint* theWrappedObject) const;
QRectF rect(QTouchEvent::TouchPoint* theWrappedObject) const;
QPointF scenePos(QTouchEvent::TouchPoint* theWrappedObject) const;
QRectF sceneRect(QTouchEvent::TouchPoint* theWrappedObject) const;
QPointF screenPos(QTouchEvent::TouchPoint* theWrappedObject) const;
QRectF screenRect(QTouchEvent::TouchPoint* theWrappedObject) const;
void setId(QTouchEvent::TouchPoint* theWrappedObject, int id);
void setLastNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastNormalizedPos);
void setLastPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastPos);
void setLastScenePos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastScenePos);
void setLastScreenPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastScreenPos);
void setNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& normalizedPos);
void setPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& pos);
void setPressure(QTouchEvent::TouchPoint* theWrappedObject, qreal pressure);
void setRect(QTouchEvent::TouchPoint* theWrappedObject, const QRectF& rect);
void setScenePos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& scenePos);
void setSceneRect(QTouchEvent::TouchPoint* theWrappedObject, const QRectF& sceneRect);
void setScreenPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& screenPos);
void setScreenRect(QTouchEvent::TouchPoint* theWrappedObject, const QRectF& screenRect);
void setStartNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startNormalizedPos);
void setStartPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startPos);
void setStartScenePos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startScenePos);
void setStartScreenPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startScreenPos);
void setState(QTouchEvent::TouchPoint* theWrappedObject, Qt::TouchPointStates state);
QPointF startNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject) const;
QPointF startPos(QTouchEvent::TouchPoint* theWrappedObject) const;
QPointF startScenePos(QTouchEvent::TouchPoint* theWrappedObject) const;
QPointF startScreenPos(QTouchEvent::TouchPoint* theWrappedObject) const;
Qt::TouchPointState state(QTouchEvent::TouchPoint* theWrappedObject) const;
};
class PythonQtWrapper_QTransform : public QObject
{ Q_OBJECT
public:
Q_ENUMS(TransformationType )
enum TransformationType{
TxNone = QTransform::TxNone, TxTranslate = QTransform::TxTranslate, TxScale = QTransform::TxScale, TxRotate = QTransform::TxRotate, TxShear = QTransform::TxShear, TxProject = QTransform::TxProject};
public slots:
QTransform* new_QTransform();
QTransform* new_QTransform(const QMatrix& mtx);
QTransform* new_QTransform(qreal h11, qreal h12, qreal h13, qreal h21, qreal h22, qreal h23, qreal h31, qreal h32, qreal h33 = 1.0);
QTransform* new_QTransform(qreal h11, qreal h12, qreal h21, qreal h22, qreal dx, qreal dy);
QTransform* new_QTransform(const QTransform& other) {
QTransform* a = new QTransform();
*((QTransform*)a) = other;
return a; }
void delete_QTransform(QTransform* obj) { delete obj; }
QTransform adjoint(QTransform* theWrappedObject) const;
qreal det(QTransform* theWrappedObject) const;
qreal determinant(QTransform* theWrappedObject) const;
qreal dx(QTransform* theWrappedObject) const;
qreal dy(QTransform* theWrappedObject) const;
QTransform static_QTransform_fromScale(qreal dx, qreal dy);
QTransform static_QTransform_fromTranslate(qreal dx, qreal dy);
QTransform inverted(QTransform* theWrappedObject, bool* invertible = 0) const;
bool isAffine(QTransform* theWrappedObject) const;
bool isIdentity(QTransform* theWrappedObject) const;
bool isInvertible(QTransform* theWrappedObject) const;
bool isRotating(QTransform* theWrappedObject) const;
bool isScaling(QTransform* theWrappedObject) const;
bool isTranslating(QTransform* theWrappedObject) const;
qreal m11(QTransform* theWrappedObject) const;
qreal m12(QTransform* theWrappedObject) const;
qreal m13(QTransform* theWrappedObject) const;
qreal m21(QTransform* theWrappedObject) const;
qreal m22(QTransform* theWrappedObject) const;
qreal m23(QTransform* theWrappedObject) const;
qreal m31(QTransform* theWrappedObject) const;
qreal m32(QTransform* theWrappedObject) const;
qreal m33(QTransform* theWrappedObject) const;
QLine map(QTransform* theWrappedObject, const QLine& l) const;
QLineF map(QTransform* theWrappedObject, const QLineF& l) const;
QPainterPath map(QTransform* theWrappedObject, const QPainterPath& p) const;
QPoint map(QTransform* theWrappedObject, const QPoint& p) const;
QPointF map(QTransform* theWrappedObject, const QPointF& p) const;
QPolygon map(QTransform* theWrappedObject, const QPolygon& a) const;
QPolygonF map(QTransform* theWrappedObject, const QPolygonF& a) const;
QRegion map(QTransform* theWrappedObject, const QRegion& r) const;
void map(QTransform* theWrappedObject, qreal x, qreal y, qreal* tx, qreal* ty) const;
QRect mapRect(QTransform* theWrappedObject, const QRect& arg__1) const;
QRectF mapRect(QTransform* theWrappedObject, const QRectF& arg__1) const;
QPolygon mapToPolygon(QTransform* theWrappedObject, const QRect& r) const;
bool __ne__(QTransform* theWrappedObject, const QTransform& arg__1) const;
QTransform multiplied(QTransform* theWrappedObject, const QTransform& o) const;
QTransform __mul__(QTransform* theWrappedObject, qreal n);
QTransform* __imul__(QTransform* theWrappedObject, const QTransform& arg__1);
QTransform* __imul__(QTransform* theWrappedObject, qreal div);
QTransform __add__(QTransform* theWrappedObject, qreal n);
QTransform* __iadd__(QTransform* theWrappedObject, qreal div);
QTransform __sub__(QTransform* theWrappedObject, qreal n);
QTransform* __isub__(QTransform* theWrappedObject, qreal div);
QTransform __div__(QTransform* theWrappedObject, qreal n);
QTransform* __idiv__(QTransform* theWrappedObject, qreal div);
void writeTo(QTransform* theWrappedObject, QDataStream& arg__1);
bool __eq__(QTransform* theWrappedObject, const QTransform& arg__1) const;
void readFrom(QTransform* theWrappedObject, QDataStream& arg__1);
bool static_QTransform_quadToQuad(const QPolygonF& one, const QPolygonF& two, QTransform& result);
bool static_QTransform_quadToSquare(const QPolygonF& quad, QTransform& result);
void reset(QTransform* theWrappedObject);
QTransform* rotate(QTransform* theWrappedObject, qreal a, Qt::Axis axis = Qt::ZAxis);
QTransform* rotateRadians(QTransform* theWrappedObject, qreal a, Qt::Axis axis = Qt::ZAxis);
QTransform* scale(QTransform* theWrappedObject, qreal sx, qreal sy);
void setMatrix(QTransform* theWrappedObject, qreal m11, qreal m12, qreal m13, qreal m21, qreal m22, qreal m23, qreal m31, qreal m32, qreal m33);
QTransform* shear(QTransform* theWrappedObject, qreal sh, qreal sv);
bool static_QTransform_squareToQuad(const QPolygonF& square, QTransform& result);
const QMatrix* toAffine(QTransform* theWrappedObject) const;
QTransform* translate(QTransform* theWrappedObject, qreal dx, qreal dy);
QTransform transposed(QTransform* theWrappedObject) const;
QTransform::TransformationType type(QTransform* theWrappedObject) const;
QString py_toString(QTransform*);
};
class PythonQtShell_QTreeView : public QTreeView
{
public:
PythonQtShell_QTreeView(QWidget* parent = 0):QTreeView(parent),_wrapper(NULL) {};
~PythonQtShell_QTreeView();
virtual void actionEvent(QActionEvent* arg__1);
virtual void changeEvent(QEvent* arg__1);
virtual void childEvent(QChildEvent* arg__1);
virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint);
virtual void closeEvent(QCloseEvent* arg__1);
virtual void commitData(QWidget* editor);
virtual void contextMenuEvent(QContextMenuEvent* arg__1);
virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous);
virtual void customEvent(QEvent* arg__1);
virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight);
virtual int devType() const;
virtual void doItemsLayout();
virtual void dragEnterEvent(QDragEnterEvent* event);
virtual void dragLeaveEvent(QDragLeaveEvent* event);
virtual void dragMoveEvent(QDragMoveEvent* event);
virtual void drawBranches(QPainter* painter, const QRect& rect, const QModelIndex& index) const;
virtual void drawRow(QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const;
virtual void dropEvent(QDropEvent* event);
virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event);
virtual void editorDestroyed(QObject* editor);
virtual void enterEvent(QEvent* arg__1);
virtual bool event(QEvent* event);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual void focusInEvent(QFocusEvent* event);
virtual bool focusNextPrevChild(bool next);
virtual void focusOutEvent(QFocusEvent* event);
virtual int heightForWidth(int arg__1) const;
virtual void hideEvent(QHideEvent* arg__1);
virtual int horizontalOffset() const;
virtual void horizontalScrollbarAction(int action);
virtual void horizontalScrollbarValueChanged(int value);
virtual QModelIndex indexAt(const QPoint& p) const;
virtual void inputMethodEvent(QInputMethodEvent* event);
virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const;
virtual bool isIndexHidden(const QModelIndex& index) const;
virtual void keyPressEvent(QKeyEvent* event);
virtual void keyReleaseEvent(QKeyEvent* arg__1);
virtual void keyboardSearch(const QString& search);
virtual void languageChange();
virtual void leaveEvent(QEvent* arg__1);
virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
virtual void mouseDoubleClickEvent(QMouseEvent* event);
virtual void mouseMoveEvent(QMouseEvent* event);
virtual void mousePressEvent(QMouseEvent* event);
virtual void mouseReleaseEvent(QMouseEvent* event);
virtual void moveEvent(QMoveEvent* arg__1);
virtual QPaintEngine* paintEngine() const;
virtual void paintEvent(QPaintEvent* event);
virtual void reset();
virtual void resizeEvent(QResizeEvent* event);
virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end);
virtual void rowsInserted(const QModelIndex& parent, int start, int end);
virtual void scrollContentsBy(int dx, int dy);
virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible);
virtual void selectAll();
virtual QList<QModelIndex > selectedIndexes() const;
virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected);
virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event) const;
virtual void setModel(QAbstractItemModel* model);
virtual void setRootIndex(const QModelIndex& index);
virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command);
virtual void setSelectionModel(QItemSelectionModel* selectionModel);
virtual void showEvent(QShowEvent* arg__1);
virtual int sizeHintForColumn(int column) const;
virtual int sizeHintForRow(int row) const;
virtual void startDrag(Qt::DropActions supportedActions);
virtual void tabletEvent(QTabletEvent* arg__1);
virtual void timerEvent(QTimerEvent* event);
virtual void updateEditorData();
virtual void updateEditorGeometries();
virtual void updateGeometries();
virtual int verticalOffset() const;
virtual void verticalScrollbarAction(int action);
virtual void verticalScrollbarValueChanged(int value);
virtual QStyleOptionViewItem viewOptions() const;
virtual bool viewportEvent(QEvent* event);
virtual QRect visualRect(const QModelIndex& index) const;
virtual QRegion visualRegionForSelection(const QItemSelection& selection) const;
virtual void wheelEvent(QWheelEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QTreeView : public QTreeView
{ public:
inline void promoted_currentChanged(const QModelIndex& current, const QModelIndex& previous) { QTreeView::currentChanged(current, previous); }
inline void promoted_dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight) { QTreeView::dataChanged(topLeft, bottomRight); }
inline void promoted_doItemsLayout() { QTreeView::doItemsLayout(); }
inline void promoted_dragMoveEvent(QDragMoveEvent* event) { QTreeView::dragMoveEvent(event); }
inline void promoted_drawBranches(QPainter* painter, const QRect& rect, const QModelIndex& index) const { QTreeView::drawBranches(painter, rect, index); }
inline void promoted_drawRow(QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const { QTreeView::drawRow(painter, options, index); }
inline int promoted_horizontalOffset() const { return QTreeView::horizontalOffset(); }
inline void promoted_horizontalScrollbarAction(int action) { QTreeView::horizontalScrollbarAction(action); }
inline QModelIndex promoted_indexAt(const QPoint& p) const { return QTreeView::indexAt(p); }
inline bool promoted_isIndexHidden(const QModelIndex& index) const { return QTreeView::isIndexHidden(index); }
inline void promoted_keyPressEvent(QKeyEvent* event) { QTreeView::keyPressEvent(event); }
inline void promoted_keyboardSearch(const QString& search) { QTreeView::keyboardSearch(search); }
inline void promoted_mouseDoubleClickEvent(QMouseEvent* event) { QTreeView::mouseDoubleClickEvent(event); }
inline void promoted_mouseMoveEvent(QMouseEvent* event) { QTreeView::mouseMoveEvent(event); }
inline void promoted_mousePressEvent(QMouseEvent* event) { QTreeView::mousePressEvent(event); }
inline void promoted_mouseReleaseEvent(QMouseEvent* event) { QTreeView::mouseReleaseEvent(event); }
inline void promoted_paintEvent(QPaintEvent* event) { QTreeView::paintEvent(event); }
inline void promoted_reset() { QTreeView::reset(); }
inline void promoted_rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) { QTreeView::rowsAboutToBeRemoved(parent, start, end); }
inline void promoted_rowsInserted(const QModelIndex& parent, int start, int end) { QTreeView::rowsInserted(parent, start, end); }
inline void promoted_scrollContentsBy(int dx, int dy) { QTreeView::scrollContentsBy(dx, dy); }
inline void promoted_scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) { QTreeView::scrollTo(index, hint); }
inline void promoted_selectAll() { QTreeView::selectAll(); }
inline QList<QModelIndex > promoted_selectedIndexes() const { return QTreeView::selectedIndexes(); }
inline void promoted_selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) { QTreeView::selectionChanged(selected, deselected); }
inline void promoted_setModel(QAbstractItemModel* model) { QTreeView::setModel(model); }
inline void promoted_setRootIndex(const QModelIndex& index) { QTreeView::setRootIndex(index); }
inline void promoted_setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) { QTreeView::setSelection(rect, command); }
inline void promoted_setSelectionModel(QItemSelectionModel* selectionModel) { QTreeView::setSelectionModel(selectionModel); }
inline int promoted_sizeHintForColumn(int column) const { return QTreeView::sizeHintForColumn(column); }
inline void promoted_timerEvent(QTimerEvent* event) { QTreeView::timerEvent(event); }
inline void promoted_updateGeometries() { QTreeView::updateGeometries(); }
inline int promoted_verticalOffset() const { return QTreeView::verticalOffset(); }
inline bool promoted_viewportEvent(QEvent* event) { return QTreeView::viewportEvent(event); }
inline QRect promoted_visualRect(const QModelIndex& index) const { return QTreeView::visualRect(index); }
inline QRegion promoted_visualRegionForSelection(const QItemSelection& selection) const { return QTreeView::visualRegionForSelection(selection); }
};
class PythonQtWrapper_QTreeView : public QObject
{ Q_OBJECT
public:
public slots:
QTreeView* new_QTreeView(QWidget* parent = 0);
void delete_QTreeView(QTreeView* obj) { delete obj; }
bool allColumnsShowFocus(QTreeView* theWrappedObject) const;
int autoExpandDelay(QTreeView* theWrappedObject) const;
int columnAt(QTreeView* theWrappedObject, int x) const;
int columnViewportPosition(QTreeView* theWrappedObject, int column) const;
int columnWidth(QTreeView* theWrappedObject, int column) const;
void currentChanged(QTreeView* theWrappedObject, const QModelIndex& current, const QModelIndex& previous);
void dataChanged(QTreeView* theWrappedObject, const QModelIndex& topLeft, const QModelIndex& bottomRight);
void doItemsLayout(QTreeView* theWrappedObject);
void dragMoveEvent(QTreeView* theWrappedObject, QDragMoveEvent* event);
void drawBranches(QTreeView* theWrappedObject, QPainter* painter, const QRect& rect, const QModelIndex& index) const;
void drawRow(QTreeView* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const;
bool expandsOnDoubleClick(QTreeView* theWrappedObject) const;
QHeaderView* header(QTreeView* theWrappedObject) const;
int horizontalOffset(QTreeView* theWrappedObject) const;
void horizontalScrollbarAction(QTreeView* theWrappedObject, int action);
int indentation(QTreeView* theWrappedObject) const;
QModelIndex indexAbove(QTreeView* theWrappedObject, const QModelIndex& index) const;
QModelIndex indexAt(QTreeView* theWrappedObject, const QPoint& p) const;
QModelIndex indexBelow(QTreeView* theWrappedObject, const QModelIndex& index) const;
bool isAnimated(QTreeView* theWrappedObject) const;
bool isColumnHidden(QTreeView* theWrappedObject, int column) const;
bool isExpanded(QTreeView* theWrappedObject, const QModelIndex& index) const;
bool isFirstColumnSpanned(QTreeView* theWrappedObject, int row, const QModelIndex& parent) const;
bool isHeaderHidden(QTreeView* theWrappedObject) const;
bool isIndexHidden(QTreeView* theWrappedObject, const QModelIndex& index) const;
bool isRowHidden(QTreeView* theWrappedObject, int row, const QModelIndex& parent) const;
bool isSortingEnabled(QTreeView* theWrappedObject) const;
bool itemsExpandable(QTreeView* theWrappedObject) const;
void keyPressEvent(QTreeView* theWrappedObject, QKeyEvent* event);
void keyboardSearch(QTreeView* theWrappedObject, const QString& search);
void mouseDoubleClickEvent(QTreeView* theWrappedObject, QMouseEvent* event);
void mouseMoveEvent(QTreeView* theWrappedObject, QMouseEvent* event);
void mousePressEvent(QTreeView* theWrappedObject, QMouseEvent* event);
void mouseReleaseEvent(QTreeView* theWrappedObject, QMouseEvent* event);
void paintEvent(QTreeView* theWrappedObject, QPaintEvent* event);
void reset(QTreeView* theWrappedObject);
bool rootIsDecorated(QTreeView* theWrappedObject) const;
void rowsAboutToBeRemoved(QTreeView* theWrappedObject, const QModelIndex& parent, int start, int end);
void rowsInserted(QTreeView* theWrappedObject, const QModelIndex& parent, int start, int end);
void scrollContentsBy(QTreeView* theWrappedObject, int dx, int dy);
void scrollTo(QTreeView* theWrappedObject, const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible);
void selectAll(QTreeView* theWrappedObject);
QList<QModelIndex > selectedIndexes(QTreeView* theWrappedObject) const;
void selectionChanged(QTreeView* theWrappedObject, const QItemSelection& selected, const QItemSelection& deselected);
void setAllColumnsShowFocus(QTreeView* theWrappedObject, bool enable);
void setAnimated(QTreeView* theWrappedObject, bool enable);
void setAutoExpandDelay(QTreeView* theWrappedObject, int delay);
void setColumnHidden(QTreeView* theWrappedObject, int column, bool hide);
void setColumnWidth(QTreeView* theWrappedObject, int column, int width);
void setExpanded(QTreeView* theWrappedObject, const QModelIndex& index, bool expand);
void setExpandsOnDoubleClick(QTreeView* theWrappedObject, bool enable);
void setFirstColumnSpanned(QTreeView* theWrappedObject, int row, const QModelIndex& parent, bool span);
void setHeader(QTreeView* theWrappedObject, QHeaderView* header);
void setHeaderHidden(QTreeView* theWrappedObject, bool hide);
void setIndentation(QTreeView* theWrappedObject, int i);
void setItemsExpandable(QTreeView* theWrappedObject, bool enable);
void setModel(QTreeView* theWrappedObject, QAbstractItemModel* model);
void setRootIndex(QTreeView* theWrappedObject, const QModelIndex& index);
void setRootIsDecorated(QTreeView* theWrappedObject, bool show);
void setRowHidden(QTreeView* theWrappedObject, int row, const QModelIndex& parent, bool hide);
void setSelection(QTreeView* theWrappedObject, const QRect& rect, QItemSelectionModel::SelectionFlags command);
void setSelectionModel(QTreeView* theWrappedObject, QItemSelectionModel* selectionModel);
void setSortingEnabled(QTreeView* theWrappedObject, bool enable);
void setUniformRowHeights(QTreeView* theWrappedObject, bool uniform);
void setWordWrap(QTreeView* theWrappedObject, bool on);
int sizeHintForColumn(QTreeView* theWrappedObject, int column) const;
void sortByColumn(QTreeView* theWrappedObject, int column, Qt::SortOrder order);
void timerEvent(QTreeView* theWrappedObject, QTimerEvent* event);
bool uniformRowHeights(QTreeView* theWrappedObject) const;
void updateGeometries(QTreeView* theWrappedObject);
int verticalOffset(QTreeView* theWrappedObject) const;
bool viewportEvent(QTreeView* theWrappedObject, QEvent* event);
QRect visualRect(QTreeView* theWrappedObject, const QModelIndex& index) const;
QRegion visualRegionForSelection(QTreeView* theWrappedObject, const QItemSelection& selection) const;
bool wordWrap(QTreeView* theWrappedObject) const;
};
class PythonQtShell_QTreeWidget : public QTreeWidget
{
public:
PythonQtShell_QTreeWidget(QWidget* parent = 0):QTreeWidget(parent),_wrapper(NULL) {};
~PythonQtShell_QTreeWidget();
virtual void actionEvent(QActionEvent* arg__1);
virtual void changeEvent(QEvent* arg__1);
virtual void childEvent(QChildEvent* arg__1);
virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint);
virtual void closeEvent(QCloseEvent* arg__1);
virtual void commitData(QWidget* editor);
virtual void contextMenuEvent(QContextMenuEvent* arg__1);
virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous);
virtual void customEvent(QEvent* arg__1);
virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight);
virtual int devType() const;
virtual void doItemsLayout();
virtual void dragEnterEvent(QDragEnterEvent* event);
virtual void dragLeaveEvent(QDragLeaveEvent* event);
virtual void dragMoveEvent(QDragMoveEvent* event);
virtual void drawBranches(QPainter* painter, const QRect& rect, const QModelIndex& index) const;
virtual void drawRow(QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const;
virtual void dropEvent(QDropEvent* event);
virtual bool dropMimeData(QTreeWidgetItem* parent, int index, const QMimeData* data, Qt::DropAction action);
virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event);
virtual void editorDestroyed(QObject* editor);
virtual void enterEvent(QEvent* arg__1);
virtual bool event(QEvent* e);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual void focusInEvent(QFocusEvent* event);
virtual bool focusNextPrevChild(bool next);
virtual void focusOutEvent(QFocusEvent* event);
virtual int heightForWidth(int arg__1) const;
virtual void hideEvent(QHideEvent* arg__1);
virtual int horizontalOffset() const;
virtual void horizontalScrollbarAction(int action);
virtual void horizontalScrollbarValueChanged(int value);
virtual QModelIndex indexAt(const QPoint& p) const;
virtual void inputMethodEvent(QInputMethodEvent* event);
virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const;
virtual bool isIndexHidden(const QModelIndex& index) const;
virtual void keyPressEvent(QKeyEvent* event);
virtual void keyReleaseEvent(QKeyEvent* arg__1);
virtual void keyboardSearch(const QString& search);
virtual void languageChange();
virtual void leaveEvent(QEvent* arg__1);
virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
virtual QMimeData* mimeData(const QList<QTreeWidgetItem* > items) const;
virtual QStringList mimeTypes() const;
virtual void mouseDoubleClickEvent(QMouseEvent* event);
virtual void mouseMoveEvent(QMouseEvent* event);
virtual void mousePressEvent(QMouseEvent* event);
virtual void mouseReleaseEvent(QMouseEvent* event);
virtual void moveEvent(QMoveEvent* arg__1);
virtual QPaintEngine* paintEngine() const;
virtual void paintEvent(QPaintEvent* event);
virtual void reset();
virtual void resizeEvent(QResizeEvent* event);
virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end);
virtual void rowsInserted(const QModelIndex& parent, int start, int end);
virtual void scrollContentsBy(int dx, int dy);
virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint);
virtual void selectAll();
virtual QList<QModelIndex > selectedIndexes() const;
virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected);
virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event) const;
virtual void setRootIndex(const QModelIndex& index);
virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command);
virtual void setSelectionModel(QItemSelectionModel* selectionModel);
virtual void showEvent(QShowEvent* arg__1);
virtual int sizeHintForColumn(int column) const;
virtual int sizeHintForRow(int row) const;
virtual void startDrag(Qt::DropActions supportedActions);
virtual Qt::DropActions supportedDropActions() const;
virtual void tabletEvent(QTabletEvent* arg__1);
virtual void timerEvent(QTimerEvent* event);
virtual void updateEditorData();
virtual void updateEditorGeometries();
virtual void updateGeometries();
virtual int verticalOffset() const;
virtual void verticalScrollbarAction(int action);
virtual void verticalScrollbarValueChanged(int value);
virtual QStyleOptionViewItem viewOptions() const;
virtual bool viewportEvent(QEvent* event);
virtual QRect visualRect(const QModelIndex& index) const;
virtual QRegion visualRegionForSelection(const QItemSelection& selection) const;
virtual void wheelEvent(QWheelEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QTreeWidget : public QTreeWidget
{ public:
inline void promoted_dropEvent(QDropEvent* event) { QTreeWidget::dropEvent(event); }
inline bool promoted_dropMimeData(QTreeWidgetItem* parent, int index, const QMimeData* data, Qt::DropAction action) { return QTreeWidget::dropMimeData(parent, index, data, action); }
inline bool promoted_event(QEvent* e) { return QTreeWidget::event(e); }
inline QStringList promoted_mimeTypes() const { return QTreeWidget::mimeTypes(); }
inline void promoted_setSelectionModel(QItemSelectionModel* selectionModel) { QTreeWidget::setSelectionModel(selectionModel); }
inline Qt::DropActions promoted_supportedDropActions() const { return QTreeWidget::supportedDropActions(); }
};
class PythonQtWrapper_QTreeWidget : public QObject
{ Q_OBJECT
public:
public slots:
QTreeWidget* new_QTreeWidget(QWidget* parent = 0);
void delete_QTreeWidget(QTreeWidget* obj) { delete obj; }
void addTopLevelItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item);
void addTopLevelItems(QTreeWidget* theWrappedObject, const QList<QTreeWidgetItem* >& items);
void closePersistentEditor(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column = 0);
int columnCount(QTreeWidget* theWrappedObject) const;
int currentColumn(QTreeWidget* theWrappedObject) const;
QTreeWidgetItem* currentItem(QTreeWidget* theWrappedObject) const;
void dropEvent(QTreeWidget* theWrappedObject, QDropEvent* event);
bool dropMimeData(QTreeWidget* theWrappedObject, QTreeWidgetItem* parent, int index, const QMimeData* data, Qt::DropAction action);
void editItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column = 0);
bool event(QTreeWidget* theWrappedObject, QEvent* e);
QList<QTreeWidgetItem* > findItems(QTreeWidget* theWrappedObject, const QString& text, Qt::MatchFlags flags, int column = 0) const;
QTreeWidgetItem* headerItem(QTreeWidget* theWrappedObject) const;
int indexOfTopLevelItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item) const;
void insertTopLevelItem(QTreeWidget* theWrappedObject, int index, QTreeWidgetItem* item);
void insertTopLevelItems(QTreeWidget* theWrappedObject, int index, const QList<QTreeWidgetItem* >& items);
QTreeWidgetItem* invisibleRootItem(QTreeWidget* theWrappedObject) const;
bool isFirstItemColumnSpanned(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const;
QTreeWidgetItem* itemAbove(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const;
QTreeWidgetItem* itemAt(QTreeWidget* theWrappedObject, const QPoint& p) const;
QTreeWidgetItem* itemAt(QTreeWidget* theWrappedObject, int x, int y) const;
QTreeWidgetItem* itemBelow(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const;
QWidget* itemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) const;
QStringList mimeTypes(QTreeWidget* theWrappedObject) const;
void openPersistentEditor(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column = 0);
void removeItemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column);
QList<QTreeWidgetItem* > selectedItems(QTreeWidget* theWrappedObject) const;
void setColumnCount(QTreeWidget* theWrappedObject, int columns);
void setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item);
void setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column);
void setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column, QItemSelectionModel::SelectionFlags command);
void setFirstItemColumnSpanned(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item, bool span);
void setHeaderItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item);
void setHeaderLabel(QTreeWidget* theWrappedObject, const QString& label);
void setHeaderLabels(QTreeWidget* theWrappedObject, const QStringList& labels);
void setItemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column, QWidget* widget);
void setSelectionModel(QTreeWidget* theWrappedObject, QItemSelectionModel* selectionModel);
int sortColumn(QTreeWidget* theWrappedObject) const;
void sortItems(QTreeWidget* theWrappedObject, int column, Qt::SortOrder order);
Qt::DropActions supportedDropActions(QTreeWidget* theWrappedObject) const;
QTreeWidgetItem* takeTopLevelItem(QTreeWidget* theWrappedObject, int index);
QTreeWidgetItem* topLevelItem(QTreeWidget* theWrappedObject, int index) const;
int topLevelItemCount(QTreeWidget* theWrappedObject) const;
QRect visualItemRect(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const;
};
class PythonQtShell_QTreeWidgetItem : public QTreeWidgetItem
{
public:
PythonQtShell_QTreeWidgetItem(QTreeWidget* view, QTreeWidgetItem* after, int type = Type):QTreeWidgetItem(view, after, type),_wrapper(NULL) {};
PythonQtShell_QTreeWidgetItem(QTreeWidget* view, const QStringList& strings, int type = Type):QTreeWidgetItem(view, strings, type),_wrapper(NULL) {};
PythonQtShell_QTreeWidgetItem(QTreeWidget* view, int type = Type):QTreeWidgetItem(view, type),_wrapper(NULL) {};
PythonQtShell_QTreeWidgetItem(QTreeWidgetItem* parent, QTreeWidgetItem* after, int type = Type):QTreeWidgetItem(parent, after, type),_wrapper(NULL) {};
PythonQtShell_QTreeWidgetItem(QTreeWidgetItem* parent, const QStringList& strings, int type = Type):QTreeWidgetItem(parent, strings, type),_wrapper(NULL) {};
PythonQtShell_QTreeWidgetItem(QTreeWidgetItem* parent, int type = Type):QTreeWidgetItem(parent, type),_wrapper(NULL) {};
PythonQtShell_QTreeWidgetItem(const QStringList& strings, int type = Type):QTreeWidgetItem(strings, type),_wrapper(NULL) {};
PythonQtShell_QTreeWidgetItem(int type = Type):QTreeWidgetItem(type),_wrapper(NULL) {};
~PythonQtShell_QTreeWidgetItem();
virtual QTreeWidgetItem* clone() const;
virtual QVariant data(int column, int role) const;
virtual bool __lt__(const QTreeWidgetItem& other) const;
virtual void read(QDataStream& in);
virtual void setData(int column, int role, const QVariant& value);
virtual void write(QDataStream& out) const;
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QTreeWidgetItem : public QTreeWidgetItem
{ public:
inline QTreeWidgetItem* promoted_clone() const { return QTreeWidgetItem::clone(); }
inline QVariant promoted_data(int column, int role) const { return QTreeWidgetItem::data(column, role); }
inline void promoted_setData(int column, int role, const QVariant& value) { QTreeWidgetItem::setData(column, role, value); }
};
class PythonQtWrapper_QTreeWidgetItem : public QObject
{ Q_OBJECT
public:
Q_ENUMS(ItemType ChildIndicatorPolicy )
enum ItemType{
Type = QTreeWidgetItem::Type, UserType = QTreeWidgetItem::UserType};
enum ChildIndicatorPolicy{
ShowIndicator = QTreeWidgetItem::ShowIndicator, DontShowIndicator = QTreeWidgetItem::DontShowIndicator, DontShowIndicatorWhenChildless = QTreeWidgetItem::DontShowIndicatorWhenChildless};
public slots:
QTreeWidgetItem* new_QTreeWidgetItem(QTreeWidget* view, QTreeWidgetItem* after, int type = Type);
QTreeWidgetItem* new_QTreeWidgetItem(QTreeWidget* view, const QStringList& strings, int type = Type);
QTreeWidgetItem* new_QTreeWidgetItem(QTreeWidget* view, int type = Type);
QTreeWidgetItem* new_QTreeWidgetItem(QTreeWidgetItem* parent, QTreeWidgetItem* after, int type = Type);
QTreeWidgetItem* new_QTreeWidgetItem(QTreeWidgetItem* parent, const QStringList& strings, int type = Type);
QTreeWidgetItem* new_QTreeWidgetItem(QTreeWidgetItem* parent, int type = Type);
QTreeWidgetItem* new_QTreeWidgetItem(const QStringList& strings, int type = Type);
QTreeWidgetItem* new_QTreeWidgetItem(int type = Type);
void delete_QTreeWidgetItem(QTreeWidgetItem* obj) { delete obj; }
bool py_hasOwner(QTreeWidgetItem* theWrappedObject) { return theWrappedObject->treeWidget()!=NULL || theWrappedObject->parent()!=NULL; }
void addChild(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem* child);
void addChildren(QTreeWidgetItem* theWrappedObject, const QList<QTreeWidgetItem* >& children);
QBrush background(QTreeWidgetItem* theWrappedObject, int column) const;
Qt::CheckState checkState(QTreeWidgetItem* theWrappedObject, int column) const;
QTreeWidgetItem* child(QTreeWidgetItem* theWrappedObject, int index) const;
int childCount(QTreeWidgetItem* theWrappedObject) const;
QTreeWidgetItem::ChildIndicatorPolicy childIndicatorPolicy(QTreeWidgetItem* theWrappedObject) const;
QTreeWidgetItem* clone(QTreeWidgetItem* theWrappedObject) const;
int columnCount(QTreeWidgetItem* theWrappedObject) const;
QVariant data(QTreeWidgetItem* theWrappedObject, int column, int role) const;
Qt::ItemFlags flags(QTreeWidgetItem* theWrappedObject) const;
QFont font(QTreeWidgetItem* theWrappedObject, int column) const;
QBrush foreground(QTreeWidgetItem* theWrappedObject, int column) const;
QIcon icon(QTreeWidgetItem* theWrappedObject, int column) const;
int indexOfChild(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem* child) const;
void insertChild(QTreeWidgetItem* theWrappedObject, int index, QTreeWidgetItem* child);
void insertChildren(QTreeWidgetItem* theWrappedObject, int index, const QList<QTreeWidgetItem* >& children);
bool isDisabled(QTreeWidgetItem* theWrappedObject) const;
bool isExpanded(QTreeWidgetItem* theWrappedObject) const;
bool isFirstColumnSpanned(QTreeWidgetItem* theWrappedObject) const;
bool isHidden(QTreeWidgetItem* theWrappedObject) const;
bool isSelected(QTreeWidgetItem* theWrappedObject) const;
void writeTo(QTreeWidgetItem* theWrappedObject, QDataStream& out);
void readFrom(QTreeWidgetItem* theWrappedObject, QDataStream& in);
QTreeWidgetItem* parent(QTreeWidgetItem* theWrappedObject) const;
void removeChild(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem* child);
void setBackground(QTreeWidgetItem* theWrappedObject, int column, const QBrush& brush);
void setCheckState(QTreeWidgetItem* theWrappedObject, int column, Qt::CheckState state);
void setChildIndicatorPolicy(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem::ChildIndicatorPolicy policy);
void setData(QTreeWidgetItem* theWrappedObject, int column, int role, const QVariant& value);
void setDisabled(QTreeWidgetItem* theWrappedObject, bool disabled);
void setExpanded(QTreeWidgetItem* theWrappedObject, bool expand);
void setFirstColumnSpanned(QTreeWidgetItem* theWrappedObject, bool span);
void setFlags(QTreeWidgetItem* theWrappedObject, Qt::ItemFlags flags);
void setFont(QTreeWidgetItem* theWrappedObject, int column, const QFont& font);
void setForeground(QTreeWidgetItem* theWrappedObject, int column, const QBrush& brush);
void setHidden(QTreeWidgetItem* theWrappedObject, bool hide);
void setIcon(QTreeWidgetItem* theWrappedObject, int column, const QIcon& icon);
void setSelected(QTreeWidgetItem* theWrappedObject, bool select);
void setSizeHint(QTreeWidgetItem* theWrappedObject, int column, const QSize& size);
void setStatusTip(QTreeWidgetItem* theWrappedObject, int column, const QString& statusTip);
void setText(QTreeWidgetItem* theWrappedObject, int column, const QString& text);
void setTextAlignment(QTreeWidgetItem* theWrappedObject, int column, int alignment);
void setToolTip(QTreeWidgetItem* theWrappedObject, int column, const QString& toolTip);
void setWhatsThis(QTreeWidgetItem* theWrappedObject, int column, const QString& whatsThis);
QSize sizeHint(QTreeWidgetItem* theWrappedObject, int column) const;
void sortChildren(QTreeWidgetItem* theWrappedObject, int column, Qt::SortOrder order);
QString statusTip(QTreeWidgetItem* theWrappedObject, int column) const;
QTreeWidgetItem* takeChild(QTreeWidgetItem* theWrappedObject, int index);
QList<QTreeWidgetItem* > takeChildren(QTreeWidgetItem* theWrappedObject);
QString text(QTreeWidgetItem* theWrappedObject, int column) const;
int textAlignment(QTreeWidgetItem* theWrappedObject, int column) const;
QString toolTip(QTreeWidgetItem* theWrappedObject, int column) const;
QTreeWidget* treeWidget(QTreeWidgetItem* theWrappedObject) const;
int type(QTreeWidgetItem* theWrappedObject) const;
QString whatsThis(QTreeWidgetItem* theWrappedObject, int column) const;
};
class PythonQtShell_QUndoCommand : public QUndoCommand
{
public:
PythonQtShell_QUndoCommand(QUndoCommand* parent = 0):QUndoCommand(parent),_wrapper(NULL) {};
PythonQtShell_QUndoCommand(const QString& text, QUndoCommand* parent = 0):QUndoCommand(text, parent),_wrapper(NULL) {};
~PythonQtShell_QUndoCommand();
virtual int id() const;
virtual bool mergeWith(const QUndoCommand* other);
virtual void redo();
virtual void undo();
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QUndoCommand : public QUndoCommand
{ public:
inline int promoted_id() const { return QUndoCommand::id(); }
inline bool promoted_mergeWith(const QUndoCommand* other) { return QUndoCommand::mergeWith(other); }
inline void promoted_redo() { QUndoCommand::redo(); }
inline void promoted_undo() { QUndoCommand::undo(); }
};
class PythonQtWrapper_QUndoCommand : public QObject
{ Q_OBJECT
public:
public slots:
QUndoCommand* new_QUndoCommand(QUndoCommand* parent = 0);
QUndoCommand* new_QUndoCommand(const QString& text, QUndoCommand* parent = 0);
void delete_QUndoCommand(QUndoCommand* obj) { delete obj; }
QString actionText(QUndoCommand* theWrappedObject) const;
const QUndoCommand* child(QUndoCommand* theWrappedObject, int index) const;
int childCount(QUndoCommand* theWrappedObject) const;
int id(QUndoCommand* theWrappedObject) const;
bool mergeWith(QUndoCommand* theWrappedObject, const QUndoCommand* other);
void redo(QUndoCommand* theWrappedObject);
void setText(QUndoCommand* theWrappedObject, const QString& text);
QString text(QUndoCommand* theWrappedObject) const;
void undo(QUndoCommand* theWrappedObject);
};
class PythonQtShell_QUndoGroup : public QUndoGroup
{
public:
PythonQtShell_QUndoGroup(QObject* parent = 0):QUndoGroup(parent),_wrapper(NULL) {};
~PythonQtShell_QUndoGroup();
virtual void childEvent(QChildEvent* arg__1);
virtual void customEvent(QEvent* arg__1);
virtual bool event(QEvent* arg__1);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual void timerEvent(QTimerEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtWrapper_QUndoGroup : public QObject
{ Q_OBJECT
public:
public slots:
QUndoGroup* new_QUndoGroup(QObject* parent = 0);
void delete_QUndoGroup(QUndoGroup* obj) { delete obj; }
QUndoStack* activeStack(QUndoGroup* theWrappedObject) const;
void addStack(QUndoGroup* theWrappedObject, QUndoStack* stack);
bool canRedo(QUndoGroup* theWrappedObject) const;
bool canUndo(QUndoGroup* theWrappedObject) const;
QAction* createRedoAction(QUndoGroup* theWrappedObject, QObject* parent, const QString& prefix = QString()) const;
QAction* createUndoAction(QUndoGroup* theWrappedObject, QObject* parent, const QString& prefix = QString()) const;
bool isClean(QUndoGroup* theWrappedObject) const;
QString redoText(QUndoGroup* theWrappedObject) const;
void removeStack(QUndoGroup* theWrappedObject, QUndoStack* stack);
QList<QUndoStack* > stacks(QUndoGroup* theWrappedObject) const;
QString undoText(QUndoGroup* theWrappedObject) const;
};
class PythonQtShell_QUndoStack : public QUndoStack
{
public:
PythonQtShell_QUndoStack(QObject* parent = 0):QUndoStack(parent),_wrapper(NULL) {};
~PythonQtShell_QUndoStack();
virtual void childEvent(QChildEvent* arg__1);
virtual void customEvent(QEvent* arg__1);
virtual bool event(QEvent* arg__1);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual void timerEvent(QTimerEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtWrapper_QUndoStack : public QObject
{ Q_OBJECT
public:
public slots:
QUndoStack* new_QUndoStack(QObject* parent = 0);
void delete_QUndoStack(QUndoStack* obj) { delete obj; }
void beginMacro(QUndoStack* theWrappedObject, const QString& text);
bool canRedo(QUndoStack* theWrappedObject) const;
bool canUndo(QUndoStack* theWrappedObject) const;
int cleanIndex(QUndoStack* theWrappedObject) const;
void clear(QUndoStack* theWrappedObject);
const QUndoCommand* command(QUndoStack* theWrappedObject, int index) const;
int count(QUndoStack* theWrappedObject) const;
QAction* createRedoAction(QUndoStack* theWrappedObject, QObject* parent, const QString& prefix = QString()) const;
QAction* createUndoAction(QUndoStack* theWrappedObject, QObject* parent, const QString& prefix = QString()) const;
void endMacro(QUndoStack* theWrappedObject);
int index(QUndoStack* theWrappedObject) const;
bool isActive(QUndoStack* theWrappedObject) const;
bool isClean(QUndoStack* theWrappedObject) const;
void push(QUndoStack* theWrappedObject, QUndoCommand* cmd);
QString redoText(QUndoStack* theWrappedObject) const;
void setUndoLimit(QUndoStack* theWrappedObject, int limit);
QString text(QUndoStack* theWrappedObject, int idx) const;
int undoLimit(QUndoStack* theWrappedObject) const;
QString undoText(QUndoStack* theWrappedObject) const;
};
class PythonQtShell_QUndoView : public QUndoView
{
public:
PythonQtShell_QUndoView(QUndoGroup* group, QWidget* parent = 0):QUndoView(group, parent),_wrapper(NULL) {};
PythonQtShell_QUndoView(QUndoStack* stack, QWidget* parent = 0):QUndoView(stack, parent),_wrapper(NULL) {};
PythonQtShell_QUndoView(QWidget* parent = 0):QUndoView(parent),_wrapper(NULL) {};
~PythonQtShell_QUndoView();
virtual void actionEvent(QActionEvent* arg__1);
virtual void changeEvent(QEvent* arg__1);
virtual void childEvent(QChildEvent* arg__1);
virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint);
virtual void closeEvent(QCloseEvent* arg__1);
virtual void commitData(QWidget* editor);
virtual void contextMenuEvent(QContextMenuEvent* arg__1);
virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous);
virtual void customEvent(QEvent* arg__1);
virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight);
virtual int devType() const;
virtual void doItemsLayout();
virtual void dragEnterEvent(QDragEnterEvent* event);
virtual void dragLeaveEvent(QDragLeaveEvent* e);
virtual void dragMoveEvent(QDragMoveEvent* e);
virtual void dropEvent(QDropEvent* e);
virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event);
virtual void editorDestroyed(QObject* editor);
virtual void enterEvent(QEvent* arg__1);
virtual bool event(QEvent* e);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual void focusInEvent(QFocusEvent* event);
virtual bool focusNextPrevChild(bool next);
virtual void focusOutEvent(QFocusEvent* event);
virtual int heightForWidth(int arg__1) const;
virtual void hideEvent(QHideEvent* arg__1);
virtual int horizontalOffset() const;
virtual void horizontalScrollbarAction(int action);
virtual void horizontalScrollbarValueChanged(int value);
virtual QModelIndex indexAt(const QPoint& p) const;
virtual void inputMethodEvent(QInputMethodEvent* event);
virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const;
virtual bool isIndexHidden(const QModelIndex& index) const;
virtual void keyPressEvent(QKeyEvent* event);
virtual void keyReleaseEvent(QKeyEvent* arg__1);
virtual void keyboardSearch(const QString& search);
virtual void languageChange();
virtual void leaveEvent(QEvent* arg__1);
virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
virtual void mouseDoubleClickEvent(QMouseEvent* event);
virtual void mouseMoveEvent(QMouseEvent* e);
virtual void mousePressEvent(QMouseEvent* event);
virtual void mouseReleaseEvent(QMouseEvent* e);
virtual void moveEvent(QMoveEvent* arg__1);
virtual QPaintEngine* paintEngine() const;
virtual void paintEvent(QPaintEvent* e);
virtual void reset();
virtual void resizeEvent(QResizeEvent* e);
virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end);
virtual void rowsInserted(const QModelIndex& parent, int start, int end);
virtual void scrollContentsBy(int dx, int dy);
virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint);
virtual void selectAll();
virtual QList<QModelIndex > selectedIndexes() const;
virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected);
virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event) const;
virtual void setModel(QAbstractItemModel* model);
virtual void setRootIndex(const QModelIndex& index);
virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command);
virtual void setSelectionModel(QItemSelectionModel* selectionModel);
virtual void showEvent(QShowEvent* arg__1);
virtual int sizeHintForColumn(int column) const;
virtual int sizeHintForRow(int row) const;
virtual void startDrag(Qt::DropActions supportedActions);
virtual void tabletEvent(QTabletEvent* arg__1);
virtual void timerEvent(QTimerEvent* e);
virtual void updateEditorData();
virtual void updateEditorGeometries();
virtual void updateGeometries();
virtual int verticalOffset() const;
virtual void verticalScrollbarAction(int action);
virtual void verticalScrollbarValueChanged(int value);
virtual QStyleOptionViewItem viewOptions() const;
virtual bool viewportEvent(QEvent* event);
virtual QRect visualRect(const QModelIndex& index) const;
virtual QRegion visualRegionForSelection(const QItemSelection& selection) const;
virtual void wheelEvent(QWheelEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtWrapper_QUndoView : public QObject
{ Q_OBJECT
public:
public slots:
QUndoView* new_QUndoView(QUndoGroup* group, QWidget* parent = 0);
QUndoView* new_QUndoView(QUndoStack* stack, QWidget* parent = 0);
QUndoView* new_QUndoView(QWidget* parent = 0);
void delete_QUndoView(QUndoView* obj) { delete obj; }
QIcon cleanIcon(QUndoView* theWrappedObject) const;
QString emptyLabel(QUndoView* theWrappedObject) const;
QUndoGroup* group(QUndoView* theWrappedObject) const;
void setCleanIcon(QUndoView* theWrappedObject, const QIcon& icon);
void setEmptyLabel(QUndoView* theWrappedObject, const QString& label);
QUndoStack* stack(QUndoView* theWrappedObject) const;
};
class PythonQtShell_QVBoxLayout : public QVBoxLayout
{
public:
PythonQtShell_QVBoxLayout():QVBoxLayout(),_wrapper(NULL) {};
PythonQtShell_QVBoxLayout(QWidget* parent):QVBoxLayout(parent),_wrapper(NULL) {};
~PythonQtShell_QVBoxLayout();
virtual void addItem(QLayoutItem* arg__1);
virtual void childEvent(QChildEvent* e);
virtual int count() const;
virtual void customEvent(QEvent* arg__1);
virtual bool event(QEvent* arg__1);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual Qt::Orientations expandingDirections() const;
virtual QRect geometry() const;
virtual int indexOf(QWidget* arg__1) const;
virtual void invalidate();
virtual bool isEmpty() const;
virtual QLayoutItem* itemAt(int arg__1) const;
virtual QLayout* layout();
virtual QSize maximumSize() const;
virtual QSize minimumSize() const;
virtual void setGeometry(const QRect& arg__1);
virtual QLayoutItem* takeAt(int arg__1);
virtual void timerEvent(QTimerEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtWrapper_QVBoxLayout : public QObject
{ Q_OBJECT
public:
public slots:
QVBoxLayout* new_QVBoxLayout();
QVBoxLayout* new_QVBoxLayout(QWidget* parent);
void delete_QVBoxLayout(QVBoxLayout* obj) { delete obj; }
};
|