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

#include <KviIrcView.h>

+ Inheritance diagram for KviIrcView:

Public Types

enum  AppendTextFlags { NoRepaint = 1, NoTimestamp = 2, SetLineMark = 4, TriggersNotification = 8 }
 

Public Slots

void chooseBackground ()
 
void chooseFont ()
 
void clearBuffer ()
 
void decreaseFontSize ()
 
void flushLog ()
 
void increaseFontSize ()
 
void resetBackground ()
 
void resetDefaultFont ()
 
void showToolsPopup ()
 
void toggleToolWidget ()
 

Signals

void dndEntered ()
 
void fileDropped (const QString &)
 
void rightClicked ()
 

Public Member Functions

void add2Log (const QString &szBuffer, int iMsgType=0, bool bPrependDate=false)
 
void appendMessagesFrom (KviIrcView *v)
 
void appendText (int msg_type, const kvi_wchar_t *data_ptr, int iFlags=0, const QDateTime &datetime=QDateTime())
 
void applyOptions ()
 
void clearLineMark (bool bRepaint=false)
 
void clearUnreaded ()
 
KviConsoleWindowconsole ()
 
int dummyRead () const
 
void emptyBuffer (bool bRepaint=true)
 
void enableDnd (bool bEnable)
 
void findNext (const QString &szText, bool bCaseS=false, bool bRegExp=false, bool bExtended=false)
 
void findPrev (const QString &szText, bool bCaseS=false, bool bRegExp=false, bool bExtended=false)
 
void getLogFileName (QString &buffer)
 
bool getPaintOnScreen () const
 
void getTextBuffer (QString &buffer)
 
bool hasLineMark ()
 
bool hasPrivateBackgroundPixmap ()
 
bool haveUnreadedHighlightedMessages ()
 
bool haveUnreadedMessages ()
 
bool isLogging ()
 
void joinMessagesFrom (KviIrcView *v)
 
 KviIrcView (QWidget *parent, KviWindow *pWnd)
 
const QString & lastLineOfText ()
 
const QString & lastMessageText ()
 
int maxBufferSize ()
 
bool messageShouldGoToMessageView (int iMsgType)
 
void nextLine ()
 
void nextPage ()
 
KviWindowparentKviWindow ()
 
void prevLine ()
 
void prevPage ()
 
void removeHeadLine (bool bRepaint=false)
 
bool saveBuffer (const char *filename)
 
void scrollToMarker ()
 
virtual void setFont (const QFont &f)
 
void setMasterView (KviIrcView *v)
 
void setMaxBufferSize (int maxBufSize, bool bRepaint=true)
 
void setPaintOnScreen (bool bFlag)
 
void setPrivateBackgroundPixmap (const QPixmap &pixmap, bool bRepaint=true)
 
virtual QSize sizeHint () const
 
void splitMessagesTo (KviIrcView *v)
 
bool startLogging (const QString &fname=QString(), bool bPrependCurBuffer=false)
 
void stopLogging ()
 
 ~KviIrcView ()
 

Protected Slots

void animatedIconChange ()
 
void masterDead ()
 
virtual void scrollBarPositionChanged (int newValue)
 

Protected Member Functions

virtual void dragEnterEvent (QDragEnterEvent *e)
 
virtual void dropEvent (QDropEvent *e)
 
virtual bool event (QEvent *e)
 
virtual void keyPressEvent (QKeyEvent *e)
 
virtual void leaveEvent (QEvent *)
 
void maybeTip (const QPoint &pnt)
 
virtual void mouseDoubleClickEvent (QMouseEvent *e)
 
virtual void mouseMoveEvent (QMouseEvent *e)
 
virtual void mousePressEvent (QMouseEvent *e)
 
virtual void mouseReleaseEvent (QMouseEvent *)
 
virtual void paintEvent (QPaintEvent *)
 
virtual void resizeEvent (QResizeEvent *)
 
virtual void timerEvent (QTimerEvent *e)
 
virtual void wheelEvent (QWheelEvent *e)
 

Properties

int TransparencyCapable
 
bool usePaintOnScreen
 

Private Member Functions

void addControlCharacter (KviIrcViewLineChunk *pC, QString &szSelectionText)
 
void appendLine (KviIrcViewLine *ptr, bool bRepaint)
 
void calculateLineWraps (KviIrcViewLine *ptr, int maxWidth)
 
bool checkMarkerArea (const QPoint &mousePos)
 
bool checkSelectionBlock (KviIrcViewLine *line, int bufIndex)
 
void doLinkToolTip (const QRect &rct, QString &linkCmd, QString &linkText)
 
void doMarkerToolTip ()
 
void ensureLineVisible (KviIrcViewLine *pLineToShow)
 
void fastScroll (int lines=1)
 
void getLinkEscapeCommand (QString &buffer, const QString &escape_cmd, const QString &escape_label)
 
KviIrcViewWrappedBlockgetLinkUnderMouse (int xPos, int yPos, QRect *pRect=0, QString *linkCmd=0, QString *linkText=0)
 
const kvi_wchar_tgetTextLine (int msg_type, const kvi_wchar_t *data_ptr, KviIrcViewLine *line_ptr, bool bEnableTimeStamp=true, const QDateTime &datetime=QDateTime())
 
int getVisibleCharIndexAt (KviIrcViewLine *line, int xPos, int yPos)
 
KviIrcViewLinegetVisibleLineAt (int yPos)
 
void postUpdateEvent ()
 
void reapplyMessageColors ()
 
void recalcFontVariables (const QFontMetrics &fm, const QFontInfo &fi)
 
void setCursorLine (KviIrcViewLine *l)
 
void triggerMouseRelatedKvsEvents (QMouseEvent *e)
 

Private Attributes

bool m_bAcceptDrops
 
bool m_bCtrlPressed
 
bool m_bHaveUnreadedHighlightedMessages
 
bool m_bHaveUnreadedMessages
 
bool m_bMouseIsDown
 
bool m_bPostedPaintEventPending
 
bool m_bShiftPressed
 
bool m_bSkipScrollBarRepaint
 
QMultiHash< KviIrcViewLine
*, KviAnimatedPixmap * > 
m_hAnimatedSmiles
 
int m_iFlushTimer
 
int m_iFontCharacterWidth [256]
 
int m_iFontDescent
 
int m_iFontLineSpacing
 
int m_iFontLineWidth
 
int m_iIconSideSpacing
 
int m_iIconWidth
 
int m_iLastLinkRectHeight
 
int m_iLastLinkRectTop
 
int m_iLastScrollBarValue
 
int m_iMaxLines
 
int m_iMinimumPaintWidth
 
int m_iMouseTimer
 
int m_iNumLines
 
int m_iRelativePixmapY
 
int m_iSelectionEndCharIndex
 
int m_iSelectionInitCharIndex
 
int m_iSelectTimer
 
int m_iUnprocessedPaintEventRequests
 
int m_iWrapMargin
 
QRect m_lineMarkArea
 
QPoint m_mouseCurrentPos
 
QPoint m_mousePressPos
 
KviIrcViewLinem_pCurLine
 
KviIrcViewLinem_pCursorLine
 
KviIrcViewLinem_pFirstLine
 
QFontMetrics * m_pFm
 
KviMainWindowm_pFrm
 
KviWindowm_pKviWindow
 
QMouseEvent * m_pLastEvent
 
KviIrcViewLinem_pLastLine
 
KviIrcViewWrappedBlockm_pLastLinkUnderMouse
 
QFile * m_pLogFile
 
KviIrcViewm_pMasterView
 
KviPointerList< KviIrcViewLine > * m_pMessagesStoppedWhileSelecting
 
QPixmap * m_pPrivateBackgroundPixmap
 
QScrollBar * m_pScrollBar
 
KviIrcViewLinem_pSelectionEndLine
 
KviIrcViewLinem_pSelectionInitLine
 
QToolButton * m_pToolsButton
 
QMenu * m_pToolsPopup
 
KviIrcViewToolTipm_pToolTip
 
KviIrcViewToolWidgetm_pToolWidget
 
KviIrcViewWrappedBlockSelectionInfom_pWrappedBlockSelectionInfo
 
unsigned int m_uLineMarkLineIndex
 
unsigned int m_uNextLineIndex
 

Friends

class KviIrcViewToolTip
 
class KviIrcViewToolWidget
 

Member Enumeration Documentation

Enumerator
NoRepaint 
NoTimestamp 
SetLineMark 
TriggersNotification 

Constructor & Destructor Documentation

KviIrcView::KviIrcView ( QWidget *  parent,
KviWindow pWnd 
)
KviIrcView::~KviIrcView ( )

Member Function Documentation

void KviIrcView::add2Log ( const QString &  szBuffer,
int  iMsgType = 0,
bool  bPrependDate = false 
)
void KviIrcView::addControlCharacter ( KviIrcViewLineChunk pC,
QString &  szSelectionText 
)
private
void KviIrcView::animatedIconChange ( )
protectedslot

Referenced by getTextLine().

void KviIrcView::appendLine ( KviIrcViewLine ptr,
bool  bRepaint 
)
private
void KviIrcView::appendMessagesFrom ( KviIrcView v)
void KviIrcView::appendText ( int  msg_type,
const kvi_wchar_t data_ptr,
int  iFlags = 0,
const QDateTime &  datetime = QDateTime() 
)
void KviIrcView::applyOptions ( )
void KviIrcView::calculateLineWraps ( KviIrcViewLine ptr,
int  maxWidth 
)
private
bool KviIrcView::checkMarkerArea ( const QPoint &  mousePos)
private

References m_lineMarkArea.

Referenced by maybeTip(), mouseMoveEvent(), and mousePressEvent().

bool KviIrcView::checkSelectionBlock ( KviIrcViewLine line,
int  bufIndex 
)
private
void KviIrcView::chooseBackground ( )
slot
void KviIrcView::chooseFont ( )
slot

COMPILE_ON_MAC

COMPILE_ON_MAC

References __tr, f, and setFont().

Referenced by showToolsPopup().

void KviIrcView::clearBuffer ( )
slot
void KviIrcView::clearLineMark ( bool  bRepaint = false)
void KviIrcView::clearUnreaded ( )
KviConsoleWindow * KviIrcView::console ( )
void KviIrcView::decreaseFontSize ( )
slot

References f, p, and setFont().

Referenced by showToolsPopup(), and KviInputEditor::zoomOut().

void KviIrcView::dndEntered ( )
signal

Referenced by dragEnterEvent().

void KviIrcView::doLinkToolTip ( const QRect &  rct,
QString &  linkCmd,
QString &  linkText 
)
private
void KviIrcView::doMarkerToolTip ( )
private
void KviIrcView::dragEnterEvent ( QDragEnterEvent *  e)
protectedvirtual

References dndEntered(), and m_bAcceptDrops.

void KviIrcView::dropEvent ( QDropEvent *  e)
protectedvirtual

References fileDropped(), and m_bAcceptDrops.

int KviIrcView::dummyRead ( ) const
inline
void KviIrcView::emptyBuffer ( bool  bRepaint = true)
void KviIrcView::enableDnd ( bool  bEnable)
void KviIrcView::ensureLineVisible ( KviIrcViewLine pLineToShow)
private
bool KviIrcView::event ( QEvent *  e)
protectedvirtual
void KviIrcView::fastScroll ( int  lines = 1)
private
void KviIrcView::fileDropped ( const QString &  )
signal

Referenced by dropEvent().

void KviIrcView::findNext ( const QString &  szText,
bool  bCaseS = false,
bool  bRegExp = false,
bool  bExtended = false 
)
void KviIrcView::findPrev ( const QString &  szText,
bool  bCaseS = false,
bool  bRegExp = false,
bool  bExtended = false 
)
void KviIrcView::flushLog ( )
slot
void KviIrcView::getLinkEscapeCommand ( QString &  buffer,
const QString &  escape_cmd,
const QString &  escape_label 
)
private
KviIrcViewWrappedBlock * KviIrcView::getLinkUnderMouse ( int  xPos,
int  yPos,
QRect *  pRect = 0,
QString *  linkCmd = 0,
QString *  linkText = 0 
)
private
void KviIrcView::getLogFileName ( QString &  buffer)

References m_pLogFile.

Referenced by log_kvs_fnc_file().

bool KviIrcView::getPaintOnScreen ( ) const
inline
void KviIrcView::getTextBuffer ( QString &  buffer)

References l, m_pFirstLine, and m_pLastLine.

Referenced by saveBuffer(), and startLogging().

const kvi_wchar_t * KviIrcView::getTextLine ( int  msg_type,
const kvi_wchar_t data_ptr,
KviIrcViewLine line_ptr,
bool  bEnableTimeStamp = true,
const QDateTime &  datetime = QDateTime() 
)
private

References KviMemory::allocate(), animatedIconChange(), KviTextIcon::animatedPixmap(), APPEND_LAST_TEXT_BLOCK, APPEND_LAST_TEXT_BLOCK_HIDDEN_FROM_NOW, APPEND_ZERO_LENGTH_BLOCK, _KviIrcViewLineChunk::back, KviControlCodes::Bold, KviWindow::Channel, KviUserListEntry::color(), _KviIrcViewLineChunk::colors, connect(), KviWindow::connection(), KviMemory::copy(), KviIrcConnection::currentNickName(), _KviIrcViewLineChunk::customFore, e, KviControlCodes::Escape, _KviIrcViewLineChunk::fore, g_pTextIconManager, KviControlCodes::getColorBytesW(), i, KviControlCodes::Icon, _KviIrcViewLineChunk::iTextLen, _KviIrcViewLineChunk::iTextStart, KVI_COLOR_CUSTOM, KVI_COLOR_OWN, KVI_OPTION_BOOL, KVI_OPTION_MSGTYPE, KVI_OPTION_STRING, KVI_OPTION_UINT, KVI_OUT_ACTION, KVI_OUT_CHANNELNOTICE, KVI_OUT_CHANNELNOTICECRYPTED, KVI_OUT_CHANPRIVMSG, KVI_OUT_CHANPRIVMSGCRYPTED, KVI_OUT_DCCCHATMSG, KVI_OUT_HIGHLIGHT, KVI_OUT_OWNPRIVMSG, KVI_OUT_OWNPRIVMSGCRYPTED, KVI_OUT_QUERYNOTICE, KVI_OUT_QUERYNOTICECRYPTED, KVI_OUT_QUERYPRIVMSG, KVI_OUT_QUERYPRIVMSGCRYPTED, KVI_OUT_URL, KviEvent_OnURL, KviOption_boolColorNicks, KviOption_boolDrawEmoticons, KviOption_boolIrcViewTimestamp, KviOption_boolIrcViewTimestampUTC, KviOption_boolIrcViewUrlHighlighting, KviOption_boolUseSpecialColorForTimestamp, KviOption_boolUseUserListColorsAsNickColors, KviOption_stringIrcViewTimestampFormat, KviOption_uintTimeStampBackground, KviOption_uintTimeStampForeground, KVS_TRIGGER_EVENT_1, KviTextIconManager::lookupTextIcon(), m_hAnimatedSmiles, m_pKviWindow, NEW_LINE_CHUNK, KviControlCodes::NoChange, p, _KviIrcViewLine::pChunks, KviWindow::Query, KviMemory::reallocate(), KviControlCodes::Reset, KviControlCodes::Reverse, KviTheme::save(), skip_to_end_of_url(), _KviIrcViewLineChunk::szPayload, _KviIrcViewLineChunk::szSmileId, _KviIrcViewLine::szText, _KviIrcViewLineChunk::type, KviWindow::type(), _KviIrcViewLine::uChunkCount, KviControlCodes::Underline, KviControlCodes::UnEscape, KviControlCodes::UnIcon, and url_compare_helper().

Referenced by appendText().

int KviIrcView::getVisibleCharIndexAt ( KviIrcViewLine line,
int  xPos,
int  yPos 
)
private
KviIrcViewLine * KviIrcView::getVisibleLineAt ( int  yPos)
private
bool KviIrcView::hasLineMark ( )
inline
bool KviIrcView::hasPrivateBackgroundPixmap ( )
inline
bool KviIrcView::haveUnreadedHighlightedMessages ( )
inline
bool KviIrcView::haveUnreadedMessages ( )
inline
void KviIrcView::increaseFontSize ( )
slot

References f, and setFont().

Referenced by showToolsPopup(), and KviInputEditor::zoomIn().

bool KviIrcView::isLogging ( )
inline
void KviIrcView::joinMessagesFrom ( KviIrcView v)
void KviIrcView::keyPressEvent ( QKeyEvent *  e)
protectedvirtual

References nextPage(), and prevPage().

const QString & KviIrcView::lastLineOfText ( )
const QString & KviIrcView::lastMessageText ( )
void KviIrcView::leaveEvent ( QEvent *  )
protectedvirtual

References m_pLastLinkUnderMouse.

void KviIrcView::masterDead ( )
protectedslot

References m_pMasterView.

Referenced by setMasterView().

int KviIrcView::maxBufferSize ( )
inline
void KviIrcView::maybeTip ( const QPoint &  pnt)
protected
bool KviIrcView::messageShouldGoToMessageView ( int  iMsgType)
void KviIrcView::mouseDoubleClickEvent ( QMouseEvent *  e)
protectedvirtual
void KviIrcView::mouseMoveEvent ( QMouseEvent *  e)
protectedvirtual
void KviIrcView::mousePressEvent ( QMouseEvent *  e)
protectedvirtual
void KviIrcView::mouseReleaseEvent ( QMouseEvent *  e)
protectedvirtual
void KviIrcView::nextLine ( )

References m_pScrollBar.

Referenced by mouseMoveEvent(), and KviInputEditor::nextLine().

void KviIrcView::nextPage ( )

References m_pScrollBar.

Referenced by keyPressEvent(), and KviInputEditor::nextPage().

void KviIrcView::paintEvent ( QPaintEvent *  p)
protectedvirtual

References KviTextIcon::animatedPixmap(), _KviIrcViewLineChunk::back, KviControlCodes::Black, _KviIrcViewWrappedBlock::block_len, _KviIrcViewWrappedBlock::block_start, _KviIrcViewWrappedBlock::block_width, KviControlCodes::Bold, calculateLineWraps(), checkSelectionBlock(), _KviIrcViewLineChunk::colors, _KviIrcViewLineChunk::customFore, DRAW_NORMAL_TEXT, DRAW_SELECTED_TEXT, KviPixmapUtils::drawPixmapWithPainter(), KviControlCodes::Escape, _KviIrcViewLineChunk::fore, g_pApp, g_pIconManager, g_pMainWindow, g_pTextIconManager, KviIconManager::getSmallIcon(), KviIconManager::Help, i, _KviIrcViewLine::iBlockCount, KviControlCodes::Icon, _KviIrcViewLine::iMaxLineWidth, _KviIrcViewLine::iMsgType, KviWindow::isDocked(), KVI_DEF_BACK, KVI_IRCVIEW_BLOCK_SELECTION_CENTRAL, KVI_IRCVIEW_BLOCK_SELECTION_ICON, KVI_IRCVIEW_BLOCK_SELECTION_LEFT, KVI_IRCVIEW_BLOCK_SELECTION_RIGHT, KVI_IRCVIEW_BLOCK_SELECTION_TOTAL, KVI_IRCVIEW_DOUBLEBORDER_WIDTH, KVI_IRCVIEW_HORIZONTAL_BORDER, KVI_IRCVIEW_PIXMAP_AND_SEPARATOR, KVI_IRCVIEW_VERTICAL_BORDER, KVI_OPTION_BOOL, KVI_OPTION_COLOR, KVI_OPTION_MIRCCOLOR, KVI_OPTION_MSGTYPE, KVI_OPTION_PIXMAP, KVI_OPTION_UINT, KVI_OUT_LINK, KVI_OUT_SEARCH, KVI_OUT_SELECT, kvi_wstrlen(), KviOption_boolIrcViewShowImages, KviOption_boolIrcViewWrapMargin, KviOption_boolTrackLastReadTextViewLine, KviOption_boolUseCompositingForTransparency, KviOption_colorGlobalTransparencyFade, KviOption_colorIrcViewBackground, KviOption_colorIrcViewMarkLine, KviOption_pixmapIrcViewBackground, KviOption_uintGlobalTransparencyChildFadeFactor, KviOption_uintIrcViewMarkerSize, KviOption_uintIrcViewMarkerStyle, KviOption_uintIrcViewPixmapAlign, KviTextIconManager::lookupTextIcon(), m_bMouseIsDown, m_iFontDescent, m_iFontLineSpacing, m_iIconSideSpacing, m_iMinimumPaintWidth, m_iRelativePixmapY, m_iUnprocessedPaintEventRequests, m_iWrapMargin, m_lineMarkArea, m_pCurLine, m_pCursorLine, m_pFm, m_pKviWindow, m_pLastLinkUnderMouse, m_pPrivateBackgroundPixmap, m_pScrollBar, m_pToolWidget, m_pWrappedBlockSelectionInfo, m_uLineMarkLineIndex, KviControlCodes::NoChange, _KviIrcViewWrappedBlockSelectionInfoTag::part_1_length, _KviIrcViewWrappedBlockSelectionInfoTag::part_1_width, _KviIrcViewWrappedBlockSelectionInfoTag::part_2_length, _KviIrcViewWrappedBlockSelectionInfoTag::part_2_width, _KviIrcViewWrappedBlockSelectionInfoTag::part_3_length, _KviIrcViewWrappedBlockSelectionInfoTag::part_3_width, _KviIrcViewLine::pBlocks, _KviIrcViewWrappedBlock::pChunk, KviAnimatedPixmap::pixmap(), KviTextIcon::pixmap(), _KviIrcViewLine::pNext, _KviIrcViewLine::pPrev, r, recalcFontVariables(), KviControlCodes::Reset, KviControlCodes::Reverse, _KviIrcViewWrappedBlockSelectionInfoTag::selection_type, SET_ANTI_ALIASING, SET_PEN, KviApplication::supportsCompositing(), _KviIrcViewLineChunk::szSmileId, _KviIrcViewLine::szText, KviControlCodes::Transparent, _KviIrcViewLineChunk::type, _KviIrcViewLine::uIndex, _KviIrcViewLine::uLineWraps, KviControlCodes::Underline, KviControlCodes::UnEscape, KviIconManager::UnreadText, x, and y.

Referenced by KviIrcViewToolWidget::forceRepaint().

KviWindow* KviIrcView::parentKviWindow ( )
inline
void KviIrcView::postUpdateEvent ( )
private
void KviIrcView::prevLine ( )
void KviIrcView::prevPage ( )
void KviIrcView::reapplyMessageColors ( )
private
void KviIrcView::recalcFontVariables ( const QFontMetrics &  fm,
const QFontInfo &  fi 
)
private
void KviIrcView::removeHeadLine ( bool  bRepaint = false)
void KviIrcView::resetBackground ( )
slot

References setPrivateBackgroundPixmap().

Referenced by showToolsPopup().

void KviIrcView::resetDefaultFont ( )
slot
void KviIrcView::resizeEvent ( QResizeEvent *  )
protectedvirtual
void KviIrcView::rightClicked ( )
signal
bool KviIrcView::saveBuffer ( const char *  filename)

References f, and getTextBuffer().

void KviIrcView::scrollBarPositionChanged ( int  newValue)
protectedvirtualslot
void KviIrcView::scrollToMarker ( )
void KviIrcView::setCursorLine ( KviIrcViewLine l)
private

References ensureLineVisible(), l, and m_pCursorLine.

Referenced by findNext(), and findPrev().

void KviIrcView::setFont ( const QFont &  f)
virtual
void KviIrcView::setMasterView ( KviIrcView v)
void KviIrcView::setMaxBufferSize ( int  maxBufSize,
bool  bRepaint = true 
)
void KviIrcView::setPaintOnScreen ( bool  bFlag)
inline
void KviIrcView::setPrivateBackgroundPixmap ( const QPixmap &  pixmap,
bool  bRepaint = true 
)
void KviIrcView::showToolsPopup ( )
slot
QSize KviIrcView::sizeHint ( ) const
virtual
void KviIrcView::splitMessagesTo ( KviIrcView v)
bool KviIrcView::startLogging ( const QString &  fname = QString(),
bool  bPrependCurBuffer = false 
)
void KviIrcView::stopLogging ( )
void KviIrcView::timerEvent ( QTimerEvent *  e)
protectedvirtual
void KviIrcView::toggleToolWidget ( )
slot
void KviIrcView::triggerMouseRelatedKvsEvents ( QMouseEvent *  e)
private
void KviIrcView::wheelEvent ( QWheelEvent *  e)
protectedvirtual

References g_pApp, and m_pScrollBar.

Friends And Related Function Documentation

friend class KviIrcViewToolTip
friend

Referenced by KviIrcView().

friend class KviIrcViewToolWidget
friend

Referenced by toggleToolWidget().

Member Data Documentation

bool KviIrcView::m_bAcceptDrops
private
bool KviIrcView::m_bCtrlPressed
private
bool KviIrcView::m_bHaveUnreadedHighlightedMessages
private
bool KviIrcView::m_bHaveUnreadedMessages
private
bool KviIrcView::m_bMouseIsDown
private
bool KviIrcView::m_bPostedPaintEventPending
private

Referenced by event(), KviIrcView(), and postUpdateEvent().

bool KviIrcView::m_bShiftPressed
private
bool KviIrcView::m_bSkipScrollBarRepaint
private
QMultiHash<KviIrcViewLine *, KviAnimatedPixmap *> KviIrcView::m_hAnimatedSmiles
private
int KviIrcView::m_iFlushTimer
private
int KviIrcView::m_iFontCharacterWidth[256]
private
int KviIrcView::m_iFontDescent
private
int KviIrcView::m_iFontLineSpacing
private
int KviIrcView::m_iFontLineWidth
private

Referenced by KviIrcView(), and recalcFontVariables().

int KviIrcView::m_iIconSideSpacing
private

Referenced by paintEvent(), and recalcFontVariables().

int KviIrcView::m_iIconWidth
private
int KviIrcView::m_iLastLinkRectHeight
private
int KviIrcView::m_iLastLinkRectTop
private
int KviIrcView::m_iLastScrollBarValue
private
int KviIrcView::m_iMaxLines
private
int KviIrcView::m_iMinimumPaintWidth
private
int KviIrcView::m_iMouseTimer
private
int KviIrcView::m_iNumLines
private
int KviIrcView::m_iRelativePixmapY
private

Referenced by paintEvent(), and recalcFontVariables().

int KviIrcView::m_iSelectionEndCharIndex
private
int KviIrcView::m_iSelectionInitCharIndex
private
int KviIrcView::m_iSelectTimer
private
int KviIrcView::m_iUnprocessedPaintEventRequests
private
int KviIrcView::m_iWrapMargin
private
QRect KviIrcView::m_lineMarkArea
private
QPoint KviIrcView::m_mouseCurrentPos
private

Referenced by mousePressEvent(), and timerEvent().

QPoint KviIrcView::m_mousePressPos
private

Referenced by mousePressEvent().

KviIrcViewLine* KviIrcView::m_pCurLine
private
KviIrcViewLine* KviIrcView::m_pCursorLine
private
KviIrcViewLine* KviIrcView::m_pFirstLine
private
QFontMetrics* KviIrcView::m_pFm
private
KviMainWindow* KviIrcView::m_pFrm
private
KviWindow* KviIrcView::m_pKviWindow
private
QMouseEvent* KviIrcView::m_pLastEvent
private
KviIrcViewLine* KviIrcView::m_pLastLine
private
KviIrcViewWrappedBlock* KviIrcView::m_pLastLinkUnderMouse
private
QFile* KviIrcView::m_pLogFile
private
KviIrcView* KviIrcView::m_pMasterView
private
KviPointerList<KviIrcViewLine>* KviIrcView::m_pMessagesStoppedWhileSelecting
private
QPixmap* KviIrcView::m_pPrivateBackgroundPixmap
private
QScrollBar* KviIrcView::m_pScrollBar
private
KviIrcViewLine* KviIrcView::m_pSelectionEndLine
private
KviIrcViewLine* KviIrcView::m_pSelectionInitLine
private
QToolButton* KviIrcView::m_pToolsButton
private
QMenu* KviIrcView::m_pToolsPopup
private

Referenced by KviIrcView(), and showToolsPopup().

KviIrcViewToolTip* KviIrcView::m_pToolTip
private
KviIrcViewToolWidget* KviIrcView::m_pToolWidget
private
KviIrcViewWrappedBlockSelectionInfo* KviIrcView::m_pWrappedBlockSelectionInfo
private
unsigned int KviIrcView::m_uLineMarkLineIndex
private
unsigned int KviIrcView::m_uNextLineIndex
private

Referenced by appendLine(), and KviIrcView().

Property Documentation

int KviIrcView::TransparencyCapable
read
bool KviIrcView::usePaintOnScreen
readwrite

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