16 #ifndef QGSGRADUATEDSYMBOLRENDERERV2WIDGET_H
17 #define QGSGRADUATEDSYMBOLRENDERERV2WIDGET_H
21 #include <QStandardItem>
22 #include <QProxyStyle>
24 #include "ui_qgsgraduatedsymbolrendererv2widget.h"
35 QVariant headerData(
int section, Qt::Orientation orientation,
int role )
const override;
51 void sort(
int column, Qt::SortOrder order = Qt::AscendingOrder )
override;
52 void updateSymbology(
bool resetModel =
false );
85 void changeGraduatedSymbol();
86 void graduatedColumnChanged(
const QString& field );
87 void classifyGraduated();
88 void reapplyColorRamp();
90 void rangesDoubleClicked(
const QModelIndex & idx );
99 void deleteAllClasses();
101 void toggleBoundariesLink(
bool linked );
103 void sizeScaleFieldChanged(
const QString& fldName );
105 void labelFormatChanged();
107 void showSymbolLevels();
110 void modelDataChanged();
111 void on_mSizeUnitWidget_changed();
112 void on_methodComboBox_currentIndexChanged(
int );
113 void refreshRanges(
bool reset =
false );
116 void updateUiFromRenderer(
bool updateCount =
true );
117 void connectUpdateHandlers();
118 void disconnectUpdateHandlers();
121 void updateGraduatedSymbolIcon();
127 void changeRangeSymbol(
int rangeIdx );
128 void changeRange(
int rangeIdx );
130 void changeSelectedSymbols();
151 #endif // QGSGRADUATEDSYMBOLRENDERERV2WIDGET_H
virtual int rowCount(const QModelIndex &parent) const =0
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const =0
QgsGraduatedSymbolRendererV2ViewStyle(QStyle *style=0)
virtual bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent)
virtual QStringList mimeTypes() const
virtual void sort(int column, Qt::SortOrder order)
void rowsMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationRow)
virtual Qt::DropActions supportedDropActions() const
virtual QVariant data(const QModelIndex &index, int role) const =0
virtual QMimeData * mimeData(const QModelIndexList &indexes) const
void drawPrimitive(PrimitiveElement element, const QStyleOption *option, QPainter *painter, const QWidget *widget=0) const override
virtual int columnCount(const QModelIndex &parent) const =0
virtual bool setData(const QModelIndex &index, const QVariant &value, int role)
virtual Qt::ItemFlags flags(const QModelIndex &index) const
Represents a vector layer which manages a vector based data sets.