QSettingsDialog  1.0.0
A Qt library to easily create a settings dialog for user configurable settings
Public Member Functions | List of all members
QSettingsWidgetFactory Class Referenceabstract

The base class for a factory to create QSettingsWidgets. More...

#include <qsettingswidgetfactory.h>

+ Inheritance diagram for QSettingsWidgetFactory:

Public Member Functions

virtual ~QSettingsWidgetFactory ()
 Virtual destructor.
 
virtual QSettingsWidgetBasecreateWidget (QWidget *parent)=0
 Creates a new instance of the settings widget.
 

Detailed Description

The base class for a factory to create QSettingsWidgets.

For each kind of widget you want, create a factory and register this factory for a display id using QSettingsWidgetDialogEngine::addFactory.

Note
Use this class only if you need a special way to create the widgets. If all you need is a new MyEditWidget(parent);, simply use QSettingsWidgetDialogEngine::addWidgetType instead of creating a new factory implementation.

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