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>

List of all members.

Public Member Functions

QWidget * createWidget (const QString &className, QWidget *parent=0, const QString &name=QString())
 Creates a widget of the type className withe the parent parent.
 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.

Author:
Werner Mayer

Definition at line 77 of file WidgetFactory.h.


Constructor & Destructor Documentation

UiLoader::UiLoader ( QObject *  parent = 0  ) 

Definition at line 170 of file WidgetFactory.cpp.

UiLoader::~UiLoader (  )  [virtual]

Definition at line 179 of file WidgetFactory.cpp.


Member Function Documentation

QWidget * UiLoader::createWidget ( const QString &  className,
QWidget *  parent = 0,
const QString &  name = QString() 
)

Creates a widget of the type className withe the parent parent.

Fore more details see the documentation to QWidgetFactory.

Definition at line 183 of file WidgetFactory.cpp.

References Base::Factory::CanProduce(), Gui::WidgetFactoryInst::createWidget(), RobotExample::w, and Gui::WidgetFactory().


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

Generated on Wed Nov 23 19:02:04 2011 for FreeCAD by  doxygen 1.6.1