53 QSize
sizeHint(
const QStyleOptionViewItem & option,
const QModelIndex & index)
const;
54 void paint(QPainter * pPainter,
const QStyleOptionViewItem & option,
const QModelIndex & index)
const;
115 void setTopic(
const QString & szTopic);
116 void setTopicSetBy(
const QString & szSetBy);
117 void setTopicSetAt(
const QString & szSetAt);
125 static void paintColoredText(QPainter *
p, QString szText,
const QPalette & palette,
const QRect & rect);
127 void acceptClicked();
128 void discardClicked();
129 void historyClicked();
130 void contextPopupAboutToShow();
133 void popDownListBox();
Class for item delegates.
The class which manages a channel.
Definition KviChannelWindow.h:108
An abstraction of a connection to an IRC server.
Definition KviIrcConnection.h:97
Toolkit Abstraction Layer: hbox class.
Definition KviTalHBox.h:44
KviTalIconAndRichTextItemDelegate(QAbstractItemView *pWidget=nullptr)
Constructs the icon and rich text item delegate object.
Definition KviTalIconAndRichTextItemDelegate.cpp:34
void paint(QPainter *pPainter, const QStyleOptionViewItem &option, const QModelIndex &index) const override
Paints the view.
Definition KviTalIconAndRichTextItemDelegate.cpp:42
QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const override
Returns the size hint for the view.
Definition KviTalIconAndRichTextItemDelegate.cpp:98
KviTalListWidgetText(KviTalListWidget *listbox, const QString &text=QString())
Definition KviTalListWidget.cpp:82
Definition KviThemedLabel.h:34
~KviTopicListBoxItemDelegate()
KviTopicListBoxItemDelegate(QAbstractItemView *pWidget=nullptr)
Definition KviTopicWidget.cpp:62
virtual int width(const KviTalListWidget *pList) const
Definition KviTopicWidget.cpp:95
KviTopicListBoxItem(KviTalListWidget *pListBox=nullptr, const QString &text=QString())
Definition KviTopicWidget.cpp:87
#define e
Definition detector.cpp:70
#define o
Definition detector.cpp:80
#define p
Definition detector.cpp:81
This file contains compile time settings.
#define KVIRC_API
Definition kvi_settings.h:127