18 #ifndef QGSDIAGRAMPROPERTIES_H
19 #define QGSDIAGRAMPROPERTIES_H
24 #include "ui_qgsdiagrampropertiesbase.h"
31 #include <QStyledItemDelegate>
57 void addAttribute( QTreeWidgetItem *item );
61 void auxiliaryFieldCreated();
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 );
128 #endif // QGSDIAGRAMPROPERTIES_H