#include <IconProvider.h>
Public Member Functions | |
CIconProvider () | |
QIcon | customIcon (eIcon IconId) const |
void | registerCustomIcon (eIcon IconId, const QIcon &icon) |
virtual | ~CIconProvider () |
Private Attributes | |
IconProviderPrivate * | d |
private data (pimpl) More... | |
Friends | |
struct | IconProviderPrivate |
This object provides all icons that are required by the advanced docking system. The IconProvider enables the user to register custom icons in case using stylesheets is not an option.
Definition at line 28 of file IconProvider.h.
ads::CIconProvider::CIconProvider | ( | ) |
Default Constructor
Definition at line 39 of file IconProvider.cpp.
|
virtual |
Virtual Destructor
Definition at line 46 of file IconProvider.cpp.
QIcon ads::CIconProvider::customIcon | ( | eIcon | IconId | ) | const |
The function returns a custom icon if one is registered and a null Icon if no custom icon is registered
Definition at line 53 of file IconProvider.cpp.
void ads::CIconProvider::registerCustomIcon | ( | eIcon | IconId, |
const QIcon & | icon | ||
) |
Registers a custom icon for the given IconId
Definition at line 61 of file IconProvider.cpp.
|
friend |
Definition at line 32 of file IconProvider.h.
|
private |
private data (pimpl)
Definition at line 31 of file IconProvider.h.