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
|
#include <PythonQt.h>
#include <QObject>
#include <QTextBlock>
#include <QTextCursor>
#include <QTextDocumentFragment>
#include <QTextEdit>
#include <QTextFormat>
#include <QTextFrame>
#include <QTextLayout>
#include <QVariant>
#include <qaction.h>
#include <qbitmap.h>
#include <qbrush.h>
#include <qbuttongroup.h>
#include <qbytearray.h>
#include <qcalendarwidget.h>
#include <qcolor.h>
#include <qcoreevent.h>
#include <qcursor.h>
#include <qdatetime.h>
#include <qdatetimeedit.h>
#include <qdrawutil.h>
#include <qevent.h>
#include <qfont.h>
#include <qgraphicseffect.h>
#include <qgraphicsproxywidget.h>
#include <qicon.h>
#include <qimage.h>
#include <qinputcontext.h>
#include <qiodevice.h>
#include <qkeysequence.h>
#include <qlayout.h>
#include <qlineedit.h>
#include <qlist.h>
#include <qlocale.h>
#include <qmargins.h>
#include <qmenu.h>
#include <qmimedata.h>
#include <qobject.h>
#include <qpaintdevice.h>
#include <qpaintengine.h>
#include <qpainter.h>
#include <qpalette.h>
#include <qpen.h>
#include <qpoint.h>
#include <qprinter.h>
#include <qrect.h>
#include <qregexp.h>
#include <qregion.h>
#include <qscrollbar.h>
#include <qsize.h>
#include <qsizepolicy.h>
#include <qstringlist.h>
#include <qstyle.h>
#include <qstyleoption.h>
#include <qtextbrowser.h>
#include <qtextcodec.h>
#include <qtextcodecplugin.h>
#include <qtextcursor.h>
#include <qtextdocument.h>
#include <qtextdocumentfragment.h>
#include <qtextdocumentwriter.h>
#include <qtextedit.h>
#include <qtextformat.h>
#include <qtextlayout.h>
#include <qtextlist.h>
#include <qtextobject.h>
#include <qtexttable.h>
#include <qtoolbar.h>
#include <qtoolbox.h>
#include <qtoolbutton.h>
#include <qurl.h>
#include <qvector.h>
#include <qwidget.h>
class PythonQtShell_QTextBlockGroup : public QTextBlockGroup
{
public:
PythonQtShell_QTextBlockGroup(QTextDocument* doc):QTextBlockGroup(doc),_wrapper(NULL) {};
virtual void blockFormatChanged(const QTextBlock& block);
virtual void blockInserted(const QTextBlock& block);
virtual void blockRemoved(const QTextBlock& block);
virtual void childEvent(QChildEvent* arg__1);
virtual void customEvent(QEvent* arg__1);
virtual bool event(QEvent* arg__1);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual void timerEvent(QTimerEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QTextBlockGroup : public QTextBlockGroup
{ public:
inline void promoted_blockFormatChanged(const QTextBlock& block) { QTextBlockGroup::blockFormatChanged(block); }
inline void promoted_blockInserted(const QTextBlock& block) { QTextBlockGroup::blockInserted(block); }
inline void promoted_blockRemoved(const QTextBlock& block) { QTextBlockGroup::blockRemoved(block); }
};
class PythonQtWrapper_QTextBlockGroup : public QObject
{ Q_OBJECT
public:
public slots:
void blockFormatChanged(QTextBlockGroup* theWrappedObject, const QTextBlock& block);
void blockInserted(QTextBlockGroup* theWrappedObject, const QTextBlock& block);
void blockRemoved(QTextBlockGroup* theWrappedObject, const QTextBlock& block);
};
class PythonQtShell_QTextBlockUserData : public QTextBlockUserData
{
public:
PythonQtShell_QTextBlockUserData():QTextBlockUserData(),_wrapper(NULL) {};
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtWrapper_QTextBlockUserData : public QObject
{ Q_OBJECT
public:
public slots:
QTextBlockUserData* new_QTextBlockUserData();
void delete_QTextBlockUserData(QTextBlockUserData* obj) { delete obj; }
};
class PythonQtShell_QTextBrowser : public QTextBrowser
{
public:
PythonQtShell_QTextBrowser(QWidget* parent = 0):QTextBrowser(parent),_wrapper(NULL) {};
virtual void actionEvent(QActionEvent* arg__1);
virtual void backward();
virtual bool canInsertFromMimeData(const QMimeData* source) const;
virtual void changeEvent(QEvent* e);
virtual void childEvent(QChildEvent* arg__1);
virtual void closeEvent(QCloseEvent* arg__1);
virtual void contextMenuEvent(QContextMenuEvent* e);
virtual QMimeData* createMimeDataFromSelection() const;
virtual void customEvent(QEvent* arg__1);
virtual int devType() const;
virtual void dragEnterEvent(QDragEnterEvent* e);
virtual void dragLeaveEvent(QDragLeaveEvent* e);
virtual void dragMoveEvent(QDragMoveEvent* e);
virtual void dropEvent(QDropEvent* e);
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* ev);
virtual void forward();
virtual int heightForWidth(int arg__1) const;
virtual void hideEvent(QHideEvent* arg__1);
virtual void home();
virtual void inputMethodEvent(QInputMethodEvent* arg__1);
virtual QVariant inputMethodQuery(Qt::InputMethodQuery property) const;
virtual void insertFromMimeData(const QMimeData* source);
virtual void keyPressEvent(QKeyEvent* ev);
virtual void keyReleaseEvent(QKeyEvent* e);
virtual void languageChange();
virtual void leaveEvent(QEvent* arg__1);
virtual QVariant loadResource(int type, const QUrl& name);
virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
virtual void mouseDoubleClickEvent(QMouseEvent* e);
virtual void mouseMoveEvent(QMouseEvent* ev);
virtual void mousePressEvent(QMouseEvent* ev);
virtual void mouseReleaseEvent(QMouseEvent* ev);
virtual void moveEvent(QMoveEvent* arg__1);
virtual QPaintEngine* paintEngine() const;
virtual void paintEvent(QPaintEvent* e);
virtual void reload();
virtual void resizeEvent(QResizeEvent* e);
virtual void scrollContentsBy(int dx, int dy);
virtual void setSource(const QUrl& name);
virtual void showEvent(QShowEvent* arg__1);
virtual void tabletEvent(QTabletEvent* arg__1);
virtual void timerEvent(QTimerEvent* e);
virtual bool viewportEvent(QEvent* arg__1);
virtual void wheelEvent(QWheelEvent* e);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QTextBrowser : public QTextBrowser
{ public:
inline void promoted_backward() { QTextBrowser::backward(); }
inline bool promoted_event(QEvent* e) { return QTextBrowser::event(e); }
inline bool promoted_focusNextPrevChild(bool next) { return QTextBrowser::focusNextPrevChild(next); }
inline void promoted_focusOutEvent(QFocusEvent* ev) { QTextBrowser::focusOutEvent(ev); }
inline void promoted_forward() { QTextBrowser::forward(); }
inline void promoted_home() { QTextBrowser::home(); }
inline void promoted_keyPressEvent(QKeyEvent* ev) { QTextBrowser::keyPressEvent(ev); }
inline QVariant promoted_loadResource(int type, const QUrl& name) { return QTextBrowser::loadResource(type, name); }
inline void promoted_mouseMoveEvent(QMouseEvent* ev) { QTextBrowser::mouseMoveEvent(ev); }
inline void promoted_mousePressEvent(QMouseEvent* ev) { QTextBrowser::mousePressEvent(ev); }
inline void promoted_mouseReleaseEvent(QMouseEvent* ev) { QTextBrowser::mouseReleaseEvent(ev); }
inline void promoted_paintEvent(QPaintEvent* e) { QTextBrowser::paintEvent(e); }
inline void promoted_reload() { QTextBrowser::reload(); }
inline void promoted_setSource(const QUrl& name) { QTextBrowser::setSource(name); }
};
class PythonQtWrapper_QTextBrowser : public QObject
{ Q_OBJECT
public:
public slots:
QTextBrowser* new_QTextBrowser(QWidget* parent = 0);
void delete_QTextBrowser(QTextBrowser* obj) { delete obj; }
int backwardHistoryCount(QTextBrowser* theWrappedObject) const;
void clearHistory(QTextBrowser* theWrappedObject);
bool event(QTextBrowser* theWrappedObject, QEvent* e);
bool focusNextPrevChild(QTextBrowser* theWrappedObject, bool next);
void focusOutEvent(QTextBrowser* theWrappedObject, QFocusEvent* ev);
int forwardHistoryCount(QTextBrowser* theWrappedObject) const;
QString historyTitle(QTextBrowser* theWrappedObject, int arg__1) const;
QUrl historyUrl(QTextBrowser* theWrappedObject, int arg__1) const;
bool isBackwardAvailable(QTextBrowser* theWrappedObject) const;
bool isForwardAvailable(QTextBrowser* theWrappedObject) const;
void keyPressEvent(QTextBrowser* theWrappedObject, QKeyEvent* ev);
QVariant loadResource(QTextBrowser* theWrappedObject, int type, const QUrl& name);
void mouseMoveEvent(QTextBrowser* theWrappedObject, QMouseEvent* ev);
void mousePressEvent(QTextBrowser* theWrappedObject, QMouseEvent* ev);
void mouseReleaseEvent(QTextBrowser* theWrappedObject, QMouseEvent* ev);
bool openExternalLinks(QTextBrowser* theWrappedObject) const;
bool openLinks(QTextBrowser* theWrappedObject) const;
void paintEvent(QTextBrowser* theWrappedObject, QPaintEvent* e);
QStringList searchPaths(QTextBrowser* theWrappedObject) const;
void setOpenExternalLinks(QTextBrowser* theWrappedObject, bool open);
void setOpenLinks(QTextBrowser* theWrappedObject, bool open);
void setSearchPaths(QTextBrowser* theWrappedObject, const QStringList& paths);
QUrl source(QTextBrowser* theWrappedObject) const;
};
class PythonQtShell_QTextCharFormat : public QTextCharFormat
{
public:
PythonQtShell_QTextCharFormat():QTextCharFormat(),_wrapper(NULL) {};
PythonQtShell_QTextCharFormat(const QTextFormat& fmt):QTextCharFormat(fmt),_wrapper(NULL) {};
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtWrapper_QTextCharFormat : public QObject
{ Q_OBJECT
public:
Q_ENUMS(VerticalAlignment UnderlineStyle )
enum VerticalAlignment{
AlignNormal = QTextCharFormat::AlignNormal, AlignSuperScript = QTextCharFormat::AlignSuperScript, AlignSubScript = QTextCharFormat::AlignSubScript, AlignMiddle = QTextCharFormat::AlignMiddle, AlignTop = QTextCharFormat::AlignTop, AlignBottom = QTextCharFormat::AlignBottom};
enum UnderlineStyle{
NoUnderline = QTextCharFormat::NoUnderline, SingleUnderline = QTextCharFormat::SingleUnderline, DashUnderline = QTextCharFormat::DashUnderline, DotLine = QTextCharFormat::DotLine, DashDotLine = QTextCharFormat::DashDotLine, DashDotDotLine = QTextCharFormat::DashDotDotLine, WaveUnderline = QTextCharFormat::WaveUnderline, SpellCheckUnderline = QTextCharFormat::SpellCheckUnderline};
public slots:
QTextCharFormat* new_QTextCharFormat();
QTextCharFormat* new_QTextCharFormat(const QTextCharFormat& other) {
PythonQtShell_QTextCharFormat* a = new PythonQtShell_QTextCharFormat();
*((QTextCharFormat*)a) = other;
return a; }
void delete_QTextCharFormat(QTextCharFormat* obj) { delete obj; }
QString anchorHref(QTextCharFormat* theWrappedObject) const;
QStringList anchorNames(QTextCharFormat* theWrappedObject) const;
QFont font(QTextCharFormat* theWrappedObject) const;
QFont::Capitalization fontCapitalization(QTextCharFormat* theWrappedObject) const;
QString fontFamily(QTextCharFormat* theWrappedObject) const;
bool fontFixedPitch(QTextCharFormat* theWrappedObject) const;
bool fontItalic(QTextCharFormat* theWrappedObject) const;
bool fontKerning(QTextCharFormat* theWrappedObject) const;
qreal fontLetterSpacing(QTextCharFormat* theWrappedObject) const;
bool fontOverline(QTextCharFormat* theWrappedObject) const;
qreal fontPointSize(QTextCharFormat* theWrappedObject) const;
bool fontStrikeOut(QTextCharFormat* theWrappedObject) const;
QFont::StyleHint fontStyleHint(QTextCharFormat* theWrappedObject) const;
QFont::StyleStrategy fontStyleStrategy(QTextCharFormat* theWrappedObject) const;
bool fontUnderline(QTextCharFormat* theWrappedObject) const;
int fontWeight(QTextCharFormat* theWrappedObject) const;
qreal fontWordSpacing(QTextCharFormat* theWrappedObject) const;
bool isAnchor(QTextCharFormat* theWrappedObject) const;
bool isValid(QTextCharFormat* theWrappedObject) const;
void setAnchor(QTextCharFormat* theWrappedObject, bool anchor);
void setAnchorHref(QTextCharFormat* theWrappedObject, const QString& value);
void setAnchorNames(QTextCharFormat* theWrappedObject, const QStringList& names);
void setFont(QTextCharFormat* theWrappedObject, const QFont& font);
void setFontCapitalization(QTextCharFormat* theWrappedObject, QFont::Capitalization capitalization);
void setFontFamily(QTextCharFormat* theWrappedObject, const QString& family);
void setFontFixedPitch(QTextCharFormat* theWrappedObject, bool fixedPitch);
void setFontItalic(QTextCharFormat* theWrappedObject, bool italic);
void setFontKerning(QTextCharFormat* theWrappedObject, bool enable);
void setFontLetterSpacing(QTextCharFormat* theWrappedObject, qreal spacing);
void setFontOverline(QTextCharFormat* theWrappedObject, bool overline);
void setFontPointSize(QTextCharFormat* theWrappedObject, qreal size);
void setFontStrikeOut(QTextCharFormat* theWrappedObject, bool strikeOut);
void setFontStyleHint(QTextCharFormat* theWrappedObject, QFont::StyleHint hint, QFont::StyleStrategy strategy = QFont::PreferDefault);
void setFontStyleStrategy(QTextCharFormat* theWrappedObject, QFont::StyleStrategy strategy);
void setFontUnderline(QTextCharFormat* theWrappedObject, bool underline);
void setFontWeight(QTextCharFormat* theWrappedObject, int weight);
void setFontWordSpacing(QTextCharFormat* theWrappedObject, qreal spacing);
void setTableCellColumnSpan(QTextCharFormat* theWrappedObject, int tableCellColumnSpan);
void setTableCellRowSpan(QTextCharFormat* theWrappedObject, int tableCellRowSpan);
void setTextOutline(QTextCharFormat* theWrappedObject, const QPen& pen);
void setToolTip(QTextCharFormat* theWrappedObject, const QString& tip);
void setUnderlineColor(QTextCharFormat* theWrappedObject, const QColor& color);
void setUnderlineStyle(QTextCharFormat* theWrappedObject, QTextCharFormat::UnderlineStyle style);
void setVerticalAlignment(QTextCharFormat* theWrappedObject, QTextCharFormat::VerticalAlignment alignment);
int tableCellColumnSpan(QTextCharFormat* theWrappedObject) const;
int tableCellRowSpan(QTextCharFormat* theWrappedObject) const;
QPen textOutline(QTextCharFormat* theWrappedObject) const;
QString toolTip(QTextCharFormat* theWrappedObject) const;
QColor underlineColor(QTextCharFormat* theWrappedObject) const;
QTextCharFormat::UnderlineStyle underlineStyle(QTextCharFormat* theWrappedObject) const;
QTextCharFormat::VerticalAlignment verticalAlignment(QTextCharFormat* theWrappedObject) const;
};
class PythonQtShell_QTextCodecPlugin : public QTextCodecPlugin
{
public:
PythonQtShell_QTextCodecPlugin(QObject* parent = 0):QTextCodecPlugin(parent),_wrapper(NULL) {};
virtual QList<QByteArray > aliases() const;
virtual void childEvent(QChildEvent* arg__1);
virtual QTextCodec* createForMib(int mib);
virtual QTextCodec* createForName(const QByteArray& name);
virtual void customEvent(QEvent* arg__1);
virtual bool event(QEvent* arg__1);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual QList<int > mibEnums() const;
virtual QList<QByteArray > names() const;
virtual void timerEvent(QTimerEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtWrapper_QTextCodecPlugin : public QObject
{ Q_OBJECT
public:
public slots:
QTextCodecPlugin* new_QTextCodecPlugin(QObject* parent = 0);
void delete_QTextCodecPlugin(QTextCodecPlugin* obj) { delete obj; }
};
class PythonQtWrapper_QTextCursor : public QObject
{ Q_OBJECT
public:
Q_ENUMS(MoveMode MoveOperation SelectionType )
enum MoveMode{
MoveAnchor = QTextCursor::MoveAnchor, KeepAnchor = QTextCursor::KeepAnchor};
enum MoveOperation{
NoMove = QTextCursor::NoMove, Start = QTextCursor::Start, Up = QTextCursor::Up, StartOfLine = QTextCursor::StartOfLine, StartOfBlock = QTextCursor::StartOfBlock, StartOfWord = QTextCursor::StartOfWord, PreviousBlock = QTextCursor::PreviousBlock, PreviousCharacter = QTextCursor::PreviousCharacter, PreviousWord = QTextCursor::PreviousWord, Left = QTextCursor::Left, WordLeft = QTextCursor::WordLeft, End = QTextCursor::End, Down = QTextCursor::Down, EndOfLine = QTextCursor::EndOfLine, EndOfWord = QTextCursor::EndOfWord, EndOfBlock = QTextCursor::EndOfBlock, NextBlock = QTextCursor::NextBlock, NextCharacter = QTextCursor::NextCharacter, NextWord = QTextCursor::NextWord, Right = QTextCursor::Right, WordRight = QTextCursor::WordRight, NextCell = QTextCursor::NextCell, PreviousCell = QTextCursor::PreviousCell, NextRow = QTextCursor::NextRow, PreviousRow = QTextCursor::PreviousRow};
enum SelectionType{
WordUnderCursor = QTextCursor::WordUnderCursor, LineUnderCursor = QTextCursor::LineUnderCursor, BlockUnderCursor = QTextCursor::BlockUnderCursor, Document = QTextCursor::Document};
public slots:
QTextCursor* new_QTextCursor();
QTextCursor* new_QTextCursor(QTextDocument* document);
QTextCursor* new_QTextCursor(QTextFrame* frame);
QTextCursor* new_QTextCursor(const QTextBlock& block);
QTextCursor* new_QTextCursor(const QTextCursor& cursor);
void delete_QTextCursor(QTextCursor* obj) { delete obj; }
int anchor(QTextCursor* theWrappedObject) const;
bool atBlockEnd(QTextCursor* theWrappedObject) const;
bool atBlockStart(QTextCursor* theWrappedObject) const;
bool atEnd(QTextCursor* theWrappedObject) const;
bool atStart(QTextCursor* theWrappedObject) const;
void beginEditBlock(QTextCursor* theWrappedObject);
QTextBlock block(QTextCursor* theWrappedObject) const;
QTextCharFormat blockCharFormat(QTextCursor* theWrappedObject) const;
QTextBlockFormat blockFormat(QTextCursor* theWrappedObject) const;
int blockNumber(QTextCursor* theWrappedObject) const;
QTextCharFormat charFormat(QTextCursor* theWrappedObject) const;
void clearSelection(QTextCursor* theWrappedObject);
int columnNumber(QTextCursor* theWrappedObject) const;
QTextList* createList(QTextCursor* theWrappedObject, QTextListFormat::Style style);
QTextList* createList(QTextCursor* theWrappedObject, const QTextListFormat& format);
QTextFrame* currentFrame(QTextCursor* theWrappedObject) const;
QTextList* currentList(QTextCursor* theWrappedObject) const;
QTextTable* currentTable(QTextCursor* theWrappedObject) const;
void deleteChar(QTextCursor* theWrappedObject);
void deletePreviousChar(QTextCursor* theWrappedObject);
QTextDocument* document(QTextCursor* theWrappedObject) const;
void endEditBlock(QTextCursor* theWrappedObject);
bool hasComplexSelection(QTextCursor* theWrappedObject) const;
bool hasSelection(QTextCursor* theWrappedObject) const;
void insertBlock(QTextCursor* theWrappedObject);
void insertBlock(QTextCursor* theWrappedObject, const QTextBlockFormat& format);
void insertBlock(QTextCursor* theWrappedObject, const QTextBlockFormat& format, const QTextCharFormat& charFormat);
void insertFragment(QTextCursor* theWrappedObject, const QTextDocumentFragment& fragment);
QTextFrame* insertFrame(QTextCursor* theWrappedObject, const QTextFrameFormat& format);
void insertHtml(QTextCursor* theWrappedObject, const QString& html);
void insertImage(QTextCursor* theWrappedObject, const QImage& image, const QString& name = QString());
void insertImage(QTextCursor* theWrappedObject, const QString& name);
void insertImage(QTextCursor* theWrappedObject, const QTextImageFormat& format);
void insertImage(QTextCursor* theWrappedObject, const QTextImageFormat& format, QTextFrameFormat::Position alignment);
QTextList* insertList(QTextCursor* theWrappedObject, QTextListFormat::Style style);
QTextList* insertList(QTextCursor* theWrappedObject, const QTextListFormat& format);
QTextTable* insertTable(QTextCursor* theWrappedObject, int rows, int cols);
QTextTable* insertTable(QTextCursor* theWrappedObject, int rows, int cols, const QTextTableFormat& format);
void insertText(QTextCursor* theWrappedObject, const QString& text);
void insertText(QTextCursor* theWrappedObject, const QString& text, const QTextCharFormat& format);
bool isCopyOf(QTextCursor* theWrappedObject, const QTextCursor& other) const;
bool isNull(QTextCursor* theWrappedObject) const;
void joinPreviousEditBlock(QTextCursor* theWrappedObject);
void mergeBlockCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& modifier);
void mergeBlockFormat(QTextCursor* theWrappedObject, const QTextBlockFormat& modifier);
void mergeCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& modifier);
bool movePosition(QTextCursor* theWrappedObject, QTextCursor::MoveOperation op, QTextCursor::MoveMode arg__2 = QTextCursor::MoveAnchor, int n = 1);
bool __ne__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const;
bool __lt__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const;
bool __le__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const;
bool __eq__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const;
bool __gt__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const;
bool __ge__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const;
int position(QTextCursor* theWrappedObject) const;
void removeSelectedText(QTextCursor* theWrappedObject);
void select(QTextCursor* theWrappedObject, QTextCursor::SelectionType selection);
void selectedTableCells(QTextCursor* theWrappedObject, int* firstRow, int* numRows, int* firstColumn, int* numColumns) const;
QString selectedText(QTextCursor* theWrappedObject) const;
QTextDocumentFragment selection(QTextCursor* theWrappedObject) const;
int selectionEnd(QTextCursor* theWrappedObject) const;
int selectionStart(QTextCursor* theWrappedObject) const;
void setBlockCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& format);
void setBlockFormat(QTextCursor* theWrappedObject, const QTextBlockFormat& format);
void setCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& format);
void setPosition(QTextCursor* theWrappedObject, int pos, QTextCursor::MoveMode mode = QTextCursor::MoveAnchor);
void setVisualNavigation(QTextCursor* theWrappedObject, bool b);
bool visualNavigation(QTextCursor* theWrappedObject) const;
bool __nonzero__(QTextCursor* obj) { return !obj->isNull(); }
};
class PythonQtShell_QTextDocument : public QTextDocument
{
public:
PythonQtShell_QTextDocument(QObject* parent = 0):QTextDocument(parent),_wrapper(NULL) {};
PythonQtShell_QTextDocument(const QString& text, QObject* parent = 0):QTextDocument(text, parent),_wrapper(NULL) {};
virtual void childEvent(QChildEvent* arg__1);
virtual void clear();
virtual QTextObject* createObject(const QTextFormat& f);
virtual void customEvent(QEvent* arg__1);
virtual bool event(QEvent* arg__1);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual QVariant loadResource(int type, const QUrl& name);
virtual void timerEvent(QTimerEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QTextDocument : public QTextDocument
{ public:
inline void promoted_clear() { QTextDocument::clear(); }
inline QTextObject* promoted_createObject(const QTextFormat& f) { return QTextDocument::createObject(f); }
inline QVariant promoted_loadResource(int type, const QUrl& name) { return QTextDocument::loadResource(type, name); }
};
class PythonQtWrapper_QTextDocument : public QObject
{ Q_OBJECT
public:
Q_ENUMS(ResourceType FindFlag MetaInformation )
Q_FLAGS(FindFlags )
enum ResourceType{
HtmlResource = QTextDocument::HtmlResource, ImageResource = QTextDocument::ImageResource, StyleSheetResource = QTextDocument::StyleSheetResource, UserResource = QTextDocument::UserResource};
enum FindFlag{
FindBackward = QTextDocument::FindBackward, FindCaseSensitively = QTextDocument::FindCaseSensitively, FindWholeWords = QTextDocument::FindWholeWords};
enum MetaInformation{
DocumentTitle = QTextDocument::DocumentTitle, DocumentUrl = QTextDocument::DocumentUrl};
Q_DECLARE_FLAGS(FindFlags, FindFlag)
public slots:
QTextDocument* new_QTextDocument(QObject* parent = 0);
QTextDocument* new_QTextDocument(const QString& text, QObject* parent = 0);
void delete_QTextDocument(QTextDocument* obj) { delete obj; }
void addResource(QTextDocument* theWrappedObject, int type, const QUrl& name, const QVariant& resource);
void adjustSize(QTextDocument* theWrappedObject);
QVector<QTextFormat > allFormats(QTextDocument* theWrappedObject) const;
int availableRedoSteps(QTextDocument* theWrappedObject) const;
int availableUndoSteps(QTextDocument* theWrappedObject) const;
QTextBlock begin(QTextDocument* theWrappedObject) const;
int blockCount(QTextDocument* theWrappedObject) const;
QChar characterAt(QTextDocument* theWrappedObject, int pos) const;
int characterCount(QTextDocument* theWrappedObject) const;
void clear(QTextDocument* theWrappedObject);
QTextDocument* clone(QTextDocument* theWrappedObject, QObject* parent = 0) const;
QTextObject* createObject(QTextDocument* theWrappedObject, const QTextFormat& f);
QFont defaultFont(QTextDocument* theWrappedObject) const;
QString defaultStyleSheet(QTextDocument* theWrappedObject) const;
QTextOption defaultTextOption(QTextDocument* theWrappedObject) const;
QAbstractTextDocumentLayout* documentLayout(QTextDocument* theWrappedObject) const;
qreal documentMargin(QTextDocument* theWrappedObject) const;
void drawContents(QTextDocument* theWrappedObject, QPainter* painter, const QRectF& rect = QRectF());
QTextBlock end(QTextDocument* theWrappedObject) const;
QTextCursor find(QTextDocument* theWrappedObject, const QRegExp& expr, const QTextCursor& from, QTextDocument::FindFlags options = 0) const;
QTextCursor find(QTextDocument* theWrappedObject, const QRegExp& expr, int from = 0, QTextDocument::FindFlags options = 0) const;
QTextCursor find(QTextDocument* theWrappedObject, const QString& subString, const QTextCursor& from, QTextDocument::FindFlags options = 0) const;
QTextCursor find(QTextDocument* theWrappedObject, const QString& subString, int from = 0, QTextDocument::FindFlags options = 0) const;
QTextBlock findBlock(QTextDocument* theWrappedObject, int pos) const;
QTextBlock findBlockByLineNumber(QTextDocument* theWrappedObject, int blockNumber) const;
QTextBlock findBlockByNumber(QTextDocument* theWrappedObject, int blockNumber) const;
QTextBlock firstBlock(QTextDocument* theWrappedObject) const;
QTextFrame* frameAt(QTextDocument* theWrappedObject, int pos) const;
qreal idealWidth(QTextDocument* theWrappedObject) const;
qreal indentWidth(QTextDocument* theWrappedObject) const;
bool isEmpty(QTextDocument* theWrappedObject) const;
bool isModified(QTextDocument* theWrappedObject) const;
bool isRedoAvailable(QTextDocument* theWrappedObject) const;
bool isUndoAvailable(QTextDocument* theWrappedObject) const;
bool isUndoRedoEnabled(QTextDocument* theWrappedObject) const;
QTextBlock lastBlock(QTextDocument* theWrappedObject) const;
int lineCount(QTextDocument* theWrappedObject) const;
QVariant loadResource(QTextDocument* theWrappedObject, int type, const QUrl& name);
void markContentsDirty(QTextDocument* theWrappedObject, int from, int length);
int maximumBlockCount(QTextDocument* theWrappedObject) const;
QString metaInformation(QTextDocument* theWrappedObject, QTextDocument::MetaInformation info) const;
QTextObject* object(QTextDocument* theWrappedObject, int objectIndex) const;
QTextObject* objectForFormat(QTextDocument* theWrappedObject, const QTextFormat& arg__1) const;
int pageCount(QTextDocument* theWrappedObject) const;
QSizeF pageSize(QTextDocument* theWrappedObject) const;
void print(QTextDocument* theWrappedObject, QPrinter* printer) const;
void redo(QTextDocument* theWrappedObject, QTextCursor* cursor);
QVariant resource(QTextDocument* theWrappedObject, int type, const QUrl& name) const;
int revision(QTextDocument* theWrappedObject) const;
QTextFrame* rootFrame(QTextDocument* theWrappedObject) const;
void setDefaultFont(QTextDocument* theWrappedObject, const QFont& font);
void setDefaultStyleSheet(QTextDocument* theWrappedObject, const QString& sheet);
void setDefaultTextOption(QTextDocument* theWrappedObject, const QTextOption& option);
void setDocumentLayout(QTextDocument* theWrappedObject, QAbstractTextDocumentLayout* layout);
void setDocumentMargin(QTextDocument* theWrappedObject, qreal margin);
void setHtml(QTextDocument* theWrappedObject, const QString& html);
void setIndentWidth(QTextDocument* theWrappedObject, qreal width);
void setMaximumBlockCount(QTextDocument* theWrappedObject, int maximum);
void setMetaInformation(QTextDocument* theWrappedObject, QTextDocument::MetaInformation info, const QString& arg__2);
void setPageSize(QTextDocument* theWrappedObject, const QSizeF& size);
void setPlainText(QTextDocument* theWrappedObject, const QString& text);
void setTextWidth(QTextDocument* theWrappedObject, qreal width);
void setUndoRedoEnabled(QTextDocument* theWrappedObject, bool enable);
void setUseDesignMetrics(QTextDocument* theWrappedObject, bool b);
QSizeF size(QTextDocument* theWrappedObject) const;
qreal textWidth(QTextDocument* theWrappedObject) const;
QString toHtml(QTextDocument* theWrappedObject, const QByteArray& encoding = QByteArray()) const;
QString toPlainText(QTextDocument* theWrappedObject) const;
void undo(QTextDocument* theWrappedObject, QTextCursor* cursor);
bool useDesignMetrics(QTextDocument* theWrappedObject) const;
};
class PythonQtWrapper_QTextDocumentFragment : public QObject
{ Q_OBJECT
public:
public slots:
QTextDocumentFragment* new_QTextDocumentFragment();
QTextDocumentFragment* new_QTextDocumentFragment(const QTextCursor& range);
QTextDocumentFragment* new_QTextDocumentFragment(const QTextDocument* document);
QTextDocumentFragment* new_QTextDocumentFragment(const QTextDocumentFragment& rhs);
void delete_QTextDocumentFragment(QTextDocumentFragment* obj) { delete obj; }
QTextDocumentFragment static_QTextDocumentFragment_fromHtml(const QString& html);
QTextDocumentFragment static_QTextDocumentFragment_fromHtml(const QString& html, const QTextDocument* resourceProvider);
QTextDocumentFragment static_QTextDocumentFragment_fromPlainText(const QString& plainText);
bool isEmpty(QTextDocumentFragment* theWrappedObject) const;
QString toHtml(QTextDocumentFragment* theWrappedObject) const;
QString toHtml(QTextDocumentFragment* theWrappedObject, const QByteArray& encoding) const;
QString toPlainText(QTextDocumentFragment* theWrappedObject) const;
};
class PythonQtWrapper_QTextDocumentWriter : public QObject
{ Q_OBJECT
public:
public slots:
QTextDocumentWriter* new_QTextDocumentWriter();
QTextDocumentWriter* new_QTextDocumentWriter(QIODevice* device, const QByteArray& format);
QTextDocumentWriter* new_QTextDocumentWriter(const QString& fileName, const QByteArray& format = QByteArray());
void delete_QTextDocumentWriter(QTextDocumentWriter* obj) { delete obj; }
QTextCodec* codec(QTextDocumentWriter* theWrappedObject) const;
QIODevice* device(QTextDocumentWriter* theWrappedObject) const;
QString fileName(QTextDocumentWriter* theWrappedObject) const;
QByteArray format(QTextDocumentWriter* theWrappedObject) const;
void setCodec(QTextDocumentWriter* theWrappedObject, QTextCodec* codec);
void setDevice(QTextDocumentWriter* theWrappedObject, QIODevice* device);
void setFileName(QTextDocumentWriter* theWrappedObject, const QString& fileName);
void setFormat(QTextDocumentWriter* theWrappedObject, const QByteArray& format);
QList<QByteArray > static_QTextDocumentWriter_supportedDocumentFormats();
bool write(QTextDocumentWriter* theWrappedObject, const QTextDocument* document);
bool write(QTextDocumentWriter* theWrappedObject, const QTextDocumentFragment& fragment);
};
class PythonQtShell_QTextEdit : public QTextEdit
{
public:
PythonQtShell_QTextEdit(QWidget* parent = 0):QTextEdit(parent),_wrapper(NULL) {};
PythonQtShell_QTextEdit(const QString& text, QWidget* parent = 0):QTextEdit(text, parent),_wrapper(NULL) {};
virtual void actionEvent(QActionEvent* arg__1);
virtual bool canInsertFromMimeData(const QMimeData* source) const;
virtual void changeEvent(QEvent* e);
virtual void childEvent(QChildEvent* arg__1);
virtual void closeEvent(QCloseEvent* arg__1);
virtual void contextMenuEvent(QContextMenuEvent* e);
virtual QMimeData* createMimeDataFromSelection() const;
virtual void customEvent(QEvent* arg__1);
virtual int devType() const;
virtual void dragEnterEvent(QDragEnterEvent* e);
virtual void dragLeaveEvent(QDragLeaveEvent* e);
virtual void dragMoveEvent(QDragMoveEvent* e);
virtual void dropEvent(QDropEvent* e);
virtual void enterEvent(QEvent* arg__1);
virtual bool event(QEvent* e);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual void focusInEvent(QFocusEvent* e);
virtual bool focusNextPrevChild(bool next);
virtual void focusOutEvent(QFocusEvent* e);
virtual int heightForWidth(int arg__1) const;
virtual void hideEvent(QHideEvent* arg__1);
virtual void inputMethodEvent(QInputMethodEvent* arg__1);
virtual QVariant inputMethodQuery(Qt::InputMethodQuery property) const;
virtual void insertFromMimeData(const QMimeData* source);
virtual void keyPressEvent(QKeyEvent* e);
virtual void keyReleaseEvent(QKeyEvent* e);
virtual void languageChange();
virtual void leaveEvent(QEvent* arg__1);
virtual QVariant loadResource(int type, const QUrl& name);
virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
virtual void mouseDoubleClickEvent(QMouseEvent* e);
virtual void mouseMoveEvent(QMouseEvent* e);
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 scrollContentsBy(int dx, int dy);
virtual void showEvent(QShowEvent* arg__1);
virtual void tabletEvent(QTabletEvent* arg__1);
virtual void timerEvent(QTimerEvent* e);
virtual bool viewportEvent(QEvent* arg__1);
virtual void wheelEvent(QWheelEvent* e);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QTextEdit : public QTextEdit
{ public:
inline bool promoted_canInsertFromMimeData(const QMimeData* source) const { return QTextEdit::canInsertFromMimeData(source); }
inline void promoted_changeEvent(QEvent* e) { QTextEdit::changeEvent(e); }
inline void promoted_contextMenuEvent(QContextMenuEvent* e) { QTextEdit::contextMenuEvent(e); }
inline QMimeData* promoted_createMimeDataFromSelection() const { return QTextEdit::createMimeDataFromSelection(); }
inline void promoted_dragEnterEvent(QDragEnterEvent* e) { QTextEdit::dragEnterEvent(e); }
inline void promoted_dragLeaveEvent(QDragLeaveEvent* e) { QTextEdit::dragLeaveEvent(e); }
inline void promoted_dragMoveEvent(QDragMoveEvent* e) { QTextEdit::dragMoveEvent(e); }
inline void promoted_dropEvent(QDropEvent* e) { QTextEdit::dropEvent(e); }
inline bool promoted_event(QEvent* e) { return QTextEdit::event(e); }
inline void promoted_focusInEvent(QFocusEvent* e) { QTextEdit::focusInEvent(e); }
inline bool promoted_focusNextPrevChild(bool next) { return QTextEdit::focusNextPrevChild(next); }
inline void promoted_focusOutEvent(QFocusEvent* e) { QTextEdit::focusOutEvent(e); }
inline void promoted_inputMethodEvent(QInputMethodEvent* arg__1) { QTextEdit::inputMethodEvent(arg__1); }
inline QVariant promoted_inputMethodQuery(Qt::InputMethodQuery property) const { return QTextEdit::inputMethodQuery(property); }
inline void promoted_insertFromMimeData(const QMimeData* source) { QTextEdit::insertFromMimeData(source); }
inline void promoted_keyPressEvent(QKeyEvent* e) { QTextEdit::keyPressEvent(e); }
inline void promoted_keyReleaseEvent(QKeyEvent* e) { QTextEdit::keyReleaseEvent(e); }
inline QVariant promoted_loadResource(int type, const QUrl& name) { return QTextEdit::loadResource(type, name); }
inline void promoted_mouseDoubleClickEvent(QMouseEvent* e) { QTextEdit::mouseDoubleClickEvent(e); }
inline void promoted_mouseMoveEvent(QMouseEvent* e) { QTextEdit::mouseMoveEvent(e); }
inline void promoted_mousePressEvent(QMouseEvent* e) { QTextEdit::mousePressEvent(e); }
inline void promoted_mouseReleaseEvent(QMouseEvent* e) { QTextEdit::mouseReleaseEvent(e); }
inline void promoted_paintEvent(QPaintEvent* e) { QTextEdit::paintEvent(e); }
inline void promoted_resizeEvent(QResizeEvent* e) { QTextEdit::resizeEvent(e); }
inline void promoted_scrollContentsBy(int dx, int dy) { QTextEdit::scrollContentsBy(dx, dy); }
inline void promoted_showEvent(QShowEvent* arg__1) { QTextEdit::showEvent(arg__1); }
inline void promoted_timerEvent(QTimerEvent* e) { QTextEdit::timerEvent(e); }
inline void promoted_wheelEvent(QWheelEvent* e) { QTextEdit::wheelEvent(e); }
};
class PythonQtWrapper_QTextEdit : public QObject
{ Q_OBJECT
public:
Q_ENUMS(AutoFormattingFlag )
Q_FLAGS(AutoFormatting )
enum AutoFormattingFlag{
AutoNone = QTextEdit::AutoNone, AutoBulletList = QTextEdit::AutoBulletList, AutoAll = QTextEdit::AutoAll};
Q_DECLARE_FLAGS(AutoFormatting, AutoFormattingFlag)
public slots:
QTextEdit* new_QTextEdit(QWidget* parent = 0);
QTextEdit* new_QTextEdit(const QString& text, QWidget* parent = 0);
void delete_QTextEdit(QTextEdit* obj) { delete obj; }
bool acceptRichText(QTextEdit* theWrappedObject) const;
Qt::Alignment alignment(QTextEdit* theWrappedObject) const;
QString anchorAt(QTextEdit* theWrappedObject, const QPoint& pos) const;
QTextEdit::AutoFormatting autoFormatting(QTextEdit* theWrappedObject) const;
bool canInsertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source) const;
bool canPaste(QTextEdit* theWrappedObject) const;
void changeEvent(QTextEdit* theWrappedObject, QEvent* e);
void contextMenuEvent(QTextEdit* theWrappedObject, QContextMenuEvent* e);
QMimeData* createMimeDataFromSelection(QTextEdit* theWrappedObject) const;
QMenu* createStandardContextMenu(QTextEdit* theWrappedObject);
QMenu* createStandardContextMenu(QTextEdit* theWrappedObject, const QPoint& position);
QTextCharFormat currentCharFormat(QTextEdit* theWrappedObject) const;
QFont currentFont(QTextEdit* theWrappedObject) const;
QTextCursor cursorForPosition(QTextEdit* theWrappedObject, const QPoint& pos) const;
QRect cursorRect(QTextEdit* theWrappedObject) const;
QRect cursorRect(QTextEdit* theWrappedObject, const QTextCursor& cursor) const;
int cursorWidth(QTextEdit* theWrappedObject) const;
QTextDocument* document(QTextEdit* theWrappedObject) const;
QString documentTitle(QTextEdit* theWrappedObject) const;
void dragEnterEvent(QTextEdit* theWrappedObject, QDragEnterEvent* e);
void dragLeaveEvent(QTextEdit* theWrappedObject, QDragLeaveEvent* e);
void dragMoveEvent(QTextEdit* theWrappedObject, QDragMoveEvent* e);
void dropEvent(QTextEdit* theWrappedObject, QDropEvent* e);
void ensureCursorVisible(QTextEdit* theWrappedObject);
bool event(QTextEdit* theWrappedObject, QEvent* e);
QList<QTextEdit::ExtraSelection > extraSelections(QTextEdit* theWrappedObject) const;
bool find(QTextEdit* theWrappedObject, const QString& exp, QTextDocument::FindFlags options = 0);
void focusInEvent(QTextEdit* theWrappedObject, QFocusEvent* e);
bool focusNextPrevChild(QTextEdit* theWrappedObject, bool next);
void focusOutEvent(QTextEdit* theWrappedObject, QFocusEvent* e);
QString fontFamily(QTextEdit* theWrappedObject) const;
bool fontItalic(QTextEdit* theWrappedObject) const;
qreal fontPointSize(QTextEdit* theWrappedObject) const;
bool fontUnderline(QTextEdit* theWrappedObject) const;
int fontWeight(QTextEdit* theWrappedObject) const;
void inputMethodEvent(QTextEdit* theWrappedObject, QInputMethodEvent* arg__1);
QVariant inputMethodQuery(QTextEdit* theWrappedObject, Qt::InputMethodQuery property) const;
void insertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source);
bool isReadOnly(QTextEdit* theWrappedObject) const;
bool isUndoRedoEnabled(QTextEdit* theWrappedObject) const;
void keyPressEvent(QTextEdit* theWrappedObject, QKeyEvent* e);
void keyReleaseEvent(QTextEdit* theWrappedObject, QKeyEvent* e);
int lineWrapColumnOrWidth(QTextEdit* theWrappedObject) const;
QTextEdit::LineWrapMode lineWrapMode(QTextEdit* theWrappedObject) const;
QVariant loadResource(QTextEdit* theWrappedObject, int type, const QUrl& name);
void mergeCurrentCharFormat(QTextEdit* theWrappedObject, const QTextCharFormat& modifier);
void mouseDoubleClickEvent(QTextEdit* theWrappedObject, QMouseEvent* e);
void mouseMoveEvent(QTextEdit* theWrappedObject, QMouseEvent* e);
void mousePressEvent(QTextEdit* theWrappedObject, QMouseEvent* e);
void mouseReleaseEvent(QTextEdit* theWrappedObject, QMouseEvent* e);
void moveCursor(QTextEdit* theWrappedObject, QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode = QTextCursor::MoveAnchor);
bool overwriteMode(QTextEdit* theWrappedObject) const;
void paintEvent(QTextEdit* theWrappedObject, QPaintEvent* e);
void print(QTextEdit* theWrappedObject, QPrinter* printer) const;
void resizeEvent(QTextEdit* theWrappedObject, QResizeEvent* e);
void scrollContentsBy(QTextEdit* theWrappedObject, int dx, int dy);
void setAcceptRichText(QTextEdit* theWrappedObject, bool accept);
void setAutoFormatting(QTextEdit* theWrappedObject, QTextEdit::AutoFormatting features);
void setCurrentCharFormat(QTextEdit* theWrappedObject, const QTextCharFormat& format);
void setCursorWidth(QTextEdit* theWrappedObject, int width);
void setDocument(QTextEdit* theWrappedObject, QTextDocument* document);
void setDocumentTitle(QTextEdit* theWrappedObject, const QString& title);
void setExtraSelections(QTextEdit* theWrappedObject, const QList<QTextEdit::ExtraSelection >& selections);
void setLineWrapColumnOrWidth(QTextEdit* theWrappedObject, int w);
void setLineWrapMode(QTextEdit* theWrappedObject, QTextEdit::LineWrapMode mode);
void setOverwriteMode(QTextEdit* theWrappedObject, bool overwrite);
void setReadOnly(QTextEdit* theWrappedObject, bool ro);
void setTabChangesFocus(QTextEdit* theWrappedObject, bool b);
void setTabStopWidth(QTextEdit* theWrappedObject, int width);
void setTextCursor(QTextEdit* theWrappedObject, const QTextCursor& cursor);
void setTextInteractionFlags(QTextEdit* theWrappedObject, Qt::TextInteractionFlags flags);
void setUndoRedoEnabled(QTextEdit* theWrappedObject, bool enable);
void setWordWrapMode(QTextEdit* theWrappedObject, QTextOption::WrapMode policy);
void showEvent(QTextEdit* theWrappedObject, QShowEvent* arg__1);
bool tabChangesFocus(QTextEdit* theWrappedObject) const;
int tabStopWidth(QTextEdit* theWrappedObject) const;
QColor textBackgroundColor(QTextEdit* theWrappedObject) const;
QColor textColor(QTextEdit* theWrappedObject) const;
QTextCursor textCursor(QTextEdit* theWrappedObject) const;
Qt::TextInteractionFlags textInteractionFlags(QTextEdit* theWrappedObject) const;
void timerEvent(QTextEdit* theWrappedObject, QTimerEvent* e);
QString toHtml(QTextEdit* theWrappedObject) const;
QString toPlainText(QTextEdit* theWrappedObject) const;
void wheelEvent(QTextEdit* theWrappedObject, QWheelEvent* e);
QTextOption::WrapMode wordWrapMode(QTextEdit* theWrappedObject) const;
};
class PythonQtWrapper_QTextFragment : public QObject
{ Q_OBJECT
public:
public slots:
QTextFragment* new_QTextFragment();
QTextFragment* new_QTextFragment(const QTextFragment& o);
void delete_QTextFragment(QTextFragment* obj) { delete obj; }
QTextCharFormat charFormat(QTextFragment* theWrappedObject) const;
int charFormatIndex(QTextFragment* theWrappedObject) const;
bool contains(QTextFragment* theWrappedObject, int position) const;
bool isValid(QTextFragment* theWrappedObject) const;
int length(QTextFragment* theWrappedObject) const;
bool __ne__(QTextFragment* theWrappedObject, const QTextFragment& o) const;
bool __lt__(QTextFragment* theWrappedObject, const QTextFragment& o) const;
bool __eq__(QTextFragment* theWrappedObject, const QTextFragment& o) const;
int position(QTextFragment* theWrappedObject) const;
QString text(QTextFragment* theWrappedObject) const;
};
class PythonQtShell_QTextFrame : public QTextFrame
{
public:
PythonQtShell_QTextFrame(QTextDocument* doc):QTextFrame(doc),_wrapper(NULL) {};
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_QTextFrame : public QObject
{ Q_OBJECT
public:
public slots:
QTextFrame* new_QTextFrame(QTextDocument* doc);
void delete_QTextFrame(QTextFrame* obj) { delete obj; }
QTextFrame::iterator begin(QTextFrame* theWrappedObject) const;
QList<QTextFrame* > childFrames(QTextFrame* theWrappedObject) const;
QTextFrame::iterator end(QTextFrame* theWrappedObject) const;
QTextCursor firstCursorPosition(QTextFrame* theWrappedObject) const;
int firstPosition(QTextFrame* theWrappedObject) const;
QTextFrameFormat frameFormat(QTextFrame* theWrappedObject) const;
QTextCursor lastCursorPosition(QTextFrame* theWrappedObject) const;
int lastPosition(QTextFrame* theWrappedObject) const;
QTextFrame* parentFrame(QTextFrame* theWrappedObject) const;
void setFrameFormat(QTextFrame* theWrappedObject, const QTextFrameFormat& format);
};
class PythonQtShell_QTextFrameFormat : public QTextFrameFormat
{
public:
PythonQtShell_QTextFrameFormat():QTextFrameFormat(),_wrapper(NULL) {};
PythonQtShell_QTextFrameFormat(const QTextFormat& fmt):QTextFrameFormat(fmt),_wrapper(NULL) {};
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtWrapper_QTextFrameFormat : public QObject
{ Q_OBJECT
public:
Q_ENUMS(Position BorderStyle )
enum Position{
InFlow = QTextFrameFormat::InFlow, FloatLeft = QTextFrameFormat::FloatLeft, FloatRight = QTextFrameFormat::FloatRight};
enum BorderStyle{
BorderStyle_None = QTextFrameFormat::BorderStyle_None, BorderStyle_Dotted = QTextFrameFormat::BorderStyle_Dotted, BorderStyle_Dashed = QTextFrameFormat::BorderStyle_Dashed, BorderStyle_Solid = QTextFrameFormat::BorderStyle_Solid, BorderStyle_Double = QTextFrameFormat::BorderStyle_Double, BorderStyle_DotDash = QTextFrameFormat::BorderStyle_DotDash, BorderStyle_DotDotDash = QTextFrameFormat::BorderStyle_DotDotDash, BorderStyle_Groove = QTextFrameFormat::BorderStyle_Groove, BorderStyle_Ridge = QTextFrameFormat::BorderStyle_Ridge, BorderStyle_Inset = QTextFrameFormat::BorderStyle_Inset, BorderStyle_Outset = QTextFrameFormat::BorderStyle_Outset};
public slots:
QTextFrameFormat* new_QTextFrameFormat();
QTextFrameFormat* new_QTextFrameFormat(const QTextFrameFormat& other) {
PythonQtShell_QTextFrameFormat* a = new PythonQtShell_QTextFrameFormat();
*((QTextFrameFormat*)a) = other;
return a; }
void delete_QTextFrameFormat(QTextFrameFormat* obj) { delete obj; }
qreal border(QTextFrameFormat* theWrappedObject) const;
QBrush borderBrush(QTextFrameFormat* theWrappedObject) const;
QTextFrameFormat::BorderStyle borderStyle(QTextFrameFormat* theWrappedObject) const;
qreal bottomMargin(QTextFrameFormat* theWrappedObject) const;
QTextLength height(QTextFrameFormat* theWrappedObject) const;
bool isValid(QTextFrameFormat* theWrappedObject) const;
qreal leftMargin(QTextFrameFormat* theWrappedObject) const;
qreal margin(QTextFrameFormat* theWrappedObject) const;
qreal padding(QTextFrameFormat* theWrappedObject) const;
QTextFormat::PageBreakFlags pageBreakPolicy(QTextFrameFormat* theWrappedObject) const;
QTextFrameFormat::Position position(QTextFrameFormat* theWrappedObject) const;
qreal rightMargin(QTextFrameFormat* theWrappedObject) const;
void setBorder(QTextFrameFormat* theWrappedObject, qreal border);
void setBorderBrush(QTextFrameFormat* theWrappedObject, const QBrush& brush);
void setBorderStyle(QTextFrameFormat* theWrappedObject, QTextFrameFormat::BorderStyle style);
void setBottomMargin(QTextFrameFormat* theWrappedObject, qreal margin);
void setHeight(QTextFrameFormat* theWrappedObject, const QTextLength& height);
void setHeight(QTextFrameFormat* theWrappedObject, qreal height);
void setLeftMargin(QTextFrameFormat* theWrappedObject, qreal margin);
void setMargin(QTextFrameFormat* theWrappedObject, qreal margin);
void setPadding(QTextFrameFormat* theWrappedObject, qreal padding);
void setPageBreakPolicy(QTextFrameFormat* theWrappedObject, QTextFormat::PageBreakFlags flags);
void setPosition(QTextFrameFormat* theWrappedObject, QTextFrameFormat::Position f);
void setRightMargin(QTextFrameFormat* theWrappedObject, qreal margin);
void setTopMargin(QTextFrameFormat* theWrappedObject, qreal margin);
void setWidth(QTextFrameFormat* theWrappedObject, const QTextLength& length);
void setWidth(QTextFrameFormat* theWrappedObject, qreal width);
qreal topMargin(QTextFrameFormat* theWrappedObject) const;
QTextLength width(QTextFrameFormat* theWrappedObject) const;
};
class PythonQtShell_QTextImageFormat : public QTextImageFormat
{
public:
PythonQtShell_QTextImageFormat():QTextImageFormat(),_wrapper(NULL) {};
PythonQtShell_QTextImageFormat(const QTextFormat& format):QTextImageFormat(format),_wrapper(NULL) {};
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtWrapper_QTextImageFormat : public QObject
{ Q_OBJECT
public:
public slots:
QTextImageFormat* new_QTextImageFormat();
QTextImageFormat* new_QTextImageFormat(const QTextImageFormat& other) {
PythonQtShell_QTextImageFormat* a = new PythonQtShell_QTextImageFormat();
*((QTextImageFormat*)a) = other;
return a; }
void delete_QTextImageFormat(QTextImageFormat* obj) { delete obj; }
qreal height(QTextImageFormat* theWrappedObject) const;
bool isValid(QTextImageFormat* theWrappedObject) const;
QString name(QTextImageFormat* theWrappedObject) const;
void setHeight(QTextImageFormat* theWrappedObject, qreal height);
void setName(QTextImageFormat* theWrappedObject, const QString& name);
void setWidth(QTextImageFormat* theWrappedObject, qreal width);
qreal width(QTextImageFormat* theWrappedObject) const;
};
class PythonQtWrapper_QTextInlineObject : public QObject
{ Q_OBJECT
public:
public slots:
QTextInlineObject* new_QTextInlineObject();
QTextInlineObject* new_QTextInlineObject(const QTextInlineObject& other) {
QTextInlineObject* a = new QTextInlineObject();
*((QTextInlineObject*)a) = other;
return a; }
void delete_QTextInlineObject(QTextInlineObject* obj) { delete obj; }
qreal ascent(QTextInlineObject* theWrappedObject) const;
qreal descent(QTextInlineObject* theWrappedObject) const;
QTextFormat format(QTextInlineObject* theWrappedObject) const;
int formatIndex(QTextInlineObject* theWrappedObject) const;
qreal height(QTextInlineObject* theWrappedObject) const;
bool isValid(QTextInlineObject* theWrappedObject) const;
QRectF rect(QTextInlineObject* theWrappedObject) const;
void setAscent(QTextInlineObject* theWrappedObject, qreal a);
void setDescent(QTextInlineObject* theWrappedObject, qreal d);
void setWidth(QTextInlineObject* theWrappedObject, qreal w);
Qt::LayoutDirection textDirection(QTextInlineObject* theWrappedObject) const;
int textPosition(QTextInlineObject* theWrappedObject) const;
qreal width(QTextInlineObject* theWrappedObject) const;
};
class PythonQtShell_QTextItem : public QTextItem
{
public:
PythonQtShell_QTextItem():QTextItem(),_wrapper(NULL) {};
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtWrapper_QTextItem : public QObject
{ Q_OBJECT
public:
Q_ENUMS(RenderFlag )
Q_FLAGS(RenderFlags )
enum RenderFlag{
RightToLeft = QTextItem::RightToLeft, Overline = QTextItem::Overline, Underline = QTextItem::Underline, StrikeOut = QTextItem::StrikeOut, Dummy = QTextItem::Dummy};
Q_DECLARE_FLAGS(RenderFlags, RenderFlag)
public slots:
QTextItem* new_QTextItem();
void delete_QTextItem(QTextItem* obj) { delete obj; }
qreal ascent(QTextItem* theWrappedObject) const;
qreal descent(QTextItem* theWrappedObject) const;
QFont font(QTextItem* theWrappedObject) const;
QTextItem::RenderFlags renderFlags(QTextItem* theWrappedObject) const;
QString text(QTextItem* theWrappedObject) const;
qreal width(QTextItem* theWrappedObject) const;
};
class PythonQtWrapper_QTextLine : public QObject
{ Q_OBJECT
public:
Q_ENUMS(Edge CursorPosition )
enum Edge{
Leading = QTextLine::Leading, Trailing = QTextLine::Trailing};
enum CursorPosition{
CursorBetweenCharacters = QTextLine::CursorBetweenCharacters, CursorOnCharacter = QTextLine::CursorOnCharacter};
public slots:
QTextLine* new_QTextLine();
QTextLine* new_QTextLine(const QTextLine& other) {
QTextLine* a = new QTextLine();
*((QTextLine*)a) = other;
return a; }
void delete_QTextLine(QTextLine* obj) { delete obj; }
qreal ascent(QTextLine* theWrappedObject) const;
qreal cursorToX(QTextLine* theWrappedObject, int cursorPos, QTextLine::Edge edge = QTextLine::Leading) const;
qreal descent(QTextLine* theWrappedObject) const;
void draw(QTextLine* theWrappedObject, QPainter* p, const QPointF& point, const QTextLayout::FormatRange* selection = 0) const;
qreal height(QTextLine* theWrappedObject) const;
bool isValid(QTextLine* theWrappedObject) const;
qreal leading(QTextLine* theWrappedObject) const;
bool leadingIncluded(QTextLine* theWrappedObject) const;
int lineNumber(QTextLine* theWrappedObject) const;
QRectF naturalTextRect(QTextLine* theWrappedObject) const;
qreal naturalTextWidth(QTextLine* theWrappedObject) const;
QPointF position(QTextLine* theWrappedObject) const;
QRectF rect(QTextLine* theWrappedObject) const;
void setLeadingIncluded(QTextLine* theWrappedObject, bool included);
void setLineWidth(QTextLine* theWrappedObject, qreal width);
void setNumColumns(QTextLine* theWrappedObject, int columns);
void setNumColumns(QTextLine* theWrappedObject, int columns, qreal alignmentWidth);
void setPosition(QTextLine* theWrappedObject, const QPointF& pos);
int textLength(QTextLine* theWrappedObject) const;
int textStart(QTextLine* theWrappedObject) const;
qreal width(QTextLine* theWrappedObject) const;
qreal x(QTextLine* theWrappedObject) const;
int xToCursor(QTextLine* theWrappedObject, qreal x, QTextLine::CursorPosition arg__2 = QTextLine::CursorBetweenCharacters) const;
qreal y(QTextLine* theWrappedObject) const;
};
class PythonQtShell_QTextList : public QTextList
{
public:
PythonQtShell_QTextList(QTextDocument* doc):QTextList(doc),_wrapper(NULL) {};
virtual void blockFormatChanged(const QTextBlock& block);
virtual void blockInserted(const QTextBlock& block);
virtual void blockRemoved(const QTextBlock& block);
virtual void childEvent(QChildEvent* arg__1);
virtual void customEvent(QEvent* arg__1);
virtual bool event(QEvent* arg__1);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual void timerEvent(QTimerEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtWrapper_QTextList : public QObject
{ Q_OBJECT
public:
public slots:
QTextList* new_QTextList(QTextDocument* doc);
void delete_QTextList(QTextList* obj) { delete obj; }
void add(QTextList* theWrappedObject, const QTextBlock& block);
int count(QTextList* theWrappedObject) const;
QTextListFormat format(QTextList* theWrappedObject) const;
QTextBlock item(QTextList* theWrappedObject, int i) const;
int itemNumber(QTextList* theWrappedObject, const QTextBlock& arg__1) const;
QString itemText(QTextList* theWrappedObject, const QTextBlock& arg__1) const;
void remove(QTextList* theWrappedObject, const QTextBlock& arg__1);
void removeItem(QTextList* theWrappedObject, int i);
void setFormat(QTextList* theWrappedObject, const QTextListFormat& format);
};
class PythonQtShell_QTextListFormat : public QTextListFormat
{
public:
PythonQtShell_QTextListFormat():QTextListFormat(),_wrapper(NULL) {};
PythonQtShell_QTextListFormat(const QTextFormat& fmt):QTextListFormat(fmt),_wrapper(NULL) {};
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtWrapper_QTextListFormat : public QObject
{ Q_OBJECT
public:
Q_ENUMS(Style )
enum Style{
ListDisc = QTextListFormat::ListDisc, ListCircle = QTextListFormat::ListCircle, ListSquare = QTextListFormat::ListSquare, ListDecimal = QTextListFormat::ListDecimal, ListLowerAlpha = QTextListFormat::ListLowerAlpha, ListUpperAlpha = QTextListFormat::ListUpperAlpha, ListLowerRoman = QTextListFormat::ListLowerRoman, ListUpperRoman = QTextListFormat::ListUpperRoman, ListStyleUndefined = QTextListFormat::ListStyleUndefined};
public slots:
QTextListFormat* new_QTextListFormat();
QTextListFormat* new_QTextListFormat(const QTextListFormat& other) {
PythonQtShell_QTextListFormat* a = new PythonQtShell_QTextListFormat();
*((QTextListFormat*)a) = other;
return a; }
void delete_QTextListFormat(QTextListFormat* obj) { delete obj; }
int indent(QTextListFormat* theWrappedObject) const;
bool isValid(QTextListFormat* theWrappedObject) const;
void setIndent(QTextListFormat* theWrappedObject, int indent);
void setStyle(QTextListFormat* theWrappedObject, QTextListFormat::Style style);
QTextListFormat::Style style(QTextListFormat* theWrappedObject) const;
};
class PythonQtShell_QTextObject : public QTextObject
{
public:
PythonQtShell_QTextObject(QTextDocument* doc):QTextObject(doc),_wrapper(NULL) {};
virtual void childEvent(QChildEvent* arg__1);
virtual void customEvent(QEvent* arg__1);
virtual bool event(QEvent* arg__1);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual void timerEvent(QTimerEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtWrapper_QTextObject : public QObject
{ Q_OBJECT
public:
public slots:
QTextDocument* document(QTextObject* theWrappedObject) const;
QTextFormat format(QTextObject* theWrappedObject) const;
int formatIndex(QTextObject* theWrappedObject) const;
int objectIndex(QTextObject* theWrappedObject) const;
};
class PythonQtShell_QTextTable : public QTextTable
{
public:
PythonQtShell_QTextTable(QTextDocument* doc):QTextTable(doc),_wrapper(NULL) {};
virtual void childEvent(QChildEvent* arg__1);
virtual void customEvent(QEvent* arg__1);
virtual bool event(QEvent* arg__1);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual void timerEvent(QTimerEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtWrapper_QTextTable : public QObject
{ Q_OBJECT
public:
public slots:
QTextTable* new_QTextTable(QTextDocument* doc);
void delete_QTextTable(QTextTable* obj) { delete obj; }
void appendColumns(QTextTable* theWrappedObject, int count);
void appendRows(QTextTable* theWrappedObject, int count);
QTextTableCell cellAt(QTextTable* theWrappedObject, const QTextCursor& c) const;
QTextTableCell cellAt(QTextTable* theWrappedObject, int position) const;
QTextTableCell cellAt(QTextTable* theWrappedObject, int row, int col) const;
int columns(QTextTable* theWrappedObject) const;
QTextTableFormat format(QTextTable* theWrappedObject) const;
void insertColumns(QTextTable* theWrappedObject, int pos, int num);
void insertRows(QTextTable* theWrappedObject, int pos, int num);
void mergeCells(QTextTable* theWrappedObject, const QTextCursor& cursor);
void mergeCells(QTextTable* theWrappedObject, int row, int col, int numRows, int numCols);
void removeColumns(QTextTable* theWrappedObject, int pos, int num);
void removeRows(QTextTable* theWrappedObject, int pos, int num);
void resize(QTextTable* theWrappedObject, int rows, int cols);
QTextCursor rowEnd(QTextTable* theWrappedObject, const QTextCursor& c) const;
QTextCursor rowStart(QTextTable* theWrappedObject, const QTextCursor& c) const;
int rows(QTextTable* theWrappedObject) const;
void setFormat(QTextTable* theWrappedObject, const QTextTableFormat& format);
void splitCell(QTextTable* theWrappedObject, int row, int col, int numRows, int numCols);
};
class PythonQtWrapper_QTextTableCell : public QObject
{ Q_OBJECT
public:
public slots:
QTextTableCell* new_QTextTableCell();
QTextTableCell* new_QTextTableCell(const QTextTableCell& o);
void delete_QTextTableCell(QTextTableCell* obj) { delete obj; }
QTextFrame::iterator begin(QTextTableCell* theWrappedObject) const;
int column(QTextTableCell* theWrappedObject) const;
int columnSpan(QTextTableCell* theWrappedObject) const;
QTextFrame::iterator end(QTextTableCell* theWrappedObject) const;
QTextCursor firstCursorPosition(QTextTableCell* theWrappedObject) const;
int firstPosition(QTextTableCell* theWrappedObject) const;
QTextCharFormat format(QTextTableCell* theWrappedObject) const;
bool isValid(QTextTableCell* theWrappedObject) const;
QTextCursor lastCursorPosition(QTextTableCell* theWrappedObject) const;
int lastPosition(QTextTableCell* theWrappedObject) const;
bool __ne__(QTextTableCell* theWrappedObject, const QTextTableCell& other) const;
bool __eq__(QTextTableCell* theWrappedObject, const QTextTableCell& other) const;
int row(QTextTableCell* theWrappedObject) const;
int rowSpan(QTextTableCell* theWrappedObject) const;
void setFormat(QTextTableCell* theWrappedObject, const QTextCharFormat& format);
int tableCellFormatIndex(QTextTableCell* theWrappedObject) const;
};
class PythonQtShell_QTextTableCellFormat : public QTextTableCellFormat
{
public:
PythonQtShell_QTextTableCellFormat():QTextTableCellFormat(),_wrapper(NULL) {};
PythonQtShell_QTextTableCellFormat(const QTextFormat& fmt):QTextTableCellFormat(fmt),_wrapper(NULL) {};
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtWrapper_QTextTableCellFormat : public QObject
{ Q_OBJECT
public:
public slots:
QTextTableCellFormat* new_QTextTableCellFormat();
QTextTableCellFormat* new_QTextTableCellFormat(const QTextTableCellFormat& other) {
PythonQtShell_QTextTableCellFormat* a = new PythonQtShell_QTextTableCellFormat();
*((QTextTableCellFormat*)a) = other;
return a; }
void delete_QTextTableCellFormat(QTextTableCellFormat* obj) { delete obj; }
qreal bottomPadding(QTextTableCellFormat* theWrappedObject) const;
bool isValid(QTextTableCellFormat* theWrappedObject) const;
qreal leftPadding(QTextTableCellFormat* theWrappedObject) const;
qreal rightPadding(QTextTableCellFormat* theWrappedObject) const;
void setBottomPadding(QTextTableCellFormat* theWrappedObject, qreal padding);
void setLeftPadding(QTextTableCellFormat* theWrappedObject, qreal padding);
void setPadding(QTextTableCellFormat* theWrappedObject, qreal padding);
void setRightPadding(QTextTableCellFormat* theWrappedObject, qreal padding);
void setTopPadding(QTextTableCellFormat* theWrappedObject, qreal padding);
qreal topPadding(QTextTableCellFormat* theWrappedObject) const;
};
class PythonQtShell_QTextTableFormat : public QTextTableFormat
{
public:
PythonQtShell_QTextTableFormat():QTextTableFormat(),_wrapper(NULL) {};
PythonQtShell_QTextTableFormat(const QTextFormat& fmt):QTextTableFormat(fmt),_wrapper(NULL) {};
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtWrapper_QTextTableFormat : public QObject
{ Q_OBJECT
public:
public slots:
QTextTableFormat* new_QTextTableFormat();
QTextTableFormat* new_QTextTableFormat(const QTextTableFormat& other) {
PythonQtShell_QTextTableFormat* a = new PythonQtShell_QTextTableFormat();
*((QTextTableFormat*)a) = other;
return a; }
void delete_QTextTableFormat(QTextTableFormat* obj) { delete obj; }
Qt::Alignment alignment(QTextTableFormat* theWrappedObject) const;
qreal cellPadding(QTextTableFormat* theWrappedObject) const;
qreal cellSpacing(QTextTableFormat* theWrappedObject) const;
void clearColumnWidthConstraints(QTextTableFormat* theWrappedObject);
QVector<QTextLength > columnWidthConstraints(QTextTableFormat* theWrappedObject) const;
int columns(QTextTableFormat* theWrappedObject) const;
int headerRowCount(QTextTableFormat* theWrappedObject) const;
bool isValid(QTextTableFormat* theWrappedObject) const;
void setAlignment(QTextTableFormat* theWrappedObject, Qt::Alignment alignment);
void setCellPadding(QTextTableFormat* theWrappedObject, qreal padding);
void setCellSpacing(QTextTableFormat* theWrappedObject, qreal spacing);
void setColumnWidthConstraints(QTextTableFormat* theWrappedObject, const QVector<QTextLength >& constraints);
void setColumns(QTextTableFormat* theWrappedObject, int columns);
void setHeaderRowCount(QTextTableFormat* theWrappedObject, int count);
};
class PythonQtShell_QTileRules : public QTileRules
{
public:
PythonQtShell_QTileRules(Qt::TileRule horizontalRule, Qt::TileRule verticalRule):QTileRules(horizontalRule, verticalRule),_wrapper(NULL) {};
PythonQtShell_QTileRules(Qt::TileRule rule = Qt::StretchTile):QTileRules(rule),_wrapper(NULL) {};
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtWrapper_QTileRules : public QObject
{ Q_OBJECT
public:
public slots:
QTileRules* new_QTileRules(Qt::TileRule horizontalRule, Qt::TileRule verticalRule);
QTileRules* new_QTileRules(Qt::TileRule rule = Qt::StretchTile);
void delete_QTileRules(QTileRules* obj) { delete obj; }
void py_set_vertical(QTileRules* theWrappedObject, Qt::TileRule vertical){ theWrappedObject->vertical = vertical; }
Qt::TileRule py_get_vertical(QTileRules* theWrappedObject){ return theWrappedObject->vertical; }
void py_set_horizontal(QTileRules* theWrappedObject, Qt::TileRule horizontal){ theWrappedObject->horizontal = horizontal; }
Qt::TileRule py_get_horizontal(QTileRules* theWrappedObject){ return theWrappedObject->horizontal; }
};
class PythonQtShell_QTimeEdit : public QTimeEdit
{
public:
PythonQtShell_QTimeEdit(QWidget* parent = 0):QTimeEdit(parent),_wrapper(NULL) {};
PythonQtShell_QTimeEdit(const QTime& time, QWidget* parent = 0):QTimeEdit(time, parent),_wrapper(NULL) {};
virtual void actionEvent(QActionEvent* arg__1);
virtual void changeEvent(QEvent* event);
virtual void childEvent(QChildEvent* arg__1);
virtual void clear();
virtual void closeEvent(QCloseEvent* event);
virtual void contextMenuEvent(QContextMenuEvent* event);
virtual void customEvent(QEvent* arg__1);
virtual QDateTime dateTimeFromText(const QString& text) const;
virtual int devType() const;
virtual void dragEnterEvent(QDragEnterEvent* arg__1);
virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
virtual void dragMoveEvent(QDragMoveEvent* arg__1);
virtual void dropEvent(QDropEvent* arg__1);
virtual void enterEvent(QEvent* arg__1);
virtual bool event(QEvent* event);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual void fixup(QString& input) const;
virtual void focusInEvent(QFocusEvent* event);
virtual bool focusNextPrevChild(bool next);
virtual void focusOutEvent(QFocusEvent* event);
virtual int heightForWidth(int arg__1) const;
virtual void hideEvent(QHideEvent* event);
virtual void inputMethodEvent(QInputMethodEvent* arg__1);
virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const;
virtual void keyPressEvent(QKeyEvent* event);
virtual void keyReleaseEvent(QKeyEvent* event);
virtual void languageChange();
virtual void leaveEvent(QEvent* arg__1);
virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
virtual void mouseMoveEvent(QMouseEvent* event);
virtual void mousePressEvent(QMouseEvent* event);
virtual void mouseReleaseEvent(QMouseEvent* event);
virtual void moveEvent(QMoveEvent* arg__1);
virtual QPaintEngine* paintEngine() const;
virtual void paintEvent(QPaintEvent* event);
virtual void resizeEvent(QResizeEvent* event);
virtual void showEvent(QShowEvent* event);
virtual void stepBy(int steps);
virtual QAbstractSpinBox::StepEnabled stepEnabled() const;
virtual void tabletEvent(QTabletEvent* arg__1);
virtual QString textFromDateTime(const QDateTime& dt) const;
virtual void timerEvent(QTimerEvent* event);
virtual QValidator::State validate(QString& input, int& pos) const;
virtual void wheelEvent(QWheelEvent* event);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtWrapper_QTimeEdit : public QObject
{ Q_OBJECT
public:
public slots:
QTimeEdit* new_QTimeEdit(QWidget* parent = 0);
QTimeEdit* new_QTimeEdit(const QTime& time, QWidget* parent = 0);
void delete_QTimeEdit(QTimeEdit* obj) { delete obj; }
};
class PythonQtShell_QToolBar : public QToolBar
{
public:
PythonQtShell_QToolBar(QWidget* parent = 0):QToolBar(parent),_wrapper(NULL) {};
PythonQtShell_QToolBar(const QString& title, QWidget* parent = 0):QToolBar(title, parent),_wrapper(NULL) {};
virtual void actionEvent(QActionEvent* event);
virtual void changeEvent(QEvent* event);
virtual void childEvent(QChildEvent* event);
virtual void closeEvent(QCloseEvent* arg__1);
virtual void contextMenuEvent(QContextMenuEvent* arg__1);
virtual void customEvent(QEvent* arg__1);
virtual int devType() const;
virtual void dragEnterEvent(QDragEnterEvent* arg__1);
virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
virtual void dragMoveEvent(QDragMoveEvent* arg__1);
virtual void dropEvent(QDropEvent* arg__1);
virtual void enterEvent(QEvent* arg__1);
virtual bool event(QEvent* event);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual void focusInEvent(QFocusEvent* arg__1);
virtual bool focusNextPrevChild(bool next);
virtual void focusOutEvent(QFocusEvent* arg__1);
virtual int heightForWidth(int arg__1) const;
virtual void hideEvent(QHideEvent* arg__1);
virtual void inputMethodEvent(QInputMethodEvent* arg__1);
virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const;
virtual void keyPressEvent(QKeyEvent* arg__1);
virtual void keyReleaseEvent(QKeyEvent* arg__1);
virtual void languageChange();
virtual void leaveEvent(QEvent* arg__1);
virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
virtual QSize minimumSizeHint() const;
virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
virtual void mouseMoveEvent(QMouseEvent* arg__1);
virtual void mousePressEvent(QMouseEvent* arg__1);
virtual void mouseReleaseEvent(QMouseEvent* arg__1);
virtual void moveEvent(QMoveEvent* arg__1);
virtual QPaintEngine* paintEngine() const;
virtual void paintEvent(QPaintEvent* event);
virtual void resizeEvent(QResizeEvent* event);
virtual void showEvent(QShowEvent* arg__1);
virtual QSize sizeHint() const;
virtual void tabletEvent(QTabletEvent* arg__1);
virtual void timerEvent(QTimerEvent* arg__1);
virtual void wheelEvent(QWheelEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QToolBar : public QToolBar
{ public:
inline void promoted_actionEvent(QActionEvent* event) { QToolBar::actionEvent(event); }
inline void promoted_changeEvent(QEvent* event) { QToolBar::changeEvent(event); }
inline void promoted_childEvent(QChildEvent* event) { QToolBar::childEvent(event); }
inline bool promoted_event(QEvent* event) { return QToolBar::event(event); }
inline void promoted_paintEvent(QPaintEvent* event) { QToolBar::paintEvent(event); }
inline void promoted_resizeEvent(QResizeEvent* event) { QToolBar::resizeEvent(event); }
};
class PythonQtWrapper_QToolBar : public QObject
{ Q_OBJECT
public:
public slots:
QToolBar* new_QToolBar(QWidget* parent = 0);
QToolBar* new_QToolBar(const QString& title, QWidget* parent = 0);
void delete_QToolBar(QToolBar* obj) { delete obj; }
QAction* actionAt(QToolBar* theWrappedObject, const QPoint& p) const;
QAction* actionAt(QToolBar* theWrappedObject, int x, int y) const;
void actionEvent(QToolBar* theWrappedObject, QActionEvent* event);
QRect actionGeometry(QToolBar* theWrappedObject, QAction* action) const;
void addAction(QToolBar* theWrappedObject, QAction* action);
QAction* addAction(QToolBar* theWrappedObject, const QIcon& icon, const QString& text);
QAction* addAction(QToolBar* theWrappedObject, const QIcon& icon, const QString& text, const QObject* receiver, const char* member);
QAction* addAction(QToolBar* theWrappedObject, const QString& text);
QAction* addAction(QToolBar* theWrappedObject, const QString& text, const QObject* receiver, const char* member);
QAction* addSeparator(QToolBar* theWrappedObject);
QAction* addWidget(QToolBar* theWrappedObject, QWidget* widget);
Qt::ToolBarAreas allowedAreas(QToolBar* theWrappedObject) const;
void changeEvent(QToolBar* theWrappedObject, QEvent* event);
void childEvent(QToolBar* theWrappedObject, QChildEvent* event);
void clear(QToolBar* theWrappedObject);
bool event(QToolBar* theWrappedObject, QEvent* event);
QSize iconSize(QToolBar* theWrappedObject) const;
QAction* insertSeparator(QToolBar* theWrappedObject, QAction* before);
QAction* insertWidget(QToolBar* theWrappedObject, QAction* before, QWidget* widget);
bool isAreaAllowed(QToolBar* theWrappedObject, Qt::ToolBarArea area) const;
bool isFloatable(QToolBar* theWrappedObject) const;
bool isFloating(QToolBar* theWrappedObject) const;
bool isMovable(QToolBar* theWrappedObject) const;
Qt::Orientation orientation(QToolBar* theWrappedObject) const;
void paintEvent(QToolBar* theWrappedObject, QPaintEvent* event);
void resizeEvent(QToolBar* theWrappedObject, QResizeEvent* event);
void setAllowedAreas(QToolBar* theWrappedObject, Qt::ToolBarAreas areas);
void setFloatable(QToolBar* theWrappedObject, bool floatable);
void setMovable(QToolBar* theWrappedObject, bool movable);
void setOrientation(QToolBar* theWrappedObject, Qt::Orientation orientation);
QAction* toggleViewAction(QToolBar* theWrappedObject) const;
Qt::ToolButtonStyle toolButtonStyle(QToolBar* theWrappedObject) const;
QWidget* widgetForAction(QToolBar* theWrappedObject, QAction* action) const;
QAction* addAction (QToolBar* menu, const QString & text, PyObject* callable)
{
QAction* a = menu->addAction(text);
PythonQt::self()->addSignalHandler(a, SIGNAL(triggered(bool)), callable);
return a;
}
QAction* addAction (QToolBar* menu, const QIcon& icon, const QString& text, PyObject* callable)
{
QAction* a = menu->addAction(text);
a->setIcon(icon);
PythonQt::self()->addSignalHandler(a, SIGNAL(triggered(bool)), callable);
return a;
}
};
class PythonQtWrapper_QToolBarChangeEvent : public QObject
{ Q_OBJECT
public:
public slots:
QToolBarChangeEvent* new_QToolBarChangeEvent(bool t);
void delete_QToolBarChangeEvent(QToolBarChangeEvent* obj) { delete obj; }
bool toggle(QToolBarChangeEvent* theWrappedObject) const;
};
class PythonQtShell_QToolBox : public QToolBox
{
public:
PythonQtShell_QToolBox(QWidget* parent = 0, Qt::WindowFlags f = 0):QToolBox(parent, f),_wrapper(NULL) {};
virtual void actionEvent(QActionEvent* arg__1);
virtual void changeEvent(QEvent* arg__1);
virtual void childEvent(QChildEvent* arg__1);
virtual void closeEvent(QCloseEvent* arg__1);
virtual void contextMenuEvent(QContextMenuEvent* arg__1);
virtual void customEvent(QEvent* arg__1);
virtual int devType() const;
virtual void dragEnterEvent(QDragEnterEvent* arg__1);
virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
virtual void dragMoveEvent(QDragMoveEvent* arg__1);
virtual void dropEvent(QDropEvent* arg__1);
virtual void enterEvent(QEvent* arg__1);
virtual bool event(QEvent* e);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual void focusInEvent(QFocusEvent* arg__1);
virtual bool focusNextPrevChild(bool next);
virtual void focusOutEvent(QFocusEvent* arg__1);
virtual int heightForWidth(int arg__1) const;
virtual void hideEvent(QHideEvent* arg__1);
virtual void inputMethodEvent(QInputMethodEvent* arg__1);
virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const;
virtual void itemInserted(int index);
virtual void itemRemoved(int index);
virtual void keyPressEvent(QKeyEvent* arg__1);
virtual void keyReleaseEvent(QKeyEvent* arg__1);
virtual void languageChange();
virtual void leaveEvent(QEvent* arg__1);
virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
virtual QSize minimumSizeHint() const;
virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
virtual void mouseMoveEvent(QMouseEvent* arg__1);
virtual void mousePressEvent(QMouseEvent* arg__1);
virtual void mouseReleaseEvent(QMouseEvent* arg__1);
virtual void moveEvent(QMoveEvent* arg__1);
virtual QPaintEngine* paintEngine() const;
virtual void paintEvent(QPaintEvent* arg__1);
virtual void resizeEvent(QResizeEvent* arg__1);
virtual void showEvent(QShowEvent* e);
virtual void tabletEvent(QTabletEvent* arg__1);
virtual void timerEvent(QTimerEvent* arg__1);
virtual void wheelEvent(QWheelEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QToolBox : public QToolBox
{ public:
inline void promoted_changeEvent(QEvent* arg__1) { QToolBox::changeEvent(arg__1); }
inline bool promoted_event(QEvent* e) { return QToolBox::event(e); }
inline void promoted_itemInserted(int index) { QToolBox::itemInserted(index); }
inline void promoted_itemRemoved(int index) { QToolBox::itemRemoved(index); }
inline void promoted_showEvent(QShowEvent* e) { QToolBox::showEvent(e); }
};
class PythonQtWrapper_QToolBox : public QObject
{ Q_OBJECT
public:
public slots:
QToolBox* new_QToolBox(QWidget* parent = 0, Qt::WindowFlags f = 0);
void delete_QToolBox(QToolBox* obj) { delete obj; }
int addItem(QToolBox* theWrappedObject, QWidget* widget, const QIcon& icon, const QString& text);
int addItem(QToolBox* theWrappedObject, QWidget* widget, const QString& text);
void changeEvent(QToolBox* theWrappedObject, QEvent* arg__1);
int count(QToolBox* theWrappedObject) const;
int currentIndex(QToolBox* theWrappedObject) const;
QWidget* currentWidget(QToolBox* theWrappedObject) const;
bool event(QToolBox* theWrappedObject, QEvent* e);
int indexOf(QToolBox* theWrappedObject, QWidget* widget) const;
int insertItem(QToolBox* theWrappedObject, int index, QWidget* widget, const QIcon& icon, const QString& text);
int insertItem(QToolBox* theWrappedObject, int index, QWidget* widget, const QString& text);
bool isItemEnabled(QToolBox* theWrappedObject, int index) const;
QIcon itemIcon(QToolBox* theWrappedObject, int index) const;
void itemInserted(QToolBox* theWrappedObject, int index);
void itemRemoved(QToolBox* theWrappedObject, int index);
QString itemText(QToolBox* theWrappedObject, int index) const;
QString itemToolTip(QToolBox* theWrappedObject, int index) const;
void removeItem(QToolBox* theWrappedObject, int index);
void setItemEnabled(QToolBox* theWrappedObject, int index, bool enabled);
void setItemIcon(QToolBox* theWrappedObject, int index, const QIcon& icon);
void setItemText(QToolBox* theWrappedObject, int index, const QString& text);
void setItemToolTip(QToolBox* theWrappedObject, int index, const QString& toolTip);
void showEvent(QToolBox* theWrappedObject, QShowEvent* e);
QWidget* widget(QToolBox* theWrappedObject, int index) const;
};
class PythonQtShell_QToolButton : public QToolButton
{
public:
PythonQtShell_QToolButton(QWidget* parent = 0):QToolButton(parent),_wrapper(NULL) {};
virtual void actionEvent(QActionEvent* arg__1);
virtual void changeEvent(QEvent* arg__1);
virtual void checkStateSet();
virtual void childEvent(QChildEvent* arg__1);
virtual void closeEvent(QCloseEvent* arg__1);
virtual void contextMenuEvent(QContextMenuEvent* arg__1);
virtual void customEvent(QEvent* arg__1);
virtual int devType() const;
virtual void dragEnterEvent(QDragEnterEvent* arg__1);
virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
virtual void dragMoveEvent(QDragMoveEvent* arg__1);
virtual void dropEvent(QDropEvent* arg__1);
virtual void enterEvent(QEvent* arg__1);
virtual bool event(QEvent* e);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual void focusInEvent(QFocusEvent* e);
virtual bool focusNextPrevChild(bool next);
virtual void focusOutEvent(QFocusEvent* e);
virtual int heightForWidth(int arg__1) const;
virtual void hideEvent(QHideEvent* arg__1);
virtual bool hitButton(const QPoint& pos) const;
virtual void inputMethodEvent(QInputMethodEvent* arg__1);
virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const;
virtual void keyPressEvent(QKeyEvent* e);
virtual void keyReleaseEvent(QKeyEvent* e);
virtual void languageChange();
virtual void leaveEvent(QEvent* arg__1);
virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
virtual void mouseDoubleClickEvent(QMouseEvent* arg__1);
virtual void mouseMoveEvent(QMouseEvent* e);
virtual void mousePressEvent(QMouseEvent* arg__1);
virtual void mouseReleaseEvent(QMouseEvent* arg__1);
virtual void moveEvent(QMoveEvent* arg__1);
virtual void nextCheckState();
virtual QPaintEngine* paintEngine() const;
virtual void paintEvent(QPaintEvent* arg__1);
virtual void resizeEvent(QResizeEvent* arg__1);
virtual void showEvent(QShowEvent* arg__1);
virtual void tabletEvent(QTabletEvent* arg__1);
virtual void timerEvent(QTimerEvent* arg__1);
virtual void wheelEvent(QWheelEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QToolButton : public QToolButton
{ public:
inline void promoted_actionEvent(QActionEvent* arg__1) { QToolButton::actionEvent(arg__1); }
inline void promoted_changeEvent(QEvent* arg__1) { QToolButton::changeEvent(arg__1); }
inline void promoted_enterEvent(QEvent* arg__1) { QToolButton::enterEvent(arg__1); }
inline bool promoted_event(QEvent* e) { return QToolButton::event(e); }
inline bool promoted_hitButton(const QPoint& pos) const { return QToolButton::hitButton(pos); }
inline void promoted_leaveEvent(QEvent* arg__1) { QToolButton::leaveEvent(arg__1); }
inline void promoted_mousePressEvent(QMouseEvent* arg__1) { QToolButton::mousePressEvent(arg__1); }
inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { QToolButton::mouseReleaseEvent(arg__1); }
inline void promoted_nextCheckState() { QToolButton::nextCheckState(); }
inline void promoted_paintEvent(QPaintEvent* arg__1) { QToolButton::paintEvent(arg__1); }
inline void promoted_timerEvent(QTimerEvent* arg__1) { QToolButton::timerEvent(arg__1); }
};
class PythonQtWrapper_QToolButton : public QObject
{ Q_OBJECT
public:
public slots:
QToolButton* new_QToolButton(QWidget* parent = 0);
void delete_QToolButton(QToolButton* obj) { delete obj; }
void actionEvent(QToolButton* theWrappedObject, QActionEvent* arg__1);
Qt::ArrowType arrowType(QToolButton* theWrappedObject) const;
bool autoRaise(QToolButton* theWrappedObject) const;
void changeEvent(QToolButton* theWrappedObject, QEvent* arg__1);
QAction* defaultAction(QToolButton* theWrappedObject) const;
void enterEvent(QToolButton* theWrappedObject, QEvent* arg__1);
bool event(QToolButton* theWrappedObject, QEvent* e);
bool hitButton(QToolButton* theWrappedObject, const QPoint& pos) const;
void leaveEvent(QToolButton* theWrappedObject, QEvent* arg__1);
QMenu* menu(QToolButton* theWrappedObject) const;
QSize minimumSizeHint(QToolButton* theWrappedObject) const;
void mousePressEvent(QToolButton* theWrappedObject, QMouseEvent* arg__1);
void mouseReleaseEvent(QToolButton* theWrappedObject, QMouseEvent* arg__1);
void nextCheckState(QToolButton* theWrappedObject);
void paintEvent(QToolButton* theWrappedObject, QPaintEvent* arg__1);
QToolButton::ToolButtonPopupMode popupMode(QToolButton* theWrappedObject) const;
void setArrowType(QToolButton* theWrappedObject, Qt::ArrowType type);
void setAutoRaise(QToolButton* theWrappedObject, bool enable);
void setMenu(QToolButton* theWrappedObject, QMenu* menu);
void setPopupMode(QToolButton* theWrappedObject, QToolButton::ToolButtonPopupMode mode);
QSize sizeHint(QToolButton* theWrappedObject) const;
void timerEvent(QToolButton* theWrappedObject, QTimerEvent* arg__1);
Qt::ToolButtonStyle toolButtonStyle(QToolButton* theWrappedObject) const;
};
|