16 #ifndef QGSSTYLEV2MANAGERDIALOG_H 17 #define QGSSTYLEV2MANAGERDIALOG_H 20 #include <QStandardItem> 24 #include "ui_qgsstylemanagerdialogbase.h" 42 static QString addColorRampStatic( QWidget *parent,
QgsStyle *style,
43 QString RampType = QString() );
49 void exportItemsSVG();
50 void exportItemsPNG();
51 void exportSelectedItemsImages(
const QString &dir,
const QString &format, QSize size );
67 void itemChanged( QStandardItem *item );
69 void groupChanged(
const QModelIndex & );
70 void groupRenamed( QStandardItem * );
79 void tagSymbolsAction();
82 void editSmartgroupAction();
85 void regrouped( QStandardItem * );
88 void filterSymbols(
const QString & );
91 void symbolSelected(
const QModelIndex & );
94 void selectedSymbolsChanged(
const QItemSelection &selected,
const QItemSelection &deselected );
97 void grouptreeContextMenu( QPoint );
100 void listitemsContextMenu( QPoint );
103 bool addColorRamp( QAction *action );
105 void addFavoriteSelectedSymbols();
107 void removeFavoriteSelectedSymbols();
109 void tagSelectedSymbols(
bool newTag =
false );
111 void detagSelectedSymbols();
116 void populateTypes();
119 void populateGroups();
121 void setSymbolsChecked(
const QStringList & );
124 void populateSymbols(
const QStringList &symbolNames,
bool checkable =
false );
127 void populateColorRamps(
const QStringList &colorRamps,
bool checkable =
false );
129 int currentItemType();
130 QString currentItemName();
138 bool editColorRamp();
141 bool removeColorRamp();
144 void enableSymbolInputs(
bool );
146 void enableGroupInputs(
bool );
148 void enableItemsForGroupingMode(
bool );
151 void setBold( QStandardItem * );
166 QMenu *mGroupMenu =
nullptr;
169 QMenu *mGroupListMenu =
nullptr;
172 QMenu *mGroupTreeContextMenu =
nullptr;
175 QMenu *mMenuBtnAddItemColorRamp =
nullptr;
179 void tabItemType_currentChanged(
int );
bool mGrouppingMode
Mode to display the symbol list.
QStringList mTagList
space to store symbol tags