A widget used to edit symbols. More...
#include <SymbolEditorWidget.h>
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 | |
| SymbolPreviewWidget * | m_preview |
| Preview Widget used to visualize the symbol. More... | |
| Symbol * | m_symbol |
| Symbol handled by this widget. More... | |
| QStackedWidget * | m_symbolizersStackedWidget |
| Set of symbolizers widgets. More... | |
| SymbolTableWidget * | m_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... | |
A widget used to edit symbols.
Definition at line 66 of file SymbolEditorWidget.h.
| 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.
| parent | The widget's parent. |
| te::qt::widgets::SymbolEditorWidget::~SymbolEditorWidget | ( | ) |
Destructor.
|
protected |
Creates a new symbolizer element.
|
protected |
Internal method to initialize the widget.
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protected |
Swap two internal symbolizers.
|
protected |
Updates the widget form based on internal symbolizers elements.
|
private |
Preview Widget used to visualize the symbol.
Definition at line 119 of file SymbolEditorWidget.h.
|
private |
Symbol handled by this widget.
Definition at line 122 of file SymbolEditorWidget.h.
|
private |
Set of symbolizers widgets.
Definition at line 121 of file SymbolEditorWidget.h.
|
private |
Table Widget used to visualize the symbol as separated visual layers.
Definition at line 120 of file SymbolEditorWidget.h.
|
private |
The Symbol type handled by this widget.
Definition at line 123 of file SymbolEditorWidget.h.
|
private |
Widget form.
Definition at line 118 of file SymbolEditorWidget.h.