QGIS API Documentation 3.39.0-Master (e8f1b343c48)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QgsLayoutColumnSortOrderDelegate Class Reference

A delegate for showing column sort order as a combo box. More...

#include <qgslayoutattributeselectiondialog.h>

Inheritance diagram for QgsLayoutColumnSortOrderDelegate:
Inheritance graph
[legend]

Public Member Functions

 QgsLayoutColumnSortOrderDelegate (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 sort order as a combo box.

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

Definition at line 266 of file qgslayoutattributeselectiondialog.h.

Constructor & Destructor Documentation

◆ QgsLayoutColumnSortOrderDelegate()

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

constructor

Definition at line 486 of file qgslayoutattributeselectiondialog.cpp.

Member Function Documentation

◆ createEditor()

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

Definition at line 491 of file qgslayoutattributeselectiondialog.cpp.

◆ setEditorData()

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

Definition at line 503 of file qgslayoutattributeselectiondialog.cpp.

◆ setModelData()

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

Definition at line 521 of file qgslayoutattributeselectiondialog.cpp.

◆ updateEditorGeometry()

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

Definition at line 540 of file qgslayoutattributeselectiondialog.cpp.


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