KVIrc  4.9.2
DeveloperAPIs
Signals | Public Member Functions | Protected Member Functions | List of all members
KviIconWidget Class Reference

The widget with holds the table of icons. More...

#include <KviIconManager.h>

+ Inheritance diagram for KviIconWidget:

Signals

void closed ()
 Emitted when we close the table widget. More...
 
void selected (KviIconManager::SmallIcon eIcon)
 Emitted when we select an icon from the table. More...
 

Public Member Functions

 KviIconWidget ()
 Constructs the icon table widget. More...
 
 KviIconWidget (QWidget *pPar)
 Constructs the icon table widget. More...
 
 ~KviIconWidget ()
 Destroys the icon table widget. More...
 

Protected Member Functions

virtual void closeEvent (QCloseEvent *pEvent)
 
virtual bool eventFilter (QObject *pObject, QEvent *pEvent)
 
void init ()
 Initializes the table containing the icons. More...
 

Detailed Description

The widget with holds the table of icons.

Constructor & Destructor Documentation

KviIconWidget::KviIconWidget ( )

Constructs the icon table widget.

Returns
KviIconWidget

References init().

KviIconWidget::KviIconWidget ( QWidget *  pPar)

Constructs the icon table widget.

Parameters
pParThe parent object
Returns
KviIconWidget

References init().

KviIconWidget::~KviIconWidget ( )
default

Destroys the icon table widget.

Member Function Documentation

void KviIconWidget::closed ( )
signal

Emitted when we close the table widget.

Returns
void

Referenced by closeEvent().

void KviIconWidget::closeEvent ( QCloseEvent *  pEvent)
protectedvirtual

References closed().

bool KviIconWidget::eventFilter ( QObject *  pObject,
QEvent *  pEvent 
)
protectedvirtual

References selected(), and KviCString::toInt().

void KviIconWidget::init ( )
protected

Initializes the table containing the icons.

Returns
void

References __tr2qs, KviCString::Format, KviIconManager::getSmallIcon(), i, KviIconManager::IconCount, KviIconManager::IconManager, and KviCString::ptr().

Referenced by KviIconWidget().

void KviIconWidget::selected ( KviIconManager::SmallIcon  eIcon)
signal

Emitted when we select an icon from the table.

Parameters
eIconThe index of the icon selected
Returns
void

Referenced by eventFilter().


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