18#ifndef QGSSTACKEDDIAGRAMPROPERTIES_H
19#define QGSSTACKEDDIAGRAMPROPERTIES_H
26#include "ui_qgsstackeddiagrampropertiesbase.h"
30#include <QDialogButtonBox>
53 Qt::ItemFlags flags(
const QModelIndex &index )
const override;
54 QVariant data(
const QModelIndex &index,
int role = Qt::DisplayRole )
const override;
55 QVariant headerData(
int section, Qt::Orientation orientation,
56 int role = Qt::DisplayRole )
const override;
57 int rowCount(
const QModelIndex & = QModelIndex() )
const override;
58 int columnCount(
const QModelIndex & = QModelIndex() )
const override;
61 bool setData(
const QModelIndex &index,
const QVariant &value,
int role = Qt::EditRole )
override;
62 bool removeRows(
int row,
int count,
const QModelIndex &parent = QModelIndex() )
override;
75 QList< QgsDiagramRenderer *> subRenderers()
const;
120 void addSubDiagram();
130 void editSubDiagram();
135 void editSubDiagram(
const QModelIndex &index );
140 void removeSubDiagram();
154 bool couldBeFirstSubDiagram(
const QModelIndex &index )
const;
158 void liveUpdateSubDiagramFromPanel();
209 void setAllowedToEditDiagramLayerSettings(
bool allowed )
const;
214 bool isAllowedToEditDiagramLayerSettings()
const;
221 void accept()
override;
228 std::unique_ptr< QgsDiagramRenderer > mRenderer;
230 QDialogButtonBox *buttonBox =
nullptr;
Stores the settings for rendering of all diagrams for a layer.
Evaluates and returns the diagram settings relating to a diagram for a specific feature.
Map canvas is a class for displaying all GIS data types on a canvas.
Dialog for editing sub diagrams.
Model for sub diagrams in a stacked diagram view.
QList< QgsDiagramRenderer * > mRenderers
QgsDiagramLayerSettings mDiagramLayerSettings
void auxiliaryFieldCreated()
Represents a vector layer which manages a vector based data sets.