#include <KviTopicWidget.h>
|
static void | paintColoredText (QPainter *p, QString szText, const QPalette &palette, const QRect &rect) |
|
KviTopicWidget::KviTopicWidget |
( |
QWidget * |
pParent, |
|
|
KviChannelWindow * |
pChannel, |
|
|
const char * |
name |
|
) |
| |
References applyOptions(), complete(), connect(), KviTalListWidget, m_iCursorPosition, m_pAccept, m_pCompletionBox, m_pContextPopup, m_pDiscard, m_pHistory, m_pInput, m_pItemDelegate, m_pKviChannelWindow, m_pLabel, reset(), and switchMode().
KviTopicWidget::~KviTopicWidget |
( |
| ) |
|
void KviTopicWidget::acceptClicked |
( |
| ) |
|
|
protectedslot |
void KviTopicWidget::applyOptions |
( |
| ) |
|
void KviTopicWidget::complete |
( |
| ) |
|
|
protectedslot |
void KviTopicWidget::contextPopupAboutToShow |
( |
| ) |
|
|
protectedslot |
void KviTopicWidget::copy |
( |
| ) |
|
|
protectedslot |
void KviTopicWidget::deactivate |
( |
| ) |
|
|
protected |
References m_pAccept, m_pDiscard, m_pHistory, m_pInput, m_pKviChannelWindow, m_pLabel, popDownListBox(), and resizeEvent().
Referenced by acceptClicked(), discardClicked(), KviChannelWindow::eventFilter(), and switchMode().
void KviTopicWidget::discardClicked |
( |
| ) |
|
|
protectedslot |
int KviTopicWidget::dummyRead |
( |
| ) |
const |
|
inline |
bool KviTopicWidget::eventFilter |
( |
QObject * |
o, |
|
|
QEvent * |
e |
|
) |
| |
|
protectedvirtual |
QChar KviTopicWidget::getSubstituteChar |
( |
unsigned short |
uControlCode | ) |
|
|
private |
void KviTopicWidget::historyClicked |
( |
| ) |
|
|
protectedslot |
void KviTopicWidget::iconButtonClicked |
( |
| ) |
|
|
protected |
void KviTopicWidget::insertChar |
( |
QChar |
c | ) |
|
void KviTopicWidget::insertText |
( |
const QString & |
szText | ) |
|
void KviTopicWidget::keyPressEvent |
( |
QKeyEvent * |
e | ) |
|
|
protectedvirtual |
void KviTopicWidget::mousePressEvent |
( |
QMouseEvent * |
e | ) |
|
|
protectedvirtual |
void KviTopicWidget::paintColoredText |
( |
QPainter * |
p, |
|
|
QString |
szText, |
|
|
const QPalette & |
palette, |
|
|
const QRect & |
rect |
|
) |
| |
|
static |
References KviControlCodes::Bold, c, g_pTextIconManager, KviControlCodes::getUnicodeColorBytes(), KviControlCodes::Icon, KVI_LABEL_DEF_BACK, KVI_LABEL_DEF_FORE, KVI_OPTION_MIRCCOLOR, KviTextIconManager::lookupTextIcon(), KviControlCodes::NoChange, KviTextIcon::pixmap(), KviCString::ptr(), KviControlCodes::Reset, KviControlCodes::Reverse, and KviControlCodes::Underline.
Referenced by ChannelTreeWidgetItemDelegate::paint(), and KviTopicListBoxItemDelegate::paint().
void KviTopicWidget::popDownListBox |
( |
| ) |
|
|
protectedslot |
void KviTopicWidget::reset |
( |
| ) |
|
void KviTopicWidget::resizeEvent |
( |
QResizeEvent * |
e | ) |
|
|
protectedvirtual |
void KviTopicWidget::setTopic |
( |
const QString & |
szTopic | ) |
|
void KviTopicWidget::setTopicSetAt |
( |
const QString & |
szSetAt | ) |
|
void KviTopicWidget::setTopicSetBy |
( |
const QString & |
szSetBy | ) |
|
QSize KviTopicWidget::sizeHint |
( |
| ) |
const |
|
virtual |
void KviTopicWidget::switchMode |
( |
| ) |
|
|
protectedslot |
References __tr2qs, KviIconManager::Accept, acceptClicked(), KviTalToolTip::add(), connect(), KviWindow::connection(), deactivate(), KviIconManager::Discard, discardClicked(), g_pIconManager, KviChannelWindow::getChannelModeString(), KviIconManager::getSmallIcon(), KviIrcConnectionUserInfo::hasUserMode(), KviIconManager::History, historyClicked(), KviInputEditor::home(), KviChannelWindow::isMeHalfOp(), m_pAccept, m_pDiscard, m_pHistory, m_pInput, m_pKviChannelWindow, m_pLabel, m_szTopic, KviIrcConnectionServerInfo::maxTopicLen(), KviChannelWindow::plainChannelMode(), KviIrcConnection::serverInfo(), KviInputEditor::setMaxBufferSize(), KviInputEditor::setReadOnly(), KviInputEditor::setText(), KviIrcConnection::userInfo(), and w.
Referenced by KviTopicWidget().
const QString& KviTopicWidget::topic |
( |
| ) |
|
|
inline |
void KviTopicWidget::topicSelected |
( |
const QString & |
szTopic | ) |
|
|
signal |
const QString& KviTopicWidget::topicSetAt |
( |
| ) |
|
|
inline |
const QString& KviTopicWidget::topicSetBy |
( |
| ) |
|
|
inline |
void KviTopicWidget::updateToolTip |
( |
| ) |
|
|
protected |
References __tr2qs, KviTalToolTip::add(), KviHtmlGenerator::convertToHtml(), END_TABLE_BOLD_ROW, m_szSetAt, m_szSetBy, m_szTopic, KviTalToolTip::remove(), START_TABLE_BOLD_ROW, KviControlCodes::stripControlBytes(), and KviQString::toHtmlEscaped().
Referenced by setTopic(), setTopicSetAt(), and setTopicSetBy().
int KviTopicWidget::m_iCursorPosition |
|
protected |
QPushButton* KviTopicWidget::m_pAccept |
|
private |
QMenu* KviTopicWidget::m_pContextPopup |
|
private |
QPushButton* KviTopicWidget::m_pDiscard |
|
private |
QPushButton* KviTopicWidget::m_pHistory |
|
private |
QAbstractItemDelegate* KviTopicWidget::m_pItemDelegate |
|
private |
QString KviTopicWidget::m_szSetAt |
|
private |
QString KviTopicWidget::m_szSetBy |
|
private |
QString KviTopicWidget::m_szTopic |
|
private |
int KviTopicWidget::TransparencyCapable |
|
read |
The documentation for this class was generated from the following files: