te::qt::widgets::ShadedReliefWidget Class Reference

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

#include <ShadedReliefWidget.h>

Inheritance diagram for te::qt::widgets::ShadedReliefWidget:

Public Member Functions

te::se::ShadedReliefgetShadedRelief () const
 
void setShadedRelief (const te::se::ShadedRelief *sr)
 
Initializer Methods

Methods related to instantiation and destruction.

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

Protected Slots

void onBrightnessToggled (bool flag)
 
void onFactorChanged (double value)
 

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::se::ShadedReliefm_sr
 SE Shaded relief element. More...
 
std::auto_ptr< Ui::ShadedReliefWidgetForm > m_ui
 Dialog form. More...
 

Detailed Description

A dialog used to build a ShadedRelief element.

Definition at line 61 of file ShadedReliefWidget.h.

Constructor & Destructor Documentation

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

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

te::qt::widgets::ShadedReliefWidget::~ShadedReliefWidget ( )

Destructor.

Member Function Documentation

te::se::ShadedRelief* te::qt::widgets::ShadedReliefWidget::getShadedRelief ( ) const
void te::qt::widgets::ShadedReliefWidget::initialize ( )
protected

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

void te::qt::widgets::ShadedReliefWidget::onBrightnessToggled ( bool  flag)
protectedslot
void te::qt::widgets::ShadedReliefWidget::onFactorChanged ( double  value)
protectedslot
void te::qt::widgets::ShadedReliefWidget::setShadedRelief ( const te::se::ShadedRelief sr)
void te::qt::widgets::ShadedReliefWidget::updateUi ( )
protected

Updates the widget form based on internal fill element.

Member Data Documentation

te::se::ShadedRelief* te::qt::widgets::ShadedReliefWidget::m_sr
private

SE Shaded relief element.

Definition at line 107 of file ShadedReliefWidget.h.

std::auto_ptr<Ui::ShadedReliefWidgetForm> te::qt::widgets::ShadedReliefWidget::m_ui
private

Dialog form.

Definition at line 106 of file ShadedReliefWidget.h.


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