KVIrc 5.2.6
Developer APIs
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, const QDateTime &date, int iMsgType, bool bPrependDate)
 
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
 
QPixmap * getPrivateBackgroundPixmap () 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 ()
 
qint64 lastMouseClickTime () const
 
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 scrollBottom ()
 
void scrollToMarker ()
 
void scrollTop ()
 
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)
 
QSize sizeHint () const override
 
void splitMessagesTo (KviIrcView *v)
 
bool startLogging (const QString &fname=QString(), bool bPrependCurBuffer=false)
 
void stopLogging ()
 
 ~KviIrcView ()
 

Protected Slots

void animatedIconChange ()
 
void masterDead ()
 
void screenChanged (QScreen *)
 
virtual void scrollBarPositionChanged (int newValue)
 

Protected Member Functions

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

Properties

int TransparencyCapable
 
bool usePaintOnScreen
 

Private Member Functions

void addControlCharacter (KviIrcViewLineChunk *pC, QString &szSelectionText)
 
void appendLine (KviIrcViewLine *ptr, const QDateTime &date, 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=nullptr, QString *linkCmd=nullptr, QString *linkText=nullptr)
 
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 QFont &font, 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
 
bool m_bUseRealBold
 
QMultiHash< KviIrcViewLine *, KviAnimatedPixmap * > m_hAnimatedSmiles
 
int m_iFlushTimer
 
float m_iFontCharacterWidth [256]
 
int m_iFontDescent
 
int m_iFontLineSpacing
 
int m_iFontLineVMargin
 
int m_iIconSideSpacing
 
int m_iIconWidth
 
int m_iLastLinkRectHeight
 
int m_iLastLinkRectTop
 
qint64 m_iLastMouseClickTime
 
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
 
KviIrcViewLinem_pCurLine
 
KviIrcViewLinem_pCursorLine
 
KviIrcViewLinem_pFirstLine
 
QFontMetricsF * m_pFm
 
KviMainWindowm_pFrm
 
KviWindowm_pKviWindow
 
QMouseEvent * m_pLastEvent
 
KviIrcViewLinem_pLastLine
 
KviIrcViewWrappedBlockm_pLastLinkUnderMouse
 
QFile * m_pLogFile
 
KviIrcViewm_pMasterView
 
std::vector< 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

◆ AppendTextFlags

Enumerator
NoRepaint 
NoTimestamp 
SetLineMark 
TriggersNotification 

Constructor & Destructor Documentation

◆ KviIrcView()

◆ ~KviIrcView()

Member Function Documentation

◆ add2Log()

void KviIrcView::add2Log ( const QString & szBuffer,
const QDateTime & date,
int iMsgType,
bool bPrependDate )

◆ addControlCharacter()

◆ animatedIconChange

void KviIrcView::animatedIconChange ( )
protectedslot

Referenced by doLinkToolTip(), and getTextLine().

◆ appendLine()

◆ appendMessagesFrom()

void KviIrcView::appendMessagesFrom ( KviIrcView * v)

◆ appendText()

◆ applyOptions()

◆ calculateLineWraps()

◆ checkMarkerArea()

bool KviIrcView::checkMarkerArea ( const QPoint & mousePos)
private

◆ checkSelectionBlock()

◆ chooseBackground

void KviIrcView::chooseBackground ( )
slot

◆ chooseFont

void KviIrcView::chooseFont ( )
slot

COMPILE_ON_MAC

COMPILE_ON_MAC

References __tr, f, and setFont().

Referenced by doLinkToolTip(), and showToolsPopup().

◆ clearBuffer

void KviIrcView::clearBuffer ( )
slot

◆ clearLineMark()

void KviIrcView::clearLineMark ( bool bRepaint = false)

◆ clearUnreaded()

void KviIrcView::clearUnreaded ( )

◆ console()

KviConsoleWindow * KviIrcView::console ( )

◆ decreaseFontSize

void KviIrcView::decreaseFontSize ( )
slot

References f, p, and setFont().

Referenced by doLinkToolTip(), and showToolsPopup().

◆ dndEntered

void KviIrcView::dndEntered ( )
signal

Referenced by dragEnterEvent().

◆ doLinkToolTip()

◆ doMarkerToolTip()

void KviIrcView::doMarkerToolTip ( )
private

References __tr2qs, m_lineMarkArea, and m_pToolTip.

Referenced by doLinkToolTip(), and maybeTip().

◆ dragEnterEvent()

void KviIrcView::dragEnterEvent ( QDragEnterEvent * e)
overrideprotected

References dndEntered(), e, and m_bAcceptDrops.

◆ dropEvent()

void KviIrcView::dropEvent ( QDropEvent * e)
overrideprotected

References e, fileDropped(), and m_bAcceptDrops.

◆ dummyRead()

int KviIrcView::dummyRead ( ) const
inline

References dummyRead().

Referenced by dummyRead().

◆ emptyBuffer()

void KviIrcView::emptyBuffer ( bool bRepaint = true)

References m_pLastLine, and removeHeadLine().

Referenced by clearBuffer(), and ~KviIrcView().

◆ enableDnd()

void KviIrcView::enableDnd ( bool bEnable)

References m_bAcceptDrops.

◆ ensureLineVisible()

◆ event()

bool KviIrcView::event ( QEvent * e)
overrideprotected

◆ fastScroll()

◆ fileDropped

void KviIrcView::fileDropped ( const QString & )
signal

Referenced by dropEvent().

◆ findNext()

void KviIrcView::findNext ( const QString & szText,
bool bCaseS = false,
bool bRegExp = false,
bool bExtended = false )

◆ findPrev()

void KviIrcView::findPrev ( const QString & szText,
bool bCaseS = false,
bool bRegExp = false,
bool bExtended = false )

◆ flushLog

void KviIrcView::flushLog ( )
slot

◆ getLinkEscapeCommand()

void KviIrcView::getLinkEscapeCommand ( QString & buffer,
const QString & escape_cmd,
const QString & escape_label )
private

◆ getLinkUnderMouse()

◆ getLogFileName()

void KviIrcView::getLogFileName ( QString & buffer)

References m_pLogFile.

Referenced by log_kvs_fnc_file().

◆ getPaintOnScreen()

bool KviIrcView::getPaintOnScreen ( ) const
inline

◆ getPrivateBackgroundPixmap()

QPixmap * KviIrcView::getPrivateBackgroundPixmap ( ) const
inline

◆ getTextBuffer()

void KviIrcView::getTextBuffer ( QString & buffer)

References l, m_pFirstLine, and m_pLastLine.

Referenced by saveBuffer(), and startLogging().

◆ getTextLine()

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, KviControlCodes::ArbitraryBreak, KviIrcViewLineChunk::back, begin(), KviControlCodes::Bold, KviWindow::Channel, KviIrcViewLineChunk::colors, connect(), KviMemory::copy(), KviIrcViewLineChunk::customFore, e, KviControlCodes::Escape, KviIrcViewLineChunk::fore, g_pTextIconManager, KviControlCodes::getColorBytesW(), i, KviControlCodes::Icon, KviControlCodes::Italic, 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_ACTIONCRYPTED, KVI_OUT_CHANNELNOTICE, KVI_OUT_CHANNELNOTICECRYPTED, KVI_OUT_CHANPRIVMSG, KVI_OUT_CHANPRIVMSGCRYPTED, KVI_OUT_DCCCHATMSG, KVI_OUT_HIGHLIGHT, KVI_OUT_OWNACTION, KVI_OUT_OWNACTIONCRYPTED, 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, m_hAnimatedSmiles, m_pKviWindow, KviControlCodes::Monospace, NEW_LINE_CHUNK, KviControlCodes::NoChange, nullptr, p, KviIrcViewLine::pChunks, KviWindow::Query, KviMemory::reallocate(), KviControlCodes::Reset, KviControlCodes::Reverse, skip_to_end_of_url(), KviIrcViewLineChunk::szPayload, KviIrcViewLineChunk::szSmileId, KviIrcViewLine::szText, KviIrcViewLineChunk::type, KviIrcViewLine::uChunkCount, KviControlCodes::Underline, KviControlCodes::UnEscape, KviControlCodes::UnIcon, and url_compare_helper().

Referenced by appendText().

◆ getVisibleCharIndexAt()

◆ getVisibleLineAt()

KviIrcViewLine * KviIrcView::getVisibleLineAt ( int yPos)
private

◆ hasLineMark()

bool KviIrcView::hasLineMark ( )
inline

◆ hasPrivateBackgroundPixmap()

bool KviIrcView::hasPrivateBackgroundPixmap ( )
inline

◆ haveUnreadedHighlightedMessages()

bool KviIrcView::haveUnreadedHighlightedMessages ( )
inline

◆ haveUnreadedMessages()

bool KviIrcView::haveUnreadedMessages ( )
inline

◆ increaseFontSize

void KviIrcView::increaseFontSize ( )
slot

References f, and setFont().

Referenced by doLinkToolTip(), and showToolsPopup().

◆ isLogging()

bool KviIrcView::isLogging ( )
inline

References m_pLogFile.

◆ joinMessagesFrom()

◆ keyPressEvent()

void KviIrcView::keyPressEvent ( QKeyEvent * e)
overrideprotected

References e, nextPage(), and prevPage().

◆ lastLineOfText()

const QString & KviIrcView::lastLineOfText ( )

References KviQString::Empty, and m_pLastLine.

◆ lastMessageText()

◆ lastMouseClickTime()

qint64 KviIrcView::lastMouseClickTime ( ) const
inline

References m_iLastMouseClickTime.

◆ leaveEvent()

void KviIrcView::leaveEvent ( QEvent * )
overrideprotected

References m_pLastLinkUnderMouse.

◆ masterDead

void KviIrcView::masterDead ( )
protectedslot

References m_pMasterView.

Referenced by doLinkToolTip(), and setMasterView().

◆ maxBufferSize()

int KviIrcView::maxBufferSize ( )
inline

References m_iMaxLines.

◆ maybeTip()

void KviIrcView::maybeTip ( const QPoint & pnt)
protected

◆ messageShouldGoToMessageView()

◆ mouseDoubleClickEvent()

◆ mouseMoveEvent()

◆ mousePressEvent()

◆ mouseReleaseEvent()

◆ nextLine()

void KviIrcView::nextLine ( )

References m_pScrollBar.

Referenced by mouseMoveEvent().

◆ nextPage()

void KviIrcView::nextPage ( )

References m_pScrollBar.

Referenced by keyPressEvent().

◆ paintEvent()

void KviIrcView::paintEvent ( QPaintEvent * p)
overrideprotected

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, getMircColor(), KviIconManager::Help, i, KviIrcViewLine::iBlockCount, KviControlCodes::Icon, KviIrcViewLine::iMaxLineWidth, KviIrcViewLine::iMsgType, KviControlCodes::Italic, KVI_DEF_BACK, KVI_EXTCOLOR_MAX, 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_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, m_bMouseIsDown, m_bUseRealBold, m_iFontDescent, m_iFontLineSpacing, m_iFontLineVMargin, 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::Monospace, KviControlCodes::NoChange, p, KviIrcViewLine::pBlocks, KviIrcViewWrappedBlock::pChunk, KviAnimatedPixmap::pixmap(), KviTextIcon::pixmap(), KviIrcViewLine::pNext, KviIrcViewLine::pPrev, r, recalcFontVariables(), KviControlCodes::Reset, KviControlCodes::Reverse, SET_ANTI_ALIASING, SET_PEN, KviIrcViewLineChunk::szSmileId, KviIrcViewLine::szText, KviControlCodes::Transparent, KviIrcViewLineChunk::type, KviIrcViewLine::uIndex, KviIrcViewLine::uLineWraps, KviControlCodes::Underline, KviControlCodes::UnEscape, KviIconManager::UnreadText, x, and y.

◆ parentKviWindow()

KviWindow * KviIrcView::parentKviWindow ( )
inline

References m_pKviWindow.

◆ postUpdateEvent()

◆ prevLine()

void KviIrcView::prevLine ( )

References m_pScrollBar.

Referenced by mouseMoveEvent().

◆ prevPage()

void KviIrcView::prevPage ( )

References m_pScrollBar.

Referenced by keyPressEvent().

◆ reapplyMessageColors()

◆ recalcFontVariables()

◆ removeHeadLine()

void KviIrcView::removeHeadLine ( bool bRepaint = false)

◆ resetBackground

void KviIrcView::resetBackground ( )
slot

◆ resetDefaultFont

void KviIrcView::resetDefaultFont ( )
slot

◆ resizeEvent()

void KviIrcView::resizeEvent ( QResizeEvent * )
overrideprotected

◆ rightClicked

void KviIrcView::rightClicked ( )
signal

◆ saveBuffer()

bool KviIrcView::saveBuffer ( const char * filename)

References f, and getTextBuffer().

◆ screenChanged

void KviIrcView::screenChanged ( QScreen * )
protectedslot

References setFont().

Referenced by doLinkToolTip(), and showEvent().

◆ scrollBarPositionChanged

void KviIrcView::scrollBarPositionChanged ( int newValue)
protectedvirtualslot

◆ scrollBottom()

void KviIrcView::scrollBottom ( )

References m_pScrollBar.

◆ scrollToMarker()

◆ scrollTop()

void KviIrcView::scrollTop ( )

References m_pScrollBar.

◆ setCursorLine()

void KviIrcView::setCursorLine ( KviIrcViewLine * l)
private

References ensureLineVisible(), l, and m_pCursorLine.

Referenced by findNext(), and findPrev().

◆ setFont()

void KviIrcView::setFont ( const QFont & f)

◆ setMasterView()

void KviIrcView::setMasterView ( KviIrcView * v)

◆ setMaxBufferSize()

void KviIrcView::setMaxBufferSize ( int maxBufSize,
bool bRepaint = true )

◆ setPaintOnScreen()

void KviIrcView::setPaintOnScreen ( bool bFlag)
inline

◆ setPrivateBackgroundPixmap()

void KviIrcView::setPrivateBackgroundPixmap ( const QPixmap & pixmap,
bool bRepaint = true )

◆ showEvent()

void KviIrcView::showEvent ( QShowEvent * e)
overrideprotected

References e, and screenChanged().

◆ showToolsPopup

◆ sizeHint()

QSize KviIrcView::sizeHint ( ) const
override

◆ splitMessagesTo()

◆ startLogging()

bool KviIrcView::startLogging ( const QString & fname = QString(),
bool bPrependCurBuffer = false )

◆ stopLogging()

void KviIrcView::stopLogging ( )

◆ timerEvent()

void KviIrcView::timerEvent ( QTimerEvent * e)
overrideprotected

◆ toggleToolWidget

void KviIrcView::toggleToolWidget ( )
slot

◆ triggerMouseRelatedKvsEvents()

◆ wheelEvent()

void KviIrcView::wheelEvent ( QWheelEvent * e)
overrideprotected

References e, g_pApp, and m_pScrollBar.

Friends And Related Symbol Documentation

◆ KviIrcViewToolTip

friend class KviIrcViewToolTip
friend

References KviIrcViewToolTip.

Referenced by KviIrcView(), and KviIrcViewToolTip.

◆ KviIrcViewToolWidget

friend class KviIrcViewToolWidget
friend

Member Data Documentation

◆ m_bAcceptDrops

bool KviIrcView::m_bAcceptDrops
private

◆ m_bCtrlPressed

bool KviIrcView::m_bCtrlPressed
private

◆ m_bHaveUnreadedHighlightedMessages

bool KviIrcView::m_bHaveUnreadedHighlightedMessages
private

◆ m_bHaveUnreadedMessages

bool KviIrcView::m_bHaveUnreadedMessages
private

◆ m_bMouseIsDown

bool KviIrcView::m_bMouseIsDown
private

◆ m_bPostedPaintEventPending

bool KviIrcView::m_bPostedPaintEventPending
private

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

◆ m_bShiftPressed

bool KviIrcView::m_bShiftPressed
private

◆ m_bSkipScrollBarRepaint

bool KviIrcView::m_bSkipScrollBarRepaint
private

◆ m_bUseRealBold

bool KviIrcView::m_bUseRealBold
private

Referenced by paintEvent(), and recalcFontVariables().

◆ m_hAnimatedSmiles

QMultiHash<KviIrcViewLine *, KviAnimatedPixmap *> KviIrcView::m_hAnimatedSmiles
private

◆ m_iFlushTimer

int KviIrcView::m_iFlushTimer
private

◆ m_iFontCharacterWidth

float KviIrcView::m_iFontCharacterWidth[256]
private

◆ m_iFontDescent

int KviIrcView::m_iFontDescent
private

◆ m_iFontLineSpacing

◆ m_iFontLineVMargin

◆ m_iIconSideSpacing

int KviIrcView::m_iIconSideSpacing
private

Referenced by paintEvent(), and recalcFontVariables().

◆ m_iIconWidth

int KviIrcView::m_iIconWidth
private

◆ m_iLastLinkRectHeight

int KviIrcView::m_iLastLinkRectHeight
private

◆ m_iLastLinkRectTop

int KviIrcView::m_iLastLinkRectTop
private

◆ m_iLastMouseClickTime

qint64 KviIrcView::m_iLastMouseClickTime
private

◆ m_iLastScrollBarValue

◆ m_iMaxLines

int KviIrcView::m_iMaxLines
private

◆ m_iMinimumPaintWidth

int KviIrcView::m_iMinimumPaintWidth
private

◆ m_iMouseTimer

int KviIrcView::m_iMouseTimer
private

◆ m_iNumLines

◆ m_iRelativePixmapY

int KviIrcView::m_iRelativePixmapY
private

Referenced by paintEvent(), and recalcFontVariables().

◆ m_iSelectionEndCharIndex

int KviIrcView::m_iSelectionEndCharIndex
private

◆ m_iSelectionInitCharIndex

int KviIrcView::m_iSelectionInitCharIndex
private

◆ m_iSelectTimer

int KviIrcView::m_iSelectTimer
private

◆ m_iUnprocessedPaintEventRequests

int KviIrcView::m_iUnprocessedPaintEventRequests
private

◆ m_iWrapMargin

int KviIrcView::m_iWrapMargin
private

◆ m_lineMarkArea

QRect KviIrcView::m_lineMarkArea
private

◆ m_pCurLine

◆ m_pCursorLine

◆ m_pFirstLine

◆ m_pFm

◆ m_pFrm

KviMainWindow* KviIrcView::m_pFrm
private

◆ m_pKviWindow

◆ m_pLastEvent

QMouseEvent* KviIrcView::m_pLastEvent
private

◆ m_pLastLine

◆ m_pLastLinkUnderMouse

KviIrcViewWrappedBlock* KviIrcView::m_pLastLinkUnderMouse
private

◆ m_pLogFile

QFile* KviIrcView::m_pLogFile
private

◆ m_pMasterView

KviIrcView* KviIrcView::m_pMasterView
private

◆ m_pMessagesStoppedWhileSelecting

std::vector<KviIrcViewLine *> KviIrcView::m_pMessagesStoppedWhileSelecting
private

◆ m_pPrivateBackgroundPixmap

◆ m_pScrollBar

◆ m_pSelectionEndLine

KviIrcViewLine* KviIrcView::m_pSelectionEndLine
private

◆ m_pSelectionInitLine

KviIrcViewLine* KviIrcView::m_pSelectionInitLine
private

◆ m_pToolsButton

QToolButton* KviIrcView::m_pToolsButton
private

◆ m_pToolsPopup

QMenu* KviIrcView::m_pToolsPopup
private

Referenced by KviIrcView(), and showToolsPopup().

◆ m_pToolTip

KviIrcViewToolTip* KviIrcView::m_pToolTip
private

◆ m_pToolWidget

◆ m_pWrappedBlockSelectionInfo

KviIrcViewWrappedBlockSelectionInfo* KviIrcView::m_pWrappedBlockSelectionInfo
private

◆ m_uLineMarkLineIndex

unsigned int KviIrcView::m_uLineMarkLineIndex
private

◆ m_uNextLineIndex

unsigned int KviIrcView::m_uNextLineIndex
private

Referenced by appendLine(), and KviIrcView().

Property Documentation

◆ TransparencyCapable

int KviIrcView::TransparencyCapable
read

◆ usePaintOnScreen

bool KviIrcView::usePaintOnScreen
readwrite

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