Loading...
Searching...
No Matches
te::qt::af::TableWidget Class Reference

A frame for setting Table options. More...

#include <TableWidget.h>

Inheritance diagram for te::qt::af::TableWidget:
te::qt::af::AbstractSettingWidget

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.
 

Public Member Functions

virtual void getHelpInformations (QString &ns, QString &helpFile)
 
QString getResumeText ()
 
bool hasChanges ()
 
virtual void resetState ()
 
virtual void saveChanges ()
 
virtual void setApplicationController (te::qt::af::ApplicationController *app)
 
 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.
 
virtual void hideEvent (QHideEvent *event)
 

Protected Attributes

te::qt::af::ApplicationControllerm_app
 
bool m_hasChanged
 Flag that defines if the widget has changes to apply.
 
QString m_resumeText
 

Private Attributes

QColor m_primaryColor
 
QColor m_secondaryColor
 
Ui::TableWidgetForm * m_ui
 

Detailed Description

A frame for setting Table options.

Definition at line 50 of file TableWidget.h.

Constructor & Destructor Documentation

◆ TableWidget()

te::qt::af::TableWidget::TableWidget ( QWidget * parent = 0)

◆ ~TableWidget()

te::qt::af::TableWidget::~TableWidget ( )

Member Function Documentation

◆ changeApplyButtonState()

void te::qt::af::AbstractSettingWidget::changeApplyButtonState ( const bool & state)
inlineprotectedvirtualinherited

Indicates that there's unsaved information. Use this method after each change in informations of the widget.

Parameters
stateIf true indicates that there are unsave information.

Definition at line 172 of file AbstractSettingWidget.h.

References m_hasChanged, and updateApplyButtonState().

Referenced by onApplyButtonClicked(), and updateApplyButtonState().

◆ getHelpInformations()

virtual void te::qt::af::TableWidget::getHelpInformations ( QString & ns,
QString & helpFile )
virtual

Implements te::qt::af::AbstractSettingWidget.

References slots.

◆ getResumeText()

QString te::qt::af::AbstractSettingWidget::getResumeText ( )
inlineinherited

Definition at line 133 of file AbstractSettingWidget.h.

References m_resumeText.

Referenced by getHelpInformations().

◆ hasChanges()

bool te::qt::af::AbstractSettingWidget::hasChanges ( )
inlineinherited

Definition at line 138 of file AbstractSettingWidget.h.

References m_hasChanged.

Referenced by getHelpInformations().

◆ hideEvent()

void te::qt::af::AbstractSettingWidget::hideEvent ( QHideEvent * event)
inlineprotectedvirtualinherited

Definition at line 155 of file AbstractSettingWidget.h.

References m_hasChanged, resetState(), and saveChanges().

Referenced by updateApplyButtonState().

◆ onAlternateRowColorsGroupBoxClicked

void te::qt::af::TableWidget::onAlternateRowColorsGroupBoxClicked ( )
slot

◆ onApplyButtonClicked

void te::qt::af::TableWidget::onApplyButtonClicked ( )
slot

◆ onPrimaryPushButtonClicked

void te::qt::af::TableWidget::onPrimaryPushButtonClicked ( )
slot

◆ onSecondaryPushButtonClicked

void te::qt::af::TableWidget::onSecondaryPushButtonClicked ( )
slot

◆ resetState()

virtual void te::qt::af::TableWidget::resetState ( )
virtual

◆ saveChanges()

virtual void te::qt::af::TableWidget::saveChanges ( )
virtual

◆ setApplicationController()

void te::qt::af::AbstractSettingWidget::setApplicationController ( te::qt::af::ApplicationController * app)
inlinevirtualinherited

Reimplemented in te::qt::af::ToolbarsWidget.

Definition at line 143 of file AbstractSettingWidget.h.

References m_app.

Referenced by getHelpInformations().

◆ updateApplyButtonState

void te::qt::af::AbstractSettingWidget::updateApplyButtonState ( const bool & )
signalinherited

Signal must be emited when some settings has been changed. Use the argument to tell if the.

References changeApplyButtonState(), and hideEvent().

Referenced by changeApplyButtonState().

Member Data Documentation

◆ m_app

te::qt::af::ApplicationController* te::qt::af::AbstractSettingWidget::m_app
protectedinherited

Definition at line 119 of file AbstractSettingWidget.h.

Referenced by AbstractSettingWidget(), and setApplicationController().

◆ m_hasChanged

bool te::qt::af::AbstractSettingWidget::m_hasChanged
protectedinherited

Flag that defines if the widget has changes to apply.

Definition at line 115 of file AbstractSettingWidget.h.

Referenced by AbstractSettingWidget(), changeApplyButtonState(), hasChanges(), and hideEvent().

◆ m_primaryColor

QColor te::qt::af::TableWidget::m_primaryColor
private

Definition at line 79 of file TableWidget.h.

◆ m_resumeText

QString te::qt::af::AbstractSettingWidget::m_resumeText
protectedinherited

Definition at line 117 of file AbstractSettingWidget.h.

Referenced by getResumeText().

◆ m_secondaryColor

QColor te::qt::af::TableWidget::m_secondaryColor
private

Definition at line 80 of file TableWidget.h.

◆ m_ui

Ui::TableWidgetForm* te::qt::af::TableWidget::m_ui
private

Definition at line 78 of file TableWidget.h.


The documentation for this class was generated from the following file: