QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QgsMeshDatasetGroupTreeItemDelegate Class Reference

Delegate to display tree item with a contours and vector selector. More...

#include <qgsmeshdatasetgrouptreeview.h>

Inheritance diagram for QgsMeshDatasetGroupTreeItemDelegate:
Inheritance graph
[legend]

Public Member Functions

 QgsMeshDatasetGroupTreeItemDelegate (QObject *parent=nullptr)
 
QRect iconRect (const QRect &rect, bool isVector) const
 Icon rectangle for given item rectangle.
 
void paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override
 
QSize sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const override
 

Detailed Description

Delegate to display tree item with a contours and vector selector.

Definition at line 186 of file qgsmeshdatasetgrouptreeview.h.

Constructor & Destructor Documentation

◆ QgsMeshDatasetGroupTreeItemDelegate()

QgsMeshDatasetGroupTreeItemDelegate::QgsMeshDatasetGroupTreeItemDelegate ( QObject *  parent = nullptr)

Definition at line 337 of file qgsmeshdatasetgrouptreeview.cpp.

Member Function Documentation

◆ iconRect()

QRect QgsMeshDatasetGroupTreeItemDelegate::iconRect ( const QRect &  rect,
bool  isVector 
) const

Icon rectangle for given item rectangle.

Definition at line 363 of file qgsmeshdatasetgrouptreeview.cpp.

◆ paint()

void QgsMeshDatasetGroupTreeItemDelegate::paint ( QPainter *  painter,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
override

Definition at line 346 of file qgsmeshdatasetgrouptreeview.cpp.

◆ sizeHint()

QSize QgsMeshDatasetGroupTreeItemDelegate::sizeHint ( const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
override

Definition at line 376 of file qgsmeshdatasetgrouptreeview.cpp.


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