35 #include <QPushButton>
51 QSize
sizeHint(
const QStyleOptionViewItem & option,
const QModelIndex & index)
const;
52 void paint(QPainter * pPainter,
const QStyleOptionViewItem & option,
const QModelIndex & index)
const;
68 Q_PROPERTY(
int TransparencyCapable READ dummyRead)
80 QPushButton * m_pAccept;
81 QPushButton * m_pDiscard;
82 QPushButton * m_pHistory;
83 QMenu * m_pContextPopup;
84 QAbstractItemDelegate * m_pItemDelegate;
87 KviTalListWidget * m_pCompletionBox;
88 KviChannelWindow * m_pKviChannelWindow;
91 int m_iCursorPosition;
94 QChar getSubstituteChar(
unsigned short uControlCode);
99 void iconButtonClicked();
100 virtual
bool eventFilter(QObject *
o, QEvent *
e);
101 virtual
void mousePressEvent(QMouseEvent * e);
102 virtual
void keyPressEvent(QKeyEvent * e);
103 virtual
void resizeEvent(QResizeEvent * e);
106 void insertChar(QChar
c);
107 void insertText(const QString & szText);
108 int dummyRead()
const {
return 0; };
111 void setTopic(
const QString & szTopic);
112 void setTopicSetBy(
const QString & szSetBy);
113 void setTopicSetAt(
const QString & szSetAt);
115 const QString &
topic() {
return m_szTopic; };
118 virtual QSize sizeHint()
const;
121 static void paintColoredText(QPainter *
p, QString szText,
const QPalette & palette,
const QRect & rect);
123 void acceptClicked();
124 void discardClicked();
125 void historyClicked();
126 void contextPopupAboutToShow();
129 void popDownListBox();
132 void topicSelected(
const QString & szTopic);
135 #endif //_KVI_TOPICW_H_
#define KVIRC_API
Definition: kvi_settings.h:128
char s char s char s s s s s char char c s *s c s s s d c s *s d c d d d d c
Definition: KviIrcNumericCodes.h:391
Definition: KviTopicWidget.h:43
Definition: KviTalListWidget.h:64
int width(const KviTalListWidget *) const
Definition: KviTalListWidget.cpp:111
An abstraction of a connection to an IRC server.
Definition: KviIrcConnection.h:95
QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const
Returns the size hint for the view.
Definition: KviTalIconAndRichTextItemDelegate.cpp:98
#define e
Definition: detector.cpp:69
void paint(QPainter *pPainter, const QStyleOptionViewItem &option, const QModelIndex &index) const
Paints the view.
Definition: KviTalIconAndRichTextItemDelegate.cpp:42
Definition: KviTopicWidget.h:55
Toolkit Abstraction Layer: itemdelegate class.
Definition: KviTalIconAndRichTextItemDelegate.h:52
#define o
Definition: detector.cpp:79
Definition: KviThemedLabel.h:33
QString name()
Definition: KviRuntimeInfo.cpp:655
Class for item delegates.
This file contains compile time settings.
void copy(void *dst_ptr, const void *src_ptr, int len)
Moves len bytes from src_ptr to dst_ptr.
Definition: KviMemory.h:166
#define p
Definition: detector.cpp:80
The class which manages a channel.
Definition: KviChannelWindow.h:113