|
RADLib
RADical C++ application framework
|
RADUi backend implementation that uses Slint's event loop. More...
#include <RADSlintBackend.h>
Inheritance diagram for RADUi::Slint::SlintBackend:
Collaboration diagram for RADUi::Slint::SlintBackend:Public Member Functions | |
| SlintBackend () | |
| Captures the creating thread as the UI thread. More... | |
| void | run () override |
| Runs Slint's main event loop. More... | |
| void | quit () override |
| Requests Slint's event loop to quit. More... | |
| void | postToUi (std::function< void()> task) override |
| Posts task to Slint's UI queue. More... | |
| bool | isUiThread () const override |
| Returns true when called from the captured UI thread. More... | |
Public Member Functions inherited from RADUi::Backend | |
| virtual | ~Backend ()=default |
| Destroys the backend through the interface. More... | |
| RADUi::Slint::SlintBackend::SlintBackend | ( | ) |
Captures the creating thread as the UI thread.
|
overridevirtual |
Returns true when called from the captured UI thread.
Implements RADUi::Backend.
|
overridevirtual |
Posts task to Slint's UI queue.
Implements RADUi::Backend.
|
overridevirtual |
Requests Slint's event loop to quit.
Implements RADUi::Backend.
|
overridevirtual |
Runs Slint's main event loop.
Implements RADUi::Backend.