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

View delegate displaying a QgsDoubleSpinBox for the layout guide position. More...

#include <qgslayoutguidewidget.h>

Inheritance diagram for QgsLayoutGuidePositionDelegate:
Inheritance graph
[legend]

Public Member Functions

 QgsLayoutGuidePositionDelegate (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 QgsDoubleSpinBox for the layout guide position.

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

Definition at line 84 of file qgslayoutguidewidget.h.

Constructor & Destructor Documentation

◆ QgsLayoutGuidePositionDelegate()

QgsLayoutGuidePositionDelegate::QgsLayoutGuidePositionDelegate ( QObject *  parent)

constructor

Definition at line 169 of file qgslayoutguidewidget.cpp.

Member Function Documentation

◆ createEditor()

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

Definition at line 175 of file qgslayoutguidewidget.cpp.

◆ setModelData()

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

Definition at line 190 of file qgslayoutguidewidget.cpp.


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