te::qt::widgets::SymbolEditorWidget Class Reference

A widget used to edit symbols. More...

#include <SymbolEditorWidget.h>

Inheritance diagram for te::qt::widgets::SymbolEditorWidget:

Public Member Functions

Initializer Methods

Methods related to instantiation and destruction.

 SymbolEditorWidget (const SymbolType &type, QWidget *parent=0)
 Constructs a symbol editor, which is a child of parent, with widget flags set to f. More...
 
 ~SymbolEditorWidget ()
 Destructor. More...
 

Protected Slots

void onAddToolButtonClicked ()
 
void onDownToolButtonClicked ()
 
void onRemoveToolButtonClicked ()
 
void onSymbolizerChanged ()
 
void onUpToolButtonClicked ()
 

Protected Member Functions

void createNewSymbolizer ()
 Creates a new symbolizer element. More...
 
void initialize ()
 Internal method to initialize the widget. More...
 
void swapSymbolizers (const int &indexFirst, const int &indexSecond)
 Swap two internal symbolizers. More...
 
void updateUi ()
 Updates the widget form based on internal symbolizers elements. More...
 

Private Attributes

SymbolPreviewWidgetm_preview
 Preview Widget used to visualize the symbol. More...
 
Symbolm_symbol
 Symbol handled by this widget. More...
 
QStackedWidget * m_symbolizersStackedWidget
 Set of symbolizers widgets. More...
 
SymbolTableWidgetm_symbolTable
 Table Widget used to visualize the symbol as separated visual layers. More...
 
SymbolType m_type
 The Symbol type handled by this widget. More...
 
std::auto_ptr< Ui::SymbolEditorWidgetForm > m_ui
 Widget form. More...
 

Detailed Description

A widget used to edit symbols.

Definition at line 66 of file SymbolEditorWidget.h.

Constructor & Destructor Documentation

te::qt::widgets::SymbolEditorWidget::SymbolEditorWidget ( const SymbolType type,
QWidget *  parent = 0 
)

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

The Symbol type that will be handled by the widget.

Parameters
parentThe widget's parent.
te::qt::widgets::SymbolEditorWidget::~SymbolEditorWidget ( )

Destructor.

Member Function Documentation

void te::qt::widgets::SymbolEditorWidget::createNewSymbolizer ( )
protected

Creates a new symbolizer element.

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

Internal method to initialize the widget.

void te::qt::widgets::SymbolEditorWidget::onAddToolButtonClicked ( )
protectedslot
void te::qt::widgets::SymbolEditorWidget::onDownToolButtonClicked ( )
protectedslot
void te::qt::widgets::SymbolEditorWidget::onRemoveToolButtonClicked ( )
protectedslot
void te::qt::widgets::SymbolEditorWidget::onSymbolizerChanged ( )
protectedslot
void te::qt::widgets::SymbolEditorWidget::onUpToolButtonClicked ( )
protectedslot
void te::qt::widgets::SymbolEditorWidget::swapSymbolizers ( const int &  indexFirst,
const int &  indexSecond 
)
protected

Swap two internal symbolizers.

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

Updates the widget form based on internal symbolizers elements.

Member Data Documentation

SymbolPreviewWidget* te::qt::widgets::SymbolEditorWidget::m_preview
private

Preview Widget used to visualize the symbol.

Definition at line 119 of file SymbolEditorWidget.h.

Symbol* te::qt::widgets::SymbolEditorWidget::m_symbol
private

Symbol handled by this widget.

Definition at line 122 of file SymbolEditorWidget.h.

QStackedWidget* te::qt::widgets::SymbolEditorWidget::m_symbolizersStackedWidget
private

Set of symbolizers widgets.

Definition at line 121 of file SymbolEditorWidget.h.

SymbolTableWidget* te::qt::widgets::SymbolEditorWidget::m_symbolTable
private

Table Widget used to visualize the symbol as separated visual layers.

Definition at line 120 of file SymbolEditorWidget.h.

SymbolType te::qt::widgets::SymbolEditorWidget::m_type
private

The Symbol type handled by this widget.

Definition at line 123 of file SymbolEditorWidget.h.

std::auto_ptr<Ui::SymbolEditorWidgetForm> te::qt::widgets::SymbolEditorWidget::m_ui
private

Widget form.

Definition at line 118 of file SymbolEditorWidget.h.


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