The UiLoader class provides the abitlity to use the widget factory framework of FreeCAD within the framework provided by Qt. More...
#include <UiLoader.h>
Public Member Functions | |
QWidget * | createWidget (const QString &className, QWidget *parent=nullptr, const QString &name=QString()) |
Creates a widget of the type className with the parent parent. More... | |
UiLoader (QObject *parent=nullptr) | |
virtual | ~UiLoader () |
The UiLoader class provides the abitlity to use the widget factory framework of FreeCAD within the framework provided by Qt.
This class extends QUiLoader by the creation of FreeCAD specific widgets.
UiLoader::UiLoader | ( | QObject * | parent = nullptr | ) |
|
virtual |
QWidget * UiLoader::createWidget | ( | const QString & | className, |
QWidget * | parent = nullptr , |
||
const QString & | name = QString() |
||
) |
Creates a widget of the type className with the parent parent.
For more details see the documentation to QWidgetFactory.
Referenced by Gui::UiLoaderPy::createWidget().