#include <PythonWrapper.h>
◆ PythonWrapper()
| PythonWrapper::PythonWrapper |
( |
| ) |
|
◆ createChildrenNameAttributes()
| void PythonWrapper::createChildrenNameAttributes |
( |
PyObject * |
root, |
|
|
QObject * |
object |
|
) |
| |
|
static |
◆ fromQDir()
| Py::Object PythonWrapper::fromQDir |
( |
const QDir & |
dir | ) |
|
◆ fromQIcon()
| Py::Object PythonWrapper::fromQIcon |
( |
const QIcon * |
icon | ) |
|
Create a Python wrapper for the icon. The icon must be created on the heap and the Python wrapper takes ownership of it.
Referenced by Gui::Application::sGetIcon().
◆ fromQObject()
| Py::Object PythonWrapper::fromQObject |
( |
QObject * |
object, |
|
|
const char * |
className = nullptr |
|
) |
| |
◆ fromQWidget()
| Py::Object PythonWrapper::fromQWidget |
( |
QWidget * |
widget, |
|
|
const char * |
className = nullptr |
|
) |
| |
◆ getWrapperName()
| const char * PythonWrapper::getWrapperName |
( |
QObject * |
obj | ) |
const |
◆ loadCoreModule()
| bool PythonWrapper::loadCoreModule |
( |
| ) |
|
◆ loadGuiModule()
| bool PythonWrapper::loadGuiModule |
( |
| ) |
|
◆ loadUiToolsModule()
| bool PythonWrapper::loadUiToolsModule |
( |
| ) |
|
◆ loadWidgetsModule()
| bool PythonWrapper::loadWidgetsModule |
( |
| ) |
|
◆ setParent()
◆ toCString()
| bool PythonWrapper::toCString |
( |
const Py::Object & |
pyobject, |
|
|
std::string & |
str |
|
) |
| |
◆ toQDir()
| QDir * PythonWrapper::toQDir |
( |
PyObject * |
pyobj | ) |
|
◆ toQGraphicsItem()
| QGraphicsItem * PythonWrapper::toQGraphicsItem |
( |
PyObject * |
ptr | ) |
|
◆ toQGraphicsObject()
◆ toQIcon()
| QIcon * PythonWrapper::toQIcon |
( |
PyObject * |
pyobj | ) |
|
◆ toQObject()
| QObject * PythonWrapper::toQObject |
( |
const Py::Object & |
pyobject | ) |
|
The documentation for this class was generated from the following files:
- FreeCAD/src/Gui/PythonWrapper.h
- FreeCAD/src/Gui/PythonWrapper.cpp