A widget used to controll the style se element. More...
#include <StyleControllerWidget.h>
Signals | |
void | mapRefresh () |
Public Member Functions | |
StyleExplorer * | getStyleExplorer () const |
void | readStyle (std::string path) |
void | setLayer (te::map::AbstractLayer *layer, std::string selColor) |
void | setStyle (te::se::Style *style) |
Sets a style element to this widget. More... | |
void | writeStyle (const te::se::Style *style, std::string path) |
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 | onAddTextSymbolizerClicked () |
void | onDownSymbolizerClicked () |
void | onExportClicked () |
void | onImportClicked () |
void | onLibraryManagerClicked () |
void | onMapRefreshClicked () |
void | onRemoveSymbolizerClicked () |
void | onSelectionStyleChecked (bool state) |
void | onUpSymbolizerClicked () |
void | onVisualStyleChecked (bool state) |
Protected Member Functions | |
void | updateUi () |
Updates the widget form based on internal mark element. More... | |
Private Member Functions | |
bool | checkSymbolizer (std::string file) |
Private Attributes | |
te::map::AbstractLayer * | m_currentLayer |
Current Layer pointer (used for raster symbolizer information) More... | |
te::se::Style * | m_currentStyle |
current style. More... | |
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 66 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.
te::qt::widgets::StyleControllerWidget::~StyleControllerWidget | ( | ) |
Destructor.
|
protectedslot |
|
private |
StyleExplorer* te::qt::widgets::StyleControllerWidget::getStyleExplorer | ( | ) | const |
|
signal |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
void te::qt::widgets::StyleControllerWidget::readStyle | ( | std::string | path | ) |
void te::qt::widgets::StyleControllerWidget::setLayer | ( | te::map::AbstractLayer * | layer, |
std::string | selColor | ||
) |
void te::qt::widgets::StyleControllerWidget::setStyle | ( | te::se::Style * | style | ) |
Sets a style element to this widget.
style | A valid style element. |
|
protected |
Updates the widget form based on internal mark element.
void te::qt::widgets::StyleControllerWidget::writeStyle | ( | const te::se::Style * | style, |
std::string | path | ||
) |
|
private |
Current Layer pointer (used for raster symbolizer information)
Definition at line 150 of file StyleControllerWidget.h.
|
private |
current style.
Definition at line 148 of file StyleControllerWidget.h.
|
private |
A style explorer used to explore the style.
Definition at line 147 of file StyleControllerWidget.h.
|
private |
Widget form.
Definition at line 146 of file StyleControllerWidget.h.