16 #ifndef QGSDATADEFINEDSIZELEGENDWIDGET_H 
   17 #define QGSDATADEFINEDSIZELEGENDWIDGET_H 
   23 #include "ui_qgsdatadefinedsizelegendwidget.h" 
   28 #include <QStyledItemDelegate> 
   30 class QStandardItemModel;
 
   70     void removeSizeClass();
 
   71     void onSizeClassesChanged();
 
   74     std::unique_ptr<QgsMarkerSymbol> mSourceSymbol;   
 
   75     bool mOverrideSymbol = 
false;  
 
   82     QStandardItemModel *mSizeClassesModel = 
nullptr;
 
   89 class SizeClassDelegate : 
public QStyledItemDelegate
 
   94     SizeClassDelegate( QObject *parent )
 
   95       : QStyledItemDelegate( parent )
 
   99     QWidget *createEditor( QWidget *parent, 
const QStyleOptionViewItem &, 
const QModelIndex & )
 const override 
  101       QLineEdit *lineEdit = 
new QLineEdit( parent );
 
  103       lineEdit->setValidator( validator );
 
Object that keeps configuration of appearance of marker symbol's data-defined size in legend.
 
QgsDoubleValidator is a QLineEdit Validator that combines QDoubleValidator and QRegularExpressionVali...
 
Layer tree node points to a map layer.
 
The QgsLayerTreeModel class is model implementation for Qt item views framework.
 
Namespace with helper functions for layer tree operations.
 
Map canvas is a class for displaying all GIS data types on a canvas.
 
A marker symbol type, for rendering Point and MultiPoint geometries.
 
A store for object properties.
 
Represents a vector layer which manages a vector based data sets.