A frame for setting Table options. More...
#include <AbstractSettingWidget.h>
Public Slots | |
virtual void | onApplyButtonClicked () |
Signals | |
void | updateApplyButtonState (const bool &) |
Signal must be emited when some settings has been changed. Use the argument to tell if the. More... | |
Public Member Functions | |
AbstractSettingWidget (QWidget *parent=0) | |
virtual void | getHelpInformations (QString &ns, QString &helpFile)=0 |
QString | getResumeText () |
bool | hasChanges () |
virtual void | resetState ()=0 |
virtual void | saveChanges ()=0 |
virtual | ~AbstractSettingWidget () |
Protected Member Functions | |
virtual void | changeApplyButtonState (const bool &state) |
Indicates that there's unsaved information. Use this method after each change in informations of the widget. More... | |
virtual void | hideEvent (QHideEvent *event) |
Protected Attributes | |
bool | m_hasChanged |
Flag that defines if the widget has changes to apply. More... | |
QString | m_resumeText |
A frame for setting Table options.
Definition at line 44 of file AbstractSettingWidget.h.
|
inline |
Definition at line 112 of file AbstractSettingWidget.h.
|
inlinevirtual |
Definition at line 118 of file AbstractSettingWidget.h.
|
inlineprotectedvirtual |
Indicates that there's unsaved information. Use this method after each change in informations of the widget.
state | If true indicates that there are unsave information. |
Definition at line 156 of file AbstractSettingWidget.h.
References m_hasChanged, and updateApplyButtonState().
Referenced by onApplyButtonClicked().
|
pure virtual |
Implemented in te::qt::af::GeneralConfigWidget, te::qt::af::DisplayWidget, te::qt::af::ProjectWidget, te::qt::af::TableWidget, and te::qt::af::ToolbarsWidget.
Referenced by te::qt::af::SettingsDialog::settingsChanged().
|
inline |
Definition at line 122 of file AbstractSettingWidget.h.
References m_resumeText.
Referenced by te::qt::af::SettingsDialog::settingsChanged().
|
inline |
Definition at line 127 of file AbstractSettingWidget.h.
References m_hasChanged.
|
inlineprotectedvirtual |
Definition at line 139 of file AbstractSettingWidget.h.
References m_hasChanged, resetState(), and saveChanges().
|
inlinevirtualslot |
Definition at line 132 of file AbstractSettingWidget.h.
References changeApplyButtonState(), and saveChanges().
|
pure virtual |
Implemented in te::qt::af::GeneralConfigWidget, te::qt::af::DisplayWidget, te::qt::af::ProjectWidget, te::qt::af::TableWidget, and te::qt::af::ToolbarsWidget.
Referenced by hideEvent().
|
pure virtual |
Implemented in te::qt::af::GeneralConfigWidget, te::qt::af::DisplayWidget, te::qt::af::ProjectWidget, te::qt::af::TableWidget, and te::qt::af::ToolbarsWidget.
Referenced by hideEvent(), and onApplyButtonClicked().
|
signal |
Signal must be emited when some settings has been changed. Use the argument to tell if the.
Referenced by changeApplyButtonState().
|
protected |
Flag that defines if the widget has changes to apply.
Definition at line 107 of file AbstractSettingWidget.h.
Referenced by changeApplyButtonState(), hasChanges(), and hideEvent().
|
protected |
Definition at line 109 of file AbstractSettingWidget.h.
Referenced by te::qt::af::DisplayWidget::DisplayWidget(), te::qt::af::GeneralConfigWidget::GeneralConfigWidget(), getResumeText(), te::qt::af::ProjectWidget::ProjectWidget(), te::qt::af::TableWidget::TableWidget(), and te::qt::af::ToolbarsWidget::ToolbarsWidget().