Gui: support of QPrintSupport module in PythonWrapper
This commit is contained in:
@@ -34,6 +34,7 @@ class QIcon;
|
||||
class QGraphicsObject;
|
||||
class QGraphicsItem;
|
||||
class QObject;
|
||||
class QPrinter;
|
||||
class QWidget;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
@@ -46,6 +47,7 @@ public:
|
||||
bool loadCoreModule();
|
||||
bool loadGuiModule();
|
||||
bool loadWidgetsModule();
|
||||
bool loadPrintSupportModule();
|
||||
bool loadUiToolsModule();
|
||||
|
||||
bool toCString(const Py::Object&, std::string&);
|
||||
@@ -53,6 +55,8 @@ public:
|
||||
QGraphicsItem* toQGraphicsItem(PyObject* ptr);
|
||||
QGraphicsObject* toQGraphicsObject(PyObject* pyPtr);
|
||||
|
||||
Py::Object fromQPrinter(QPrinter*);
|
||||
|
||||
Py::Object fromQObject(QObject*, const char* className=nullptr);
|
||||
Py::Object fromQWidget(QWidget*, const char* className=nullptr);
|
||||
const char* getWrapperName(QObject*) const;
|
||||
|
||||
Reference in New Issue
Block a user