Gui::UiLoader Class Reference
The UiLoader class provides the abitlity to use the widget factory framework of FreeCAD within the framework provided by Qt. More...
#include <WidgetFactory.h>
Public Member Functions | |
QWidget * | createWidget (const QString &className, QWidget *parent=0, const QString &name=QString()) |
Creates a widget of the type className with the parent parent. More... | |
UiLoader (QObject *parent=0) | |
virtual | ~UiLoader () |
Detailed Description
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.
Constructor & Destructor Documentation
◆ UiLoader()
UiLoader::UiLoader | ( | QObject * | parent = 0 | ) |
◆ ~UiLoader()
|
virtual |
Member Function Documentation
◆ createWidget()
QWidget * UiLoader::createWidget | ( | const QString & | className, |
QWidget * | parent = 0 , |
||
const QString & | name = QString() |
||
) |
Creates a widget of the type className with the parent parent.
For more details see the documentation to QWidgetFactory.
References Gui::WidgetFactoryInst::createWidget(), and Gui::WidgetFactory().
Referenced by Gui::UiLoaderPy::createWidget().
The documentation for this class was generated from the following files:
- src/Gui/WidgetFactory.h
- src/Gui/WidgetFactory.cpp