Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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
14{
15public:
16 enum class IconType {
19 QtLogo,
20 Restore,
21 X,
22 Size,
23 };
24
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
std::string_view getIcon(IconType type) const
static Base64IconStore * get()
Combined button and popup list for selecting options.
GLenum type