te::qt::af::ProjectWidget Class Reference

A frame for setting grid options. More...

#include <ProjectWidget.h>

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

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

virtual void getHelpInformations (QString &ns, QString &helpFile)
 
QString getResumeText ()
 
bool hasChanges ()
 
 ProjectWidget (QWidget *parent=0)
 
void resetState ()
 
void saveChanges ()
 
 ~ProjectWidget ()
 

Protected Slots

void authorChanged (const QString &text)
 
void maxSavedChanged (int i)
 
void onOpeningOptionChanged ()
 

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::ProjectWidgetForm * m_ui
 

Detailed Description

A frame for setting grid options.

Definition at line 50 of file ProjectWidget.h.

Constructor & Destructor Documentation

te::qt::af::ProjectWidget::ProjectWidget ( QWidget *  parent = 0)
te::qt::af::ProjectWidget::~ProjectWidget ( )

Definition at line 28 of file ProjectWidget.cpp.

Member Function Documentation

void te::qt::af::ProjectWidget::authorChanged ( const QString &  text)
protectedslot

Definition at line 58 of file ProjectWidget.cpp.

Referenced by ProjectWidget().

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::ProjectWidget::getHelpInformations ( QString &  ns,
QString &  helpFile 
)
virtual

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

Definition at line 22 of file ProjectWidget.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::ProjectWidget::maxSavedChanged ( int  i)
protectedslot

Definition at line 63 of file ProjectWidget.cpp.

Referenced by ProjectWidget().

void te::qt::af::AbstractSettingWidget::onApplyButtonClicked ( )
inlinevirtualslotinherited
void te::qt::af::ProjectWidget::onOpeningOptionChanged ( )
protectedslot

Definition at line 68 of file ProjectWidget.cpp.

Referenced by ProjectWidget().

void te::qt::af::ProjectWidget::resetState ( )
virtual
void te::qt::af::ProjectWidget::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
Ui::ProjectWidgetForm* te::qt::af::ProjectWidget::m_ui
private

Definition at line 76 of file ProjectWidget.h.

Referenced by ProjectWidget().


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