|
QGIS API Documentation 3.99.0-Master (2fe06baccd8)
|
A delegate for showing column attribute source as a QgsFieldExpressionWidget. More...
#include <qgslayoutattributeselectiondialog.h>

Public Member Functions | |
| QgsLayoutColumnSourceDelegate (QgsVectorLayer *vlayer, QObject *parent=nullptr, const QgsLayoutObject *layoutObject=nullptr, bool forceExpressions=false) | |
| Constructor for QgsLayoutColumnSourceDelegate. | |
| QWidget * | createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const override |
| void | setEditorData (QWidget *editor, const QModelIndex &index) const override |
| void | setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const override |
| void | updateEditorGeometry (QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const override |
| Public Member Functions inherited from QgsExpressionContextGenerator | |
| virtual | ~QgsExpressionContextGenerator ()=default |
A delegate for showing column attribute source as a QgsFieldExpressionWidget.
Definition at line 209 of file qgslayoutattributeselectiondialog.h.
| QgsLayoutColumnSourceDelegate::QgsLayoutColumnSourceDelegate | ( | QgsVectorLayer * | vlayer, |
| QObject * | parent = nullptr, | ||
| const QgsLayoutObject * | layoutObject = nullptr, | ||
| bool | forceExpressions = false ) |
Constructor for QgsLayoutColumnSourceDelegate.
If forceExpressionValues is true then the values generated by the delegate will always be complete QGIS expressions, i.e. field references will be quoted accordingly.
Definition at line 417 of file qgslayoutattributeselectiondialog.cpp.
|
override |
Definition at line 438 of file qgslayoutattributeselectiondialog.cpp.
|
override |
Definition at line 452 of file qgslayoutattributeselectiondialog.cpp.
|
override |
Definition at line 461 of file qgslayoutattributeselectiondialog.cpp.
|
override |
Definition at line 469 of file qgslayoutattributeselectiondialog.cpp.