1 | NO CONTENT: new file 100644, binary diff hidden |
|
NO CONTENT: new file 100644, binary diff hidden |
@@ -31,5 +31,6 src/PythonQt/tests/PythonQtTest | |||||
31 | src/PythonQt/generator/pythonqt_generator |
|
31 | src/PythonQt/generator/pythonqt_generator | |
32 | src/plugins/common/.preprocessed.tmp |
|
32 | src/plugins/common/.preprocessed.tmp | |
33 | *.exe |
|
33 | *.exe | |
|
34 | src/common/.preprocessed.tmp | |||
34 | syntax: regexp |
|
35 | syntax: regexp | |
35 | bin/* |
|
36 | bin/* |
@@ -200,6 +200,106 int PythonQtWrapper_QHexSpinBox::valueF | |||||
200 |
|
200 | |||
201 |
|
201 | |||
202 |
|
202 | |||
|
203 | PythonQtShell_SocExplorerPlot::~PythonQtShell_SocExplorerPlot() { | |||
|
204 | PythonQtPrivate* priv = PythonQt::priv(); | |||
|
205 | if (priv) { priv->shellClassDeleted(this); } | |||
|
206 | } | |||
|
207 | SocExplorerPlot* PythonQtWrapper_SocExplorerPlot::new_SocExplorerPlot(QWidget* parent) | |||
|
208 | { | |||
|
209 | return new PythonQtShell_SocExplorerPlot(parent); } | |||
|
210 | ||||
|
211 | int PythonQtWrapper_SocExplorerPlot::addGraph(SocExplorerPlot* theWrappedObject) | |||
|
212 | { | |||
|
213 | return ( theWrappedObject->addGraph()); | |||
|
214 | } | |||
|
215 | ||||
|
216 | void PythonQtWrapper_SocExplorerPlot::addGraphData(SocExplorerPlot* theWrappedObject, int graphIndex, QList<QVariant > x, QList<QVariant > y) | |||
|
217 | { | |||
|
218 | ( theWrappedObject->addGraphData(graphIndex, x, y)); | |||
|
219 | } | |||
|
220 | ||||
|
221 | void PythonQtWrapper_SocExplorerPlot::addGraphData(SocExplorerPlot* theWrappedObject, int graphIndex, QVariant x, QVariant y) | |||
|
222 | { | |||
|
223 | ( theWrappedObject->addGraphData(graphIndex, x, y)); | |||
|
224 | } | |||
|
225 | ||||
|
226 | QPen PythonQtWrapper_SocExplorerPlot::getGraphPen(SocExplorerPlot* theWrappedObject, int graphIndex) | |||
|
227 | { | |||
|
228 | return ( theWrappedObject->getGraphPen(graphIndex)); | |||
|
229 | } | |||
|
230 | ||||
|
231 | void PythonQtWrapper_SocExplorerPlot::rescaleAxis(SocExplorerPlot* theWrappedObject) | |||
|
232 | { | |||
|
233 | ( theWrappedObject->rescaleAxis()); | |||
|
234 | } | |||
|
235 | ||||
|
236 | void PythonQtWrapper_SocExplorerPlot::setGraphData(SocExplorerPlot* theWrappedObject, int graphIndex, QList<QVariant > x, QList<QVariant > y) | |||
|
237 | { | |||
|
238 | ( theWrappedObject->setGraphData(graphIndex, x, y)); | |||
|
239 | } | |||
|
240 | ||||
|
241 | void PythonQtWrapper_SocExplorerPlot::setGraphLineStyle(SocExplorerPlot* theWrappedObject, int graphIndex, QString lineStyle) | |||
|
242 | { | |||
|
243 | ( theWrappedObject->setGraphLineStyle(graphIndex, lineStyle)); | |||
|
244 | } | |||
|
245 | ||||
|
246 | void PythonQtWrapper_SocExplorerPlot::setGraphName(SocExplorerPlot* theWrappedObject, int graphIndex, QString name) | |||
|
247 | { | |||
|
248 | ( theWrappedObject->setGraphName(graphIndex, name)); | |||
|
249 | } | |||
|
250 | ||||
|
251 | void PythonQtWrapper_SocExplorerPlot::setGraphPen(SocExplorerPlot* theWrappedObject, int graphIndex, QPen pen) | |||
|
252 | { | |||
|
253 | ( theWrappedObject->setGraphPen(graphIndex, pen)); | |||
|
254 | } | |||
|
255 | ||||
|
256 | void PythonQtWrapper_SocExplorerPlot::setGraphScatterStyle(SocExplorerPlot* theWrappedObject, int graphIndex, QString scatterStyle) | |||
|
257 | { | |||
|
258 | ( theWrappedObject->setGraphScatterStyle(graphIndex, scatterStyle)); | |||
|
259 | } | |||
|
260 | ||||
|
261 | void PythonQtWrapper_SocExplorerPlot::setLegendFont(SocExplorerPlot* theWrappedObject, QFont font) | |||
|
262 | { | |||
|
263 | ( theWrappedObject->setLegendFont(font)); | |||
|
264 | } | |||
|
265 | ||||
|
266 | void PythonQtWrapper_SocExplorerPlot::setLegendSelectedFont(SocExplorerPlot* theWrappedObject, QFont font) | |||
|
267 | { | |||
|
268 | ( theWrappedObject->setLegendSelectedFont(font)); | |||
|
269 | } | |||
|
270 | ||||
|
271 | void PythonQtWrapper_SocExplorerPlot::setTitle(SocExplorerPlot* theWrappedObject, QString title) | |||
|
272 | { | |||
|
273 | ( theWrappedObject->setTitle(title)); | |||
|
274 | } | |||
|
275 | ||||
|
276 | void PythonQtWrapper_SocExplorerPlot::setXaxisLabel(SocExplorerPlot* theWrappedObject, QString label) | |||
|
277 | { | |||
|
278 | ( theWrappedObject->setXaxisLabel(label)); | |||
|
279 | } | |||
|
280 | ||||
|
281 | void PythonQtWrapper_SocExplorerPlot::setXaxisRange(SocExplorerPlot* theWrappedObject, double lower, double upper) | |||
|
282 | { | |||
|
283 | ( theWrappedObject->setXaxisRange(lower, upper)); | |||
|
284 | } | |||
|
285 | ||||
|
286 | void PythonQtWrapper_SocExplorerPlot::setYaxisLabel(SocExplorerPlot* theWrappedObject, QString label) | |||
|
287 | { | |||
|
288 | ( theWrappedObject->setYaxisLabel(label)); | |||
|
289 | } | |||
|
290 | ||||
|
291 | void PythonQtWrapper_SocExplorerPlot::setYaxisRange(SocExplorerPlot* theWrappedObject, double lower, double upper) | |||
|
292 | { | |||
|
293 | ( theWrappedObject->setYaxisRange(lower, upper)); | |||
|
294 | } | |||
|
295 | ||||
|
296 | void PythonQtWrapper_SocExplorerPlot::show(SocExplorerPlot* theWrappedObject) | |||
|
297 | { | |||
|
298 | ( theWrappedObject->show()); | |||
|
299 | } | |||
|
300 | ||||
|
301 | ||||
|
302 | ||||
203 | TCP_Terminal_Client* PythonQtWrapper_TCP_Terminal_Client::new_TCP_Terminal_Client(QObject* parent) |
|
303 | TCP_Terminal_Client* PythonQtWrapper_TCP_Terminal_Client::new_TCP_Terminal_Client(QObject* parent) | |
204 | { |
|
304 | { | |
205 | return new TCP_Terminal_Client(parent); } |
|
305 | return new TCP_Terminal_Client(parent); } |
@@ -1,6 +1,7 | |||||
1 | #include <PythonQt.h> |
|
1 | #include <PythonQt.h> | |
2 | #include <QObject> |
|
2 | #include <QObject> | |
3 | #include <QVariant> |
|
3 | #include <QVariant> | |
|
4 | #include <SocExplorerPlot.h> | |||
4 | #include <elfparser.h> |
|
5 | #include <elfparser.h> | |
5 | #include <memsizewdgt.h> |
|
6 | #include <memsizewdgt.h> | |
6 | #include <qhexedit.h> |
|
7 | #include <qhexedit.h> | |
@@ -92,6 +93,47 void delete_QHexSpinBox(QHexSpinBox* obj | |||||
92 |
|
93 | |||
93 |
|
94 | |||
94 |
|
95 | |||
|
96 | class PythonQtShell_SocExplorerPlot : public SocExplorerPlot | |||
|
97 | { | |||
|
98 | public: | |||
|
99 | PythonQtShell_SocExplorerPlot(QWidget* parent = 0):SocExplorerPlot(parent),_wrapper(NULL) {}; | |||
|
100 | ||||
|
101 | ~PythonQtShell_SocExplorerPlot(); | |||
|
102 | ||||
|
103 | ||||
|
104 | PythonQtInstanceWrapper* _wrapper; | |||
|
105 | }; | |||
|
106 | ||||
|
107 | class PythonQtWrapper_SocExplorerPlot : public QObject | |||
|
108 | { Q_OBJECT | |||
|
109 | public: | |||
|
110 | public slots: | |||
|
111 | SocExplorerPlot* new_SocExplorerPlot(QWidget* parent = 0); | |||
|
112 | void delete_SocExplorerPlot(SocExplorerPlot* obj) { delete obj; } | |||
|
113 | int addGraph(SocExplorerPlot* theWrappedObject); | |||
|
114 | void addGraphData(SocExplorerPlot* theWrappedObject, int graphIndex, QList<QVariant > x, QList<QVariant > y); | |||
|
115 | void addGraphData(SocExplorerPlot* theWrappedObject, int graphIndex, QVariant x, QVariant y); | |||
|
116 | QPen getGraphPen(SocExplorerPlot* theWrappedObject, int graphIndex); | |||
|
117 | void rescaleAxis(SocExplorerPlot* theWrappedObject); | |||
|
118 | void setGraphData(SocExplorerPlot* theWrappedObject, int graphIndex, QList<QVariant > x, QList<QVariant > y); | |||
|
119 | void setGraphLineStyle(SocExplorerPlot* theWrappedObject, int graphIndex, QString lineStyle); | |||
|
120 | void setGraphName(SocExplorerPlot* theWrappedObject, int graphIndex, QString name); | |||
|
121 | void setGraphPen(SocExplorerPlot* theWrappedObject, int graphIndex, QPen pen); | |||
|
122 | void setGraphScatterStyle(SocExplorerPlot* theWrappedObject, int graphIndex, QString scatterStyle); | |||
|
123 | void setLegendFont(SocExplorerPlot* theWrappedObject, QFont font); | |||
|
124 | void setLegendSelectedFont(SocExplorerPlot* theWrappedObject, QFont font); | |||
|
125 | void setTitle(SocExplorerPlot* theWrappedObject, QString title); | |||
|
126 | void setXaxisLabel(SocExplorerPlot* theWrappedObject, QString label); | |||
|
127 | void setXaxisRange(SocExplorerPlot* theWrappedObject, double lower, double upper); | |||
|
128 | void setYaxisLabel(SocExplorerPlot* theWrappedObject, QString label); | |||
|
129 | void setYaxisRange(SocExplorerPlot* theWrappedObject, double lower, double upper); | |||
|
130 | void show(SocExplorerPlot* theWrappedObject); | |||
|
131 | }; | |||
|
132 | ||||
|
133 | ||||
|
134 | ||||
|
135 | ||||
|
136 | ||||
95 | class PythonQtWrapper_TCP_Terminal_Client : public QObject |
|
137 | class PythonQtWrapper_TCP_Terminal_Client : public QObject | |
96 | { Q_OBJECT |
|
138 | { Q_OBJECT | |
97 | public: |
|
139 | public: |
@@ -6,6 +6,7 void PythonQt_init_PySocExplorer(PyObjec | |||||
6 | PythonQt::priv()->registerCPPClass("MemSizeWdgt", "", "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_MemSizeWdgt>, NULL, module, 0); |
|
6 | PythonQt::priv()->registerCPPClass("MemSizeWdgt", "", "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_MemSizeWdgt>, NULL, module, 0); | |
7 | PythonQt::priv()->registerCPPClass("QHexEdit", "", "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_QHexEdit>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QHexEdit>, module, 0); |
|
7 | PythonQt::priv()->registerCPPClass("QHexEdit", "", "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_QHexEdit>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QHexEdit>, module, 0); | |
8 | PythonQt::priv()->registerCPPClass("QHexSpinBox", "", "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_QHexSpinBox>, NULL, module, 0); |
|
8 | PythonQt::priv()->registerCPPClass("QHexSpinBox", "", "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_QHexSpinBox>, NULL, module, 0); | |
|
9 | PythonQt::priv()->registerCPPClass("SocExplorerPlot", "", "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_SocExplorerPlot>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_SocExplorerPlot>, module, 0); | |||
9 | PythonQt::priv()->registerClass(&TCP_Terminal_Client::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_TCP_Terminal_Client>, NULL, module, 0); |
|
10 | PythonQt::priv()->registerClass(&TCP_Terminal_Client::staticMetaObject, "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_TCP_Terminal_Client>, NULL, module, 0); | |
10 | PythonQt::priv()->registerCPPClass("XByteArray", "", "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_XByteArray>, NULL, module, 0); |
|
11 | PythonQt::priv()->registerCPPClass("XByteArray", "", "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_XByteArray>, NULL, module, 0); | |
11 | PythonQt::priv()->registerCPPClass("elfparser", "", "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_elfparser>, NULL, module, 0); |
|
12 | PythonQt::priv()->registerCPPClass("elfparser", "", "PySocExplorer", PythonQtCreateObject<PythonQtWrapper_elfparser>, NULL, module, 0); |
General Comments 0
You need to be logged in to leave comments.
Login now