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::auto_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

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.

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

Destructor.

Member Function Documentation

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

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

void te::qt::widgets::ChannelSelectionWidget::onBlueChannelSelected ( )
protectedslot
void te::qt::widgets::ChannelSelectionWidget::onGrayScalelSelected ( )
protectedslot
void te::qt::widgets::ChannelSelectionWidget::onGreenChannelSelected ( )
protectedslot
void te::qt::widgets::ChannelSelectionWidget::onMonoChannelSelected ( )
protectedslot
void te::qt::widgets::ChannelSelectionWidget::onRedChannelSelected ( )
protectedslot
void te::qt::widgets::ChannelSelectionWidget::onRGBColorSelected ( )
protectedslot
void te::qt::widgets::ChannelSelectionWidget::onSelectedChannelChanged ( )
protectedslot
void te::qt::widgets::ChannelSelectionWidget::setChannelSelection ( const te::se::ChannelSelection cs)
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.
void te::qt::widgets::ChannelSelectionWidget::updateUi ( )
protected

Updates the widget form based on internal mark element.

Member Data Documentation

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.

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

SE Channel Selection element.

Definition at line 139 of file ChannelSelectionWidget.h.

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.

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.

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.

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.

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

Selected Channel Widget.

Definition at line 132 of file ChannelSelectionWidget.h.

std::auto_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: