74 void addAttribute( QTreeWidgetItem *item );
87 void setDiagramType(
const QString diagramType );
97 void setAllowedToEditDiagramLayerSettings(
bool allowed );
102 bool isAllowedToEditDiagramLayerSettings()
const;
110 void mDiagramTypeComboBox_currentIndexChanged(
int index );
111 void mAddCategoryPushButton_clicked();
112 void mAttributesTreeWidget_itemDoubleClicked( QTreeWidgetItem *item,
int column );
113 void mFindMaximumValueButton_clicked();
114 void mRemoveCategoryPushButton_clicked();
115 void mDiagramAttributesTreeWidget_itemDoubleClicked( QTreeWidgetItem *item,
int column );
116 void showAddAttributeExpressionDialog();
117 void mDiagramStackedWidget_currentChanged(
int index );
118 void updatePlacementWidgets();
119 void scalingTypeChanged();
120 void showSizeLegendDialog();
124 void updateProperty();
127 void createAuxiliaryField();
133 QButtonGroup *mPlacePointBtnGrp =
nullptr;
135 QButtonGroup *mPlaceLineBtnGrp =
nullptr;
137 QButtonGroup *mPlacePolygonBtnGrp =
nullptr;
139 std::unique_ptr< QgsPaintEffect> mPaintEffect;
143 ColumnAttributeExpression = 0,
150 RoleAttributeExpression = Qt::UserRole,
153 QString showExpressionBuilder(
const QString &initialExpression );
158 QString mDiagramType;
159 std::unique_ptr< QgsDataDefinedSizeLegend > mSizeLegend;
161 QString guessLegendText(
const QString &expression );
166 bool mAllowedToEditDls =
true;
175 void connectValueChanged(
const QList<QWidget *> &widgets );
182 std::unique_ptr< QgsDiagram > createDiagramObject();
189 std::unique_ptr<QgsDiagramSettings> createDiagramSettings();
196 std::unique_ptr<QgsDiagramRenderer> createRenderer();
208 void insertDefaults();
218 void setDiagramEnabled(
const bool enabled );
228 bool isDiagramEnabled()
const;
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...