A widget used to build a point symbolizer element. More...
#include <PointSymbolizerWidget.h>
Signals | |
| void | symbolizerChanged () |
Public Member Functions | |
| te::se::Symbolizer * | getSymbolizer () const |
| Gets the configured point symbolizer element. More... | |
| void | setSymbolizer (const te::se::PointSymbolizer *symb) |
| Sets a point symbolizer element to this widget. More... | |
Initializer Methods | |
Methods related to instantiation and destruction. | |
| PointSymbolizerWidget (QWidget *parent=0, Qt::WindowFlags f=0) | |
| Constructs a point symbolizer widget which is a child of parent, with widget flags set to f. More... | |
| ~PointSymbolizerWidget () | |
| Destructor. More... | |
Protected Slots | |
| void | onGraphicChanged () |
Protected Member Functions | |
| void | updateUi () |
| Updates the widget form based on internal point symbolizer element. More... | |
Private Attributes | |
| GraphicSelectorWidget * | m_graphicSelector |
| Graphic selector use to select the point symbolizer graphic element. More... | |
| te::se::PointSymbolizer * | m_symb |
| Point symbolizer element that will be configured by this widget. More... | |
A widget used to build a point symbolizer element.
Definition at line 56 of file PointSymbolizerWidget.h.
| te::qt::widgets::PointSymbolizerWidget::PointSymbolizerWidget | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | f = 0 |
||
| ) |
Constructs a point symbolizer widget which is a child of parent, with widget flags set to f.
Definition at line 37 of file PointSymbolizerWidget.cpp.
References te::qt::widgets::GraphicSelectorWidget::getGraphic(), m_graphicSelector, m_symb, onGraphicChanged(), and te::se::PointSymbolizer::setGraphic().
| te::qt::widgets::PointSymbolizerWidget::~PointSymbolizerWidget | ( | ) |
Destructor.
Definition at line 56 of file PointSymbolizerWidget.cpp.
| te::se::Symbolizer * te::qt::widgets::PointSymbolizerWidget::getSymbolizer | ( | ) | const |
Gets the configured point symbolizer element.
Definition at line 72 of file PointSymbolizerWidget.cpp.
References te::se::Symbolizer::clone().
Referenced by te::qt::widgets::SymbolEditorWidget::createNewSymbolizer().
|
protectedslot |
Definition at line 85 of file PointSymbolizerWidget.cpp.
Referenced by PointSymbolizerWidget().
| void te::qt::widgets::PointSymbolizerWidget::setSymbolizer | ( | const te::se::PointSymbolizer * | symb | ) |
Sets a point symbolizer element to this widget.
| symb | A valid point symbolizer element. |
Definition at line 61 of file PointSymbolizerWidget.cpp.
References te::se::PointSymbolizer::clone().
|
signal |
This signal is emitted when the internal point symbolizer element is changed.
|
protected |
Updates the widget form based on internal point symbolizer element.
Definition at line 77 of file PointSymbolizerWidget.cpp.
|
private |
Graphic selector use to select the point symbolizer graphic element.
Definition at line 112 of file PointSymbolizerWidget.h.
Referenced by PointSymbolizerWidget().
|
private |
Point symbolizer element that will be configured by this widget.
Definition at line 113 of file PointSymbolizerWidget.h.
Referenced by PointSymbolizerWidget().