![]() |
KVIrc
4.9.2
DeveloperAPIs
|
#include <FileTransferWindow.h>
Inheritance diagram for FileTransferItemDelegate:Public Member Functions | |
| FileTransferItemDelegate (QAbstractItemView *pWidget=0) | |
| void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const |
| QSize | sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const |
| ~FileTransferItemDelegate () | |
Public Member Functions inherited from KviTalIconAndRichTextItemDelegate | |
| KviTalIconAndRichTextItemDelegate (QAbstractItemView *pWidget=0) | |
| Constructs the icon and rich text item delegate object. More... | |
| void | paint (QPainter *pPainter, const QStyleOptionViewItem &option, const QModelIndex &index) const |
| Paints the view. More... | |
| void | setDefaultIcon (QPixmap *pPix) |
| Sets the default icon. More... | |
| void | setDefaultIcon (const QPixmap &oPix) |
| void | setIconSize (const QSize &s) |
| Set the size of the icons. Should be set in the view constructor. More... | |
| void | setMinimumSize (const QSize &s) |
| Set the absolute minimum size of the items. Should be set in the view constructor as QListWidget caches the size hints and works really hard to keep them unchanged. More... | |
| QSize | sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const |
| Returns the size hint for the view. More... | |
| ~KviTalIconAndRichTextItemDelegate () | |
| Destroys the icon and rich text item delegate object. More... | |
Additional Inherited Members | |
Protected Attributes inherited from KviTalIconAndRichTextItemDelegate | |
| QPixmap | m_oDefaultPix |
| QSize | m_oIconSize |
| QSize | m_oMinimumSize |
| QAbstractItemView * | m_pParent |
|
inline |
|
inline |
| void FileTransferItemDelegate::paint | ( | QPainter * | painter, |
| const QStyleOptionViewItem & | option, | ||
| const QModelIndex & | index | ||
| ) | const |
References KviFileTransfer::active(), and KviFileTransfer::displayPaint().
| QSize FileTransferItemDelegate::sizeHint | ( | const QStyleOptionViewItem & | option, |
| const QModelIndex & | index | ||
| ) | const |
1.8.7