QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
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 245 of file qgslayoutattributeselectiondialog.h.

Constructor & Destructor Documentation

◆ QgsLayoutColumnWidthDelegate()

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

constructor

Definition at line 551 of file qgslayoutattributeselectiondialog.cpp.

Member Function Documentation

◆ createEditor()

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

Definition at line 557 of file qgslayoutattributeselectiondialog.cpp.

◆ setEditorData()

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

Definition at line 571 of file qgslayoutattributeselectiondialog.cpp.

◆ setModelData()

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

Definition at line 579 of file qgslayoutattributeselectiondialog.cpp.

◆ updateEditorGeometry()

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

Definition at line 588 of file qgslayoutattributeselectiondialog.cpp.


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