kget
TransfersViewDelegate Class Reference
#include <transfersviewdelegate.h>
Inheritance diagram for TransfersViewDelegate:

Public Member Functions | |
TransfersViewDelegate (QAbstractItemView *parent) | |
void | drawFocus (QPainter *painter, const QStyleOptionViewItem &option, const QRect &rect) const |
bool | editorEvent (QEvent *event, QAbstractItemModel *model, const QStyleOptionViewItem &option, const QModelIndex &index) |
void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const |
QSize | sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const |
![]() | |
BasicTransfersViewDelegate (QAbstractItemView *parent) | |
virtual QWidget * | createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const |
virtual void | setEditorData (QWidget *editor, const QModelIndex &index) const |
virtual void | setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const |
Detailed Description
Definition at line 96 of file transfersviewdelegate.h.
Constructor & Destructor Documentation
TransfersViewDelegate::TransfersViewDelegate | ( | QAbstractItemView * | parent | ) |
Definition at line 316 of file transfersviewdelegate.cpp.
Member Function Documentation
void TransfersViewDelegate::drawFocus | ( | QPainter * | painter, |
const QStyleOptionViewItem & | option, | ||
const QRect & | rect | ||
) | const |
Definition at line 416 of file transfersviewdelegate.cpp.
bool TransfersViewDelegate::editorEvent | ( | QEvent * | event, |
QAbstractItemModel * | model, | ||
const QStyleOptionViewItem & | option, | ||
const QModelIndex & | index | ||
) |
Definition at line 447 of file transfersviewdelegate.cpp.
void TransfersViewDelegate::paint | ( | QPainter * | painter, |
const QStyleOptionViewItem & | option, | ||
const QModelIndex & | index | ||
) | const |
These lines are just for testing purposes. Uncomment them to show on the view the repaint events.
Definition at line 324 of file transfersviewdelegate.cpp.
QSize TransfersViewDelegate::sizeHint | ( | const QStyleOptionViewItem & | option, |
const QModelIndex & | index | ||
) | const |
Definition at line 424 of file transfersviewdelegate.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:53:18 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:53:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.