API Documentation
|
#include <KeystrokeWidget.h>
Public Member Functions | |
KeystrokeWidget (QWidget *parent=nullptr) | |
KeystrokeWidget (KeyControllerBase *controller, QWidget *parent=nullptr) | |
void | setController (KeyControllerBase *controller) |
void | setShowGrabVolumeKeys (bool show) |
bool | event (QEvent *event) override |
void | resetToDefaults () |
Public Member Functions inherited from KeyControllerBase |
Protected Member Functions | |
void | setup () |
void | setup (KeyController *key_controller) |
void | setup (BasicKeyController *key_controller) |
bool | processKeyEvent (const KeyEvent &key_event, DesignObjectLookup *lookup, Camera *camera) override |
void | cleanup () |
Protected Attributes | |
String | m_current_id |
bool | m_is_init = false |
KeyControllerBase * | m_controller = nullptr |
QCustomScrollArea * | m_scroll_area = nullptr |
QBoxLayout * | m_scroll_area_layout = nullptr |
QGridLayout * | m_layout = nullptr |
Button * | m_current_button = nullptr |
bool | m_show_grab_volume_keys = false |
KeystrokeWidget | ( | QWidget * | parent = nullptr | ) |
KeystrokeWidget | ( | KeyControllerBase * | controller, |
QWidget * | parent = nullptr ) |
|
protected |
|
override |
|
overrideprotectedvirtual |
Implements KeyControllerBase.
void resetToDefaults | ( | ) |
void setController | ( | KeyControllerBase * | controller | ) |
void setShowGrabVolumeKeys | ( | bool | show | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |