16 #ifndef QGSSTYLEV2MANAGERDIALOG_H
17 #define QGSSTYLEV2MANAGERDIALOG_H
20 #include <QStandardItem>
24 #include "ui_qgsstylev2managerdialogbase.h"
37 static QString addColorRampStatic( QWidget* parent,
QgsStyleV2* style,
38 QString RampType = QString() );
47 void on_tabItemType_currentChanged(
int );
56 void itemChanged( QStandardItem* item );
58 void groupChanged(
const QModelIndex& );
59 void groupRenamed( QStandardItem * );
64 void groupSymbolsAction();
67 void editSmartgroupAction();
70 void regrouped( QStandardItem* );
73 void filterSymbols( QString );
79 void symbolSelected(
const QModelIndex& );
82 void grouptreeContextMenu(
const QPoint& );
85 void listitemsContextMenu(
const QPoint& );
88 bool addColorRamp( QAction* action );
96 void populateGroups();
98 void buildGroupTree( QStandardItem* &parent );
100 void setSymbolsChecked( QStringList );
103 void populateSymbols( QStringList symbolNames,
bool checkable =
false );
106 void populateColorRamps( QStringList colorRamps,
bool checkable =
false );
108 int currentItemType();
109 QString currentItemName();
117 bool editColorRamp();
120 bool removeColorRamp();
123 void enableSymbolInputs(
bool );
125 void enableGroupInputs(
bool );
127 void enableItemsForGroupingMode(
bool );
130 bool eventFilter( QObject*, QEvent* );
133 void setBold( QStandardItem* );