KVIrc  4.9.2
DeveloperAPIs
Signals | Public Member Functions | Static Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | Properties | Private Member Functions | Private Attributes | Friends | List of all members
KviTopicWidget Class Reference

#include <KviTopicWidget.h>

+ Inheritance diagram for KviTopicWidget:

Signals

void topicSelected (const QString &szTopic)
 

Public Member Functions

void applyOptions ()
 
int dummyRead () const
 
void insertChar (QChar c)
 
void insertText (const QString &szText)
 
 KviTopicWidget (QWidget *pParent, KviChannelWindow *pChannel, const char *name)
 
void reset ()
 
void setTopic (const QString &szTopic)
 
void setTopicSetAt (const QString &szSetAt)
 
void setTopicSetBy (const QString &szSetBy)
 
virtual QSize sizeHint () const
 
const QString & topic ()
 
const QString & topicSetAt ()
 
const QString & topicSetBy ()
 
 ~KviTopicWidget ()
 

Static Public Member Functions

static void paintColoredText (QPainter *p, QString szText, const QPalette &palette, const QRect &rect)
 

Protected Slots

void acceptClicked ()
 
void complete ()
 
void contextPopupAboutToShow ()
 
void copy ()
 
void discardClicked ()
 
void historyClicked ()
 
void popDownListBox ()
 
void switchMode ()
 

Protected Member Functions

void deactivate ()
 
virtual bool eventFilter (QObject *o, QEvent *e)
 
void iconButtonClicked ()
 
virtual void keyPressEvent (QKeyEvent *e)
 
virtual void mousePressEvent (QMouseEvent *e)
 
virtual void resizeEvent (QResizeEvent *e)
 
void updateToolTip ()
 

Protected Attributes

int m_iCursorPosition
 

Properties

int TransparencyCapable
 

Private Member Functions

QChar getSubstituteChar (unsigned short uControlCode)
 

Private Attributes

QPushButton * m_pAccept
 
KviTalListWidgetm_pCompletionBox
 
QMenu * m_pContextPopup
 
QPushButton * m_pDiscard
 
QPushButton * m_pHistory
 
KviInputEditorm_pInput
 
QAbstractItemDelegate * m_pItemDelegate
 
KviChannelWindowm_pKviChannelWindow
 
KviThemedLabelm_pLabel
 
QString m_szSetAt
 
QString m_szSetBy
 
QString m_szTopic
 

Friends

class KviChannelWindow
 
class KviTalListWidget
 

Constructor & Destructor Documentation

KviTopicWidget::KviTopicWidget ( QWidget *  pParent,
KviChannelWindow pChannel,
const char *  name 
)
KviTopicWidget::~KviTopicWidget ( )

References m_pCompletionBox.

Member Function Documentation

void KviTopicWidget::acceptClicked ( )
protectedslot
void KviTopicWidget::applyOptions ( )
void KviTopicWidget::complete ( )
protectedslot
void KviTopicWidget::contextPopupAboutToShow ( )
protectedslot
void KviTopicWidget::copy ( )
protectedslot

References c, and m_szTopic.

Referenced by contextPopupAboutToShow().

void KviTopicWidget::deactivate ( )
protected
void KviTopicWidget::discardClicked ( )
protectedslot

References deactivate().

Referenced by switchMode().

int KviTopicWidget::dummyRead ( ) const
inline
bool KviTopicWidget::eventFilter ( QObject *  o,
QEvent *  e 
)
protectedvirtual
QChar KviTopicWidget::getSubstituteChar ( unsigned short  uControlCode)
private
void KviTopicWidget::historyClicked ( )
protectedslot

References g_pRecentTopicList, m_pCompletionBox, and m_pInput.

Referenced by switchMode().

void KviTopicWidget::iconButtonClicked ( )
protected
void KviTopicWidget::insertChar ( QChar  c)

References insertText().

void KviTopicWidget::insertText ( const QString &  szText)

References KviInputEditor::insertText(), and m_pInput.

Referenced by insertChar().

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
void KviTopicWidget::popDownListBox ( )
protectedslot

References m_pCompletionBox.

Referenced by complete(), deactivate(), and eventFilter().

void KviTopicWidget::reset ( )
void KviTopicWidget::resizeEvent ( QResizeEvent *  e)
protectedvirtual

References m_pAccept, m_pDiscard, m_pHistory, m_pInput, and m_pLabel.

Referenced by deactivate().

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
const QString& KviTopicWidget::topic ( )
inline
void KviTopicWidget::topicSelected ( const QString &  szTopic)
signal

Referenced by acceptClicked().

const QString& KviTopicWidget::topicSetAt ( )
inline

Referenced by chan_kvs_fnc_topicsetat().

const QString& KviTopicWidget::topicSetBy ( )
inline

Referenced by chan_kvs_fnc_topicsetby().

void KviTopicWidget::updateToolTip ( )
protected

Friends And Related Function Documentation

friend class KviChannelWindow
friend
friend class KviTalListWidget
friend

Referenced by KviTopicWidget().

Member Data Documentation

int KviTopicWidget::m_iCursorPosition
protected

Referenced by KviTopicWidget().

QPushButton* KviTopicWidget::m_pAccept
private
KviTalListWidget* KviTopicWidget::m_pCompletionBox
private
QMenu* KviTopicWidget::m_pContextPopup
private
QPushButton* KviTopicWidget::m_pDiscard
private
QPushButton* KviTopicWidget::m_pHistory
private
KviInputEditor* KviTopicWidget::m_pInput
private
QAbstractItemDelegate* KviTopicWidget::m_pItemDelegate
private

Referenced by KviTopicWidget().

KviChannelWindow* KviTopicWidget::m_pKviChannelWindow
private
KviThemedLabel* KviTopicWidget::m_pLabel
private
QString KviTopicWidget::m_szSetAt
private

Referenced by reset(), setTopicSetAt(), and updateToolTip().

QString KviTopicWidget::m_szSetBy
private

Referenced by reset(), setTopicSetBy(), and updateToolTip().

QString KviTopicWidget::m_szTopic
private

Property Documentation

int KviTopicWidget::TransparencyCapable
read

The documentation for this class was generated from the following files: