A frame for setting Table options. More...
#include <TableWidget.h>
Public Slots | |
void | onAlternateRowColorsGroupBoxClicked () |
void | onApplyButtonClicked () |
void | onPrimaryPushButtonClicked () |
void | onSecondaryPushButtonClicked () |
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 | |
virtual void | getHelpInformations (QString &ns, QString &helpFile) |
QString | getResumeText () |
bool | hasChanges () |
virtual void | resetState () |
virtual void | saveChanges () |
TableWidget (QWidget *parent=0) | |
~TableWidget () | |
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 | |
QColor | m_primaryColor |
QColor | m_secondaryColor |
Ui::TableWidgetForm * | m_ui |
A frame for setting Table options.
Definition at line 50 of file TableWidget.h.
te::qt::af::TableWidget::TableWidget | ( | QWidget * | parent = 0 | ) |
Definition at line 32 of file TableWidget.cpp.
References te::qt::af::GetStyleSheetFromColors(), m_primaryColor, te::qt::af::AbstractSettingWidget::m_resumeText, m_secondaryColor, m_ui, onAlternateRowColorsGroupBoxClicked(), onPrimaryPushButtonClicked(), and onSecondaryPushButtonClicked().
te::qt::af::TableWidget::~TableWidget | ( | ) |
Definition at line 67 of file TableWidget.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 72 of file TableWidget.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 103 of file TableWidget.cpp.
References te::qt::af::GetStyleSheetFromColors().
Referenced by TableWidget().
|
slot |
Definition at line 78 of file TableWidget.cpp.
|
slot |
Definition at line 118 of file TableWidget.cpp.
References te::qt::af::GetStyleSheetFromColors().
Referenced by TableWidget().
|
slot |
Definition at line 126 of file TableWidget.cpp.
References te::qt::af::GetStyleSheetFromColors().
Referenced by TableWidget().
|
virtual |
Implements te::qt::af::AbstractSettingWidget.
Definition at line 98 of file TableWidget.cpp.
|
virtual |
Implements te::qt::af::AbstractSettingWidget.
Definition at line 83 of file TableWidget.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().
|
private |
Definition at line 79 of file TableWidget.h.
Referenced by TableWidget().
|
protectedinherited |
Definition at line 109 of file AbstractSettingWidget.h.
Referenced by te::qt::af::DisplayWidget::DisplayWidget(), te::qt::af::GeneralConfigWidget::GeneralConfigWidget(), te::qt::af::AbstractSettingWidget::getResumeText(), te::qt::af::ProjectWidget::ProjectWidget(), TableWidget(), and te::qt::af::ToolbarsWidget::ToolbarsWidget().
|
private |
Definition at line 80 of file TableWidget.h.
Referenced by TableWidget().
|
private |
Definition at line 78 of file TableWidget.h.
Referenced by TableWidget().