Loading...
Searching...
No Matches
ProjectWidget Class Reference

A frame for setting grid options. More...

#include <ProjectWidget.h>

Inheritance diagram for 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.
 

Public Member Functions

virtual void getHelpInformations (QString &ns, QString &helpFile)
 
QString getResumeText ()
 
bool hasChanges ()
 
 ProjectWidget (QWidget *parent=0)
 
void resetState ()
 
void saveChanges ()
 
virtual void setApplicationController (te::qt::af::ApplicationController *app)
 
 ~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.
 
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

Ui::ProjectWidgetForm * m_ui
 

Detailed Description

A frame for setting grid options.

Definition at line 44 of file ProjectWidget.h.

Constructor & Destructor Documentation

◆ ProjectWidget()

ProjectWidget::ProjectWidget ( QWidget * parent = 0)

◆ ~ProjectWidget()

ProjectWidget::~ProjectWidget ( )

Member Function Documentation

◆ authorChanged

void ProjectWidget::authorChanged ( const QString & text)
protectedslot

◆ 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 ProjectWidget::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().

◆ maxSavedChanged

void ProjectWidget::maxSavedChanged ( int i)
protectedslot

◆ onApplyButtonClicked

void te::qt::af::AbstractSettingWidget::onApplyButtonClicked ( )
inlinevirtualslotinherited

Definition at line 148 of file AbstractSettingWidget.h.

References changeApplyButtonState(), and saveChanges().

Referenced by getHelpInformations().

◆ onOpeningOptionChanged

void ProjectWidget::onOpeningOptionChanged ( )
protectedslot

◆ resetState()

void ProjectWidget::resetState ( )
virtual

◆ saveChanges()

void ProjectWidget::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_resumeText

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

Definition at line 117 of file AbstractSettingWidget.h.

Referenced by getResumeText().

◆ m_ui

Ui::ProjectWidgetForm* ProjectWidget::m_ui
private

Definition at line 70 of file ProjectWidget.h.


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