QGIS API Documentation  3.24.2-Tisler (13c1a02865)
Public Member Functions | List of all members
QgsMeshDatasetGroupTreeItemDelagate Class Reference

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

#include <qgsmeshdatasetgrouptreeview.h>

Inheritance diagram for QgsMeshDatasetGroupTreeItemDelagate:
Inheritance graph
[legend]

Public Member Functions

 QgsMeshDatasetGroupTreeItemDelagate (QObject *parent=nullptr)
 
QRect iconRect (const QRect &rect, bool isVector) const
 Icon rectangle for given item rectangle. More...
 
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

◆ QgsMeshDatasetGroupTreeItemDelagate()

QgsMeshDatasetGroupTreeItemDelagate::QgsMeshDatasetGroupTreeItemDelagate ( QObject *  parent = nullptr)

Definition at line 341 of file qgsmeshdatasetgrouptreeview.cpp.

Member Function Documentation

◆ iconRect()

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

Icon rectangle for given item rectangle.

Definition at line 367 of file qgsmeshdatasetgrouptreeview.cpp.

◆ paint()

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

Definition at line 350 of file qgsmeshdatasetgrouptreeview.cpp.

◆ sizeHint()

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

Definition at line 380 of file qgsmeshdatasetgrouptreeview.cpp.


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