@@ -56,6 +56,9 | |||
|
56 | 56 | PythonQt* PythonQt::_self = NULL; |
|
57 | 57 | int PythonQt::_uniqueModuleCount = 0; |
|
58 | 58 | |
|
59 | void PythonQt_init_QtGuiBuiltin(); | |
|
60 | void PythonQt_init_QtCoreBuiltin(); | |
|
61 | ||
|
59 | 62 | void PythonQt::init(int flags) |
|
60 | 63 | { |
|
61 | 64 | if (!_self) { |
@@ -72,23 +75,9 void PythonQt::init(int flags) | |||
|
72 | 75 | |
|
73 | 76 | PythonQt::self()->addDecorators(new PythonQtStdDecorators()); |
|
74 | 77 | |
|
75 | PythonQt::self()->registerCPPClass("Qt", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_Qt>); | |
|
76 | PythonQt::self()->registerCPPClass("QBitArray", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_QBitArray>); | |
|
77 | PythonQt::self()->registerCPPClass("QDate", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_QDate>); | |
|
78 | PythonQt::self()->registerCPPClass("QTime", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_QTime>); | |
|
79 | PythonQt::self()->registerCPPClass("QDateTime", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_QDateTime>); | |
|
80 | PythonQt::self()->registerCPPClass("QUrl", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_QUrl>); | |
|
81 | PythonQt::self()->registerCPPClass("QLocale", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_QLocale>); | |
|
82 | PythonQt::self()->registerCPPClass("QRect", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_QRect>); | |
|
83 | PythonQt::self()->registerCPPClass("QRectF", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_QRectF>); | |
|
84 | PythonQt::self()->registerCPPClass("QSize", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_QSize>); | |
|
85 | PythonQt::self()->registerCPPClass("QSizeF", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_QSizeF>); | |
|
86 | PythonQt::self()->registerCPPClass("QLine", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_QLine>); | |
|
87 | PythonQt::self()->registerCPPClass("QLineF", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_QLineF>); | |
|
88 | PythonQt::self()->registerCPPClass("QPoint", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_QPoint>); | |
|
89 | PythonQt::self()->registerCPPClass("QPointF", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_QPointF>); | |
|
90 | PythonQt::self()->registerCPPClass("QRegExp", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_QRegExp>); | |
|
91 | ||
|
78 | PythonQt_init_QtCoreBuiltin(); | |
|
79 | PythonQt_init_QtGuiBuiltin(); | |
|
80 | ||
|
92 | 81 |
|
|
93 | 82 | PythonQtRegisterToolClassesTemplateConverter(QTime); |
|
94 | 83 | PythonQtRegisterToolClassesTemplateConverter(QDateTime); |
@@ -104,24 +93,6 void PythonQt::init(int flags) | |||
|
104 | 93 | PythonQtRegisterToolClassesTemplateConverter(QPointF); |
|
105 | 94 | PythonQtRegisterToolClassesTemplateConverter(QRegExp); |
|
106 | 95 | |
|
107 | PythonQt::self()->registerCPPClass("QFont", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QFont>); | |
|
108 | PythonQt::self()->registerCPPClass("QPixmap", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QPixmap>); | |
|
109 | PythonQt::self()->registerCPPClass("QBrush", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QBrush>); | |
|
110 | PythonQt::self()->registerCPPClass("QColor", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QColor>); | |
|
111 | PythonQt::self()->registerCPPClass("QPalette", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QPalette>); | |
|
112 | PythonQt::self()->registerCPPClass("QIcon", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QIcon>); | |
|
113 | PythonQt::self()->registerCPPClass("QImage", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QImage>); | |
|
114 | PythonQt::self()->registerCPPClass("QPolygon", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QPolygon>); | |
|
115 | PythonQt::self()->registerCPPClass("QRegion", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QRegion>); | |
|
116 | PythonQt::self()->registerCPPClass("QBitmap", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QBitmap>); | |
|
117 | PythonQt::self()->registerCPPClass("QCursor", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QCursor>); | |
|
118 | PythonQt::self()->registerCPPClass("QSizePolicy", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QSizePolicy>); | |
|
119 | PythonQt::self()->registerCPPClass("QKeySequence", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QKeySequence>); | |
|
120 | PythonQt::self()->registerCPPClass("QPen", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QPen>); | |
|
121 | PythonQt::self()->registerCPPClass("QTextLength", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QTextLength>); | |
|
122 | PythonQt::self()->registerCPPClass("QTextFormat", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QTextFormat>); | |
|
123 | PythonQt::self()->registerCPPClass("QMatrix", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QMatrix>); | |
|
124 | ||
|
125 | 96 | PythonQtRegisterToolClassesTemplateConverter(QFont); |
|
126 | 97 | PythonQtRegisterToolClassesTemplateConverter(QPixmap); |
|
127 | 98 | PythonQtRegisterToolClassesTemplateConverter(QBrush); |
@@ -42,40 +42,37 | |||
|
42 | 42 | */ |
|
43 | 43 | //---------------------------------------------------------------------------------- |
|
44 | 44 | |
|
45 | #include "../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_Qt.h" | |
|
46 | #include "../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QBitArray.h" | |
|
47 | #include "../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QDate.h" | |
|
48 | #include "../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTime.h" | |
|
49 | #include "../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QDateTime.h" | |
|
50 | #include "../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QUrl.h" | |
|
51 | #include "../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QLocale.h" | |
|
52 | #include "../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QRect.h" | |
|
53 | #include "../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QRectF.h" | |
|
54 | #include "../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSize.h" | |
|
55 | #include "../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSizeF.h" | |
|
56 | #include "../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QLine.h" | |
|
57 | #include "../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QLineF.h" | |
|
58 | #include "../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QPoint.h" | |
|
59 | #include "../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QPointF.h" | |
|
60 | #include "../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QRegExp.h" | |
|
45 | #include <QBitArray> | |
|
46 | #include <QDate> | |
|
47 | #include <QTime> | |
|
48 | #include <QDateTime> | |
|
49 | #include <QUrl> | |
|
50 | #include <QLocale> | |
|
51 | #include <QRect> | |
|
52 | #include <QRectF> | |
|
53 | #include <QLine> | |
|
54 | #include <QLineF> | |
|
55 | #include <QPoint> | |
|
56 | #include <QPointF> | |
|
57 | #include <QRegExp> | |
|
61 | 58 | |
|
62 | #include "../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFont.h" | |
|
63 | #include "../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPixmap.h" | |
|
64 | #include "../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QBrush.h" | |
|
65 | #include "../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QColor.h" | |
|
66 | #include "../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPalette.h" | |
|
67 | #include "../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QIcon.h" | |
|
68 | #include "../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QImage.h" | |
|
69 | #include "../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPolygon.h" | |
|
70 | #include "../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QRegion.h" | |
|
71 | #include "../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QBitmap.h" | |
|
72 | #include "../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCursor.h" | |
|
73 | #include "../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSizePolicy.h" | |
|
74 | #include "../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QKeySequence.h" | |
|
75 | #include "../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPen.h" | |
|
76 | #include "../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextLength.h" | |
|
77 | #include "../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextFormat.h" | |
|
78 | #include "../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMatrix.h" | |
|
59 | #include <QFont> | |
|
60 | #include <QBitmap> | |
|
61 | #include <QBrush> | |
|
62 | #include <QColor> | |
|
63 | #include <QPalette> | |
|
64 | #include <QIcon> | |
|
65 | #include <QImage> | |
|
66 | #include <QPolygon> | |
|
67 | #include <QRegion> | |
|
68 | #include <QBitmap> | |
|
69 | #include <QCursor> | |
|
70 | #include <QSizePolicy> | |
|
71 | #include <QKeySequence> | |
|
72 | #include <QPen> | |
|
73 | #include <QTextLength> | |
|
74 | #include <QTextFormat> | |
|
75 | #include <QMatrix> | |
|
79 | 76 | |
|
80 | 77 | #endif |
|
81 | 78 |
@@ -16,47 +16,11 HEADERS += \ | |||
|
16 | 16 | $$PWD/PythonQtInstanceWrapper.h \ |
|
17 | 17 | $$PWD/PythonQtClassWrapper.h \ |
|
18 | 18 | $$PWD/PythonQtCppWrapperFactory.h \ |
|
19 | $$PWD/PythonQtVariants.h \ | |
|
20 | 19 | $$PWD/PythonQtQFileImporter.h \ |
|
21 | 20 | $$PWD/PythonQtQFileImporter.h \ |
|
21 | $$PWD/PythonQtVariants.h \ | |
|
22 | 22 | $$PWD/gui/PythonQtScriptingConsole.h \ |
|
23 |
$$PWD/PythonQtSystem.h |
|
|
24 | \ | |
|
25 | $$PWD/../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_Qt.h \ | |
|
26 | $$PWD/../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QBitArray.h \ | |
|
27 | $$PWD/../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QDate.h \ | |
|
28 | $$PWD/../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTime.h \ | |
|
29 | $$PWD/../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QDateTime.h \ | |
|
30 | $$PWD/../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QUrl.h \ | |
|
31 | $$PWD/../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QLocale.h \ | |
|
32 | $$PWD/../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QRect.h \ | |
|
33 | $$PWD/../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QRectF.h \ | |
|
34 | $$PWD/../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSize.h \ | |
|
35 | $$PWD/../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSizeF.h \ | |
|
36 | $$PWD/../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QLine.h \ | |
|
37 | $$PWD/../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QLineF.h \ | |
|
38 | $$PWD/../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QPoint.h \ | |
|
39 | $$PWD/../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QPointF.h \ | |
|
40 | $$PWD/../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QRegExp.h \ | |
|
41 | \ | |
|
42 | $$PWD/../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFont.h \ | |
|
43 | $$PWD/../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPixmap.h \ | |
|
44 | $$PWD/../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QBrush.h \ | |
|
45 | $$PWD/../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QColor.h \ | |
|
46 | $$PWD/../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPalette.h \ | |
|
47 | $$PWD/../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QIcon.h \ | |
|
48 | $$PWD/../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QImage.h \ | |
|
49 | $$PWD/../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPolygon.h \ | |
|
50 | $$PWD/../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QRegion.h \ | |
|
51 | $$PWD/../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QBitmap.h \ | |
|
52 | $$PWD/../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCursor.h \ | |
|
53 | $$PWD/../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSizePolicy.h \ | |
|
54 | $$PWD/../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QKeySequence.h \ | |
|
55 | $$PWD/../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPen.h \ | |
|
56 | $$PWD/../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextLength.h \ | |
|
57 | $$PWD/../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextFormat.h \ | |
|
58 | $$PWD/../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMatrix.h | |
|
59 | ||
|
23 | $$PWD/PythonQtSystem.h | |
|
60 | 24 | |
|
61 | 25 | SOURCES += \ |
|
62 | 26 | $$PWD/PythonQtStdDecorators.cpp \ |
@@ -70,44 +34,10 SOURCES += \ | |||
|
70 | 34 | $$PWD/PythonQtMethodInfo.cpp \ |
|
71 | 35 | $$PWD/PythonQtConversion.cpp \ |
|
72 | 36 | $$PWD/PythonQtSignalReceiver.cpp \ |
|
73 | $$PWD/PythonQtVariants.cpp \ | |
|
74 | 37 | $$PWD/PythonQtInstanceWrapper.cpp \ |
|
75 | 38 | $$PWD/PythonQtQFileImporter.cpp \ |
|
76 | 39 | $$PWD/PythonQtClassWrapper.cpp \ |
|
77 | 40 | $$PWD/gui/PythonQtScriptingConsole.cpp \ |
|
78 | \ | |
|
79 | $$PWD/../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_Qt.cpp \ | |
|
80 | $$PWD/../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QBitArray.cpp \ | |
|
81 | $$PWD/../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QDate.cpp \ | |
|
82 | $$PWD/../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QTime.cpp \ | |
|
83 | $$PWD/../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QDateTime.cpp \ | |
|
84 | $$PWD/../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QUrl.cpp \ | |
|
85 | $$PWD/../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QLocale.cpp \ | |
|
86 | $$PWD/../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QRect.cpp \ | |
|
87 | $$PWD/../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QRectF.cpp \ | |
|
88 | $$PWD/../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSize.cpp \ | |
|
89 | $$PWD/../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QSizeF.cpp \ | |
|
90 | $$PWD/../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QLine.cpp \ | |
|
91 | $$PWD/../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QLineF.cpp \ | |
|
92 | $$PWD/../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QPoint.cpp \ | |
|
93 | $$PWD/../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QPointF.cpp \ | |
|
94 | $$PWD/../generated_cpp/com_trolltech_qt_core/PythonQtWrapper_QRegExp.cpp \ | |
|
95 | \ | |
|
96 | $$PWD/../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QFont.cpp \ | |
|
97 | $$PWD/../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPixmap.cpp \ | |
|
98 | $$PWD/../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QBrush.cpp \ | |
|
99 | $$PWD/../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QColor.cpp \ | |
|
100 | $$PWD/../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPalette.cpp \ | |
|
101 | $$PWD/../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QIcon.cpp \ | |
|
102 | $$PWD/../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QImage.cpp \ | |
|
103 | $$PWD/../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPolygon.cpp \ | |
|
104 | $$PWD/../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QRegion.cpp \ | |
|
105 | $$PWD/../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QBitmap.cpp \ | |
|
106 | $$PWD/../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QCursor.cpp \ | |
|
107 | $$PWD/../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QSizePolicy.cpp \ | |
|
108 | $$PWD/../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QKeySequence.cpp \ | |
|
109 | $$PWD/../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QPen.cpp \ | |
|
110 | $$PWD/../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextLength.cpp \ | |
|
111 | $$PWD/../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QTextFormat.cpp \ | |
|
112 | $$PWD/../generated_cpp/com_trolltech_qt_gui/PythonQtWrapper_QMatrix.cpp | |
|
113 | 41 | |
|
42 | include($$PWD/../generated_cpp/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin.pri) | |
|
43 | include($$PWD/../generated_cpp/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin.pri) |
|
1 | NO CONTENT: file was removed |
General Comments 0
You need to be logged in to leave comments.
Login now