Sayonara Player
Public Member Functions | List of all members
Gui::StyledItemDelegate Class Reference

The StyledItemDelegate class assures a certain height of rows in a table and tree view. More...

#include <StyledItemDelegate.h>

Inheritance diagram for Gui::StyledItemDelegate:
Library::RatingDelegate Playlist::Delegate SomaFMStationDelegate

Public Member Functions

 StyledItemDelegate (int decorationColumn, QObject *parent=nullptr)
 
 StyledItemDelegate (QObject *parent=nullptr)
 
QSize sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const override
 
virtual void paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override
 

Detailed Description

The StyledItemDelegate class assures a certain height of rows in a table and tree view.