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

#include <qgslayoutguidewidget.h>

Inheritance diagram for QgsLayoutGuidePositionDelegate:
Inheritance graph

Public Member Functions

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

This class is not a part of public API
QGIS 3.12

Definition at line 84 of file qgslayoutguidewidget.h.

Constructor & Destructor Documentation

◆ QgsLayoutGuidePositionDelegate()

QgsLayoutGuidePositionDelegate::QgsLayoutGuidePositionDelegate ( QObject *  parent)


Definition at line 168 of file qgslayoutguidewidget.cpp.

Member Function Documentation

◆ createEditor()

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

Definition at line 174 of file qgslayoutguidewidget.cpp.

◆ setModelData()

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

Definition at line 189 of file qgslayoutguidewidget.cpp.

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