KNewStuff
KNS::ItemsViewDelegate Class Reference
#include <itemsviewdelegate.h>
Inheritance diagram for KNS::ItemsViewDelegate:

Signals | |
| void | performAction (DownloadDialog::EntryAction action, KNS::Entry *entry) |
Public Member Functions | |
| ItemsViewDelegate (QAbstractItemView *itemView, QObject *parent=0) | |
| ~ItemsViewDelegate () | |
| virtual QList< QWidget * > | createItemWidgets () const |
| virtual void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const |
| virtual QSize | sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const |
| virtual void | updateItemWidgets (const QList< QWidget * > widgets, const QStyleOptionViewItem &option, const QPersistentModelIndex &index) const |
Detailed Description
Definition at line 39 of file knewstuff2/ui/itemsviewdelegate.h.
Constructor & Destructor Documentation
| KNS::ItemsViewDelegate::ItemsViewDelegate | ( | QAbstractItemView * | itemView, |
| QObject * | parent = 0 |
||
| ) | [explicit] |
Definition at line 38 of file knewstuff2/ui/itemsviewdelegate.cpp.
| KNS::ItemsViewDelegate::~ItemsViewDelegate | ( | ) |
Definition at line 57 of file knewstuff2/ui/itemsviewdelegate.cpp.
Member Function Documentation
| QList< QWidget * > KNS::ItemsViewDelegate::createItemWidgets | ( | ) | const [virtual] |
Implements KWidgetItemDelegate.
Definition at line 75 of file knewstuff2/ui/itemsviewdelegate.cpp.
| void KNS::ItemsViewDelegate::paint | ( | QPainter * | painter, |
| const QStyleOptionViewItem & | option, | ||
| const QModelIndex & | index | ||
| ) | const [virtual] |
Definition at line 229 of file knewstuff2/ui/itemsviewdelegate.cpp.
| void KNS::ItemsViewDelegate::performAction | ( | DownloadDialog::EntryAction | action, |
| KNS::Entry * | entry | ||
| ) | [signal] |
| QSize KNS::ItemsViewDelegate::sizeHint | ( | const QStyleOptionViewItem & | option, |
| const QModelIndex & | index | ||
| ) | const [virtual] |
Definition at line 281 of file knewstuff2/ui/itemsviewdelegate.cpp.
| void KNS::ItemsViewDelegate::updateItemWidgets | ( | const QList< QWidget * > | widgets, |
| const QStyleOptionViewItem & | option, | ||
| const QPersistentModelIndex & | index | ||
| ) | const [virtual] |
- Todo:
- Set different button text when string freeze is over? "Install again"
Implements KWidgetItemDelegate.
Definition at line 96 of file knewstuff2/ui/itemsviewdelegate.cpp.
The documentation for this class was generated from the following files:
KDE 4.6 API Reference