itom 1.1.0
|
Base widget class for property pages which can be included in the property dialog of itom. More...
Public Member Functions | |
AbstractPropertyPageWidget (QWidget *parent=NULL, Qt::WindowFlags f=NULL) | |
constructor | |
~AbstractPropertyPageWidget () | |
destructor | |
virtual void | readSettings ()=0 |
virtual void | writeSettings ()=0 |
Base widget class for property pages which can be included in the property dialog of itom.
Inherit this base class if you create your own property page and finally add your property page to the property dialog by adding a line in method DialogProperties::initPages().
AbstractPropertyPageWidget::AbstractPropertyPageWidget | ( | QWidget * | parent = NULL , |
Qt::WindowFlags | f = NULL |
||
) |
constructor
simply call this constructor in the constructor of your property page widget.
virtual void AbstractPropertyPageWidget::readSettings | ( | ) | [pure virtual] |
This method is called at startup of the property dialog. Read the setting file using QSetting in order to initialize your property widget (this method must be overwritten)
Implemented in WidgetPropConsoleLastCommand, WidgetPropConsoleWrap, WidgetPropEditorAPI, WidgetPropEditorAutoCompletion, WidgetPropEditorCalltips, WidgetPropEditorGeneral, WidgetPropEditorStyles, ito::WidgetPropFigurePlugins, WidgetPropGeneralApplication, WidgetPropGeneralLanguage, WidgetPropHelpDock, and WidgetPropPythonStartup.
virtual void AbstractPropertyPageWidget::writeSettings | ( | ) | [pure virtual] |
This method is called at shutdown of the property dialog (only if apply or ok has been clicked). Apply your settings and write it to the setting file using QSetting (this method must be overwritten)
Implemented in WidgetPropConsoleLastCommand, WidgetPropConsoleWrap, WidgetPropEditorAPI, WidgetPropEditorAutoCompletion, WidgetPropEditorCalltips, WidgetPropEditorGeneral, WidgetPropEditorStyles, ito::WidgetPropFigurePlugins, WidgetPropGeneralApplication, WidgetPropGeneralLanguage, WidgetPropHelpDock, and WidgetPropPythonStartup.