libkdegames
KgThemeDelegate Class Reference
#include <kgthemeselector_p.h>
Inheritance diagram for KgThemeDelegate:
Public Types | |
enum | Roles { DescriptionRole = Qt::UserRole, AuthorRole, AuthorEmailRole, IdRole } |
Public Member Functions | |
KgThemeDelegate (QObject *parent=0) | |
virtual void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const |
virtual QSize | sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const |
QRect | thumbnailRect (const QRect &baseRect) const |
Detailed Description
Definition at line 26 of file kgthemeselector_p.h.
Member Enumeration Documentation
Enumerator | |
---|---|
DescriptionRole | |
AuthorRole | |
AuthorEmailRole | |
IdRole |
Definition at line 29 of file kgthemeselector_p.h.
Constructor & Destructor Documentation
KgThemeDelegate::KgThemeDelegate | ( | QObject * | parent = 0 | ) |
Definition at line 225 of file kgthemeselector.cpp.
Member Function Documentation
|
virtual |
Definition at line 242 of file kgthemeselector.cpp.
|
virtual |
- Note
- The implementation is independent of option and index.
Definition at line 319 of file kgthemeselector.cpp.
QRect KgThemeDelegate::thumbnailRect | ( | const QRect & | baseRect | ) | const |
Definition at line 233 of file kgthemeselector.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:44:35 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:44:35 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.