All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
)
te::qt::widgets::ChannelSelectionWidget::~ChannelSelectionWidget ( )

Destructor.

Definition at line 75 of file ChannelSelectionWidget.cpp.

Member Function Documentation

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

Definition at line 89 of file ChannelSelectionWidget.cpp.

References te::se::ChannelSelection::clone().

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

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

Definition at line 101 of file ChannelSelectionWidget.cpp.

Referenced by ChannelSelectionWidget().

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

Definition at line 176 of file ChannelSelectionWidget.cpp.

Referenced by ChannelSelectionWidget().

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

Definition at line 147 of file ChannelSelectionWidget.cpp.

Referenced by ChannelSelectionWidget().

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

Definition at line 168 of file ChannelSelectionWidget.cpp.

Referenced by ChannelSelectionWidget().

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

Definition at line 183 of file ChannelSelectionWidget.cpp.

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

Definition at line 160 of file ChannelSelectionWidget.cpp.

Referenced by ChannelSelectionWidget().

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

Definition at line 136 of file ChannelSelectionWidget.cpp.

Referenced by ChannelSelectionWidget().

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

Definition at line 191 of file ChannelSelectionWidget.cpp.

Referenced by ChannelSelectionWidget().

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

Definition at line 80 of file ChannelSelectionWidget.cpp.

References te::se::ChannelSelection::clone().

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.

Definition at line 94 of file ChannelSelectionWidget.cpp.

Referenced by te::qt::widgets::RasterSymbolizerDialog::onChannelSelectionClicked().

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

Updates the widget form based on internal mark element.

Definition at line 109 of file ChannelSelectionWidget.cpp.

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.

Referenced by ChannelSelectionWidget().

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

Dialog form.

Definition at line 131 of file ChannelSelectionWidget.h.

Referenced by ChannelSelectionWidget().


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