|
Methods related to instantiation and destruction.
|
std::unique_ptr< Ui::SymbolSelectorDialogForm > | m_ui |
| Dialog form. More...
|
|
SymbolPreviewWidget * | m_preview |
| Preview Widget used to visualize the symbol. More...
|
|
std::vector< std::string > | m_fieldsNames |
| Dataset fields names for text symbolizer (no geometry) More...
|
|
QTreeWidgetItem * | m_currentDragDropItem |
|
| SymbolSelectorDialog (const std::vector< std::string > &fieldsNames, QWidget *parent=0, Qt::WindowFlags f=0) |
| Constructs a symbol selector dialog which is a child of parent, with widget flags set to f. More...
|
|
virtual | ~SymbolSelectorDialog () |
| Destructor. More...
|
|
Symbol * | getSelectedSymbol () const |
| Auxiliary internal method that returns the selected symbol. More...
|
|
Symbol * | getSymbol () const |
| Gets the selected symbol. More...
|
|
void | onCurrentItemChanged (QTreeWidgetItem *current, QTreeWidgetItem *previous) |
|
void | onShowSymbolInfoPushButtonPressed () |
|
void | onImportButtonPressed () |
|
void | onExportButtonPressed () |
|
void | onSearchLineEditTextChanged (const QString &text) |
|
void | onCreateSymbolPushButtonClicked () |
|
void | onEditSymbolPushButtonClicked () |
|
void | onRemoveSymbolPushButtonClicked () |
|
void | onCreateGroupPushButtonClicked () |
|
void | onRenameGroupPushButtonClicked () |
|
void | onRemoveGroupPushButtonClicked () |
|
void | onOkPushButtonClicked () |
|
void | onClosePushButtonClicked () |
|
void | onHelpPushButtonClicked () |
|
void | onDropEvent () |
|
void | onDragEnterEvent () |
|
void | initialize () |
| Initialize the dialog. More...
|
|
void | filter (const QList< QTreeWidgetItem * > &items) |
| Auxiliary internal method to filter the symbols. More...
|
|
Symbol * | getSymbolFromItem (QTreeWidgetItem *item) const |
| Auxiliary internal method that returns the symbol given a list widget item. More...
|
|
QString | formatSymbolInfo (const SymbolInfo &info) const |
| Auxiliary internal method to format a symbol info to be used on tool tips. More...
|
|
bool | addSymbol (Symbol *symbol, const QString &groupParentId) |
| Add new symbol to a symbol library. More...
|
|
bool | updateCurrentSymbol (Symbol *symbol) |
| Update the current selected symbol. More...
|
|
bool | removeSymbol (Symbol *symbol) |
| Remove a symbol from a symbol library . More...
|
|
bool | eraseSymbol (Symbol *symbol) |
| Remove a symbol from a symbol library . More...
|
|
bool | eraseCurrentSymbol () |
| Remove the current selected symbol from a symbol library. More...
|
|
bool | addGroup (const QString &groupName, const QString &groupParentId) |
| Add new symbol to a symbol library. More...
|
|
bool | updateCurrentGroup (const QString &newGroupName, const QString &groupId) |
| Update the current selected symbol. More...
|
|
bool | eraseGroup (const QString &groupId) |
| Remove a symbol from a symbol library . More...
|
|
bool | eraseCurrentGroup () |
| Remove the current selected symbol from a symbol library. More...
|
|
QTreeWidgetItem * | getSelectedItem () const |
| Get the current selected symbol. More...
|
|
void | buildTree (SymbolNode *node, QTreeWidgetItem *parent) |
|
QTreeWidgetItem * | createItemFromGroup (SymbolNode *node, QTreeWidgetItem *parent=nullptr) |
|
QTreeWidgetItem * | createItemFromGroup (SymbolNode *node, QTreeWidget *parent) |
|
QTreeWidgetItem * | createItemFromSymbol (Symbol *symbol, QTreeWidgetItem *parent=nullptr) |
|
QTreeWidgetItem * | createItemFromSymbol (Symbol *symbol, QTreeWidget *parent) |
|
void | configItemFromSymbol (Symbol *symbol, QTreeWidgetItem *item) |
|
void | enableSymbolItem (bool enable) |
|
void | enableGroupItem (bool enable) |
|
QTreeWidgetItem * | getCurrentGroupItem () |
|
QString | getCurrentGroupItemID () |
|
QTreeWidgetItem * | searchParentGroup (QTreeWidgetItem *item) |
|
QString | getSelectedItemID () |
|
bool | isRootItem (QTreeWidgetItem *item) |
|
A dialog used to create or edit a specific symbol.
A dialog used to select a specific symbol.
Definition at line 73 of file SymbolSelectorDialog.h.