![]() |
KVIrc
4.9.2
DeveloperAPIs
|
#include <KviTopicWidget.h>
Inheritance diagram for KviTopicListBoxItemDelegate:Public Member Functions | |
| KviTopicListBoxItemDelegate (QAbstractItemView *pWidget=0) | |
| void | paint (QPainter *pPainter, const QStyleOptionViewItem &option, const QModelIndex &index) const |
| QSize | sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const |
| ~KviTopicListBoxItemDelegate () | |
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 |
| KviTopicListBoxItemDelegate::KviTopicListBoxItemDelegate | ( | QAbstractItemView * | pWidget = 0 | ) |
|
default |
| void KviTopicListBoxItemDelegate::paint | ( | QPainter * | pPainter, |
| const QStyleOptionViewItem & | option, | ||
| const QModelIndex & | index | ||
| ) | const |
References KviTopicWidget::paintColoredText().
| QSize KviTopicListBoxItemDelegate::sizeHint | ( | const QStyleOptionViewItem & | option, |
| const QModelIndex & | index | ||
| ) | const |
References KviControlCodes::stripControlBytes().
1.8.7