QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
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 336 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 362 of file qgsmeshdatasetgrouptreeview.cpp.

◆ paint()

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

Definition at line 345 of file qgsmeshdatasetgrouptreeview.cpp.

◆ sizeHint()

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

Definition at line 375 of file qgsmeshdatasetgrouptreeview.cpp.


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