GroupListWidget Pile   version 0.0.1
The pile attempts to provide a widget that is capable of presenting
GroupListDelegate Class Reference

Allows user to customize parts of the GroupModel. More...

#include <grouplistdelegate.h>

+ Inheritance diagram for GroupListDelegate:

Public Types

enum  Layout { LayInvalid = -1, LayIcon, LayList, Laymax }
 

Public Member Functions

 GroupListDelegate (QObject *parent=NULL)
 Constructor.
 
virtual ~GroupListDelegate ()
 Destructor.
 
virtual void reinit (GroupListWidget *lwidget, GroupModel *umodel)
 compute cached values
 
QSize gridCell () const
 Get the size of the cell.
 

Protected Member Functions

void paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
 
QSize sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const
 

Detailed Description

Allows user to customize parts of the GroupModel.

Member Enumeration Documentation

Enumerator
LayIcon 

Icon at the top, text at the bottom

LayList 

Icon at left side, text at right


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