Falkon Develop
Cross-platform Qt-based web browser
TabTreeDelegate Class Reference

#include <tabtreedelegate.h>

Inheritance diagram for TabTreeDelegate:

Public Member Functions

 TabTreeDelegate (TabTreeView *view)
 
QRect expandButtonRect (const QModelIndex &index) const
 
QRect audioButtonRect (const QModelIndex &index) const
 
QRect closeButtonRect (const QModelIndex &index) const
 
void paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override
 
QSize sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const override
 

Detailed Description

Definition at line 57 of file tabtreedelegate.h.

Constructor & Destructor Documentation

◆ TabTreeDelegate()

TabTreeDelegate::TabTreeDelegate ( TabTreeView view)
explicit

Definition at line 87 of file tabtreedelegate.cpp.

Member Function Documentation

◆ audioButtonRect()

QRect TabTreeDelegate::audioButtonRect ( const QModelIndex &  index) const

Definition at line 123 of file tabtreedelegate.cpp.

◆ closeButtonRect()

QRect TabTreeDelegate::closeButtonRect ( const QModelIndex &  index) const

Definition at line 134 of file tabtreedelegate.cpp.

◆ expandButtonRect()

QRect TabTreeDelegate::expandButtonRect ( const QModelIndex &  index) const

Definition at line 116 of file tabtreedelegate.cpp.

◆ paint()

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

Definition at line 143 of file tabtreedelegate.cpp.

◆ sizeHint()

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

Definition at line 249 of file tabtreedelegate.cpp.


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