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 void | setApplicationController (te::qt::af::ApplicationController *app) |
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 | |
te::qt::af::ApplicationController * | m_app |
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 47 of file AbstractSettingWidget.h.
|
inline |
Definition at line 122 of file AbstractSettingWidget.h.
|
inlinevirtual |
Definition at line 129 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 172 of file AbstractSettingWidget.h.
References m_hasChanged, and updateApplyButtonState().
Referenced by onApplyButtonClicked().
|
pure virtual |
|
inline |
Definition at line 133 of file AbstractSettingWidget.h.
References m_resumeText.
|
inline |
Definition at line 138 of file AbstractSettingWidget.h.
References m_hasChanged.
|
inlineprotectedvirtual |
Definition at line 155 of file AbstractSettingWidget.h.
References m_hasChanged, resetState(), and saveChanges().
|
inlinevirtualslot |
Definition at line 148 of file AbstractSettingWidget.h.
References changeApplyButtonState(), and saveChanges().
|
pure virtual |
Implemented in te::qt::af::GeneralConfigWidget, te::qt::af::DisplayWidget, te::qt::af::TableWidget, te::qt::af::ToolbarsWidget, and ProjectWidget.
Referenced by hideEvent().
|
pure virtual |
Implemented in te::qt::af::GeneralConfigWidget, te::qt::af::DisplayWidget, te::qt::af::TableWidget, te::qt::af::ToolbarsWidget, and ProjectWidget.
Referenced by hideEvent(), and onApplyButtonClicked().
|
inlinevirtual |
Reimplemented in te::qt::af::ToolbarsWidget.
Definition at line 143 of file AbstractSettingWidget.h.
References m_app.
|
signal |
Signal must be emited when some settings has been changed. Use the argument to tell if the.
Referenced by changeApplyButtonState().
|
protected |
Definition at line 119 of file AbstractSettingWidget.h.
Referenced by setApplicationController().
|
protected |
Flag that defines if the widget has changes to apply.
Definition at line 115 of file AbstractSettingWidget.h.
Referenced by changeApplyButtonState(), hasChanges(), and hideEvent().
|
protected |
Definition at line 117 of file AbstractSettingWidget.h.
Referenced by getResumeText().