A frame for setting display options. More...
#include <DisplayWidget.h>
Public Slots | |
void | onApplyButtonClicked () |
void | onChangeBackgroundPushButton () |
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 | |
DisplayWidget (QWidget *parent=0) | |
virtual void | getHelpInformations (QString &ns, QString &helpFile) |
QString | getResumeText () |
bool | hasChanges () |
virtual void | resetState () |
virtual void | saveChanges () |
~DisplayWidget () | |
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 |
Private Attributes | |
Ui::DisplayWidgetForm * | m_ui |
A frame for setting display options.
A frame for setting general options.
Definition at line 50 of file DisplayWidget.h.
te::qt::af::DisplayWidget::DisplayWidget | ( | QWidget * | parent = 0 | ) |
Definition at line 17 of file DisplayWidget.cpp.
References te::qt::af::AbstractSettingWidget::m_resumeText, m_ui, and onChangeBackgroundPushButton().
te::qt::af::DisplayWidget::~DisplayWidget | ( | ) |
Definition at line 47 of file DisplayWidget.cpp.
|
inlineprotectedvirtualinherited |
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 te::qt::af::AbstractSettingWidget::m_hasChanged, and te::qt::af::AbstractSettingWidget::updateApplyButtonState().
Referenced by te::qt::af::AbstractSettingWidget::onApplyButtonClicked().
|
virtual |
Implements te::qt::af::AbstractSettingWidget.
Definition at line 107 of file DisplayWidget.cpp.
|
inlineinherited |
Definition at line 122 of file AbstractSettingWidget.h.
References te::qt::af::AbstractSettingWidget::m_resumeText.
Referenced by te::qt::af::SettingsDialog::settingsChanged().
|
inlineinherited |
Definition at line 127 of file AbstractSettingWidget.h.
References te::qt::af::AbstractSettingWidget::m_hasChanged.
|
inlineprotectedvirtualinherited |
Definition at line 139 of file AbstractSettingWidget.h.
References te::qt::af::AbstractSettingWidget::m_hasChanged, te::qt::af::AbstractSettingWidget::resetState(), and te::qt::af::AbstractSettingWidget::saveChanges().
|
slot |
Definition at line 102 of file DisplayWidget.cpp.
|
slot |
Definition at line 52 of file DisplayWidget.cpp.
Referenced by DisplayWidget().
|
virtual |
Implements te::qt::af::AbstractSettingWidget.
Definition at line 80 of file DisplayWidget.cpp.
|
virtual |
Implements te::qt::af::AbstractSettingWidget.
Definition at line 67 of file DisplayWidget.cpp.
References te::qt::af::ApplicationController::broadcast(), and te::common::Singleton< ApplicationController >::getInstance().
|
signalinherited |
Signal must be emited when some settings has been changed. Use the argument to tell if the.
Referenced by te::qt::af::AbstractSettingWidget::changeApplyButtonState().
|
protectedinherited |
Flag that defines if the widget has changes to apply.
Definition at line 107 of file AbstractSettingWidget.h.
Referenced by te::qt::af::AbstractSettingWidget::changeApplyButtonState(), te::qt::af::AbstractSettingWidget::hasChanges(), and te::qt::af::AbstractSettingWidget::hideEvent().
|
protectedinherited |
Definition at line 109 of file AbstractSettingWidget.h.
Referenced by DisplayWidget(), te::qt::af::GeneralConfigWidget::GeneralConfigWidget(), te::qt::af::AbstractSettingWidget::getResumeText(), te::qt::af::ProjectWidget::ProjectWidget(), te::qt::af::TableWidget::TableWidget(), and te::qt::af::ToolbarsWidget::ToolbarsWidget().
|
private |
Definition at line 74 of file DisplayWidget.h.
Referenced by DisplayWidget().