KDEUI
KCategoryDrawer Class Reference
#include <kcategorydrawer.h>
Detailed Description
Definition at line 30 of file kcategorydrawer.h.
Public Member Functions | |
virtual int | categoryHeight (const QModelIndex &index, const QStyleOption &option) const |
virtual void | drawCategory (const QModelIndex &index, int sortRole, const QStyleOption &option, QPainter *painter) const |
KCategoryDrawer () | |
virtual | ~KCategoryDrawer () |
Constructor & Destructor Documentation
KCategoryDrawer::KCategoryDrawer | ( | ) |
Definition at line 32 of file kcategorydrawer.cpp.
KCategoryDrawer::~KCategoryDrawer | ( | ) | [virtual] |
Definition at line 36 of file kcategorydrawer.cpp.
Member Function Documentation
int KCategoryDrawer::categoryHeight | ( | const QModelIndex & | index, | |
const QStyleOption & | option | |||
) | const [virtual] |
Definition at line 99 of file kcategorydrawer.cpp.
void KCategoryDrawer::drawCategory | ( | const QModelIndex & | index, | |
int | sortRole, | |||
const QStyleOption & | option, | |||
QPainter * | painter | |||
) | const [virtual] |
This method purpose is to draw a category represented by the given.
- Parameters:
-
index with the given sortRole sorting role
- Note:
- This method will be called one time per category, always with the first element in that category
Definition at line 40 of file kcategorydrawer.cpp.
The documentation for this class was generated from the following files: