Loading...
Searching...
No Matches
te::qt::plugins::rp::RasterConfigWidget Class Reference

#include <RasterConfigWidget.h>

Inheritance diagram for te::qt::plugins::rp::RasterConfigWidget:
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

void getHelpInformations (QString &ns, QString &helpFile)
 
QString getResumeText ()
 
bool hasChanges ()
 
 RasterConfigWidget (QWidget *parent=0)
 
void resetState ()
 
void saveChanges ()
 
virtual void setApplicationController (te::qt::af::ApplicationController *app)
 
 ~RasterConfigWidget ()
 

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 Slots

void onInterpolatorComboBoxChanged (int index)
 
void onLevelChanged (int value)
 
void onQuestionChecked (bool checked)
 
void onSetMultiResolutionDefaultChecked (bool checked)
 

Private Member Functions

void fillInterpolator ()
 
void initialize ()
 

Private Attributes

std::unique_ptr< Ui::RasterConfigWidgetForm > m_ui
 

Detailed Description

Definition at line 57 of file RasterConfigWidget.h.

Constructor & Destructor Documentation

◆ RasterConfigWidget()

te::qt::plugins::rp::RasterConfigWidget::RasterConfigWidget ( QWidget * parent = 0)

◆ ~RasterConfigWidget()

te::qt::plugins::rp::RasterConfigWidget::~RasterConfigWidget ( )

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

◆ fillInterpolator()

void te::qt::plugins::rp::RasterConfigWidget::fillInterpolator ( )
private

References slots.

◆ getHelpInformations()

void te::qt::plugins::rp::RasterConfigWidget::getHelpInformations ( QString & ns,
QString & helpFile )
virtual

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

◆ initialize()

void te::qt::plugins::rp::RasterConfigWidget::initialize ( )
private

◆ onApplyButtonClicked

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

Definition at line 148 of file AbstractSettingWidget.h.

References changeApplyButtonState(), and saveChanges().

Referenced by getHelpInformations().

◆ onInterpolatorComboBoxChanged

void te::qt::plugins::rp::RasterConfigWidget::onInterpolatorComboBoxChanged ( int index)
privateslot

◆ onLevelChanged

void te::qt::plugins::rp::RasterConfigWidget::onLevelChanged ( int value)
privateslot

◆ onQuestionChecked

void te::qt::plugins::rp::RasterConfigWidget::onQuestionChecked ( bool checked)
privateslot

◆ onSetMultiResolutionDefaultChecked

void te::qt::plugins::rp::RasterConfigWidget::onSetMultiResolutionDefaultChecked ( bool checked)
privateslot

◆ resetState()

void te::qt::plugins::rp::RasterConfigWidget::resetState ( )
virtual

◆ saveChanges()

void te::qt::plugins::rp::RasterConfigWidget::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

std::unique_ptr<Ui::RasterConfigWidgetForm> te::qt::plugins::rp::RasterConfigWidget::m_ui
private

Definition at line 91 of file RasterConfigWidget.h.


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