All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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. 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
 

Detailed Description

A frame for setting Table options.

Definition at line 50 of file TableWidget.h.

Constructor & Destructor Documentation

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

Definition at line 67 of file TableWidget.cpp.

Member Function Documentation

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 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().

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

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

Definition at line 72 of file TableWidget.cpp.

QString te::qt::af::AbstractSettingWidget::getResumeText ( )
inlineinherited
bool te::qt::af::AbstractSettingWidget::hasChanges ( )
inlineinherited
void te::qt::af::AbstractSettingWidget::hideEvent ( QHideEvent *  event)
inlineprotectedvirtualinherited
void te::qt::af::TableWidget::onAlternateRowColorsGroupBoxClicked ( )
slot

Definition at line 103 of file TableWidget.cpp.

References te::qt::af::GetStyleSheetFromColors().

Referenced by TableWidget().

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

Definition at line 78 of file TableWidget.cpp.

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

Definition at line 118 of file TableWidget.cpp.

References te::qt::af::GetStyleSheetFromColors().

Referenced by TableWidget().

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

Definition at line 126 of file TableWidget.cpp.

References te::qt::af::GetStyleSheetFromColors().

Referenced by TableWidget().

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

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

Definition at line 98 of file TableWidget.cpp.

void te::qt::af::TableWidget::saveChanges ( )
virtual
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.

Referenced by te::qt::af::AbstractSettingWidget::changeApplyButtonState().

Member Data Documentation

bool te::qt::af::AbstractSettingWidget::m_hasChanged
protectedinherited
QColor te::qt::af::TableWidget::m_primaryColor
private

Definition at line 79 of file TableWidget.h.

Referenced by TableWidget().

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

Definition at line 80 of file TableWidget.h.

Referenced by TableWidget().

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

Definition at line 78 of file TableWidget.h.

Referenced by TableWidget().


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