te::qt::widgets::ChannelSelectionWidget Class Reference

A dialog used to build a ChannelSelection element. More...

#include <ChannelSelectionWidget.h>

Inheritance diagram for te::qt::widgets::ChannelSelectionWidget:

Public Member Functions

te::se::ChannelSelectiongetChannelSelection () const
 
void setChannelSelection (const te::se::ChannelSelection *cs)
 
void setProperty (std::vector< te::rst::BandProperty *> &p)
 Sets the band information. More...
 
Initializer Methods

Methods related to instantiation and destruction.

 ChannelSelectionWidget (QWidget *parent=0, Qt::WindowFlags f=0)
 Constructs a ChannelSelectionWidget dialog which is a child of parent, with widget flags set to f. More...
 
 ~ChannelSelectionWidget ()
 Destructor. More...
 

Protected Slots

void onBlueChannelSelected ()
 
void onGrayScalelSelected ()
 
void onGreenChannelSelected ()
 
void onMonoChannelSelected ()
 
void onRedChannelSelected ()
 
void onRGBColorSelected ()
 
void onSelectedChannelChanged ()
 

Protected Member Functions

void initialize ()
 Internal method to initialize the widget (e.g.: color, combos, icons, etc.) More...
 
void updateUi ()
 Updates the widget form based on internal mark element. More...
 

Private Attributes

std::vector< te::rst::BandProperty * > m_bands
 A vector of bands description. More...
 
te::se::ChannelSelectionm_cs
 SE Channel Selection element. More...
 
te::se::SelectedChannelm_scBlue
 SE Selected Channel element for red band. More...
 
te::se::SelectedChannelm_scGreen
 SE Selected Channel element for red band. More...
 
te::se::SelectedChannelm_scMono
 SE Selected Channel element for red band. More...
 
te::se::SelectedChannelm_scRed
 SE Selected Channel element for red band. More...
 
te::qt::widgets::SelectedChannelWidgetm_sCWidget
 Selected Channel Widget. More...
 
std::unique_ptr< Ui::ChannelSelectionWidgetForm > m_ui
 Dialog form. More...
 

Detailed Description

A dialog used to build a ChannelSelection element.

Definition at line 70 of file ChannelSelectionWidget.h.

Constructor & Destructor Documentation

◆ ChannelSelectionWidget()

te::qt::widgets::ChannelSelectionWidget::ChannelSelectionWidget ( QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)

Constructs a ChannelSelectionWidget dialog which is a child of parent, with widget flags set to f.

◆ ~ChannelSelectionWidget()

te::qt::widgets::ChannelSelectionWidget::~ChannelSelectionWidget ( )

Destructor.

Member Function Documentation

◆ getChannelSelection()

te::se::ChannelSelection* te::qt::widgets::ChannelSelectionWidget::getChannelSelection ( ) const

◆ initialize()

void te::qt::widgets::ChannelSelectionWidget::initialize ( )
protected

Internal method to initialize the widget (e.g.: color, combos, icons, etc.)

◆ onBlueChannelSelected

void te::qt::widgets::ChannelSelectionWidget::onBlueChannelSelected ( )
protectedslot

◆ onGrayScalelSelected

void te::qt::widgets::ChannelSelectionWidget::onGrayScalelSelected ( )
protectedslot

◆ onGreenChannelSelected

void te::qt::widgets::ChannelSelectionWidget::onGreenChannelSelected ( )
protectedslot

◆ onMonoChannelSelected

void te::qt::widgets::ChannelSelectionWidget::onMonoChannelSelected ( )
protectedslot

◆ onRedChannelSelected

void te::qt::widgets::ChannelSelectionWidget::onRedChannelSelected ( )
protectedslot

◆ onRGBColorSelected

void te::qt::widgets::ChannelSelectionWidget::onRGBColorSelected ( )
protectedslot

◆ onSelectedChannelChanged

void te::qt::widgets::ChannelSelectionWidget::onSelectedChannelChanged ( )
protectedslot

◆ setChannelSelection()

void te::qt::widgets::ChannelSelectionWidget::setChannelSelection ( const te::se::ChannelSelection cs)

◆ setProperty()

void te::qt::widgets::ChannelSelectionWidget::setProperty ( std::vector< te::rst::BandProperty *> &  p)

Sets the band information.

Parameters
pVector with band property
Note
The class will NOT take the ownership of the pointer.

◆ updateUi()

void te::qt::widgets::ChannelSelectionWidget::updateUi ( )
protected

Updates the widget form based on internal mark element.

Member Data Documentation

◆ m_bands

std::vector<te::rst::BandProperty*> te::qt::widgets::ChannelSelectionWidget::m_bands
private

A vector of bands description.

Definition at line 141 of file ChannelSelectionWidget.h.

◆ m_cs

te::se::ChannelSelection* te::qt::widgets::ChannelSelectionWidget::m_cs
private

SE Channel Selection element.

Definition at line 139 of file ChannelSelectionWidget.h.

◆ m_scBlue

te::se::SelectedChannel* te::qt::widgets::ChannelSelectionWidget::m_scBlue
private

SE Selected Channel element for red band.

Definition at line 136 of file ChannelSelectionWidget.h.

◆ m_scGreen

te::se::SelectedChannel* te::qt::widgets::ChannelSelectionWidget::m_scGreen
private

SE Selected Channel element for red band.

Definition at line 135 of file ChannelSelectionWidget.h.

◆ m_scMono

te::se::SelectedChannel* te::qt::widgets::ChannelSelectionWidget::m_scMono
private

SE Selected Channel element for red band.

Definition at line 137 of file ChannelSelectionWidget.h.

◆ m_scRed

te::se::SelectedChannel* te::qt::widgets::ChannelSelectionWidget::m_scRed
private

SE Selected Channel element for red band.

Definition at line 134 of file ChannelSelectionWidget.h.

◆ m_sCWidget

te::qt::widgets::SelectedChannelWidget* te::qt::widgets::ChannelSelectionWidget::m_sCWidget
private

Selected Channel Widget.

Definition at line 132 of file ChannelSelectionWidget.h.

◆ m_ui

std::unique_ptr<Ui::ChannelSelectionWidgetForm> te::qt::widgets::ChannelSelectionWidget::m_ui
private

Dialog form.

Definition at line 131 of file ChannelSelectionWidget.h.


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