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();
132 QButtonGroup *mPlacePointBtnGrp =
nullptr;
134 QButtonGroup *mPlaceLineBtnGrp =
nullptr;
136 QButtonGroup *mPlacePolygonBtnGrp =
nullptr;
138 std::unique_ptr<QgsPaintEffect> mPaintEffect;
142 ColumnAttributeExpression = 0,
149 RoleAttributeExpression = Qt::UserRole,
152 QString showExpressionBuilder(
const QString &initialExpression );
157 QString mDiagramType;
158 std::unique_ptr<QgsDataDefinedSizeLegend> mSizeLegend;
160 QString guessLegendText(
const QString &expression );
165 bool mAllowedToEditDls =
true;
174 void connectValueChanged(
const QList<QWidget *> &widgets );
181 std::unique_ptr<QgsDiagram> createDiagramObject();
188 std::unique_ptr<QgsDiagramSettings> createDiagramSettings();
195 std::unique_ptr<QgsDiagramRenderer> createRenderer();
207 void insertDefaults();
217 void setDiagramEnabled(
const bool enabled );
227 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...