QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
Loading...
Searching...
No Matches
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.
 
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

◆ QgsMeshDatasetGroupTreeItemDelagate()

QgsMeshDatasetGroupTreeItemDelagate::QgsMeshDatasetGroupTreeItemDelagate ( QObject *  parent = nullptr)

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

◆ paint()

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

Definition at line 345 of file qgsmeshdatasetgrouptreeview.cpp.

◆ sizeHint()

QSize QgsMeshDatasetGroupTreeItemDelagate::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: