A dialog used to create or edit a specific symbol. More...
#include <SymbolizerEditInfoDialog.h>
Initializer Methods | |
Methods related to instantiation and destruction. | |
std::unique_ptr< Ui::SymbolizerEditInfoDialogForm > | m_ui |
Dialog form. More... | |
QWidget * | m_widget |
Current symbol configuration widget. More... | |
std::map< std::string, std::pair< QString, QWidget * > > | m_interfaces |
symbol configuration widget map More... | |
QGridLayout * | m_layoutFrame |
Layout, within a frame, which will contain the symbol configuration widget. More... | |
std::vector< std::string > | m_fieldsNames |
Dataset fields names for text symbolizer. More... | |
std::unique_ptr< te::se::Symbolizer > | m_currentSymbolizer |
current symbolizer More... | |
std::string | m_symbolizerType |
SymbolizerEditInfoDialog (const std::vector< std::string > &fieldsNames, te::se::Symbolizer *symbolizer=nullptr, QWidget *parent=nullptr, Qt::WindowFlags f=nullptr) | |
Constructs a symbol selector dialog which is a child of parent, with widget flags set to f. More... | |
virtual | ~SymbolizerEditInfoDialog () |
Destructor. More... | |
virtual te::se::Symbolizer * | getSymbolizer () |
Gets the selected symbol. More... | |
virtual void | setSymbolizerType (const std::string &symbolizerType) |
virtual void | onCmbSymbolsCurrentIndexChanged (const QString &text) |
virtual void | onSymbolizerChanged () |
void | onOkPushButtonClicked () |
void | onCancelPushButtonClicked () |
void | onHelpPushButtonClicked () |
virtual void | initialize () |
Initialize symbol configuration frame. More... | |
virtual void | initializeCombo () |
Initialize symbol options combobox. More... | |
virtual void | initializeTextSymbolizerLabels (te::qt::widgets::TextSymbolizerProperty *textSymbolizer) |
virtual void | setWidgetOnFrame (QWidget *widget) |
Set a symbol configuration widget inside a frame. More... | |
virtual void | removeWidgetFromFrame (QWidget *widget) |
Remove a symbol configuration widget from the frame. More... | |
virtual void | loadSymbolizers () |
If the symbol already exists, only the symbol configuration widget to which it belongs will be created. More... | |
virtual void | createInterfaces () |
Will create the symbol configuration widgets of various types. More... | |
virtual void | createPointSymbolizerInterface (te::se::Symbolizer *symbolizer=nullptr) |
Will create the symbol configuration widget for Point type. More... | |
virtual void | createLineSymbolizerInterface (te::se::Symbolizer *symbolizer=nullptr) |
Will create the symbol configuration widget for Line type. More... | |
virtual void | createPolygonSymbolizerInterface (te::se::Symbolizer *symbolizer=nullptr) |
Will create the symbol configuration widget for Polygon type. More... | |
virtual void | createTextSymbolizerInterface (te::se::Symbolizer *symbolizer=nullptr) |
Will create the symbol configuration widget for Text type. More... | |
virtual te::se::Symbolizer * | createSymbolizer () |
Will create a new symbol. More... | |
virtual te::se::TextSymbolizer * | createTextSymbolizer () |
virtual std::string | getGeomType (const std::string &symbolizerType) |
A dialog used to create or edit a specific symbol.
Definition at line 76 of file SymbolizerEditInfoDialog.h.
te::qt::widgets::SymbolizerEditInfoDialog::SymbolizerEditInfoDialog | ( | const std::vector< std::string > & | fieldsNames, |
te::se::Symbolizer * | symbolizer = nullptr , |
||
QWidget * | parent = nullptr , |
||
Qt::WindowFlags | f = nullptr |
||
) |
Constructs a symbol selector dialog which is a child of parent, with widget flags set to f.
|
virtual |
Destructor.
|
protectedvirtual |
Will create the symbol configuration widgets of various types.
|
protectedvirtual |
Will create the symbol configuration widget for Line type.
|
protectedvirtual |
Will create the symbol configuration widget for Point type.
|
protectedvirtual |
Will create the symbol configuration widget for Polygon type.
|
protectedvirtual |
Will create a new symbol.
|
protectedvirtual |
|
protectedvirtual |
Will create the symbol configuration widget for Text type.
|
protectedvirtual |
|
virtual |
Gets the selected symbol.
|
protectedvirtual |
Initialize symbol configuration frame.
|
protectedvirtual |
Initialize symbol options combobox.
|
protectedvirtual |
|
protectedvirtual |
If the symbol already exists, only the symbol configuration widget to which it belongs will be created.
|
protectedslot |
|
protectedvirtualslot |
|
protectedslot |
|
protectedslot |
|
protectedvirtualslot |
|
protectedvirtual |
Remove a symbol configuration widget from the frame.
|
virtual |
|
protectedvirtual |
Set a symbol configuration widget inside a frame.
|
private |
current symbolizer
Definition at line 169 of file SymbolizerEditInfoDialog.h.
|
private |
Dataset fields names for text symbolizer.
Definition at line 168 of file SymbolizerEditInfoDialog.h.
|
private |
symbol configuration widget map
Definition at line 166 of file SymbolizerEditInfoDialog.h.
|
private |
Layout, within a frame, which will contain the symbol configuration widget.
Definition at line 167 of file SymbolizerEditInfoDialog.h.
|
private |
Definition at line 170 of file SymbolizerEditInfoDialog.h.
|
private |
Dialog form.
Definition at line 164 of file SymbolizerEditInfoDialog.h.
|
private |
Current symbol configuration widget.
Definition at line 165 of file SymbolizerEditInfoDialog.h.