QGIS API Documentation  3.14.0-Pi (9f7028fd23)
Public Member Functions | Protected Member Functions | List of all members
QgsLayoutGuideUnitDelegate Class Reference

#include <qgslayoutguidewidget.h>

Inheritance diagram for QgsLayoutGuideUnitDelegate:
Inheritance graph

Public Member Functions

 QgsLayoutGuideUnitDelegate (QObject *parent)
 constructor More...

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

This class is not a part of public API
QGIS 3.12

Definition at line 106 of file qgslayoutguidewidget.h.

Constructor & Destructor Documentation

◆ QgsLayoutGuideUnitDelegate()

QgsLayoutGuideUnitDelegate::QgsLayoutGuideUnitDelegate ( QObject *  parent)


Definition at line 195 of file qgslayoutguidewidget.cpp.

Member Function Documentation

◆ createEditor()

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

Definition at line 200 of file qgslayoutguidewidget.cpp.

◆ setModelData()

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

Definition at line 211 of file qgslayoutguidewidget.cpp.

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