Fixups with Qt6 enums (#13611)
* Python PySide enums to C++ converter * Python IntFlags to C++ int in getStandardButtons * Remove int conversion in mods Python sources
This commit is contained in:
committed by
GitHub
parent
c24ace7f73
commit
9759da82e4
@@ -54,6 +54,8 @@ public:
|
||||
|
||||
bool toCString(const Py::Object&, std::string&);
|
||||
QObject* toQObject(const Py::Object&);
|
||||
qsizetype toEnum(PyObject* pyPtr);
|
||||
qsizetype toEnum(const Py::Object& pyobject);
|
||||
QGraphicsItem* toQGraphicsItem(PyObject* ptr);
|
||||
QGraphicsItem* toQGraphicsItem(const Py::Object& pyObject);
|
||||
QGraphicsObject* toQGraphicsObject(PyObject* pyPtr);
|
||||
|
||||
Reference in New Issue
Block a user