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 <UiLoader.h>

Public Member Functions

QWidgetcreateWidget (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 ()
 

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.

Author
Werner Mayer

Constructor & Destructor Documentation

◆ UiLoader()

UiLoader::UiLoader ( QObject parent = nullptr)

◆ ~UiLoader()

UiLoader::~UiLoader ( )
virtual

Member Function Documentation

◆ createWidget()

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().


The documentation for this class was generated from the following files: