##// END OF EJS Templates
A lot of refactoring:...
A lot of refactoring: QLopPlot now handle more than one plot. File browser uses QFileSystemModel and QItemView Wrapped QCustomPlot.

File last commit:

r6:665de41c4c74 default
r6:665de41c4c74 default
Show More
PyQLop_init.cpp
33 lines | 4.4 KiB | text/x-c | CppLexer
#include <PythonQt.h>
#include <PythonQtConversion.h>
#include "PyQLop0.h"
void PythonQt_init_PyQLop(PyObject* module) {
PythonQt::priv()->registerClass(&FileBrowser::staticMetaObject, "PyQLop", PythonQtCreateObject<PythonQtWrapper_FileBrowser>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_FileBrowser>, module, 0);
PythonQt::priv()->registerClass(&QCPAbstractItem::staticMetaObject, "PyQLop", PythonQtCreateObject<PythonQtWrapper_QCPAbstractItem>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QCPAbstractItem>, module, 0);
PythonQt::priv()->registerClass(&QCPAbstractLegendItem::staticMetaObject, "PyQLop", PythonQtCreateObject<PythonQtWrapper_QCPAbstractLegendItem>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QCPAbstractLegendItem>, module, 0);
PythonQt::priv()->registerClass(&QCPAxis::staticMetaObject, "PyQLop", PythonQtCreateObject<PythonQtWrapper_QCPAxis>, NULL, module, 0);
PythonQt::priv()->registerClass(&QCPAxisRect::staticMetaObject, "PyQLop", PythonQtCreateObject<PythonQtWrapper_QCPAxisRect>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QCPAxisRect>, module, 0);
PythonQt::priv()->registerClass(&QCPBars::staticMetaObject, "PyQLop", PythonQtCreateObject<PythonQtWrapper_QCPBars>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QCPBars>, module, 0);
PythonQt::priv()->registerClass(&QCPColorMap::staticMetaObject, "PyQLop", PythonQtCreateObject<PythonQtWrapper_QCPColorMap>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QCPColorMap>, module, 0);
PythonQt::priv()->registerClass(&QCPColorScale::staticMetaObject, "PyQLop", PythonQtCreateObject<PythonQtWrapper_QCPColorScale>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QCPColorScale>, module, 0);
PythonQt::priv()->registerClass(&QCPGraph::staticMetaObject, "PyQLop", PythonQtCreateObject<PythonQtWrapper_QCPGraph>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QCPGraph>, module, 0);
PythonQt::priv()->registerCPPClass("QCPItemPosition", "", "PyQLop", PythonQtCreateObject<PythonQtWrapper_QCPItemPosition>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QCPItemPosition>, module, 0);
PythonQt::priv()->registerClass(&QCPLayer::staticMetaObject, "PyQLop", PythonQtCreateObject<PythonQtWrapper_QCPLayer>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QCPLayer>, module, 0);
PythonQt::priv()->registerClass(&QCPLayerable::staticMetaObject, "PyQLop", PythonQtCreateObject<PythonQtWrapper_QCPLayerable>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QCPLayerable>, module, 0);
PythonQt::priv()->registerClass(&QCPLayout::staticMetaObject, "PyQLop", PythonQtCreateObject<PythonQtWrapper_QCPLayout>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QCPLayout>, module, 0);
PythonQt::priv()->registerClass(&QCPLayoutElement::staticMetaObject, "PyQLop", PythonQtCreateObject<PythonQtWrapper_QCPLayoutElement>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QCPLayoutElement>, module, 0);
PythonQt::priv()->registerClass(&QCPLegend::staticMetaObject, "PyQLop", PythonQtCreateObject<PythonQtWrapper_QCPLegend>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QCPLegend>, module, 0);
PythonQt::priv()->registerCPPClass("QCPPainter", "QPainter", "PyQLop", PythonQtCreateObject<PythonQtWrapper_QCPPainter>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QCPPainter>, module, 0);
PythonQt::priv()->registerClass(&QCPPlotTitle::staticMetaObject, "PyQLop", PythonQtCreateObject<PythonQtWrapper_QCPPlotTitle>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QCPPlotTitle>, module, 0);
PythonQt::priv()->registerClass(&QCustomPlot::staticMetaObject, "PyQLop", PythonQtCreateObject<PythonQtWrapper_QCustomPlot>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QCustomPlot>, module, 0);
PythonQt::priv()->registerClass(&QLopData::staticMetaObject, "PyQLop", PythonQtCreateObject<PythonQtWrapper_QLopData>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QLopData>, module, 0);
PythonQt::priv()->registerCPPClass("QLopDataList", "", "PyQLop", PythonQtCreateObject<PythonQtWrapper_QLopDataList>, NULL, module, PythonQt::Type_Add|PythonQt::Type_InplaceAdd|PythonQt::Type_RichCompare);
PythonQt::priv()->registerClass(&QLopService::staticMetaObject, "PyQLop", PythonQtCreateObject<PythonQtWrapper_QLopService>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QLopService>, module, 0);
PythonQt::priv()->registerClass(&SocExplorerPlot::staticMetaObject, "PyQLop", PythonQtCreateObject<PythonQtWrapper_SocExplorerPlot>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_SocExplorerPlot>, module, 0);
PythonQtRegisterListTemplateConverterForKnownClass(QVector, QString);
}