te::qt::widgets::StyleControllerWidget Class Reference

A widget used to controll the style se element. More...

#include <StyleControllerWidget.h>

Inheritance diagram for te::qt::widgets::StyleControllerWidget:

Signals

void mapRefresh ()
 

Public Member Functions

StyleExplorergetStyleExplorer () const
 
void setStyle (te::se::Style *style)
 Sets a style element to this widget. More...
 
Initializer Methods

Methods related to instantiation and destruction.

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

Protected Slots

void changeLegendIconSize (int size)
 
void onAddSymbolizerClicked ()
 
void onDownSymbolizerClicked ()
 
void onLibraryManagerClicked ()
 
void onMapRefreshClicked ()
 
void onRemoveSymbolizerClicked ()
 
void onUpSymbolizerClicked ()
 

Protected Member Functions

void updateUi ()
 Updates the widget form based on internal mark element. More...
 

Private Attributes

te::qt::widgets::StyleExplorerm_explorer
 A style explorer used to explore the style. More...
 
std::auto_ptr< Ui::StyleControllerWidgetForm > m_ui
 Widget form. More...
 

Detailed Description

A widget used to controll the style se element.

Definition at line 65 of file StyleControllerWidget.h.

Constructor & Destructor Documentation

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

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

te::qt::widgets::StyleControllerWidget::~StyleControllerWidget ( )

Destructor.

Member Function Documentation

void te::qt::widgets::StyleControllerWidget::changeLegendIconSize ( int  size)
protectedslot
StyleExplorer* te::qt::widgets::StyleControllerWidget::getStyleExplorer ( ) const
void te::qt::widgets::StyleControllerWidget::mapRefresh ( )
signal
void te::qt::widgets::StyleControllerWidget::onAddSymbolizerClicked ( )
protectedslot
void te::qt::widgets::StyleControllerWidget::onDownSymbolizerClicked ( )
protectedslot
void te::qt::widgets::StyleControllerWidget::onLibraryManagerClicked ( )
protectedslot
void te::qt::widgets::StyleControllerWidget::onMapRefreshClicked ( )
protectedslot
void te::qt::widgets::StyleControllerWidget::onRemoveSymbolizerClicked ( )
protectedslot
void te::qt::widgets::StyleControllerWidget::onUpSymbolizerClicked ( )
protectedslot
void te::qt::widgets::StyleControllerWidget::setStyle ( te::se::Style style)

Sets a style element to this widget.

Parameters
styleA valid style element.
Note
The widget will NOT take the ownership of the given style.
The widget will be update based on given style parameters.
void te::qt::widgets::StyleControllerWidget::updateUi ( )
protected

Updates the widget form based on internal mark element.

Member Data Documentation

te::qt::widgets::StyleExplorer* te::qt::widgets::StyleControllerWidget::m_explorer
private

A style explorer used to explore the style.

Definition at line 126 of file StyleControllerWidget.h.

std::auto_ptr<Ui::StyleControllerWidgetForm> te::qt::widgets::StyleControllerWidget::m_ui
private

Widget form.

Definition at line 125 of file StyleControllerWidget.h.


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