18 #ifndef QGSDIAGRAMPROPERTIES_H
19 #define QGSDIAGRAMPROPERTIES_H
24 #include "ui_qgsdiagrampropertiesbase.h"
31 #include <QStyledItemDelegate>
57 void addAttribute( QTreeWidgetItem *item );
65 void mDiagramTypeComboBox_currentIndexChanged(
int index );
66 void mAddCategoryPushButton_clicked();
67 void mAttributesTreeWidget_itemDoubleClicked( QTreeWidgetItem *item,
int column );
68 void mFindMaximumValueButton_clicked();
69 void mRemoveCategoryPushButton_clicked();
70 void mDiagramAttributesTreeWidget_itemDoubleClicked( QTreeWidgetItem *item,
int column );
71 void mEngineSettingsButton_clicked();
72 void showAddAttributeExpressionDialog();
73 void mDiagramStackedWidget_currentChanged(
int index );
74 void updatePlacementWidgets();
75 void scalingTypeChanged();
76 void showSizeLegendDialog();
80 void updateProperty();
83 void createAuxiliaryField();
89 QButtonGroup *mPlacePointBtnGrp =
nullptr;
91 QButtonGroup *mPlaceLineBtnGrp =
nullptr;
93 QButtonGroup *mPlacePolygonBtnGrp =
nullptr;
95 std::unique_ptr< QgsPaintEffect> mPaintEffect;
99 ColumnAttributeExpression = 0,
106 RoleAttributeExpression = Qt::UserRole,
109 QString showExpressionBuilder(
const QString &initialExpression );
114 QString mDiagramType;
115 std::unique_ptr< QgsDataDefinedSizeLegend > mSizeLegend;
117 QString guessLegendText(
const QString &expression );
Property
Data definable properties.
void auxiliaryFieldCreated()
Abstract interface for generating an expression context.
virtual QgsExpressionContext createExpressionContext() const =0
This method needs to be reimplemented in all classes which implement this interface and return an exp...
Expression contexts are used to encapsulate the parameters around which a QgsExpression should be eva...
Map canvas is a class for displaying all GIS data types on a canvas.
A grouped map of multiple QgsProperty objects, each referenced by a integer key value.
Represents a vector layer which manages a vector based data sets.