![]() |
Qt 6.x
The Qt SDK
|
#include <qwasmbase64iconstore.h>
Public Types | |
enum class | IconType { Maximize , First = Maximize , QtLogo , Restore , X , Size } |
Public Member Functions | |
Base64IconStore () | |
~Base64IconStore () | |
std::string_view | getIcon (IconType type) const |
Static Public Member Functions | |
static Base64IconStore * | get () |
Definition at line 12 of file qwasmbase64iconstore.h.
|
strong |
Enumerator | |
---|---|
Maximize | |
First | |
QtLogo | |
Restore | |
X | |
Size |
Definition at line 15 of file qwasmbase64iconstore.h.
Base64IconStore::Base64IconStore | ( | ) |
Definition at line 12 of file qwasmbase64iconstore.cpp.
References First, QFile::open(), Q_ASSERT, QStringLiteral, QIODevice::readAll(), QIODeviceBase::ReadOnly, Size, and QByteArray::toBase64().
|
default |
|
static |
Definition at line 30 of file qwasmbase64iconstore.cpp.
Referenced by TitleBar::TitleBar(), and QWasmWindow::setWindowIcon().
std::string_view Base64IconStore::getIcon | ( | IconType | type | ) | const |
Definition at line 35 of file qwasmbase64iconstore.cpp.