15#ifndef QGSSYMBOLLEVELSDIALOG_H
16#define QGSSYMBOLLEVELSDIALOG_H
21#include <QItemDelegate>
27#include "ui_qgssymbollevelsdialogbase.h"
53 bool usingLevels()
const;
66 void setForceOrderingEnabled(
bool enabled );
80 void renderingPassChanged(
int row,
int column );
84 void setDefaultLevels();
93 bool mForceOrderingEnabled =
false;
111 void setForceOrderingEnabled(
bool enabled );
118 bool usingLevels()
const;
139class SpinBoxDelegate :
public QItemDelegate
144 explicit SpinBoxDelegate( QObject *parent =
nullptr )
145 : QItemDelegate( parent ) {}
147 QWidget *createEditor( QWidget *parent,
const QStyleOptionViewItem & ,
const QModelIndex & )
const override;
149 void setEditorData( QWidget *editor,
const QModelIndex &index )
const override;
151 void setModelData( QWidget *editor, QAbstractItemModel *model,
const QModelIndex &index )
const override;
153 void updateEditorGeometry( QWidget *editor,
const QStyleOptionViewItem &option,
const QModelIndex & )
const override;
Abstract base class for all 2D vector feature renderers.
A dialog which allows the user to modify the rendering order of symbol layers.
QList< QgsLegendSymbolItem > QgsLegendSymbolList