Public Member Functions | Private Attributes | Friends | List of all members
ads::CIconProvider Class Reference

#include <IconProvider.h>

Public Member Functions

 CIconProvider ()
 
QIcon customIcon (eIcon IconId) const
 
void registerCustomIcon (eIcon IconId, const QIcon &icon)
 
virtual ~CIconProvider ()
 

Private Attributes

IconProviderPrivated
 private data (pimpl) More...
 

Friends

struct IconProviderPrivate
 

Detailed Description

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.

Constructor & Destructor Documentation

ads::CIconProvider::CIconProvider ( )

Default Constructor

Definition at line 39 of file IconProvider.cpp.

ads::CIconProvider::~CIconProvider ( )
virtual

Virtual Destructor

Definition at line 46 of file IconProvider.cpp.

Member Function Documentation

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.

Friends And Related Function Documentation

friend struct IconProviderPrivate
friend

Definition at line 32 of file IconProvider.h.

Member Data Documentation

IconProviderPrivate* ads::CIconProvider::d
private

private data (pimpl)

Definition at line 31 of file IconProvider.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 04:02:51