1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965
|
#include <PythonQt.h>
#include <QObject>
#include <QUrl>
#include <QVariant>
#include <qabstractitemdelegate.h>
#include <qabstractitemmodel.h>
#include <qabstractitemview.h>
#include <qabstractproxymodel.h>
#include <qaction.h>
#include <qbitmap.h>
#include <qbrush.h>
#include <qbytearray.h>
#include <qcolor.h>
#include <qcompleter.h>
#include <qcoreevent.h>
#include <qcursor.h>
#include <qdatastream.h>
#include <qdatetime.h>
#include <qdir.h>
#include <qerrormessage.h>
#include <qevent.h>
#include <qfile.h>
#include <qfiledialog.h>
#include <qfileiconprovider.h>
#include <qfileinfo.h>
#include <qfilesystemmodel.h>
#include <qfocusframe.h>
#include <qfont.h>
#include <qfontcombobox.h>
#include <qfontdatabase.h>
#include <qfontdialog.h>
#include <qfontinfo.h>
#include <qfontmetrics.h>
#include <qformlayout.h>
#include <qframe.h>
#include <qgesture.h>
#include <qgesturerecognizer.h>
#include <qgraphicsanchorlayout.h>
#include <qgraphicseffect.h>
#include <qgraphicsgridlayout.h>
#include <qgraphicsitem.h>
#include <qgraphicslayoutitem.h>
#include <qgraphicsproxywidget.h>
#include <qgraphicsscene.h>
#include <qgraphicssceneevent.h>
#include <qgraphicstransform.h>
#include <qgraphicswidget.h>
#include <qicon.h>
#include <qinputcontext.h>
#include <qkeysequence.h>
#include <qlayout.h>
#include <qlayoutitem.h>
#include <qlineedit.h>
#include <qlist.h>
#include <qlocale.h>
#include <qmargins.h>
#include <qmimedata.h>
#include <qobject.h>
#include <qpaintdevice.h>
#include <qpaintengine.h>
#include <qpainter.h>
#include <qpainterpath.h>
#include <qpair.h>
#include <qpalette.h>
#include <qpen.h>
#include <qpixmap.h>
#include <qpoint.h>
#include <qpolygon.h>
#include <qrect.h>
#include <qregion.h>
#include <qsize.h>
#include <qsizepolicy.h>
#include <qstringlist.h>
#include <qstyle.h>
#include <qstyleoption.h>
#include <qtransform.h>
#include <qurl.h>
#include <qvalidator.h>
#include <qvector.h>
#include <qwidget.h>
class PythonQtShell_QDragResponseEvent : public QDragResponseEvent
{
public:
PythonQtShell_QDragResponseEvent(bool accepted):QDragResponseEvent(accepted),_wrapper(NULL) {};
~PythonQtShell_QDragResponseEvent();
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtWrapper_QDragResponseEvent : public QObject
{ Q_OBJECT
public:
public slots:
QDragResponseEvent* new_QDragResponseEvent(bool accepted);
void delete_QDragResponseEvent(QDragResponseEvent* obj) { delete obj; }
bool dragAccepted(QDragResponseEvent* theWrappedObject) const;
};
class PythonQtShell_QDropEvent : public QDropEvent
{
public:
PythonQtShell_QDropEvent(const QPoint& pos, Qt::DropActions actions, const QMimeData* data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, QEvent::Type type = QEvent::Drop):QDropEvent(pos, actions, data, buttons, modifiers, type),_wrapper(NULL) {};
~PythonQtShell_QDropEvent();
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtWrapper_QDropEvent : public QObject
{ Q_OBJECT
public:
public slots:
QDropEvent* new_QDropEvent(const QPoint& pos, Qt::DropActions actions, const QMimeData* data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, QEvent::Type type = QEvent::Drop);
void delete_QDropEvent(QDropEvent* obj) { delete obj; }
void acceptProposedAction(QDropEvent* theWrappedObject);
Qt::DropAction dropAction(QDropEvent* theWrappedObject) const;
Qt::KeyboardModifiers keyboardModifiers(QDropEvent* theWrappedObject) const;
const QMimeData* mimeData(QDropEvent* theWrappedObject) const;
Qt::MouseButtons mouseButtons(QDropEvent* theWrappedObject) const;
const QPoint* pos(QDropEvent* theWrappedObject) const;
Qt::DropActions possibleActions(QDropEvent* theWrappedObject) const;
Qt::DropAction proposedAction(QDropEvent* theWrappedObject) const;
void setDropAction(QDropEvent* theWrappedObject, Qt::DropAction action);
QWidget* source(QDropEvent* theWrappedObject) const;
};
class PythonQtShell_QErrorMessage : public QErrorMessage
{
public:
PythonQtShell_QErrorMessage(QWidget* parent = 0):QErrorMessage(parent),_wrapper(NULL) {};
~PythonQtShell_QErrorMessage();
virtual void accept();
virtual void actionEvent(QActionEvent* arg__1);
virtual void changeEvent(QEvent* e);
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 done(int arg__1);
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* arg__1);
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 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 reject();
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_QErrorMessage : public QErrorMessage
{ public:
inline void promoted_changeEvent(QEvent* e) { QErrorMessage::changeEvent(e); }
inline void promoted_done(int arg__1) { QErrorMessage::done(arg__1); }
};
class PythonQtWrapper_QErrorMessage : public QObject
{ Q_OBJECT
public:
public slots:
QErrorMessage* new_QErrorMessage(QWidget* parent = 0);
void delete_QErrorMessage(QErrorMessage* obj) { delete obj; }
void changeEvent(QErrorMessage* theWrappedObject, QEvent* e);
void done(QErrorMessage* theWrappedObject, int arg__1);
QErrorMessage* static_QErrorMessage_qtHandler();
};
class PythonQtShell_QFileDialog : public QFileDialog
{
public:
PythonQtShell_QFileDialog(QWidget* parent, Qt::WindowFlags f):QFileDialog(parent, f),_wrapper(NULL) {};
PythonQtShell_QFileDialog(QWidget* parent = 0, const QString& caption = QString(), const QString& directory = QString(), const QString& filter = QString()):QFileDialog(parent, caption, directory, filter),_wrapper(NULL) {};
~PythonQtShell_QFileDialog();
virtual void accept();
virtual void actionEvent(QActionEvent* arg__1);
virtual void changeEvent(QEvent* e);
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 done(int result);
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* arg__1);
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 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 reject();
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_QFileDialog : public QFileDialog
{ public:
inline void promoted_accept() { QFileDialog::accept(); }
inline void promoted_changeEvent(QEvent* e) { QFileDialog::changeEvent(e); }
inline void promoted_done(int result) { QFileDialog::done(result); }
};
class PythonQtWrapper_QFileDialog : public QObject
{ Q_OBJECT
public:
Q_ENUMS(DialogLabel )
enum DialogLabel{
LookIn = QFileDialog::LookIn, FileName = QFileDialog::FileName, FileType = QFileDialog::FileType, Accept = QFileDialog::Accept, Reject = QFileDialog::Reject};
public slots:
QFileDialog* new_QFileDialog(QWidget* parent, Qt::WindowFlags f);
QFileDialog* new_QFileDialog(QWidget* parent = 0, const QString& caption = QString(), const QString& directory = QString(), const QString& filter = QString());
void delete_QFileDialog(QFileDialog* obj) { delete obj; }
void accept(QFileDialog* theWrappedObject);
QFileDialog::AcceptMode acceptMode(QFileDialog* theWrappedObject) const;
void changeEvent(QFileDialog* theWrappedObject, QEvent* e);
bool confirmOverwrite(QFileDialog* theWrappedObject) const;
QString defaultSuffix(QFileDialog* theWrappedObject) const;
QDir directory(QFileDialog* theWrappedObject) const;
void done(QFileDialog* theWrappedObject, int result);
QFileDialog::FileMode fileMode(QFileDialog* theWrappedObject) const;
QDir::Filters filter(QFileDialog* theWrappedObject) const;
QStringList filters(QFileDialog* theWrappedObject) const;
QString static_QFileDialog_getExistingDirectory(QWidget* parent = 0, const QString& caption = QString(), const QString& dir = QString(), QFileDialog::Options options = QFileDialog::ShowDirsOnly);
QString static_QFileDialog_getOpenFileName(QWidget* parent = 0, const QString& caption = QString(), const QString& dir = QString(), const QString& filter = QString(), QString* selectedFilter = 0, QFileDialog::Options options = 0);
QStringList static_QFileDialog_getOpenFileNames(QWidget* parent = 0, const QString& caption = QString(), const QString& dir = QString(), const QString& filter = QString(), QString* selectedFilter = 0, QFileDialog::Options options = 0);
QString static_QFileDialog_getSaveFileName(QWidget* parent = 0, const QString& caption = QString(), const QString& dir = QString(), const QString& filter = QString(), QString* selectedFilter = 0, QFileDialog::Options options = 0);
QStringList history(QFileDialog* theWrappedObject) const;
QFileIconProvider* iconProvider(QFileDialog* theWrappedObject) const;
bool isNameFilterDetailsVisible(QFileDialog* theWrappedObject) const;
bool isReadOnly(QFileDialog* theWrappedObject) const;
QAbstractItemDelegate* itemDelegate(QFileDialog* theWrappedObject) const;
QString labelText(QFileDialog* theWrappedObject, QFileDialog::DialogLabel label) const;
QStringList nameFilters(QFileDialog* theWrappedObject) const;
void open(QFileDialog* theWrappedObject);
void open(QFileDialog* theWrappedObject, QObject* receiver, const char* member);
QFileDialog::Options options(QFileDialog* theWrappedObject) const;
QAbstractProxyModel* proxyModel(QFileDialog* theWrappedObject) const;
bool resolveSymlinks(QFileDialog* theWrappedObject) const;
bool restoreState(QFileDialog* theWrappedObject, const QByteArray& state);
QByteArray saveState(QFileDialog* theWrappedObject) const;
void selectFile(QFileDialog* theWrappedObject, const QString& filename);
void selectFilter(QFileDialog* theWrappedObject, const QString& filter);
void selectNameFilter(QFileDialog* theWrappedObject, const QString& filter);
QStringList selectedFiles(QFileDialog* theWrappedObject) const;
QString selectedFilter(QFileDialog* theWrappedObject) const;
QString selectedNameFilter(QFileDialog* theWrappedObject) const;
void setAcceptMode(QFileDialog* theWrappedObject, QFileDialog::AcceptMode mode);
void setConfirmOverwrite(QFileDialog* theWrappedObject, bool enabled);
void setDefaultSuffix(QFileDialog* theWrappedObject, const QString& suffix);
void setDirectory(QFileDialog* theWrappedObject, const QDir& directory);
void setDirectory(QFileDialog* theWrappedObject, const QString& directory);
void setFileMode(QFileDialog* theWrappedObject, QFileDialog::FileMode mode);
void setFilter(QFileDialog* theWrappedObject, QDir::Filters filters);
void setFilter(QFileDialog* theWrappedObject, const QString& filter);
void setFilters(QFileDialog* theWrappedObject, const QStringList& filters);
void setHistory(QFileDialog* theWrappedObject, const QStringList& paths);
void setIconProvider(QFileDialog* theWrappedObject, QFileIconProvider* provider);
void setItemDelegate(QFileDialog* theWrappedObject, QAbstractItemDelegate* delegate);
void setLabelText(QFileDialog* theWrappedObject, QFileDialog::DialogLabel label, const QString& text);
void setNameFilter(QFileDialog* theWrappedObject, const QString& filter);
void setNameFilterDetailsVisible(QFileDialog* theWrappedObject, bool enabled);
void setNameFilters(QFileDialog* theWrappedObject, const QStringList& filters);
void setOption(QFileDialog* theWrappedObject, QFileDialog::Option option, bool on = true);
void setOptions(QFileDialog* theWrappedObject, QFileDialog::Options options);
void setProxyModel(QFileDialog* theWrappedObject, QAbstractProxyModel* model);
void setReadOnly(QFileDialog* theWrappedObject, bool enabled);
void setResolveSymlinks(QFileDialog* theWrappedObject, bool enabled);
void setSidebarUrls(QFileDialog* theWrappedObject, const QList<QUrl >& urls);
void setViewMode(QFileDialog* theWrappedObject, QFileDialog::ViewMode mode);
void setVisible(QFileDialog* theWrappedObject, bool visible);
QList<QUrl > sidebarUrls(QFileDialog* theWrappedObject) const;
bool testOption(QFileDialog* theWrappedObject, QFileDialog::Option option) const;
QFileDialog::ViewMode viewMode(QFileDialog* theWrappedObject) const;
};
class PythonQtShell_QFileIconProvider : public QFileIconProvider
{
public:
PythonQtShell_QFileIconProvider():QFileIconProvider(),_wrapper(NULL) {};
~PythonQtShell_QFileIconProvider();
virtual QIcon icon(QFileIconProvider::IconType type) const;
virtual QIcon icon(const QFileInfo& info) const;
virtual QString type(const QFileInfo& info) const;
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QFileIconProvider : public QFileIconProvider
{ public:
inline QIcon promoted_icon(QFileIconProvider::IconType type) const { return QFileIconProvider::icon(type); }
inline QIcon promoted_icon(const QFileInfo& info) const { return QFileIconProvider::icon(info); }
inline QString promoted_type(const QFileInfo& info) const { return QFileIconProvider::type(info); }
};
class PythonQtWrapper_QFileIconProvider : public QObject
{ Q_OBJECT
public:
Q_ENUMS(IconType )
enum IconType{
Computer = QFileIconProvider::Computer, Desktop = QFileIconProvider::Desktop, Trashcan = QFileIconProvider::Trashcan, Network = QFileIconProvider::Network, Drive = QFileIconProvider::Drive, Folder = QFileIconProvider::Folder, File = QFileIconProvider::File};
public slots:
QFileIconProvider* new_QFileIconProvider();
void delete_QFileIconProvider(QFileIconProvider* obj) { delete obj; }
QIcon icon(QFileIconProvider* theWrappedObject, QFileIconProvider::IconType type) const;
QIcon icon(QFileIconProvider* theWrappedObject, const QFileInfo& info) const;
QString type(QFileIconProvider* theWrappedObject, const QFileInfo& info) const;
};
class PythonQtWrapper_QFileOpenEvent : public QObject
{ Q_OBJECT
public:
public slots:
QFileOpenEvent* new_QFileOpenEvent(const QString& file);
QFileOpenEvent* new_QFileOpenEvent(const QUrl& url);
void delete_QFileOpenEvent(QFileOpenEvent* obj) { delete obj; }
QString file(QFileOpenEvent* theWrappedObject) const;
bool openFile(QFileOpenEvent* theWrappedObject, QFile& file, QIODevice::OpenMode flags) const;
QUrl url(QFileOpenEvent* theWrappedObject) const;
};
class PythonQtShell_QFileSystemModel : public QFileSystemModel
{
public:
PythonQtShell_QFileSystemModel(QObject* parent = 0):QFileSystemModel(parent),_wrapper(NULL) {};
~PythonQtShell_QFileSystemModel();
virtual QModelIndex buddy(const QModelIndex& index) const;
virtual bool canFetchMore(const QModelIndex& parent) const;
virtual void childEvent(QChildEvent* arg__1);
virtual int columnCount(const QModelIndex& parent = QModelIndex()) const;
virtual void customEvent(QEvent* arg__1);
virtual QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const;
virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent);
virtual bool event(QEvent* event);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual void fetchMore(const QModelIndex& parent);
virtual Qt::ItemFlags flags(const QModelIndex& index) const;
virtual bool hasChildren(const QModelIndex& parent = QModelIndex()) const;
virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const;
virtual QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const;
virtual bool insertColumns(int column, int count, const QModelIndex& parent);
virtual bool insertRows(int row, int count, const QModelIndex& parent);
virtual QMap<int , QVariant > itemData(const QModelIndex& index) const;
virtual QList<QModelIndex > match(const QModelIndex& start, int role, const QVariant& value, int hits, Qt::MatchFlags flags) const;
virtual QMimeData* mimeData(const QList<QModelIndex >& indexes) const;
virtual QStringList mimeTypes() const;
virtual QModelIndex parent(const QModelIndex& child) const;
virtual bool removeColumns(int column, int count, const QModelIndex& parent);
virtual bool removeRows(int row, int count, const QModelIndex& parent);
virtual void revert();
virtual int rowCount(const QModelIndex& parent = QModelIndex()) const;
virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole);
virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role);
virtual bool setItemData(const QModelIndex& index, const QMap<int , QVariant >& roles);
virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder);
virtual QSize span(const QModelIndex& index) const;
virtual bool submit();
virtual Qt::DropActions supportedDropActions() const;
virtual void timerEvent(QTimerEvent* event);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QFileSystemModel : public QFileSystemModel
{ public:
inline bool promoted_canFetchMore(const QModelIndex& parent) const { return QFileSystemModel::canFetchMore(parent); }
inline int promoted_columnCount(const QModelIndex& parent = QModelIndex()) const { return QFileSystemModel::columnCount(parent); }
inline QVariant promoted_data(const QModelIndex& index, int role = Qt::DisplayRole) const { return QFileSystemModel::data(index, role); }
inline bool promoted_dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) { return QFileSystemModel::dropMimeData(data, action, row, column, parent); }
inline bool promoted_event(QEvent* event) { return QFileSystemModel::event(event); }
inline void promoted_fetchMore(const QModelIndex& parent) { QFileSystemModel::fetchMore(parent); }
inline Qt::ItemFlags promoted_flags(const QModelIndex& index) const { return QFileSystemModel::flags(index); }
inline bool promoted_hasChildren(const QModelIndex& parent = QModelIndex()) const { return QFileSystemModel::hasChildren(parent); }
inline QVariant promoted_headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const { return QFileSystemModel::headerData(section, orientation, role); }
inline QModelIndex promoted_index(int row, int column, const QModelIndex& parent = QModelIndex()) const { return QFileSystemModel::index(row, column, parent); }
inline QMimeData* promoted_mimeData(const QList<QModelIndex >& indexes) const { return QFileSystemModel::mimeData(indexes); }
inline QStringList promoted_mimeTypes() const { return QFileSystemModel::mimeTypes(); }
inline QModelIndex promoted_parent(const QModelIndex& child) const { return QFileSystemModel::parent(child); }
inline int promoted_rowCount(const QModelIndex& parent = QModelIndex()) const { return QFileSystemModel::rowCount(parent); }
inline bool promoted_setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) { return QFileSystemModel::setData(index, value, role); }
inline void promoted_sort(int column, Qt::SortOrder order = Qt::AscendingOrder) { QFileSystemModel::sort(column, order); }
inline Qt::DropActions promoted_supportedDropActions() const { return QFileSystemModel::supportedDropActions(); }
inline void promoted_timerEvent(QTimerEvent* event) { QFileSystemModel::timerEvent(event); }
};
class PythonQtWrapper_QFileSystemModel : public QObject
{ Q_OBJECT
public:
Q_ENUMS(Roles )
enum Roles{
FileIconRole = QFileSystemModel::FileIconRole, FilePathRole = QFileSystemModel::FilePathRole, FileNameRole = QFileSystemModel::FileNameRole, FilePermissions = QFileSystemModel::FilePermissions};
public slots:
QFileSystemModel* new_QFileSystemModel(QObject* parent = 0);
void delete_QFileSystemModel(QFileSystemModel* obj) { delete obj; }
bool canFetchMore(QFileSystemModel* theWrappedObject, const QModelIndex& parent) const;
int columnCount(QFileSystemModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const;
QVariant data(QFileSystemModel* theWrappedObject, const QModelIndex& index, int role = Qt::DisplayRole) const;
bool dropMimeData(QFileSystemModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent);
bool event(QFileSystemModel* theWrappedObject, QEvent* event);
void fetchMore(QFileSystemModel* theWrappedObject, const QModelIndex& parent);
QIcon fileIcon(QFileSystemModel* theWrappedObject, const QModelIndex& index) const;
QFileInfo fileInfo(QFileSystemModel* theWrappedObject, const QModelIndex& index) const;
QString fileName(QFileSystemModel* theWrappedObject, const QModelIndex& index) const;
QString filePath(QFileSystemModel* theWrappedObject, const QModelIndex& index) const;
QDir::Filters filter(QFileSystemModel* theWrappedObject) const;
Qt::ItemFlags flags(QFileSystemModel* theWrappedObject, const QModelIndex& index) const;
bool hasChildren(QFileSystemModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const;
QVariant headerData(QFileSystemModel* theWrappedObject, int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const;
QFileIconProvider* iconProvider(QFileSystemModel* theWrappedObject) const;
QModelIndex index(QFileSystemModel* theWrappedObject, const QString& path, int column = 0) const;
QModelIndex index(QFileSystemModel* theWrappedObject, int row, int column, const QModelIndex& parent = QModelIndex()) const;
bool isDir(QFileSystemModel* theWrappedObject, const QModelIndex& index) const;
bool isReadOnly(QFileSystemModel* theWrappedObject) const;
QDateTime lastModified(QFileSystemModel* theWrappedObject, const QModelIndex& index) const;
QMimeData* mimeData(QFileSystemModel* theWrappedObject, const QList<QModelIndex >& indexes) const;
QStringList mimeTypes(QFileSystemModel* theWrappedObject) const;
QModelIndex mkdir(QFileSystemModel* theWrappedObject, const QModelIndex& parent, const QString& name);
QVariant myComputer(QFileSystemModel* theWrappedObject, int role = Qt::DisplayRole) const;
bool nameFilterDisables(QFileSystemModel* theWrappedObject) const;
QStringList nameFilters(QFileSystemModel* theWrappedObject) const;
QModelIndex parent(QFileSystemModel* theWrappedObject, const QModelIndex& child) const;
QFile::Permissions permissions(QFileSystemModel* theWrappedObject, const QModelIndex& index) const;
bool remove(QFileSystemModel* theWrappedObject, const QModelIndex& index) const;
bool resolveSymlinks(QFileSystemModel* theWrappedObject) const;
bool rmdir(QFileSystemModel* theWrappedObject, const QModelIndex& index) const;
QDir rootDirectory(QFileSystemModel* theWrappedObject) const;
QString rootPath(QFileSystemModel* theWrappedObject) const;
int rowCount(QFileSystemModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const;
bool setData(QFileSystemModel* theWrappedObject, const QModelIndex& index, const QVariant& value, int role = Qt::EditRole);
void setFilter(QFileSystemModel* theWrappedObject, QDir::Filters filters);
void setIconProvider(QFileSystemModel* theWrappedObject, QFileIconProvider* provider);
void setNameFilterDisables(QFileSystemModel* theWrappedObject, bool enable);
void setNameFilters(QFileSystemModel* theWrappedObject, const QStringList& filters);
void setReadOnly(QFileSystemModel* theWrappedObject, bool enable);
void setResolveSymlinks(QFileSystemModel* theWrappedObject, bool enable);
QModelIndex setRootPath(QFileSystemModel* theWrappedObject, const QString& path);
qint64 size(QFileSystemModel* theWrappedObject, const QModelIndex& index) const;
void sort(QFileSystemModel* theWrappedObject, int column, Qt::SortOrder order = Qt::AscendingOrder);
Qt::DropActions supportedDropActions(QFileSystemModel* theWrappedObject) const;
void timerEvent(QFileSystemModel* theWrappedObject, QTimerEvent* event);
QString type(QFileSystemModel* theWrappedObject, const QModelIndex& index) const;
};
class PythonQtWrapper_QFocusEvent : public QObject
{ Q_OBJECT
public:
public slots:
QFocusEvent* new_QFocusEvent(QEvent::Type type, Qt::FocusReason reason = Qt::OtherFocusReason);
void delete_QFocusEvent(QFocusEvent* obj) { delete obj; }
bool gotFocus(QFocusEvent* theWrappedObject) const;
bool lostFocus(QFocusEvent* theWrappedObject) const;
Qt::FocusReason reason(QFocusEvent* theWrappedObject);
};
class PythonQtShell_QFocusFrame : public QFocusFrame
{
public:
PythonQtShell_QFocusFrame(QWidget* parent = 0):QFocusFrame(parent),_wrapper(NULL) {};
~PythonQtShell_QFocusFrame();
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 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* 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_QFocusFrame : public QFocusFrame
{ public:
inline bool promoted_event(QEvent* e) { return QFocusFrame::event(e); }
inline bool promoted_eventFilter(QObject* arg__1, QEvent* arg__2) { return QFocusFrame::eventFilter(arg__1, arg__2); }
inline void promoted_paintEvent(QPaintEvent* arg__1) { QFocusFrame::paintEvent(arg__1); }
};
class PythonQtWrapper_QFocusFrame : public QObject
{ Q_OBJECT
public:
public slots:
QFocusFrame* new_QFocusFrame(QWidget* parent = 0);
void delete_QFocusFrame(QFocusFrame* obj) { delete obj; }
bool event(QFocusFrame* theWrappedObject, QEvent* e);
bool eventFilter(QFocusFrame* theWrappedObject, QObject* arg__1, QEvent* arg__2);
void paintEvent(QFocusFrame* theWrappedObject, QPaintEvent* arg__1);
void setWidget(QFocusFrame* theWrappedObject, QWidget* widget);
QWidget* widget(QFocusFrame* theWrappedObject) const;
};
class PythonQtShell_QFontComboBox : public QFontComboBox
{
public:
PythonQtShell_QFontComboBox(QWidget* parent = 0):QFontComboBox(parent),_wrapper(NULL) {};
~PythonQtShell_QFontComboBox();
virtual void actionEvent(QActionEvent* arg__1);
virtual void changeEvent(QEvent* e);
virtual void childEvent(QChildEvent* arg__1);
virtual void closeEvent(QCloseEvent* arg__1);
virtual void contextMenuEvent(QContextMenuEvent* e);
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* e);
virtual void hidePopup();
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* arg__1);
virtual void mousePressEvent(QMouseEvent* e);
virtual void mouseReleaseEvent(QMouseEvent* e);
virtual void moveEvent(QMoveEvent* arg__1);
virtual QPaintEngine* paintEngine() const;
virtual void paintEvent(QPaintEvent* e);
virtual void resizeEvent(QResizeEvent* e);
virtual void showEvent(QShowEvent* e);
virtual void showPopup();
virtual void tabletEvent(QTabletEvent* arg__1);
virtual void timerEvent(QTimerEvent* arg__1);
virtual void wheelEvent(QWheelEvent* e);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QFontComboBox : public QFontComboBox
{ public:
inline bool promoted_event(QEvent* e) { return QFontComboBox::event(e); }
};
class PythonQtWrapper_QFontComboBox : public QObject
{ Q_OBJECT
public:
Q_ENUMS(FontFilter )
Q_FLAGS(FontFilters )
enum FontFilter{
AllFonts = QFontComboBox::AllFonts, ScalableFonts = QFontComboBox::ScalableFonts, NonScalableFonts = QFontComboBox::NonScalableFonts, MonospacedFonts = QFontComboBox::MonospacedFonts, ProportionalFonts = QFontComboBox::ProportionalFonts};
Q_DECLARE_FLAGS(FontFilters, FontFilter)
public slots:
QFontComboBox* new_QFontComboBox(QWidget* parent = 0);
void delete_QFontComboBox(QFontComboBox* obj) { delete obj; }
QFont currentFont(QFontComboBox* theWrappedObject) const;
bool event(QFontComboBox* theWrappedObject, QEvent* e);
QFontComboBox::FontFilters fontFilters(QFontComboBox* theWrappedObject) const;
void setFontFilters(QFontComboBox* theWrappedObject, QFontComboBox::FontFilters filters);
void setWritingSystem(QFontComboBox* theWrappedObject, QFontDatabase::WritingSystem arg__1);
QSize sizeHint(QFontComboBox* theWrappedObject) const;
QFontDatabase::WritingSystem writingSystem(QFontComboBox* theWrappedObject) const;
};
class PythonQtWrapper_QFontDatabase : public QObject
{ Q_OBJECT
public:
Q_ENUMS(WritingSystem )
enum WritingSystem{
Any = QFontDatabase::Any, Latin = QFontDatabase::Latin, Greek = QFontDatabase::Greek, Cyrillic = QFontDatabase::Cyrillic, Armenian = QFontDatabase::Armenian, Hebrew = QFontDatabase::Hebrew, Arabic = QFontDatabase::Arabic, Syriac = QFontDatabase::Syriac, Thaana = QFontDatabase::Thaana, Devanagari = QFontDatabase::Devanagari, Bengali = QFontDatabase::Bengali, Gurmukhi = QFontDatabase::Gurmukhi, Gujarati = QFontDatabase::Gujarati, Oriya = QFontDatabase::Oriya, Tamil = QFontDatabase::Tamil, Telugu = QFontDatabase::Telugu, Kannada = QFontDatabase::Kannada, Malayalam = QFontDatabase::Malayalam, Sinhala = QFontDatabase::Sinhala, Thai = QFontDatabase::Thai, Lao = QFontDatabase::Lao, Tibetan = QFontDatabase::Tibetan, Myanmar = QFontDatabase::Myanmar, Georgian = QFontDatabase::Georgian, Khmer = QFontDatabase::Khmer, SimplifiedChinese = QFontDatabase::SimplifiedChinese, TraditionalChinese = QFontDatabase::TraditionalChinese, Japanese = QFontDatabase::Japanese, Korean = QFontDatabase::Korean, Vietnamese = QFontDatabase::Vietnamese, Symbol = QFontDatabase::Symbol, Other = QFontDatabase::Other, Ogham = QFontDatabase::Ogham, Runic = QFontDatabase::Runic, Nko = QFontDatabase::Nko, WritingSystemsCount = QFontDatabase::WritingSystemsCount};
public slots:
QFontDatabase* new_QFontDatabase();
void delete_QFontDatabase(QFontDatabase* obj) { delete obj; }
int static_QFontDatabase_addApplicationFont(const QString& fileName);
int static_QFontDatabase_addApplicationFontFromData(const QByteArray& fontData);
QStringList static_QFontDatabase_applicationFontFamilies(int id);
bool bold(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const;
QStringList families(QFontDatabase* theWrappedObject, QFontDatabase::WritingSystem writingSystem = QFontDatabase::Any) const;
QFont font(QFontDatabase* theWrappedObject, const QString& family, const QString& style, int pointSize) const;
bool hasFamily(QFontDatabase* theWrappedObject, const QString& family) const;
bool isBitmapScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style = QString()) const;
bool isFixedPitch(QFontDatabase* theWrappedObject, const QString& family, const QString& style = QString()) const;
bool isScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style = QString()) const;
bool isSmoothlyScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style = QString()) const;
bool italic(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const;
QList<int > pointSizes(QFontDatabase* theWrappedObject, const QString& family, const QString& style = QString());
bool static_QFontDatabase_removeAllApplicationFonts();
bool static_QFontDatabase_removeApplicationFont(int id);
QList<int > smoothSizes(QFontDatabase* theWrappedObject, const QString& family, const QString& style);
QList<int > static_QFontDatabase_standardSizes();
QString styleString(QFontDatabase* theWrappedObject, const QFont& font);
QString styleString(QFontDatabase* theWrappedObject, const QFontInfo& fontInfo);
QStringList styles(QFontDatabase* theWrappedObject, const QString& family) const;
bool static_QFontDatabase_supportsThreadedFontRendering();
int weight(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const;
QString static_QFontDatabase_writingSystemName(QFontDatabase::WritingSystem writingSystem);
QString static_QFontDatabase_writingSystemSample(QFontDatabase::WritingSystem writingSystem);
QList<QFontDatabase::WritingSystem > writingSystems(QFontDatabase* theWrappedObject) const;
QList<QFontDatabase::WritingSystem > writingSystems(QFontDatabase* theWrappedObject, const QString& family) const;
};
class PythonQtShell_QFontDialog : public QFontDialog
{
public:
PythonQtShell_QFontDialog(QWidget* parent = 0):QFontDialog(parent),_wrapper(NULL) {};
PythonQtShell_QFontDialog(const QFont& initial, QWidget* parent = 0):QFontDialog(initial, parent),_wrapper(NULL) {};
~PythonQtShell_QFontDialog();
virtual void accept();
virtual void actionEvent(QActionEvent* arg__1);
virtual void changeEvent(QEvent* event);
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 done(int result);
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* arg__1);
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 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 reject();
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_QFontDialog : public QFontDialog
{ public:
inline void promoted_changeEvent(QEvent* event) { QFontDialog::changeEvent(event); }
inline void promoted_done(int result) { QFontDialog::done(result); }
};
class PythonQtWrapper_QFontDialog : public QObject
{ Q_OBJECT
public:
public slots:
QFontDialog* new_QFontDialog(QWidget* parent = 0);
QFontDialog* new_QFontDialog(const QFont& initial, QWidget* parent = 0);
void delete_QFontDialog(QFontDialog* obj) { delete obj; }
void changeEvent(QFontDialog* theWrappedObject, QEvent* event);
QFont currentFont(QFontDialog* theWrappedObject) const;
void done(QFontDialog* theWrappedObject, int result);
QFont static_QFontDialog_getFont(bool* ok, QWidget* parent = 0);
QFont static_QFontDialog_getFont(bool* ok, const QFont& initial, QWidget* parent = 0);
QFont static_QFontDialog_getFont(bool* ok, const QFont& initial, QWidget* parent, const QString& title);
QFont static_QFontDialog_getFont(bool* ok, const QFont& initial, QWidget* parent, const QString& title, QFontDialog::FontDialogOptions options);
void open(QFontDialog* theWrappedObject);
void open(QFontDialog* theWrappedObject, QObject* receiver, const char* member);
QFontDialog::FontDialogOptions options(QFontDialog* theWrappedObject) const;
QFont selectedFont(QFontDialog* theWrappedObject) const;
void setCurrentFont(QFontDialog* theWrappedObject, const QFont& font);
void setOption(QFontDialog* theWrappedObject, QFontDialog::FontDialogOption option, bool on = true);
void setOptions(QFontDialog* theWrappedObject, QFontDialog::FontDialogOptions options);
void setVisible(QFontDialog* theWrappedObject, bool visible);
bool testOption(QFontDialog* theWrappedObject, QFontDialog::FontDialogOption option) const;
};
class PythonQtWrapper_QFontInfo : public QObject
{ Q_OBJECT
public:
public slots:
QFontInfo* new_QFontInfo(const QFont& arg__1);
QFontInfo* new_QFontInfo(const QFontInfo& arg__1);
void delete_QFontInfo(QFontInfo* obj) { delete obj; }
bool bold(QFontInfo* theWrappedObject) const;
bool exactMatch(QFontInfo* theWrappedObject) const;
QString family(QFontInfo* theWrappedObject) const;
bool fixedPitch(QFontInfo* theWrappedObject) const;
bool italic(QFontInfo* theWrappedObject) const;
bool overline(QFontInfo* theWrappedObject) const;
int pixelSize(QFontInfo* theWrappedObject) const;
int pointSize(QFontInfo* theWrappedObject) const;
qreal pointSizeF(QFontInfo* theWrappedObject) const;
bool rawMode(QFontInfo* theWrappedObject) const;
bool strikeOut(QFontInfo* theWrappedObject) const;
QFont::Style style(QFontInfo* theWrappedObject) const;
QFont::StyleHint styleHint(QFontInfo* theWrappedObject) const;
QString styleName(QFontInfo* theWrappedObject) const;
bool underline(QFontInfo* theWrappedObject) const;
int weight(QFontInfo* theWrappedObject) const;
};
class PythonQtWrapper_QFontMetrics : public QObject
{ Q_OBJECT
public:
public slots:
QFontMetrics* new_QFontMetrics(const QFont& arg__1);
QFontMetrics* new_QFontMetrics(const QFont& arg__1, QPaintDevice* pd);
void delete_QFontMetrics(QFontMetrics* obj) { delete obj; }
int ascent(QFontMetrics* theWrappedObject) const;
int averageCharWidth(QFontMetrics* theWrappedObject) const;
QRect boundingRect(QFontMetrics* theWrappedObject, QChar arg__1) const;
QRect boundingRect(QFontMetrics* theWrappedObject, const QRect& r, int flags, const QString& text, int tabstops = 0, int* tabarray = 0) const;
QRect boundingRect(QFontMetrics* theWrappedObject, const QString& text) const;
QRect boundingRect(QFontMetrics* theWrappedObject, int x, int y, int w, int h, int flags, const QString& text, int tabstops = 0, int* tabarray = 0) const;
int charWidth(QFontMetrics* theWrappedObject, const QString& str, int pos) const;
int descent(QFontMetrics* theWrappedObject) const;
QString elidedText(QFontMetrics* theWrappedObject, const QString& text, Qt::TextElideMode mode, int width, int flags = 0) const;
int height(QFontMetrics* theWrappedObject) const;
bool inFont(QFontMetrics* theWrappedObject, QChar arg__1) const;
bool inFontUcs4(QFontMetrics* theWrappedObject, uint ucs4) const;
int leading(QFontMetrics* theWrappedObject) const;
int leftBearing(QFontMetrics* theWrappedObject, QChar arg__1) const;
int lineSpacing(QFontMetrics* theWrappedObject) const;
int lineWidth(QFontMetrics* theWrappedObject) const;
int maxWidth(QFontMetrics* theWrappedObject) const;
int minLeftBearing(QFontMetrics* theWrappedObject) const;
int minRightBearing(QFontMetrics* theWrappedObject) const;
int overlinePos(QFontMetrics* theWrappedObject) const;
int rightBearing(QFontMetrics* theWrappedObject, QChar arg__1) const;
QSize size(QFontMetrics* theWrappedObject, int flags, const QString& str, int tabstops = 0, int* tabarray = 0) const;
int strikeOutPos(QFontMetrics* theWrappedObject) const;
QRect tightBoundingRect(QFontMetrics* theWrappedObject, const QString& text) const;
int underlinePos(QFontMetrics* theWrappedObject) const;
int width(QFontMetrics* theWrappedObject, QChar arg__1) const;
int width(QFontMetrics* theWrappedObject, const QString& arg__1, int len = -1) const;
int width(QFontMetrics* theWrappedObject, const QString& arg__1, int len, int flags) const;
int xHeight(QFontMetrics* theWrappedObject) const;
};
class PythonQtWrapper_QFontMetricsF : public QObject
{ Q_OBJECT
public:
public slots:
QFontMetricsF* new_QFontMetricsF(const QFont& arg__1);
QFontMetricsF* new_QFontMetricsF(const QFont& arg__1, QPaintDevice* pd);
void delete_QFontMetricsF(QFontMetricsF* obj) { delete obj; }
qreal ascent(QFontMetricsF* theWrappedObject) const;
qreal averageCharWidth(QFontMetricsF* theWrappedObject) const;
QRectF boundingRect(QFontMetricsF* theWrappedObject, QChar arg__1) const;
QRectF boundingRect(QFontMetricsF* theWrappedObject, const QRectF& r, int flags, const QString& string, int tabstops = 0, int* tabarray = 0) const;
QRectF boundingRect(QFontMetricsF* theWrappedObject, const QString& string) const;
qreal descent(QFontMetricsF* theWrappedObject) const;
QString elidedText(QFontMetricsF* theWrappedObject, const QString& text, Qt::TextElideMode mode, qreal width, int flags = 0) const;
qreal height(QFontMetricsF* theWrappedObject) const;
bool inFont(QFontMetricsF* theWrappedObject, QChar arg__1) const;
bool inFontUcs4(QFontMetricsF* theWrappedObject, uint ucs4) const;
qreal leading(QFontMetricsF* theWrappedObject) const;
qreal leftBearing(QFontMetricsF* theWrappedObject, QChar arg__1) const;
qreal lineSpacing(QFontMetricsF* theWrappedObject) const;
qreal lineWidth(QFontMetricsF* theWrappedObject) const;
qreal maxWidth(QFontMetricsF* theWrappedObject) const;
qreal minLeftBearing(QFontMetricsF* theWrappedObject) const;
qreal minRightBearing(QFontMetricsF* theWrappedObject) const;
qreal overlinePos(QFontMetricsF* theWrappedObject) const;
qreal rightBearing(QFontMetricsF* theWrappedObject, QChar arg__1) const;
QSizeF size(QFontMetricsF* theWrappedObject, int flags, const QString& str, int tabstops = 0, int* tabarray = 0) const;
qreal strikeOutPos(QFontMetricsF* theWrappedObject) const;
QRectF tightBoundingRect(QFontMetricsF* theWrappedObject, const QString& text) const;
qreal underlinePos(QFontMetricsF* theWrappedObject) const;
qreal width(QFontMetricsF* theWrappedObject, QChar arg__1) const;
qreal width(QFontMetricsF* theWrappedObject, const QString& string) const;
qreal xHeight(QFontMetricsF* theWrappedObject) const;
};
class PythonQtShell_QFormLayout : public QFormLayout
{
public:
PythonQtShell_QFormLayout(QWidget* parent = 0):QFormLayout(parent),_wrapper(NULL) {};
~PythonQtShell_QFormLayout();
virtual void addItem(QLayoutItem* item);
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 index) const;
virtual QLayout* layout();
virtual QSize maximumSize() const;
virtual QSize minimumSize() const;
virtual void setGeometry(const QRect& rect);
virtual QLayoutItem* takeAt(int index);
virtual void timerEvent(QTimerEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QFormLayout : public QFormLayout
{ public:
inline void promoted_addItem(QLayoutItem* item) { QFormLayout::addItem(item); }
inline int promoted_count() const { return QFormLayout::count(); }
inline Qt::Orientations promoted_expandingDirections() const { return QFormLayout::expandingDirections(); }
inline void promoted_invalidate() { QFormLayout::invalidate(); }
inline QLayoutItem* promoted_itemAt(int index) const { return QFormLayout::itemAt(index); }
inline QSize promoted_minimumSize() const { return QFormLayout::minimumSize(); }
inline void promoted_setGeometry(const QRect& rect) { QFormLayout::setGeometry(rect); }
inline QLayoutItem* promoted_takeAt(int index) { return QFormLayout::takeAt(index); }
};
class PythonQtWrapper_QFormLayout : public QObject
{ Q_OBJECT
public:
public slots:
QFormLayout* new_QFormLayout(QWidget* parent = 0);
void delete_QFormLayout(QFormLayout* obj) { delete obj; }
void addItem(QFormLayout* theWrappedObject, QLayoutItem* item);
void addRow(QFormLayout* theWrappedObject, QLayout* layout);
void addRow(QFormLayout* theWrappedObject, QWidget* label, QLayout* field);
void addRow(QFormLayout* theWrappedObject, QWidget* label, QWidget* field);
void addRow(QFormLayout* theWrappedObject, QWidget* widget);
void addRow(QFormLayout* theWrappedObject, const QString& labelText, QLayout* field);
void addRow(QFormLayout* theWrappedObject, const QString& labelText, QWidget* field);
int count(QFormLayout* theWrappedObject) const;
Qt::Orientations expandingDirections(QFormLayout* theWrappedObject) const;
QFormLayout::FieldGrowthPolicy fieldGrowthPolicy(QFormLayout* theWrappedObject) const;
Qt::Alignment formAlignment(QFormLayout* theWrappedObject) const;
void getItemPosition(QFormLayout* theWrappedObject, int index, int* rowPtr, QFormLayout::ItemRole* rolePtr) const;
void getLayoutPosition(QFormLayout* theWrappedObject, QLayout* layout, int* rowPtr, QFormLayout::ItemRole* rolePtr) const;
void getWidgetPosition(QFormLayout* theWrappedObject, QWidget* widget, int* rowPtr, QFormLayout::ItemRole* rolePtr) const;
bool hasHeightForWidth(QFormLayout* theWrappedObject) const;
int heightForWidth(QFormLayout* theWrappedObject, int width) const;
int horizontalSpacing(QFormLayout* theWrappedObject) const;
void insertRow(QFormLayout* theWrappedObject, int row, QLayout* layout);
void insertRow(QFormLayout* theWrappedObject, int row, QWidget* label, QLayout* field);
void insertRow(QFormLayout* theWrappedObject, int row, QWidget* label, QWidget* field);
void insertRow(QFormLayout* theWrappedObject, int row, QWidget* widget);
void insertRow(QFormLayout* theWrappedObject, int row, const QString& labelText, QLayout* field);
void insertRow(QFormLayout* theWrappedObject, int row, const QString& labelText, QWidget* field);
void invalidate(QFormLayout* theWrappedObject);
QLayoutItem* itemAt(QFormLayout* theWrappedObject, int index) const;
QLayoutItem* itemAt(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role) const;
Qt::Alignment labelAlignment(QFormLayout* theWrappedObject) const;
QWidget* labelForField(QFormLayout* theWrappedObject, QLayout* field) const;
QWidget* labelForField(QFormLayout* theWrappedObject, QWidget* field) const;
QSize minimumSize(QFormLayout* theWrappedObject) const;
int rowCount(QFormLayout* theWrappedObject) const;
QFormLayout::RowWrapPolicy rowWrapPolicy(QFormLayout* theWrappedObject) const;
void setFieldGrowthPolicy(QFormLayout* theWrappedObject, QFormLayout::FieldGrowthPolicy policy);
void setFormAlignment(QFormLayout* theWrappedObject, Qt::Alignment alignment);
void setGeometry(QFormLayout* theWrappedObject, const QRect& rect);
void setHorizontalSpacing(QFormLayout* theWrappedObject, int spacing);
void setItem(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role, QLayoutItem* item);
void setLabelAlignment(QFormLayout* theWrappedObject, Qt::Alignment alignment);
void setLayout(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role, QLayout* layout);
void setRowWrapPolicy(QFormLayout* theWrappedObject, QFormLayout::RowWrapPolicy policy);
void setSpacing(QFormLayout* theWrappedObject, int arg__1);
void setVerticalSpacing(QFormLayout* theWrappedObject, int spacing);
void setWidget(QFormLayout* theWrappedObject, int row, QFormLayout::ItemRole role, QWidget* widget);
QSize sizeHint(QFormLayout* theWrappedObject) const;
int spacing(QFormLayout* theWrappedObject) const;
QLayoutItem* takeAt(QFormLayout* theWrappedObject, int index);
int verticalSpacing(QFormLayout* theWrappedObject) const;
};
class PythonQtShell_QFrame : public QFrame
{
public:
PythonQtShell_QFrame(QWidget* parent = 0, Qt::WindowFlags f = 0):QFrame(parent, f),_wrapper(NULL) {};
~PythonQtShell_QFrame();
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 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* arg__1);
virtual void tabletEvent(QTabletEvent* arg__1);
virtual void timerEvent(QTimerEvent* arg__1);
virtual void wheelEvent(QWheelEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QFrame : public QFrame
{ public:
inline void promoted_changeEvent(QEvent* arg__1) { QFrame::changeEvent(arg__1); }
inline bool promoted_event(QEvent* e) { return QFrame::event(e); }
inline void promoted_paintEvent(QPaintEvent* arg__1) { QFrame::paintEvent(arg__1); }
};
class PythonQtWrapper_QFrame : public QObject
{ Q_OBJECT
public:
Q_ENUMS(StyleMask )
enum StyleMask{
Shadow_Mask = QFrame::Shadow_Mask, Shape_Mask = QFrame::Shape_Mask};
public slots:
QFrame* new_QFrame(QWidget* parent = 0, Qt::WindowFlags f = 0);
void delete_QFrame(QFrame* obj) { delete obj; }
void changeEvent(QFrame* theWrappedObject, QEvent* arg__1);
bool event(QFrame* theWrappedObject, QEvent* e);
QRect frameRect(QFrame* theWrappedObject) const;
QFrame::Shadow frameShadow(QFrame* theWrappedObject) const;
QFrame::Shape frameShape(QFrame* theWrappedObject) const;
int frameStyle(QFrame* theWrappedObject) const;
int frameWidth(QFrame* theWrappedObject) const;
int lineWidth(QFrame* theWrappedObject) const;
int midLineWidth(QFrame* theWrappedObject) const;
void paintEvent(QFrame* theWrappedObject, QPaintEvent* arg__1);
void setFrameRect(QFrame* theWrappedObject, const QRect& arg__1);
void setFrameShadow(QFrame* theWrappedObject, QFrame::Shadow arg__1);
void setFrameShape(QFrame* theWrappedObject, QFrame::Shape arg__1);
void setFrameStyle(QFrame* theWrappedObject, int arg__1);
void setLineWidth(QFrame* theWrappedObject, int arg__1);
void setMidLineWidth(QFrame* theWrappedObject, int arg__1);
QSize sizeHint(QFrame* theWrappedObject) const;
};
class PythonQtShell_QGesture : public QGesture
{
public:
PythonQtShell_QGesture(QObject* parent = 0):QGesture(parent),_wrapper(NULL) {};
~PythonQtShell_QGesture();
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_QGesture : public QObject
{ Q_OBJECT
public:
Q_ENUMS(GestureCancelPolicy )
enum GestureCancelPolicy{
CancelNone = QGesture::CancelNone, CancelAllInContext = QGesture::CancelAllInContext};
public slots:
QGesture* new_QGesture(QObject* parent = 0);
void delete_QGesture(QGesture* obj) { delete obj; }
QGesture::GestureCancelPolicy gestureCancelPolicy(QGesture* theWrappedObject) const;
Qt::GestureType gestureType(QGesture* theWrappedObject) const;
bool hasHotSpot(QGesture* theWrappedObject) const;
QPointF hotSpot(QGesture* theWrappedObject) const;
void setGestureCancelPolicy(QGesture* theWrappedObject, QGesture::GestureCancelPolicy policy);
void setHotSpot(QGesture* theWrappedObject, const QPointF& value);
Qt::GestureState state(QGesture* theWrappedObject) const;
void unsetHotSpot(QGesture* theWrappedObject);
};
class PythonQtWrapper_QGestureEvent : public QObject
{ Q_OBJECT
public:
public slots:
QGestureEvent* new_QGestureEvent(const QList<QGesture* >& gestures);
void delete_QGestureEvent(QGestureEvent* obj) { delete obj; }
void accept(QGestureEvent* theWrappedObject);
void accept(QGestureEvent* theWrappedObject, QGesture* arg__1);
void accept(QGestureEvent* theWrappedObject, Qt::GestureType arg__1);
QList<QGesture* > activeGestures(QGestureEvent* theWrappedObject) const;
QList<QGesture* > canceledGestures(QGestureEvent* theWrappedObject) const;
QGesture* gesture(QGestureEvent* theWrappedObject, Qt::GestureType type) const;
QList<QGesture* > gestures(QGestureEvent* theWrappedObject) const;
void ignore(QGestureEvent* theWrappedObject);
void ignore(QGestureEvent* theWrappedObject, QGesture* arg__1);
void ignore(QGestureEvent* theWrappedObject, Qt::GestureType arg__1);
bool isAccepted(QGestureEvent* theWrappedObject) const;
bool isAccepted(QGestureEvent* theWrappedObject, QGesture* arg__1) const;
bool isAccepted(QGestureEvent* theWrappedObject, Qt::GestureType arg__1) const;
QPointF mapToGraphicsScene(QGestureEvent* theWrappedObject, const QPointF& gesturePoint) const;
void setAccepted(QGestureEvent* theWrappedObject, QGesture* arg__1, bool arg__2);
void setAccepted(QGestureEvent* theWrappedObject, Qt::GestureType arg__1, bool arg__2);
void setAccepted(QGestureEvent* theWrappedObject, bool accepted);
void setWidget(QGestureEvent* theWrappedObject, QWidget* widget);
QWidget* widget(QGestureEvent* theWrappedObject) const;
};
class PythonQtShell_QGestureRecognizer : public QGestureRecognizer
{
public:
PythonQtShell_QGestureRecognizer():QGestureRecognizer(),_wrapper(NULL) {};
~PythonQtShell_QGestureRecognizer();
virtual QGesture* create(QObject* target);
virtual QGestureRecognizer::Result recognize(QGesture* state, QObject* watched, QEvent* event);
virtual void reset(QGesture* state);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QGestureRecognizer : public QGestureRecognizer
{ public:
inline QGesture* promoted_create(QObject* target) { return QGestureRecognizer::create(target); }
inline void promoted_reset(QGesture* state) { QGestureRecognizer::reset(state); }
};
class PythonQtWrapper_QGestureRecognizer : public QObject
{ Q_OBJECT
public:
Q_ENUMS(ResultFlag )
Q_FLAGS(Result )
enum ResultFlag{
Ignore = QGestureRecognizer::Ignore, MayBeGesture = QGestureRecognizer::MayBeGesture, TriggerGesture = QGestureRecognizer::TriggerGesture, FinishGesture = QGestureRecognizer::FinishGesture, CancelGesture = QGestureRecognizer::CancelGesture, ResultState_Mask = QGestureRecognizer::ResultState_Mask, ConsumeEventHint = QGestureRecognizer::ConsumeEventHint, ResultHint_Mask = QGestureRecognizer::ResultHint_Mask};
Q_DECLARE_FLAGS(Result, ResultFlag)
public slots:
QGestureRecognizer* new_QGestureRecognizer();
void delete_QGestureRecognizer(QGestureRecognizer* obj) { delete obj; }
QGesture* create(QGestureRecognizer* theWrappedObject, QObject* target);
Qt::GestureType static_QGestureRecognizer_registerRecognizer(QGestureRecognizer* recognizer);
void reset(QGestureRecognizer* theWrappedObject, QGesture* state);
void static_QGestureRecognizer_unregisterRecognizer(Qt::GestureType type);
};
class PythonQtWrapper_QGradient : public QObject
{ Q_OBJECT
public:
Q_ENUMS(CoordinateMode Spread Type )
enum CoordinateMode{
LogicalMode = QGradient::LogicalMode, StretchToDeviceMode = QGradient::StretchToDeviceMode, ObjectBoundingMode = QGradient::ObjectBoundingMode};
enum Spread{
PadSpread = QGradient::PadSpread, ReflectSpread = QGradient::ReflectSpread, RepeatSpread = QGradient::RepeatSpread};
enum Type{
LinearGradient = QGradient::LinearGradient, RadialGradient = QGradient::RadialGradient, ConicalGradient = QGradient::ConicalGradient, NoGradient = QGradient::NoGradient};
public slots:
QGradient* new_QGradient();
QGradient* new_QGradient(const QGradient& other) {
QGradient* a = new QGradient();
*((QGradient*)a) = other;
return a; }
void delete_QGradient(QGradient* obj) { delete obj; }
QGradient::CoordinateMode coordinateMode(QGradient* theWrappedObject) const;
bool __ne__(QGradient* theWrappedObject, const QGradient& other) const;
bool __eq__(QGradient* theWrappedObject, const QGradient& gradient) const;
void setColorAt(QGradient* theWrappedObject, qreal pos, const QColor& color);
void setCoordinateMode(QGradient* theWrappedObject, QGradient::CoordinateMode mode);
void setSpread(QGradient* theWrappedObject, QGradient::Spread spread);
void setStops(QGradient* theWrappedObject, const QVector<QPair<qreal , QColor > >& stops);
QGradient::Spread spread(QGradient* theWrappedObject) const;
QVector<QPair<qreal , QColor > > stops(QGradient* theWrappedObject) const;
QGradient::Type type(QGradient* theWrappedObject) const;
};
class PythonQtWrapper_QGraphicsAnchor : public QObject
{ Q_OBJECT
public:
public slots:
void delete_QGraphicsAnchor(QGraphicsAnchor* obj) { delete obj; }
void setSizePolicy(QGraphicsAnchor* theWrappedObject, QSizePolicy::Policy policy);
void setSpacing(QGraphicsAnchor* theWrappedObject, qreal spacing);
QSizePolicy::Policy sizePolicy(QGraphicsAnchor* theWrappedObject) const;
qreal spacing(QGraphicsAnchor* theWrappedObject) const;
void unsetSpacing(QGraphicsAnchor* theWrappedObject);
};
class PythonQtShell_QGraphicsAnchorLayout : public QGraphicsAnchorLayout
{
public:
PythonQtShell_QGraphicsAnchorLayout(QGraphicsLayoutItem* parent = 0):QGraphicsAnchorLayout(parent),_wrapper(NULL) {};
~PythonQtShell_QGraphicsAnchorLayout();
virtual int count() const;
virtual void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const;
virtual void invalidate();
virtual QGraphicsLayoutItem* itemAt(int index) const;
virtual void removeAt(int index);
virtual void updateGeometry();
virtual void widgetEvent(QEvent* e);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QGraphicsAnchorLayout : public QGraphicsAnchorLayout
{ public:
inline int promoted_count() const { return QGraphicsAnchorLayout::count(); }
inline void promoted_invalidate() { QGraphicsAnchorLayout::invalidate(); }
inline QGraphicsLayoutItem* promoted_itemAt(int index) const { return QGraphicsAnchorLayout::itemAt(index); }
inline void promoted_removeAt(int index) { QGraphicsAnchorLayout::removeAt(index); }
};
class PythonQtWrapper_QGraphicsAnchorLayout : public QObject
{ Q_OBJECT
public:
public slots:
QGraphicsAnchorLayout* new_QGraphicsAnchorLayout(QGraphicsLayoutItem* parent = 0);
void delete_QGraphicsAnchorLayout(QGraphicsAnchorLayout* obj) { delete obj; }
QGraphicsAnchor* addAnchor(QGraphicsAnchorLayout* theWrappedObject, QGraphicsLayoutItem* firstItem, Qt::AnchorPoint firstEdge, QGraphicsLayoutItem* secondItem, Qt::AnchorPoint secondEdge);
void addAnchors(QGraphicsAnchorLayout* theWrappedObject, QGraphicsLayoutItem* firstItem, QGraphicsLayoutItem* secondItem, Qt::Orientations orientations = Qt::Horizontal | Qt::Vertical);
void addCornerAnchors(QGraphicsAnchorLayout* theWrappedObject, QGraphicsLayoutItem* firstItem, Qt::Corner firstCorner, QGraphicsLayoutItem* secondItem, Qt::Corner secondCorner);
QGraphicsAnchor* anchor(QGraphicsAnchorLayout* theWrappedObject, QGraphicsLayoutItem* firstItem, Qt::AnchorPoint firstEdge, QGraphicsLayoutItem* secondItem, Qt::AnchorPoint secondEdge);
int count(QGraphicsAnchorLayout* theWrappedObject) const;
qreal horizontalSpacing(QGraphicsAnchorLayout* theWrappedObject) const;
void invalidate(QGraphicsAnchorLayout* theWrappedObject);
QGraphicsLayoutItem* itemAt(QGraphicsAnchorLayout* theWrappedObject, int index) const;
void removeAt(QGraphicsAnchorLayout* theWrappedObject, int index);
void setGeometry(QGraphicsAnchorLayout* theWrappedObject, const QRectF& rect);
void setHorizontalSpacing(QGraphicsAnchorLayout* theWrappedObject, qreal spacing);
void setSpacing(QGraphicsAnchorLayout* theWrappedObject, qreal spacing);
void setVerticalSpacing(QGraphicsAnchorLayout* theWrappedObject, qreal spacing);
qreal verticalSpacing(QGraphicsAnchorLayout* theWrappedObject) const;
};
class PythonQtShell_QGraphicsBlurEffect : public QGraphicsBlurEffect
{
public:
PythonQtShell_QGraphicsBlurEffect(QObject* parent = 0):QGraphicsBlurEffect(parent),_wrapper(NULL) {};
~PythonQtShell_QGraphicsBlurEffect();
virtual QRectF boundingRectFor(const QRectF& rect) const;
virtual void childEvent(QChildEvent* arg__1);
virtual void customEvent(QEvent* arg__1);
virtual void draw(QPainter* painter);
virtual bool event(QEvent* arg__1);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual void sourceChanged(QGraphicsEffect::ChangeFlags flags);
virtual void timerEvent(QTimerEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QGraphicsBlurEffect : public QGraphicsBlurEffect
{ public:
inline QRectF promoted_boundingRectFor(const QRectF& rect) const { return QGraphicsBlurEffect::boundingRectFor(rect); }
inline void promoted_draw(QPainter* painter) { QGraphicsBlurEffect::draw(painter); }
};
class PythonQtWrapper_QGraphicsBlurEffect : public QObject
{ Q_OBJECT
public:
Q_ENUMS(BlurHint )
Q_FLAGS(BlurHints )
enum BlurHint{
PerformanceHint = QGraphicsBlurEffect::PerformanceHint, QualityHint = QGraphicsBlurEffect::QualityHint, AnimationHint = QGraphicsBlurEffect::AnimationHint};
Q_DECLARE_FLAGS(BlurHints, BlurHint)
public slots:
QGraphicsBlurEffect* new_QGraphicsBlurEffect(QObject* parent = 0);
void delete_QGraphicsBlurEffect(QGraphicsBlurEffect* obj) { delete obj; }
QGraphicsBlurEffect::BlurHints blurHints(QGraphicsBlurEffect* theWrappedObject) const;
qreal blurRadius(QGraphicsBlurEffect* theWrappedObject) const;
QRectF boundingRectFor(QGraphicsBlurEffect* theWrappedObject, const QRectF& rect) const;
void draw(QGraphicsBlurEffect* theWrappedObject, QPainter* painter);
};
class PythonQtShell_QGraphicsColorizeEffect : public QGraphicsColorizeEffect
{
public:
PythonQtShell_QGraphicsColorizeEffect(QObject* parent = 0):QGraphicsColorizeEffect(parent),_wrapper(NULL) {};
~PythonQtShell_QGraphicsColorizeEffect();
virtual QRectF boundingRectFor(const QRectF& sourceRect) const;
virtual void childEvent(QChildEvent* arg__1);
virtual void customEvent(QEvent* arg__1);
virtual void draw(QPainter* painter);
virtual bool event(QEvent* arg__1);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual void sourceChanged(QGraphicsEffect::ChangeFlags flags);
virtual void timerEvent(QTimerEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QGraphicsColorizeEffect : public QGraphicsColorizeEffect
{ public:
inline void promoted_draw(QPainter* painter) { QGraphicsColorizeEffect::draw(painter); }
};
class PythonQtWrapper_QGraphicsColorizeEffect : public QObject
{ Q_OBJECT
public:
public slots:
QGraphicsColorizeEffect* new_QGraphicsColorizeEffect(QObject* parent = 0);
void delete_QGraphicsColorizeEffect(QGraphicsColorizeEffect* obj) { delete obj; }
QColor color(QGraphicsColorizeEffect* theWrappedObject) const;
void draw(QGraphicsColorizeEffect* theWrappedObject, QPainter* painter);
qreal strength(QGraphicsColorizeEffect* theWrappedObject) const;
};
class PythonQtShell_QGraphicsDropShadowEffect : public QGraphicsDropShadowEffect
{
public:
PythonQtShell_QGraphicsDropShadowEffect(QObject* parent = 0):QGraphicsDropShadowEffect(parent),_wrapper(NULL) {};
~PythonQtShell_QGraphicsDropShadowEffect();
virtual QRectF boundingRectFor(const QRectF& rect) const;
virtual void childEvent(QChildEvent* arg__1);
virtual void customEvent(QEvent* arg__1);
virtual void draw(QPainter* painter);
virtual bool event(QEvent* arg__1);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual void sourceChanged(QGraphicsEffect::ChangeFlags flags);
virtual void timerEvent(QTimerEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QGraphicsDropShadowEffect : public QGraphicsDropShadowEffect
{ public:
inline QRectF promoted_boundingRectFor(const QRectF& rect) const { return QGraphicsDropShadowEffect::boundingRectFor(rect); }
inline void promoted_draw(QPainter* painter) { QGraphicsDropShadowEffect::draw(painter); }
};
class PythonQtWrapper_QGraphicsDropShadowEffect : public QObject
{ Q_OBJECT
public:
public slots:
QGraphicsDropShadowEffect* new_QGraphicsDropShadowEffect(QObject* parent = 0);
void delete_QGraphicsDropShadowEffect(QGraphicsDropShadowEffect* obj) { delete obj; }
qreal blurRadius(QGraphicsDropShadowEffect* theWrappedObject) const;
QRectF boundingRectFor(QGraphicsDropShadowEffect* theWrappedObject, const QRectF& rect) const;
QColor color(QGraphicsDropShadowEffect* theWrappedObject) const;
void draw(QGraphicsDropShadowEffect* theWrappedObject, QPainter* painter);
QPointF offset(QGraphicsDropShadowEffect* theWrappedObject) const;
qreal xOffset(QGraphicsDropShadowEffect* theWrappedObject) const;
qreal yOffset(QGraphicsDropShadowEffect* theWrappedObject) const;
};
class PythonQtShell_QGraphicsEffect : public QGraphicsEffect
{
public:
PythonQtShell_QGraphicsEffect(QObject* parent = 0):QGraphicsEffect(parent),_wrapper(NULL) {};
~PythonQtShell_QGraphicsEffect();
virtual QRectF boundingRectFor(const QRectF& sourceRect) const;
virtual void childEvent(QChildEvent* arg__1);
virtual void customEvent(QEvent* arg__1);
virtual void draw(QPainter* painter);
virtual bool event(QEvent* arg__1);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual void sourceChanged(QGraphicsEffect::ChangeFlags flags);
virtual void timerEvent(QTimerEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QGraphicsEffect : public QGraphicsEffect
{ public:
inline QRectF promoted_boundingRectFor(const QRectF& sourceRect) const { return QGraphicsEffect::boundingRectFor(sourceRect); }
inline void promoted_sourceChanged(QGraphicsEffect::ChangeFlags flags) { QGraphicsEffect::sourceChanged(flags); }
};
class PythonQtWrapper_QGraphicsEffect : public QObject
{ Q_OBJECT
public:
Q_ENUMS(PixmapPadMode ChangeFlag )
Q_FLAGS(ChangeFlags )
enum PixmapPadMode{
NoPad = QGraphicsEffect::NoPad, PadToTransparentBorder = QGraphicsEffect::PadToTransparentBorder, PadToEffectiveBoundingRect = QGraphicsEffect::PadToEffectiveBoundingRect};
enum ChangeFlag{
SourceAttached = QGraphicsEffect::SourceAttached, SourceDetached = QGraphicsEffect::SourceDetached, SourceBoundingRectChanged = QGraphicsEffect::SourceBoundingRectChanged, SourceInvalidated = QGraphicsEffect::SourceInvalidated};
Q_DECLARE_FLAGS(ChangeFlags, ChangeFlag)
public slots:
QGraphicsEffect* new_QGraphicsEffect(QObject* parent = 0);
void delete_QGraphicsEffect(QGraphicsEffect* obj) { delete obj; }
QRectF boundingRect(QGraphicsEffect* theWrappedObject) const;
QRectF boundingRectFor(QGraphicsEffect* theWrappedObject, const QRectF& sourceRect) const;
bool isEnabled(QGraphicsEffect* theWrappedObject) const;
void sourceChanged(QGraphicsEffect* theWrappedObject, QGraphicsEffect::ChangeFlags flags);
};
class PythonQtShell_QGraphicsEllipseItem : public QGraphicsEllipseItem
{
public:
PythonQtShell_QGraphicsEllipseItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsEllipseItem(parent, scene),_wrapper(NULL) {};
PythonQtShell_QGraphicsEllipseItem(const QRectF& rect, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsEllipseItem(rect, parent, scene),_wrapper(NULL) {};
PythonQtShell_QGraphicsEllipseItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsEllipseItem(x, y, w, h, parent, scene),_wrapper(NULL) {};
~PythonQtShell_QGraphicsEllipseItem();
virtual bool isObscuredBy(const QGraphicsItem* item) const;
virtual QPainterPath opaqueArea() const;
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QGraphicsEllipseItem : public QGraphicsEllipseItem
{ public:
inline bool promoted_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsEllipseItem::isObscuredBy(item); }
inline QPainterPath promoted_opaqueArea() const { return QGraphicsEllipseItem::opaqueArea(); }
};
class PythonQtWrapper_QGraphicsEllipseItem : public QObject
{ Q_OBJECT
public:
Q_ENUMS(enum_1 )
enum enum_1{
Type = QGraphicsEllipseItem::Type};
public slots:
QGraphicsEllipseItem* new_QGraphicsEllipseItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0);
QGraphicsEllipseItem* new_QGraphicsEllipseItem(const QRectF& rect, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0);
QGraphicsEllipseItem* new_QGraphicsEllipseItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0);
void delete_QGraphicsEllipseItem(QGraphicsEllipseItem* obj) { delete obj; }
QRectF boundingRect(QGraphicsEllipseItem* theWrappedObject) const;
bool contains(QGraphicsEllipseItem* theWrappedObject, const QPointF& point) const;
bool isObscuredBy(QGraphicsEllipseItem* theWrappedObject, const QGraphicsItem* item) const;
QPainterPath opaqueArea(QGraphicsEllipseItem* theWrappedObject) const;
void paint(QGraphicsEllipseItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0);
QRectF rect(QGraphicsEllipseItem* theWrappedObject) const;
void setRect(QGraphicsEllipseItem* theWrappedObject, const QRectF& rect);
void setRect(QGraphicsEllipseItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h);
void setSpanAngle(QGraphicsEllipseItem* theWrappedObject, int angle);
void setStartAngle(QGraphicsEllipseItem* theWrappedObject, int angle);
QPainterPath shape(QGraphicsEllipseItem* theWrappedObject) const;
int spanAngle(QGraphicsEllipseItem* theWrappedObject) const;
int startAngle(QGraphicsEllipseItem* theWrappedObject) const;
int type(QGraphicsEllipseItem* theWrappedObject) const;
};
class PythonQtShell_QGraphicsGridLayout : public QGraphicsGridLayout
{
public:
PythonQtShell_QGraphicsGridLayout(QGraphicsLayoutItem* parent = 0):QGraphicsGridLayout(parent),_wrapper(NULL) {};
~PythonQtShell_QGraphicsGridLayout();
virtual int count() const;
virtual void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const;
virtual void invalidate();
virtual QGraphicsLayoutItem* itemAt(int index) const;
virtual void removeAt(int index);
virtual void updateGeometry();
virtual void widgetEvent(QEvent* e);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QGraphicsGridLayout : public QGraphicsGridLayout
{ public:
inline int promoted_count() const { return QGraphicsGridLayout::count(); }
inline void promoted_invalidate() { QGraphicsGridLayout::invalidate(); }
inline QGraphicsLayoutItem* promoted_itemAt(int index) const { return QGraphicsGridLayout::itemAt(index); }
inline void promoted_removeAt(int index) { QGraphicsGridLayout::removeAt(index); }
};
class PythonQtWrapper_QGraphicsGridLayout : public QObject
{ Q_OBJECT
public:
public slots:
QGraphicsGridLayout* new_QGraphicsGridLayout(QGraphicsLayoutItem* parent = 0);
void delete_QGraphicsGridLayout(QGraphicsGridLayout* obj) { delete obj; }
void addItem(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item, int row, int column, Qt::Alignment alignment = 0);
void addItem(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item, int row, int column, int rowSpan, int columnSpan, Qt::Alignment alignment = 0);
Qt::Alignment alignment(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item) const;
Qt::Alignment columnAlignment(QGraphicsGridLayout* theWrappedObject, int column) const;
int columnCount(QGraphicsGridLayout* theWrappedObject) const;
qreal columnMaximumWidth(QGraphicsGridLayout* theWrappedObject, int column) const;
qreal columnMinimumWidth(QGraphicsGridLayout* theWrappedObject, int column) const;
qreal columnPreferredWidth(QGraphicsGridLayout* theWrappedObject, int column) const;
qreal columnSpacing(QGraphicsGridLayout* theWrappedObject, int column) const;
int columnStretchFactor(QGraphicsGridLayout* theWrappedObject, int column) const;
int count(QGraphicsGridLayout* theWrappedObject) const;
qreal horizontalSpacing(QGraphicsGridLayout* theWrappedObject) const;
void invalidate(QGraphicsGridLayout* theWrappedObject);
QGraphicsLayoutItem* itemAt(QGraphicsGridLayout* theWrappedObject, int index) const;
QGraphicsLayoutItem* itemAt(QGraphicsGridLayout* theWrappedObject, int row, int column) const;
void removeAt(QGraphicsGridLayout* theWrappedObject, int index);
void removeItem(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item);
Qt::Alignment rowAlignment(QGraphicsGridLayout* theWrappedObject, int row) const;
int rowCount(QGraphicsGridLayout* theWrappedObject) const;
qreal rowMaximumHeight(QGraphicsGridLayout* theWrappedObject, int row) const;
qreal rowMinimumHeight(QGraphicsGridLayout* theWrappedObject, int row) const;
qreal rowPreferredHeight(QGraphicsGridLayout* theWrappedObject, int row) const;
qreal rowSpacing(QGraphicsGridLayout* theWrappedObject, int row) const;
int rowStretchFactor(QGraphicsGridLayout* theWrappedObject, int row) const;
void setAlignment(QGraphicsGridLayout* theWrappedObject, QGraphicsLayoutItem* item, Qt::Alignment alignment);
void setColumnAlignment(QGraphicsGridLayout* theWrappedObject, int column, Qt::Alignment alignment);
void setColumnFixedWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width);
void setColumnMaximumWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width);
void setColumnMinimumWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width);
void setColumnPreferredWidth(QGraphicsGridLayout* theWrappedObject, int column, qreal width);
void setColumnSpacing(QGraphicsGridLayout* theWrappedObject, int column, qreal spacing);
void setColumnStretchFactor(QGraphicsGridLayout* theWrappedObject, int column, int stretch);
void setGeometry(QGraphicsGridLayout* theWrappedObject, const QRectF& rect);
void setHorizontalSpacing(QGraphicsGridLayout* theWrappedObject, qreal spacing);
void setRowAlignment(QGraphicsGridLayout* theWrappedObject, int row, Qt::Alignment alignment);
void setRowFixedHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height);
void setRowMaximumHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height);
void setRowMinimumHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height);
void setRowPreferredHeight(QGraphicsGridLayout* theWrappedObject, int row, qreal height);
void setRowSpacing(QGraphicsGridLayout* theWrappedObject, int row, qreal spacing);
void setRowStretchFactor(QGraphicsGridLayout* theWrappedObject, int row, int stretch);
void setSpacing(QGraphicsGridLayout* theWrappedObject, qreal spacing);
void setVerticalSpacing(QGraphicsGridLayout* theWrappedObject, qreal spacing);
QSizeF sizeHint(QGraphicsGridLayout* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const;
qreal verticalSpacing(QGraphicsGridLayout* theWrappedObject) const;
};
class PythonQtShell_QGraphicsItem : public QGraphicsItem
{
public:
PythonQtShell_QGraphicsItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0):QGraphicsItem(parent, scene),_wrapper(NULL) {};
~PythonQtShell_QGraphicsItem();
virtual void advance(int phase);
virtual QRectF boundingRect() const;
virtual bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const;
virtual bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const;
virtual bool contains(const QPointF& point) const;
virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* event);
virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* event);
virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* event);
virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* event);
virtual void dropEvent(QGraphicsSceneDragDropEvent* event);
virtual QVariant extension(const QVariant& variant) const;
virtual void focusInEvent(QFocusEvent* event);
virtual void focusOutEvent(QFocusEvent* event);
virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* event);
virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* event);
virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* event);
virtual void inputMethodEvent(QInputMethodEvent* event);
virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const;
virtual bool isObscuredBy(const QGraphicsItem* item) const;
virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value);
virtual void keyPressEvent(QKeyEvent* event);
virtual void keyReleaseEvent(QKeyEvent* event);
virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event);
virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* event);
virtual void mousePressEvent(QGraphicsSceneMouseEvent* event);
virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* event);
virtual QPainterPath opaqueArea() const;
virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0);
virtual bool sceneEvent(QEvent* event);
virtual bool sceneEventFilter(QGraphicsItem* watched, QEvent* event);
virtual void setExtension(QGraphicsItem::Extension extension, const QVariant& variant);
virtual QPainterPath shape() const;
virtual bool supportsExtension(QGraphicsItem::Extension extension) const;
virtual int type() const;
virtual void wheelEvent(QGraphicsSceneWheelEvent* event);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QGraphicsItem : public QGraphicsItem
{ public:
inline void promoted_advance(int phase) { QGraphicsItem::advance(phase); }
inline bool promoted_collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const { return QGraphicsItem::collidesWithItem(other, mode); }
inline bool promoted_collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const { return QGraphicsItem::collidesWithPath(path, mode); }
inline bool promoted_contains(const QPointF& point) const { return QGraphicsItem::contains(point); }
inline void promoted_contextMenuEvent(QGraphicsSceneContextMenuEvent* event) { QGraphicsItem::contextMenuEvent(event); }
inline void promoted_dragEnterEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsItem::dragEnterEvent(event); }
inline void promoted_dragLeaveEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsItem::dragLeaveEvent(event); }
inline void promoted_dragMoveEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsItem::dragMoveEvent(event); }
inline void promoted_dropEvent(QGraphicsSceneDragDropEvent* event) { QGraphicsItem::dropEvent(event); }
inline QVariant promoted_extension(const QVariant& variant) const { return QGraphicsItem::extension(variant); }
inline void promoted_focusInEvent(QFocusEvent* event) { QGraphicsItem::focusInEvent(event); }
inline void promoted_focusOutEvent(QFocusEvent* event) { QGraphicsItem::focusOutEvent(event); }
inline void promoted_hoverEnterEvent(QGraphicsSceneHoverEvent* event) { QGraphicsItem::hoverEnterEvent(event); }
inline void promoted_hoverLeaveEvent(QGraphicsSceneHoverEvent* event) { QGraphicsItem::hoverLeaveEvent(event); }
inline void promoted_hoverMoveEvent(QGraphicsSceneHoverEvent* event) { QGraphicsItem::hoverMoveEvent(event); }
inline void promoted_inputMethodEvent(QInputMethodEvent* event) { QGraphicsItem::inputMethodEvent(event); }
inline QVariant promoted_inputMethodQuery(Qt::InputMethodQuery query) const { return QGraphicsItem::inputMethodQuery(query); }
inline bool promoted_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsItem::isObscuredBy(item); }
inline QVariant promoted_itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) { return QGraphicsItem::itemChange(change, value); }
inline void promoted_keyPressEvent(QKeyEvent* event) { QGraphicsItem::keyPressEvent(event); }
inline void promoted_keyReleaseEvent(QKeyEvent* event) { QGraphicsItem::keyReleaseEvent(event); }
inline void promoted_mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) { QGraphicsItem::mouseDoubleClickEvent(event); }
inline void promoted_mouseMoveEvent(QGraphicsSceneMouseEvent* event) { QGraphicsItem::mouseMoveEvent(event); }
inline void promoted_mousePressEvent(QGraphicsSceneMouseEvent* event) { QGraphicsItem::mousePressEvent(event); }
inline void promoted_mouseReleaseEvent(QGraphicsSceneMouseEvent* event) { QGraphicsItem::mouseReleaseEvent(event); }
inline QPainterPath promoted_opaqueArea() const { return QGraphicsItem::opaqueArea(); }
inline bool promoted_sceneEvent(QEvent* event) { return QGraphicsItem::sceneEvent(event); }
inline bool promoted_sceneEventFilter(QGraphicsItem* watched, QEvent* event) { return QGraphicsItem::sceneEventFilter(watched, event); }
inline QPainterPath promoted_shape() const { return QGraphicsItem::shape(); }
inline int promoted_type() const { return QGraphicsItem::type(); }
inline void promoted_wheelEvent(QGraphicsSceneWheelEvent* event) { QGraphicsItem::wheelEvent(event); }
};
class PythonQtWrapper_QGraphicsItem : public QObject
{ Q_OBJECT
public:
Q_ENUMS(CacheMode PanelModality enum_1 GraphicsItemFlag GraphicsItemChange )
Q_FLAGS(GraphicsItemFlags )
enum CacheMode{
NoCache = QGraphicsItem::NoCache, ItemCoordinateCache = QGraphicsItem::ItemCoordinateCache, DeviceCoordinateCache = QGraphicsItem::DeviceCoordinateCache};
enum PanelModality{
NonModal = QGraphicsItem::NonModal, PanelModal = QGraphicsItem::PanelModal, SceneModal = QGraphicsItem::SceneModal};
enum enum_1{
Type = QGraphicsItem::Type, UserType = QGraphicsItem::UserType};
enum GraphicsItemFlag{
ItemIsMovable = QGraphicsItem::ItemIsMovable, ItemIsSelectable = QGraphicsItem::ItemIsSelectable, ItemIsFocusable = QGraphicsItem::ItemIsFocusable, ItemClipsToShape = QGraphicsItem::ItemClipsToShape, ItemClipsChildrenToShape = QGraphicsItem::ItemClipsChildrenToShape, ItemIgnoresTransformations = QGraphicsItem::ItemIgnoresTransformations, ItemIgnoresParentOpacity = QGraphicsItem::ItemIgnoresParentOpacity, ItemDoesntPropagateOpacityToChildren = QGraphicsItem::ItemDoesntPropagateOpacityToChildren, ItemStacksBehindParent = QGraphicsItem::ItemStacksBehindParent, ItemUsesExtendedStyleOption = QGraphicsItem::ItemUsesExtendedStyleOption, ItemHasNoContents = QGraphicsItem::ItemHasNoContents, ItemSendsGeometryChanges = QGraphicsItem::ItemSendsGeometryChanges, ItemAcceptsInputMethod = QGraphicsItem::ItemAcceptsInputMethod, ItemNegativeZStacksBehindParent = QGraphicsItem::ItemNegativeZStacksBehindParent, ItemIsPanel = QGraphicsItem::ItemIsPanel, ItemIsFocusScope = QGraphicsItem::ItemIsFocusScope, ItemSendsScenePositionChanges = QGraphicsItem::ItemSendsScenePositionChanges, ItemStopsClickFocusPropagation = QGraphicsItem::ItemStopsClickFocusPropagation, ItemStopsFocusHandling = QGraphicsItem::ItemStopsFocusHandling};
enum GraphicsItemChange{
ItemPositionChange = QGraphicsItem::ItemPositionChange, ItemMatrixChange = QGraphicsItem::ItemMatrixChange, ItemVisibleChange = QGraphicsItem::ItemVisibleChange, ItemEnabledChange = QGraphicsItem::ItemEnabledChange, ItemSelectedChange = QGraphicsItem::ItemSelectedChange, ItemParentChange = QGraphicsItem::ItemParentChange, ItemChildAddedChange = QGraphicsItem::ItemChildAddedChange, ItemChildRemovedChange = QGraphicsItem::ItemChildRemovedChange, ItemTransformChange = QGraphicsItem::ItemTransformChange, ItemPositionHasChanged = QGraphicsItem::ItemPositionHasChanged, ItemTransformHasChanged = QGraphicsItem::ItemTransformHasChanged, ItemSceneChange = QGraphicsItem::ItemSceneChange, ItemVisibleHasChanged = QGraphicsItem::ItemVisibleHasChanged, ItemEnabledHasChanged = QGraphicsItem::ItemEnabledHasChanged, ItemSelectedHasChanged = QGraphicsItem::ItemSelectedHasChanged, ItemParentHasChanged = QGraphicsItem::ItemParentHasChanged, ItemSceneHasChanged = QGraphicsItem::ItemSceneHasChanged, ItemCursorChange = QGraphicsItem::ItemCursorChange, ItemCursorHasChanged = QGraphicsItem::ItemCursorHasChanged, ItemToolTipChange = QGraphicsItem::ItemToolTipChange, ItemToolTipHasChanged = QGraphicsItem::ItemToolTipHasChanged, ItemFlagsChange = QGraphicsItem::ItemFlagsChange, ItemFlagsHaveChanged = QGraphicsItem::ItemFlagsHaveChanged, ItemZValueChange = QGraphicsItem::ItemZValueChange, ItemZValueHasChanged = QGraphicsItem::ItemZValueHasChanged, ItemOpacityChange = QGraphicsItem::ItemOpacityChange, ItemOpacityHasChanged = QGraphicsItem::ItemOpacityHasChanged, ItemScenePositionHasChanged = QGraphicsItem::ItemScenePositionHasChanged, ItemRotationChange = QGraphicsItem::ItemRotationChange, ItemRotationHasChanged = QGraphicsItem::ItemRotationHasChanged, ItemScaleChange = QGraphicsItem::ItemScaleChange, ItemScaleHasChanged = QGraphicsItem::ItemScaleHasChanged, ItemTransformOriginPointChange = QGraphicsItem::ItemTransformOriginPointChange, ItemTransformOriginPointHasChanged = QGraphicsItem::ItemTransformOriginPointHasChanged};
Q_DECLARE_FLAGS(GraphicsItemFlags, GraphicsItemFlag)
public slots:
QGraphicsItem* new_QGraphicsItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0);
void delete_QGraphicsItem(QGraphicsItem* obj) { delete obj; }
bool py_hasOwner(QGraphicsItem* theWrappedObject) { return theWrappedObject->scene()!=NULL || theWrappedObject->parentItem()!=NULL; }
bool acceptDrops(QGraphicsItem* theWrappedObject) const;
bool acceptHoverEvents(QGraphicsItem* theWrappedObject) const;
bool acceptTouchEvents(QGraphicsItem* theWrappedObject) const;
Qt::MouseButtons acceptedMouseButtons(QGraphicsItem* theWrappedObject) const;
bool acceptsHoverEvents(QGraphicsItem* theWrappedObject) const;
void advance(QGraphicsItem* theWrappedObject, int phase);
QRegion boundingRegion(QGraphicsItem* theWrappedObject, const QTransform& itemToDeviceTransform) const;
qreal boundingRegionGranularity(QGraphicsItem* theWrappedObject) const;
QGraphicsItem::CacheMode cacheMode(QGraphicsItem* theWrappedObject) const;
QList<QGraphicsItem* > childItems(QGraphicsItem* theWrappedObject) const;
QRectF childrenBoundingRect(QGraphicsItem* theWrappedObject) const;
void clearFocus(QGraphicsItem* theWrappedObject);
QPainterPath clipPath(QGraphicsItem* theWrappedObject) const;
bool collidesWithItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const;
bool collidesWithPath(QGraphicsItem* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const;
QList<QGraphicsItem* > collidingItems(QGraphicsItem* theWrappedObject, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const;
QGraphicsItem* commonAncestorItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* other) const;
bool contains(QGraphicsItem* theWrappedObject, const QPointF& point) const;
void contextMenuEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneContextMenuEvent* event);
QCursor cursor(QGraphicsItem* theWrappedObject) const;
QVariant data(QGraphicsItem* theWrappedObject, int key) const;
QTransform deviceTransform(QGraphicsItem* theWrappedObject, const QTransform& viewportTransform) const;
void dragEnterEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event);
void dragLeaveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event);
void dragMoveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event);
void dropEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneDragDropEvent* event);
qreal effectiveOpacity(QGraphicsItem* theWrappedObject) const;
void ensureVisible(QGraphicsItem* theWrappedObject, const QRectF& rect = QRectF(), int xmargin = 50, int ymargin = 50);
void ensureVisible(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int xmargin = 50, int ymargin = 50);
QVariant extension(QGraphicsItem* theWrappedObject, const QVariant& variant) const;
bool filtersChildEvents(QGraphicsItem* theWrappedObject) const;
QGraphicsItem::GraphicsItemFlags flags(QGraphicsItem* theWrappedObject) const;
void focusInEvent(QGraphicsItem* theWrappedObject, QFocusEvent* event);
QGraphicsItem* focusItem(QGraphicsItem* theWrappedObject) const;
void focusOutEvent(QGraphicsItem* theWrappedObject, QFocusEvent* event);
QGraphicsItem* focusProxy(QGraphicsItem* theWrappedObject) const;
QGraphicsItem* focusScopeItem(QGraphicsItem* theWrappedObject) const;
void grabKeyboard(QGraphicsItem* theWrappedObject);
void grabMouse(QGraphicsItem* theWrappedObject);
QGraphicsEffect* graphicsEffect(QGraphicsItem* theWrappedObject) const;
QGraphicsItemGroup* group(QGraphicsItem* theWrappedObject) const;
bool handlesChildEvents(QGraphicsItem* theWrappedObject) const;
bool hasCursor(QGraphicsItem* theWrappedObject) const;
bool hasFocus(QGraphicsItem* theWrappedObject) const;
void hide(QGraphicsItem* theWrappedObject);
void hoverEnterEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneHoverEvent* event);
void hoverLeaveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneHoverEvent* event);
void hoverMoveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneHoverEvent* event);
void inputMethodEvent(QGraphicsItem* theWrappedObject, QInputMethodEvent* event);
Qt::InputMethodHints inputMethodHints(QGraphicsItem* theWrappedObject) const;
QVariant inputMethodQuery(QGraphicsItem* theWrappedObject, Qt::InputMethodQuery query) const;
void installSceneEventFilter(QGraphicsItem* theWrappedObject, QGraphicsItem* filterItem);
bool isActive(QGraphicsItem* theWrappedObject) const;
bool isAncestorOf(QGraphicsItem* theWrappedObject, const QGraphicsItem* child) const;
bool isBlockedByModalPanel(QGraphicsItem* theWrappedObject, QGraphicsItem** blockingPanel = 0) const;
bool isClipped(QGraphicsItem* theWrappedObject) const;
bool isEnabled(QGraphicsItem* theWrappedObject) const;
bool isObscured(QGraphicsItem* theWrappedObject) const;
bool isObscured(QGraphicsItem* theWrappedObject, const QRectF& rect) const;
bool isObscured(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const;
bool isObscuredBy(QGraphicsItem* theWrappedObject, const QGraphicsItem* item) const;
bool isPanel(QGraphicsItem* theWrappedObject) const;
bool isSelected(QGraphicsItem* theWrappedObject) const;
bool isUnderMouse(QGraphicsItem* theWrappedObject) const;
bool isVisible(QGraphicsItem* theWrappedObject) const;
bool isVisibleTo(QGraphicsItem* theWrappedObject, const QGraphicsItem* parent) const;
bool isWidget(QGraphicsItem* theWrappedObject) const;
bool isWindow(QGraphicsItem* theWrappedObject) const;
QVariant itemChange(QGraphicsItem* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value);
QTransform itemTransform(QGraphicsItem* theWrappedObject, const QGraphicsItem* other, bool* ok = 0) const;
void keyPressEvent(QGraphicsItem* theWrappedObject, QKeyEvent* event);
void keyReleaseEvent(QGraphicsItem* theWrappedObject, QKeyEvent* event);
QPainterPath mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPainterPath& path) const;
QPointF mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPointF& point) const;
QPolygonF mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPolygonF& polygon) const;
QPolygonF mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QRectF& rect) const;
QPointF mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y) const;
QPolygonF mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y, qreal w, qreal h) const;
QPainterPath mapFromParent(QGraphicsItem* theWrappedObject, const QPainterPath& path) const;
QPointF mapFromParent(QGraphicsItem* theWrappedObject, const QPointF& point) const;
QPolygonF mapFromParent(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const;
QPolygonF mapFromParent(QGraphicsItem* theWrappedObject, const QRectF& rect) const;
QPointF mapFromParent(QGraphicsItem* theWrappedObject, qreal x, qreal y) const;
QPolygonF mapFromParent(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const;
QPainterPath mapFromScene(QGraphicsItem* theWrappedObject, const QPainterPath& path) const;
QPointF mapFromScene(QGraphicsItem* theWrappedObject, const QPointF& point) const;
QPolygonF mapFromScene(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const;
QPolygonF mapFromScene(QGraphicsItem* theWrappedObject, const QRectF& rect) const;
QPointF mapFromScene(QGraphicsItem* theWrappedObject, qreal x, qreal y) const;
QPolygonF mapFromScene(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const;
QRectF mapRectFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QRectF& rect) const;
QRectF mapRectFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y, qreal w, qreal h) const;
QRectF mapRectFromParent(QGraphicsItem* theWrappedObject, const QRectF& rect) const;
QRectF mapRectFromParent(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const;
QRectF mapRectFromScene(QGraphicsItem* theWrappedObject, const QRectF& rect) const;
QRectF mapRectFromScene(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const;
QRectF mapRectToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QRectF& rect) const;
QRectF mapRectToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y, qreal w, qreal h) const;
QRectF mapRectToParent(QGraphicsItem* theWrappedObject, const QRectF& rect) const;
QRectF mapRectToParent(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const;
QRectF mapRectToScene(QGraphicsItem* theWrappedObject, const QRectF& rect) const;
QRectF mapRectToScene(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const;
QPainterPath mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPainterPath& path) const;
QPointF mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPointF& point) const;
QPolygonF mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPolygonF& polygon) const;
QPolygonF mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QRectF& rect) const;
QPointF mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y) const;
QPolygonF mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y, qreal w, qreal h) const;
QPainterPath mapToParent(QGraphicsItem* theWrappedObject, const QPainterPath& path) const;
QPointF mapToParent(QGraphicsItem* theWrappedObject, const QPointF& point) const;
QPolygonF mapToParent(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const;
QPolygonF mapToParent(QGraphicsItem* theWrappedObject, const QRectF& rect) const;
QPointF mapToParent(QGraphicsItem* theWrappedObject, qreal x, qreal y) const;
QPolygonF mapToParent(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const;
QPainterPath mapToScene(QGraphicsItem* theWrappedObject, const QPainterPath& path) const;
QPointF mapToScene(QGraphicsItem* theWrappedObject, const QPointF& point) const;
QPolygonF mapToScene(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const;
QPolygonF mapToScene(QGraphicsItem* theWrappedObject, const QRectF& rect) const;
QPointF mapToScene(QGraphicsItem* theWrappedObject, qreal x, qreal y) const;
QPolygonF mapToScene(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const;
void mouseDoubleClickEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event);
void mouseMoveEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event);
void mousePressEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event);
void mouseReleaseEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneMouseEvent* event);
void moveBy(QGraphicsItem* theWrappedObject, qreal dx, qreal dy);
qreal opacity(QGraphicsItem* theWrappedObject) const;
QPainterPath opaqueArea(QGraphicsItem* theWrappedObject) const;
QGraphicsItem* panel(QGraphicsItem* theWrappedObject) const;
QGraphicsItem::PanelModality panelModality(QGraphicsItem* theWrappedObject) const;
QGraphicsItem* parentItem(QGraphicsItem* theWrappedObject) const;
QGraphicsObject* parentObject(QGraphicsItem* theWrappedObject) const;
QGraphicsWidget* parentWidget(QGraphicsItem* theWrappedObject) const;
QPointF pos(QGraphicsItem* theWrappedObject) const;
void removeSceneEventFilter(QGraphicsItem* theWrappedObject, QGraphicsItem* filterItem);
void resetTransform(QGraphicsItem* theWrappedObject);
void rotate(QGraphicsItem* theWrappedObject, qreal angle);
qreal rotation(QGraphicsItem* theWrappedObject) const;
qreal scale(QGraphicsItem* theWrappedObject) const;
void scale(QGraphicsItem* theWrappedObject, qreal sx, qreal sy);
QGraphicsScene* scene(QGraphicsItem* theWrappedObject) const;
QRectF sceneBoundingRect(QGraphicsItem* theWrappedObject) const;
bool sceneEvent(QGraphicsItem* theWrappedObject, QEvent* event);
bool sceneEventFilter(QGraphicsItem* theWrappedObject, QGraphicsItem* watched, QEvent* event);
QPointF scenePos(QGraphicsItem* theWrappedObject) const;
QTransform sceneTransform(QGraphicsItem* theWrappedObject) const;
void scroll(QGraphicsItem* theWrappedObject, qreal dx, qreal dy, const QRectF& rect = QRectF());
void setAcceptDrops(QGraphicsItem* theWrappedObject, bool on);
void setAcceptHoverEvents(QGraphicsItem* theWrappedObject, bool enabled);
void setAcceptTouchEvents(QGraphicsItem* theWrappedObject, bool enabled);
void setAcceptedMouseButtons(QGraphicsItem* theWrappedObject, Qt::MouseButtons buttons);
void setAcceptsHoverEvents(QGraphicsItem* theWrappedObject, bool enabled);
void setActive(QGraphicsItem* theWrappedObject, bool active);
void setBoundingRegionGranularity(QGraphicsItem* theWrappedObject, qreal granularity);
void setCacheMode(QGraphicsItem* theWrappedObject, QGraphicsItem::CacheMode mode, const QSize& cacheSize = QSize());
void setCursor(QGraphicsItem* theWrappedObject, const QCursor& cursor);
void setData(QGraphicsItem* theWrappedObject, int key, const QVariant& value);
void setEnabled(QGraphicsItem* theWrappedObject, bool enabled);
void setFiltersChildEvents(QGraphicsItem* theWrappedObject, bool enabled);
void setFlag(QGraphicsItem* theWrappedObject, QGraphicsItem::GraphicsItemFlag flag, bool enabled = true);
void setFlags(QGraphicsItem* theWrappedObject, QGraphicsItem::GraphicsItemFlags flags);
void setFocus(QGraphicsItem* theWrappedObject, Qt::FocusReason focusReason = Qt::OtherFocusReason);
void setFocusProxy(QGraphicsItem* theWrappedObject, QGraphicsItem* item);
void setGraphicsEffect(QGraphicsItem* theWrappedObject, QGraphicsEffect* effect);
void setGroup(QGraphicsItem* theWrappedObject, QGraphicsItemGroup* group);
void setHandlesChildEvents(QGraphicsItem* theWrappedObject, bool enabled);
void setInputMethodHints(QGraphicsItem* theWrappedObject, Qt::InputMethodHints hints);
void setOpacity(QGraphicsItem* theWrappedObject, qreal opacity);
void setPanelModality(QGraphicsItem* theWrappedObject, QGraphicsItem::PanelModality panelModality);
void setParentItem(QGraphicsItem* theWrappedObject, QGraphicsItem* parent);
void setPos(QGraphicsItem* theWrappedObject, const QPointF& pos);
void setPos(QGraphicsItem* theWrappedObject, qreal x, qreal y);
void setRotation(QGraphicsItem* theWrappedObject, qreal angle);
void setScale(QGraphicsItem* theWrappedObject, qreal scale);
void setSelected(QGraphicsItem* theWrappedObject, bool selected);
void setToolTip(QGraphicsItem* theWrappedObject, const QString& toolTip);
void setTransform(QGraphicsItem* theWrappedObject, const QTransform& matrix, bool combine = false);
void setTransformOriginPoint(QGraphicsItem* theWrappedObject, const QPointF& origin);
void setTransformOriginPoint(QGraphicsItem* theWrappedObject, qreal ax, qreal ay);
void setTransformations(QGraphicsItem* theWrappedObject, const QList<QGraphicsTransform* >& transformations);
void setVisible(QGraphicsItem* theWrappedObject, bool visible);
void setX(QGraphicsItem* theWrappedObject, qreal x);
void setY(QGraphicsItem* theWrappedObject, qreal y);
void setZValue(QGraphicsItem* theWrappedObject, qreal z);
QPainterPath shape(QGraphicsItem* theWrappedObject) const;
void shear(QGraphicsItem* theWrappedObject, qreal sh, qreal sv);
void show(QGraphicsItem* theWrappedObject);
void stackBefore(QGraphicsItem* theWrappedObject, const QGraphicsItem* sibling);
QGraphicsObject* toGraphicsObject(QGraphicsItem* theWrappedObject);
QString toolTip(QGraphicsItem* theWrappedObject) const;
QGraphicsItem* topLevelItem(QGraphicsItem* theWrappedObject) const;
QGraphicsWidget* topLevelWidget(QGraphicsItem* theWrappedObject) const;
QTransform transform(QGraphicsItem* theWrappedObject) const;
QPointF transformOriginPoint(QGraphicsItem* theWrappedObject) const;
QList<QGraphicsTransform* > transformations(QGraphicsItem* theWrappedObject) const;
void translate(QGraphicsItem* theWrappedObject, qreal dx, qreal dy);
int type(QGraphicsItem* theWrappedObject) const;
void ungrabKeyboard(QGraphicsItem* theWrappedObject);
void ungrabMouse(QGraphicsItem* theWrappedObject);
void unsetCursor(QGraphicsItem* theWrappedObject);
void update(QGraphicsItem* theWrappedObject, const QRectF& rect = QRectF());
void update(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal width, qreal height);
void wheelEvent(QGraphicsItem* theWrappedObject, QGraphicsSceneWheelEvent* event);
QGraphicsWidget* window(QGraphicsItem* theWrappedObject) const;
qreal x(QGraphicsItem* theWrappedObject) const;
qreal y(QGraphicsItem* theWrappedObject) const;
qreal zValue(QGraphicsItem* theWrappedObject) const;
QString py_toString(QGraphicsItem*);
};
|