Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qwasmbase64iconstore.h
Go to the documentation of this file.
1// Copyright (C) 2018 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4#ifndef QWASMBASE64IMAGESTORE_H
5#define QWASMBASE64IMAGESTORE_H
6
7#include <string>
8#include <string_view>
9
10#include <QtCore/qtconfigmacros.h>
11
12QT_BEGIN_NAMESPACE
13class Base64IconStore
14{
15public:
16 enum class IconType {
17 Maximize,
18 First = Maximize,
19 QtLogo,
20 Restore,
21 X,
22 Size,
23 };
24
25 Base64IconStore();
26 ~Base64IconStore();
27
28 static Base64IconStore *get();
29
30 std::string_view getIcon(IconType type) const;
31
32private:
33 std::string m_storage[static_cast<size_t>(IconType::Size)];
34};
35
37#endif // QWASMBASE64IMAGESTORE_H
Combined button and popup list for selecting options.