KVIrc  4.9.2
DeveloperAPIs
Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | Properties | Friends | List of all members
KviUserListViewArea Class Reference

User list area management. More...

#include <KviUserListView.h>

+ Inheritance diagram for KviUserListViewArea:

Public Member Functions

int dummyRead () const
 A dummy function that always returns 0. More...
 
 KviUserListViewArea (KviUserListView *pPar)
 Constructs the user listview area object. More...
 
 ~KviUserListViewArea ()
 Destroys the user listview are object. More...
 

Protected Slots

void scrollBarMoved (int iNewVal)
 Called when the scrollbar is moved. More...
 

Protected Member Functions

virtual void keyPressEvent (QKeyEvent *e)
 
virtual void mouseDoubleClickEvent (QMouseEvent *e)
 
virtual void mouseMoveEvent (QMouseEvent *e)
 
virtual void mousePressEvent (QMouseEvent *e)
 
virtual void mouseReleaseEvent (QMouseEvent *e)
 
virtual void paintEvent (QPaintEvent *e)
 
virtual void resizeEvent (QResizeEvent *e)
 
virtual void wheelEvent (QWheelEvent *e)
 

Protected Attributes

bool m_bIgnoreScrollBar
 
int m_iLastScrollBarVal
 
int m_iTopItemOffset
 
KviUserListEntrym_pLastEntryUnderMouse
 
KviUserListViewm_pListView
 
QScrollBar * m_pScrollBar
 

Properties

int TransparencyCapable
 

Friends

class KviUserListView
 

Detailed Description

User list area management.

Constructor & Destructor Documentation

KviUserListViewArea::KviUserListViewArea ( KviUserListView pPar)

Constructs the user listview area object.

Parameters
pParThe parent widget
Returns
KviUserListViewArea

References connect(), m_bIgnoreScrollBar, m_iLastScrollBarVal, m_iTopItemOffset, m_pLastEntryUnderMouse, m_pListView, m_pScrollBar, and scrollBarMoved().

KviUserListViewArea::~KviUserListViewArea ( )
default

Destroys the user listview are object.

Member Function Documentation

int KviUserListViewArea::dummyRead ( ) const
inline

A dummy function that always returns 0.

Returns
int
void KviUserListViewArea::keyPressEvent ( QKeyEvent *  e)
protectedvirtual
void KviUserListViewArea::mouseDoubleClickEvent ( QMouseEvent *  e)
protectedvirtual
void KviUserListViewArea::mouseMoveEvent ( QMouseEvent *  e)
protectedvirtual
void KviUserListViewArea::mousePressEvent ( QMouseEvent *  e)
protectedvirtual
void KviUserListViewArea::mouseReleaseEvent ( QMouseEvent *  e)
protectedvirtual
void KviUserListViewArea::paintEvent ( QPaintEvent *  e)
protectedvirtual

References KviIconManager::AlienIrcOp, KviIrcUserEntry::ChanAdmin, KviIconManager::ChanAdmin, KviIconManager::ChanAdminAway, KviIrcUserEntry::ChanOwner, KviIconManager::ChanOwner, KviIconManager::ChanOwnerAway, KviWindow::connection(), KviIrcConnection::currentNickName(), KviIrcUserDataBase::customColor(), KviPixmapUtils::drawPixmapWithPainter(), g_pApp, g_pIconManager, g_pMainWindow, g_pUserChanStatePixmap, KviIrcUserEntry::gender(), KviIconManager::getSmallIcon(), KviUserListView::getUserFlag(), KviUserListEntry::globalData(), KviIrcUserEntry::HalfOp, KviIconManager::HalfOp, KviIconManager::HalfOpAway, KviIrcUserDataBase::haveCustomColor(), KviIconManager::IrcBot, KviIrcUserEntry::isAway(), KviIrcUserEntry::isBot(), KviWindow::isDocked(), KviIrcUserEntry::isIrcOp(), KVI_COLD_TEMPERATURE, KVI_HALF_COLD_TEMPERATURE, KVI_HALF_HOT_TEMPERATURE, KVI_HOT_TEMPERATURE, KVI_MID_TEMPERATURE, KVI_OPTION_BOOL, KVI_OPTION_COLOR, KVI_OPTION_PIXMAP, KVI_OPTION_UINT, kvi_time_t, kvi_unixTime, KVI_USERLIST_BORDER_WIDTH, KVI_USERLIST_ICON_MARGIN, KVI_USERLIST_ICON_STATE_WIDTH, KVI_USERLIST_ICON_WIDTH, KVI_USERLISTVIEW_GRIDTYPE_3DGRID, KVI_USERLISTVIEW_GRIDTYPE_DOTGRID, KVI_USERLISTVIEW_GRIDTYPE_PLAINGRID, KviOption_boolDrawGenderIcons, KviOption_boolShowAvatarsInUserlist, KviOption_boolShowUserChannelIcons, KviOption_boolShowUserChannelState, KviOption_boolUseCompositingForTransparency, KviOption_boolUseDifferentColorForOwnNick, KviOption_boolUserListViewDrawGrid, KviOption_boolUserListViewUseAwayColor, KviOption_colorGlobalTransparencyFade, KviOption_colorUserListViewAwayForeground, KviOption_colorUserListViewBackground, KviOption_colorUserListViewChanAdminForeground, KviOption_colorUserListViewChanOwnerForeground, KviOption_colorUserListViewGrid, KviOption_colorUserListViewHalfOpForeground, KviOption_colorUserListViewIrcOpForeground, KviOption_colorUserListViewNormalForeground, KviOption_colorUserListViewOpForeground, KviOption_colorUserListViewOwnForeground, KviOption_colorUserListViewSelectionBackground, KviOption_colorUserListViewSelectionForeground, KviOption_colorUserListViewUserOpForeground, KviOption_colorUserListViewVoiceForeground, KviOption_pixmapUserListViewBackground, KviOption_uintGlobalTransparencyChildFadeFactor, KviOption_uintUserListPixmapAlign, KviOption_uintUserListViewGridType, KviUserListEntry::m_bSelected, KviUserListEntry::m_iFlags, KviUserListView::m_iFontHeight, KviUserListEntry::m_iHeight, KviUserListEntry::m_iTemperature, m_iTopItemOffset, KviUserListEntry::m_lastActionTime, KviUserListEntry::m_pAvatarPixmap, KviUserListView::m_pKviWindow, m_pListView, KviUserListEntry::m_pNext, m_pScrollBar, KviUserListView::m_pTopItem, KviUserListEntry::m_szNick, KviIrcUserEntry::Male, KviIrcUserEntry::Op, KviIconManager::Op, KviIconManager::OpAway, p, KviAnimatedPixmap::pixmap(), r, KviIconManager::SexFemale, KviIconManager::SexMale, KviApplication::supportsCompositing(), KviIrcUserEntry::Unknown, KviIrcConnection::userDataBase(), KviIconManager::UserOp, KviIconManager::UserOpAway, KviIrcUserEntry::Voice, KviIconManager::Voice, KviIconManager::VoiceAway, and KviUserListView::window().

void KviUserListViewArea::resizeEvent ( QResizeEvent *  e)
protectedvirtual
void KviUserListViewArea::scrollBarMoved ( int  iNewVal)
protectedslot

Called when the scrollbar is moved.

Parameters
iNewValThe new value of the scrollbar
Returns
void

References m_bIgnoreScrollBar, KviUserListEntry::m_iHeight, m_iLastScrollBarVal, m_iTopItemOffset, m_pListView, KviUserListEntry::m_pNext, KviUserListEntry::m_pPrev, and KviUserListView::m_pTopItem.

Referenced by KviUserListViewArea().

void KviUserListViewArea::wheelEvent ( QWheelEvent *  e)
protectedvirtual

References g_pApp, and m_pScrollBar.

Friends And Related Function Documentation

friend class KviUserListView
friend

Member Data Documentation

bool KviUserListViewArea::m_bIgnoreScrollBar
protected
int KviUserListViewArea::m_iLastScrollBarVal
protected
int KviUserListViewArea::m_iTopItemOffset
protected
KviUserListEntry* KviUserListViewArea::m_pLastEntryUnderMouse
protected
KviUserListView* KviUserListViewArea::m_pListView
protected
QScrollBar* KviUserListViewArea::m_pScrollBar
protected

Property Documentation

int KviUserListViewArea::TransparencyCapable
read

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