![]() |
KVIrc 5.2.6
Developer APIs
|
The widget with holds the table of icons. More...
#include <KviIconManager.h>
Signals | |
void | closed () |
Emitted when we close the table widget. | |
void | selected (KviIconManager::SmallIcon eIcon) |
Emitted when we select an icon from the table. | |
Public Member Functions | |
KviIconWidget (QWidget *pPar=nullptr) | |
Constructs the icon table widget. | |
~KviIconWidget () | |
Destroys the icon table widget. | |
Protected Member Functions | |
void | closeEvent (QCloseEvent *pEvent) override |
bool | eventFilter (QObject *pObject, QEvent *pEvent) override |
void | init () |
Initializes the table containing the icons. | |
The widget with holds the table of icons.
KviIconWidget::KviIconWidget | ( | QWidget * | pPar = nullptr | ) |
Constructs the icon table widget.
pPar | The parent object |
References init().
|
default |
Destroys the icon table widget.
References closeEvent(), and eventFilter().
|
signal |
|
overrideprotected |
References closed().
Referenced by ~KviIconWidget().
|
overrideprotected |
References selected(), and KviCString::toInt().
Referenced by ~KviIconWidget().
|
protected |
Initializes the table containing the icons.
References __tr2qs, KviCString::Format, g_pIconManager, i, KviIconManager::IconCount, KviIconManager::IconManager, and KviCString::ptr().
Referenced by KviIconWidget().
|
signal |
Emitted when we select an icon from the table.
eIcon | The index of the icon selected |
Referenced by eventFilter().