QGIS API Documentation  3.0.2-Girona (307d082)
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 203 of file qgsmetadatawidget.h.

Constructor & Destructor Documentation

◆ ConstraintItemDelegate()

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

ConstraintItemDelegate constructor.

Parameters
parent

Definition at line 994 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 1000 of file qgsmetadatawidget.cpp.


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