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// Qt-Security score:significant reason:default
4
5#ifndef QWASMBASE64IMAGESTORE_H
6#define QWASMBASE64IMAGESTORE_H
7
8#include <string>
9#include <string_view>
10
11#include <QtCore/qtconfigmacros.h>
12
13QT_BEGIN_NAMESPACE
14class Base64IconStore
15{
16public:
17 enum class IconType {
18 Maximize,
19 First = Maximize,
20 QtLogo,
21 Restore,
22 X,
23 Size,
24 };
25
26 Base64IconStore();
27 ~Base64IconStore();
28
29 static Base64IconStore *get();
30
31 std::string_view getIcon(IconType type) const;
32
33private:
34 std::string m_storage[static_cast<size_t>(IconType::Size)];
35};
36
38#endif // QWASMBASE64IMAGESTORE_H
Combined button and popup list for selecting options.