QGIS API Documentation  3.24.2-Tisler (13c1a02865)
Public Member Functions | List of all members
QgsLayoutColumnWidthDelegate Class Reference

A delegate for showing column width as a spin box. More...

#include <qgslayoutattributeselectiondialog.h>

Inheritance diagram for QgsLayoutColumnWidthDelegate:
Inheritance graph
[legend]

Public Member Functions

 QgsLayoutColumnWidthDelegate (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 width as a spin box.

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

Definition at line 237 of file qgslayoutattributeselectiondialog.h.

Constructor & Destructor Documentation

◆ QgsLayoutColumnWidthDelegate()

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

constructor

Definition at line 549 of file qgslayoutattributeselectiondialog.cpp.

Member Function Documentation

◆ createEditor()

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

Definition at line 555 of file qgslayoutattributeselectiondialog.cpp.

◆ setEditorData()

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

Definition at line 569 of file qgslayoutattributeselectiondialog.cpp.

◆ setModelData()

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

Definition at line 577 of file qgslayoutattributeselectiondialog.cpp.

◆ updateEditorGeometry()

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

Definition at line 586 of file qgslayoutattributeselectiondialog.cpp.


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