QGIS API Documentation 3.30.0-'s-Hertogenbosch (f186b8efe0)
Public Member Functions | List of all members
QgsLayoutColumnAlignmentDelegate Class Reference

A delegate for showing column alignment as a combo box. More...

#include <qgslayoutattributeselectiondialog.h>

Inheritance diagram for QgsLayoutColumnAlignmentDelegate:
Inheritance graph
[legend]

Public Member Functions

 QgsLayoutColumnAlignmentDelegate (QObject *parent=nullptr)
 constructor More...
 
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
 

Detailed Description

A delegate for showing column alignment as a combo box.

Note
This class is not a part of public API
Since
QGIS 3.12

Definition at line 191 of file qgslayoutattributeselectiondialog.h.

Constructor & Destructor Documentation

◆ QgsLayoutColumnAlignmentDelegate()

QgsLayoutColumnAlignmentDelegate::QgsLayoutColumnAlignmentDelegate ( QObject *  parent = nullptr)
explicit

constructor

Definition at line 364 of file qgslayoutattributeselectiondialog.cpp.

Member Function Documentation

◆ createEditor()

QWidget * QgsLayoutColumnAlignmentDelegate::createEditor ( QWidget *  parent,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
override

Definition at line 369 of file qgslayoutattributeselectiondialog.cpp.

◆ setEditorData()

void QgsLayoutColumnAlignmentDelegate::setEditorData ( QWidget *  editor,
const QModelIndex &  index 
) const
override

Definition at line 393 of file qgslayoutattributeselectiondialog.cpp.

◆ setModelData()

void QgsLayoutColumnAlignmentDelegate::setModelData ( QWidget *  editor,
QAbstractItemModel *  model,
const QModelIndex &  index 
) const
override

Definition at line 402 of file qgslayoutattributeselectiondialog.cpp.

◆ updateEditorGeometry()

void QgsLayoutColumnAlignmentDelegate::updateEditorGeometry ( QWidget *  editor,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
override

Definition at line 409 of file qgslayoutattributeselectiondialog.cpp.


The documentation for this class was generated from the following files: