QGIS API Documentation  3.10.0-A Coruña (6c816b4204)
Public Member Functions | List of all members
ConstraintItemDelegate Class Reference

Special delegate for the constraint view in the metadata wizard. More...

#include <qgsmetadatawidget.h>

Inheritance diagram for ConstraintItemDelegate:
Inheritance graph
[legend]

Public Member Functions

 ConstraintItemDelegate (QObject *parent=nullptr)
 ConstraintItemDelegate constructor. More...
 
QWidget * createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const override
 Create a special editor with a QCombobox in the constraint view. More...
 

Detailed Description

Special delegate for the constraint view in the metadata wizard.

Since
QGIS 3.0

Definition at line 274 of file qgsmetadatawidget.h.

Constructor & Destructor Documentation

◆ ConstraintItemDelegate()

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

ConstraintItemDelegate constructor.

Parameters
parent

Definition at line 1139 of file qgsmetadatawidget.cpp.

Member Function Documentation

◆ createEditor()

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

Create a special editor with a QCombobox in the constraint view.

Definition at line 1145 of file qgsmetadatawidget.cpp.


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