QGIS API Documentation 3.41.0-Master (57ec4277f5e)
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
QgsLayoutGuideUnitDelegate Class Reference

View delegate displaying a QgsLayoutUnitsComboBox for the layout guide unit. More...

#include <qgslayoutguidewidget.h>

Inheritance diagram for QgsLayoutGuideUnitDelegate:
Inheritance graph
[legend]

Public Member Functions

 QgsLayoutGuideUnitDelegate (QObject *parent)
 constructor
 

Protected Member Functions

QWidget * createEditor (QWidget *parent, const QStyleOptionViewItem &, const QModelIndex &index) const override
 
void setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const override
 

Detailed Description

View delegate displaying a QgsLayoutUnitsComboBox for the layout guide unit.

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

Definition at line 102 of file qgslayoutguidewidget.h.

Constructor & Destructor Documentation

◆ QgsLayoutGuideUnitDelegate()

QgsLayoutGuideUnitDelegate::QgsLayoutGuideUnitDelegate ( QObject *  parent)

constructor

Definition at line 193 of file qgslayoutguidewidget.cpp.

Member Function Documentation

◆ createEditor()

QWidget * QgsLayoutGuideUnitDelegate::createEditor ( QWidget *  parent,
const QStyleOptionViewItem &  ,
const QModelIndex &  index 
) const
overrideprotected

Definition at line 198 of file qgslayoutguidewidget.cpp.

◆ setModelData()

void QgsLayoutGuideUnitDelegate::setModelData ( QWidget *  editor,
QAbstractItemModel *  model,
const QModelIndex &  index 
) const
overrideprotected

Definition at line 208 of file qgslayoutguidewidget.cpp.


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