#include <deck_view_container.h>
Signals | |
| void | stateChanged () |
Public Member Functions | |
| ToggleButton (QWidget *parent=nullptr) | |
| bool | getState () const |
| void | setState (bool _state) |
Protected Member Functions | |
| void | paintEvent (QPaintEvent *event) override |
Private Attributes | |
| bool | state |
Custom QButton implementation in order to have the red/green toggling square around the button
|
explicit |
|
inlinenodiscard |
|
overrideprotected |
| void ToggleButton::setState | ( | bool | _state | ) |
|
signal |
|
private |