KVIrc  4.9.2
DeveloperAPIs
Public Member Functions | Private Attributes | List of all members
KviUserListToolTip Class Reference

A class to manage userlist tooltips. More...

#include <KviUserListView.h>

+ Inheritance diagram for KviUserListToolTip:

Public Member Functions

void doTip (const QRect &rect, const QString &szStr)
 Shows the tooltip. More...
 
 KviUserListToolTip (KviUserListView *pView, KviUserListViewArea *pArea)
 Constructs the userlist tooltip. More...
 
virtual void maybeTip (const QPoint &pnt)
 Checks if user activated tooltips in the option panel. More...
 
virtual ~KviUserListToolTip ()
 Destroys the userlist tooltip. More...
 
- Public Member Functions inherited from KviTalToolTip
 KviTalToolTip (QWidget *pParent)
 
virtual void tip (const QRect &rect, const QString &text)
 
virtual ~KviTalToolTip ()
 

Private Attributes

KviUserListViewm_pListView
 

Additional Inherited Members

- Static Public Member Functions inherited from KviTalToolTip
static void add (QWidget *widget, const QString &text)
 
static void remove (QWidget *widget)
 
- Protected Member Functions inherited from KviTalToolTip
void helperDying ()
 
- Protected Attributes inherited from KviTalToolTip
KviTalToolTipHelperm_pHelper
 
QWidget * m_pParent
 

Detailed Description

A class to manage userlist tooltips.

Constructor & Destructor Documentation

KviUserListToolTip::KviUserListToolTip ( KviUserListView pView,
KviUserListViewArea pArea 
)

Constructs the userlist tooltip.

Parameters
pViewThe listview to manage tooltips
pAreaThe parent widget area
Returns
KviUserListToolTip

References m_pListView.

KviUserListToolTip::~KviUserListToolTip ( )
virtualdefault

Destroys the userlist tooltip.

Member Function Documentation

void KviUserListToolTip::doTip ( const QRect &  rect,
const QString &  szStr 
)
inline

Shows the tooltip.

Parameters
rectThe rectangle where to show the tooltip
szStrThe string to show
Returns
void

References KviTalToolTip::tip().

Referenced by KviUserListView::maybeTip().

void KviUserListToolTip::maybeTip ( const QPoint &  pnt)
virtual

Checks if user activated tooltips in the option panel.

Parameters
pntThe point where to show to tooltip
Returns
void

Reimplemented from KviTalToolTip.

References m_pListView, and KviUserListView::maybeTip().

Member Data Documentation

KviUserListView* KviUserListToolTip::m_pListView
private

Referenced by KviUserListToolTip(), and maybeTip().


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