API Documentation
|
The core class for assigning actions to key-presses and registering them as a program-wide service. More...
#include <KeyController.h>
Public Member Functions | |
virtual void | addKeyOption (const KeyOption &option) |
BasicKeyController (const TranslatedString &key_controller_title) | |
const Buffer< KeyOption > & | currentKeyMaps () const |
virtual void | getINI (INIFactory &factory) override |
const TranslatedString & | keyControllerTitle () const |
bool | processKeyEvent (const KeyEvent &key_event, DesignObjectLookup *lookup, Camera *camera) final override |
virtual bool | processKeyEvent (const String &id, const KeyEvent &key_event, DesignObjectLookup *lookup, Camera *camera)=0 |
virtual void | resetKeyControllerToDefaults ()=0 |
virtual void | setKeyOption (const KeyOption &option) |
Public Member Functions inherited from KeyControllerBase | |
Public Member Functions inherited from INIInterface | |
virtual void | finishReadingINI (INIFactory &) |
INIInterface (const File &default_ini) | |
virtual void | prepareForINI (INIFactory &) |
virtual bool | readINIOptions () |
virtual bool | readINIOptions (File &ini_file) |
virtual bool | saveINIOptions (bool multithead=false) |
virtual bool | saveINIOptions (File &ini_file, bool multithead=false) |
void | setDefaultINIFile (const File &file) |
virtual void | writeToLog (const String &title, ProgressInfo *log, uint01 log_level=2U) |
virtual void | writeToLog (ProgressInfo *log, uint01 log_level=2U) |
virtual | ~INIInterface () |
Protected Attributes | |
TranslatedString | m_key_controller_title |
Buffer< KeyOption > | m_key_options |
bool | m_save_ini_on_change_key_option_change = false |
Protected Attributes inherited from INIInterface | |
File | m_default_ini |
The core class for assigning actions to key-presses and registering them as a program-wide service.
BasicKeyController | ( | const TranslatedString & | key_controller_title | ) |
|
virtual |
|
overridevirtual |
Implements INIInterface.
|
inline |
|
finaloverridevirtual |
Implements KeyControllerBase.
|
pure virtual |
Implemented in NDEVRRibbon, QCustomMessageBox, and SelectionWidget.
|
pure virtual |
Implemented in NDEVRRibbon, QCustomMessageBox, and SelectionWidget.
|
virtual |
|
protected |
|
protected |