A widget used to controll the style se element. More...
#include <StyleControllerWidget.h>
Signals | |
void | mapRefresh () |
Public Member Functions | |
StyleExplorer * | getStyleExplorer () 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::StyleExplorer * | m_explorer |
A style explorer used to explore the style. More... | |
std::auto_ptr< Ui::StyleControllerWidgetForm > | m_ui |
Widget form. More... | |
A widget used to controll the style se element.
Definition at line 65 of file StyleControllerWidget.h.
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.
Definition at line 42 of file StyleControllerWidget.cpp.
References changeLegendIconSize(), m_explorer, m_ui, onAddSymbolizerClicked(), onDownSymbolizerClicked(), onLibraryManagerClicked(), onMapRefreshClicked(), onRemoveSymbolizerClicked(), onUpSymbolizerClicked(), and updateUi().
te::qt::widgets::StyleControllerWidget::~StyleControllerWidget | ( | ) |
Destructor.
Definition at line 66 of file StyleControllerWidget.cpp.
|
protectedslot |
Definition at line 202 of file StyleControllerWidget.cpp.
Referenced by StyleControllerWidget().
te::qt::widgets::StyleExplorer * te::qt::widgets::StyleControllerWidget::getStyleExplorer | ( | ) | const |
Definition at line 75 of file StyleControllerWidget.cpp.
|
signal |
|
protectedslot |
Definition at line 90 of file StyleControllerWidget.cpp.
References te::se::Symbolizer::clone(), te::se::Rule::getSymbolizer(), te::se::Rule::getSymbolizers(), and te::se::Rule::push_back().
Referenced by StyleControllerWidget().
|
protectedslot |
Definition at line 161 of file StyleControllerWidget.cpp.
Referenced by StyleControllerWidget().
|
protectedslot |
Definition at line 174 of file StyleControllerWidget.cpp.
References te::se::Symbolizer::clone(), te::qt::widgets::SymbolSelectorDialog::getSymbol(), te::qt::widgets::Symbol::getSymbolizer(), te::qt::widgets::Symbol::getSymbolizersCount(), and te::se::Rule::setSymbolizers().
Referenced by StyleControllerWidget().
|
protectedslot |
Definition at line 197 of file StyleControllerWidget.cpp.
Referenced by StyleControllerWidget().
|
protectedslot |
Definition at line 117 of file StyleControllerWidget.cpp.
References te::se::Rule::getSymbolizer(), te::se::Rule::getSymbolizers(), and te::se::Rule::removeSymbolizer().
Referenced by StyleControllerWidget().
|
protectedslot |
Definition at line 148 of file StyleControllerWidget.cpp.
Referenced by StyleControllerWidget().
void te::qt::widgets::StyleControllerWidget::setStyle | ( | te::se::Style * | style | ) |
Sets a style element to this widget.
style | A valid style element. |
Definition at line 70 of file StyleControllerWidget.cpp.
|
protected |
Updates the widget form based on internal mark element.
Definition at line 80 of file StyleControllerWidget.cpp.
Referenced by StyleControllerWidget().
|
private |
A style explorer used to explore the style.
Definition at line 126 of file StyleControllerWidget.h.
Referenced by StyleControllerWidget().
|
private |
Widget form.
Definition at line 125 of file StyleControllerWidget.h.
Referenced by StyleControllerWidget().