QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
Loading...
Searching...
No Matches
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
 
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 552 of file qgslayoutattributeselectiondialog.cpp.

Member Function Documentation

◆ createEditor()

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

Definition at line 558 of file qgslayoutattributeselectiondialog.cpp.

◆ setEditorData()

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

Definition at line 572 of file qgslayoutattributeselectiondialog.cpp.

◆ setModelData()

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

Definition at line 580 of file qgslayoutattributeselectiondialog.cpp.

◆ updateEditorGeometry()

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

Definition at line 589 of file qgslayoutattributeselectiondialog.cpp.


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