QGIS API Documentation 3.41.0-Master (57ec4277f5e)
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 184 of file qgsmeshdatasetgrouptreeview.h.

Constructor & Destructor Documentation

◆ QgsMeshDatasetGroupTreeItemDelegate()

QgsMeshDatasetGroupTreeItemDelegate::QgsMeshDatasetGroupTreeItemDelegate ( QObject *  parent = nullptr)

Definition at line 335 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 361 of file qgsmeshdatasetgrouptreeview.cpp.

◆ paint()

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

Definition at line 344 of file qgsmeshdatasetgrouptreeview.cpp.

◆ sizeHint()

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

Definition at line 374 of file qgsmeshdatasetgrouptreeview.cpp.


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