![]() |
Qt 6.x
The Qt SDK
|
#include <qwasmwindownonclientarea.h>
Collaboration diagram for WebImageButton:Classes | |
| class | Callbacks |
Public Member Functions | |
| WebImageButton () | |
| ~WebImageButton () | |
| void | setCallbacks (Callbacks callbacks) |
| void | setImage (std::string_view imageData, std::string_view format) |
| void | setVisible (bool visible) |
| emscripten::val | htmlElement () const |
| emscripten::val | imageElement () const |
Definition at line 48 of file qwasmwindownonclientarea.h.
| WebImageButton::WebImageButton | ( | ) |
Definition at line 40 of file qwasmwindownonclientarea.cpp.
|
default |
|
inline |
Definition at line 80 of file qwasmwindownonclientarea.h.
|
inline |
Definition at line 81 of file qwasmwindownonclientarea.h.
Definition at line 53 of file qwasmwindownonclientarea.cpp.
References callbacks, WebImageButton::Callbacks::onClick(), WebImageButton::Callbacks::onInteraction(), and dom::syncCSSClassWith().
Here is the call graph for this function:| void WebImageButton::setImage | ( | std::string_view | imageData, |
| std::string_view | format | ||
| ) |
Definition at line 77 of file qwasmwindownonclientarea.cpp.
References imageData.
| void WebImageButton::setVisible | ( | bool | visible | ) |
Definition at line 83 of file qwasmwindownonclientarea.cpp.