All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
te::qt::widgets::SelectedChannelWidget Class Reference

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

#include <SelectedChannelWidget.h>

Inheritance diagram for te::qt::widgets::SelectedChannelWidget:

Signals

void selectedChannelChanged ()
 

Public Member Functions

te::se::SelectedChannelgetSelectedChannel () const
 
void setChannelNames (const QStringList &list)
 
void setSelectedChannel (te::se::SelectedChannel *sc)
 
Initializer Methods

Methods related to instantiation and destruction.

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

Protected Slots

void onChannelNameChanged (QString value)
 
void onContrastEnhancementChanged ()
 

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 fill element. More...
 

Private Attributes

te::qt::widgets::ContrastEnhancementWidgetm_contrastWidget
 Constrast Widget form. More...
 
te::se::SelectedChannelm_se
 SE Selected Channel element. More...
 
std::auto_ptr
< Ui::SelectedChannelWidgetForm > 
m_ui
 Dialog form. More...
 

Detailed Description

A dialog used to build a SelectedChannelWidget element.

Definition at line 64 of file SelectedChannelWidget.h.

Constructor & Destructor Documentation

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

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

Definition at line 40 of file SelectedChannelWidget.cpp.

References initialize(), m_contrastWidget, m_ui, onChannelNameChanged(), and onContrastEnhancementChanged().

te::qt::widgets::SelectedChannelWidget::~SelectedChannelWidget ( )

Destructor.

Definition at line 61 of file SelectedChannelWidget.cpp.

Member Function Documentation

te::se::SelectedChannel * te::qt::widgets::SelectedChannelWidget::getSelectedChannel ( ) const
void te::qt::widgets::SelectedChannelWidget::initialize ( )
protected

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

Definition at line 92 of file SelectedChannelWidget.cpp.

Referenced by SelectedChannelWidget().

void te::qt::widgets::SelectedChannelWidget::onChannelNameChanged ( QString  value)
protectedslot

Definition at line 125 of file SelectedChannelWidget.cpp.

Referenced by SelectedChannelWidget().

void te::qt::widgets::SelectedChannelWidget::onContrastEnhancementChanged ( )
protectedslot

Definition at line 132 of file SelectedChannelWidget.cpp.

Referenced by SelectedChannelWidget().

void te::qt::widgets::SelectedChannelWidget::selectedChannelChanged ( )
signal
void te::qt::widgets::SelectedChannelWidget::setChannelNames ( const QStringList &  list)

Definition at line 84 of file SelectedChannelWidget.cpp.

void te::qt::widgets::SelectedChannelWidget::setSelectedChannel ( te::se::SelectedChannel sc)

Definition at line 66 of file SelectedChannelWidget.cpp.

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

Updates the widget form based on internal fill element.

Definition at line 96 of file SelectedChannelWidget.cpp.

Member Data Documentation

te::qt::widgets::ContrastEnhancementWidget* te::qt::widgets::SelectedChannelWidget::m_contrastWidget
private

Constrast Widget form.

Definition at line 114 of file SelectedChannelWidget.h.

Referenced by SelectedChannelWidget().

te::se::SelectedChannel* te::qt::widgets::SelectedChannelWidget::m_se
private

SE Selected Channel element.

Definition at line 116 of file SelectedChannelWidget.h.

std::auto_ptr<Ui::SelectedChannelWidgetForm> te::qt::widgets::SelectedChannelWidget::m_ui
private

Dialog form.

Definition at line 113 of file SelectedChannelWidget.h.

Referenced by SelectedChannelWidget().


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