QSettingsDialog
1.0.0
A Qt library to easily create a settings dialog for user configurable settings
|
The base class for a factory to create QSettingsWidgets. More...
#include <qsettingswidgetfactory.h>
Public Member Functions | |
virtual | ~QSettingsWidgetFactory () |
Virtual destructor. | |
virtual QSettingsWidgetBase * | createWidget (QWidget *parent)=0 |
Creates a new instance of the settings widget. | |
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.
new MyEditWidget(parent);
, simply use QSettingsWidgetDialogEngine::addWidgetType instead of creating a new factory implementation.