Qt 6.x
The Qt SDK
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_view>
8
9#include <QtCore/qtconfigmacros.h>
10
13{
14public:
15 enum class IconType {
18 QtLogo,
19 Restore,
20 X,
21 Size,
22 };
23
26
27 static Base64IconStore *get();
28
29 std::string_view getIcon(IconType type) const;
30
31private:
32 std::string m_storage[static_cast<size_t>(IconType::Size)];
33};
34
36#endif // QWASMBASE64IMAGESTORE_H
std::string_view getIcon(IconType type) const
static Base64IconStore * get()
Combined button and popup list for selecting options.
GLenum type