QGIS API Documentation  3.17.0-Master (a84647cf30)
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 550 of file qgslayoutattributeselectiondialog.cpp.

Member Function Documentation

◆ createEditor()

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

Definition at line 556 of file qgslayoutattributeselectiondialog.cpp.

◆ setEditorData()

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

Definition at line 570 of file qgslayoutattributeselectiondialog.cpp.

◆ setModelData()

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

Definition at line 578 of file qgslayoutattributeselectiondialog.cpp.

◆ updateEditorGeometry()

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

Definition at line 587 of file qgslayoutattributeselectiondialog.cpp.


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