![]() |
Qt 6.x
The Qt SDK
|
#include <qwasmwindownonclientarea.h>
Collaboration diagram for TitleBar:Public Member Functions | |
| TitleBar (QWasmWindow *window, emscripten::val parentElement) | |
| ~TitleBar () | |
| void | setTitle (const QString &title) |
| void | setRestoreVisible (bool visible) |
| void | setMaximizeVisible (bool visible) |
| void | setCloseVisible (bool visible) |
| void | setIcon (std::string_view imageData, std::string_view format) |
| void | setWidth (int width) |
| QRectF | geometry () const |
Definition at line 183 of file qwasmwindownonclientarea.h.
| TitleBar::TitleBar | ( | QWasmWindow * | window, |
| emscripten::val | parentElement | ||
| ) |
Definition at line 259 of file qwasmwindownonclientarea.cpp.
References dom::document(), PointerEvent::fromWeb(), Base64IconStore::get(), Base64IconStore::Maximize, QWasmWindow::onCloseClicked(), QWasmWindow::onMaximizeClicked(), QWasmWindow::onNonClientAreaInteraction(), QWasmWindow::onRestoreClicked(), Base64IconStore::QtLogo, Base64IconStore::Restore, and Base64IconStore::X.
Here is the call graph for this function:| TitleBar::~TitleBar | ( | ) |
Definition at line 339 of file qwasmwindownonclientarea.cpp.
| QRectF TitleBar::geometry | ( | ) | const |
Definition at line 374 of file qwasmwindownonclientarea.cpp.
| void TitleBar::setCloseVisible | ( | bool | visible | ) |
Definition at line 359 of file qwasmwindownonclientarea.cpp.
| void TitleBar::setIcon | ( | std::string_view | imageData, |
| std::string_view | format | ||
| ) |
Definition at line 364 of file qwasmwindownonclientarea.cpp.
References imageData.
| void TitleBar::setMaximizeVisible | ( | bool | visible | ) |
Definition at line 354 of file qwasmwindownonclientarea.cpp.
| void TitleBar::setRestoreVisible | ( | bool | visible | ) |
Definition at line 349 of file qwasmwindownonclientarea.cpp.
Definition at line 344 of file qwasmwindownonclientarea.cpp.
References title, and QString::toStdString().
Here is the call graph for this function:| void TitleBar::setWidth | ( | int | width | ) |
Definition at line 369 of file qwasmwindownonclientarea.cpp.