ACF $AcfVersion:0$
IIconProvider.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ACF-Commercial
2#pragma once
3
4
5// Qt includes
6#include <QtGui/QIcon>
7
8
9// ACF includes
10#include <istd/IChangeable.h>
11#include <iqtgui/iqtgui.h>
12
13
14namespace iqtgui
15{
16
17
21class IIconProvider: virtual public istd::IChangeable
22{
23public:
27 virtual int GetIconCount() const = 0;
28
32 virtual QIcon GetIcon(int iconIndex) const = 0;
33};
34
35
36} // namespace iqtgui
37
38
39
This interface provides acces to an icon.
virtual int GetIconCount() const =0
Gets the number of icons in the collection.
virtual QIcon GetIcon(int iconIndex) const =0
Gets icon with the index iconIndex from collection.
Common interface for data model objects, which can be changed.
Definition IChangeable.h:28
Standard GUI specific interfaces and components based on Qt.