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 | |
NDEVR_BASE_API | BasicKeyController (const TranslatedString &key_controller_title) |
NDEVR_BASE_API bool | processKeyEvent (const KeyEvent &key_event, DesignObjectLookup *lookup, Camera *camera) final override |
virtual NDEVR_BASE_API bool | processKeyEvent (const String &id, const KeyEvent &key_event, DesignObjectLookup *lookup, Camera *camera)=0 |
virtual NDEVR_BASE_API void | resetKeyControllerToDefaults ()=0 |
NDEVR_BASE_API const TranslatedString & | keyControllerTitle () const |
NDEVR_BASE_API const Buffer< KeyOption > & | currentKeyMaps () const |
virtual NDEVR_BASE_API void | setKeyOption (const KeyOption &option) |
virtual NDEVR_BASE_API void | getINI (INIFactory &factory) override |
virtual NDEVR_BASE_API void | addKeyOption (const KeyOption &option) |
Public Member Functions inherited from KeyControllerBase | |
Public Member Functions inherited from INIInterface | |
INIInterface (const File &default_ini) | |
virtual | ~INIInterface () |
virtual void | writeToLog (ProgressInfo *log, uint01 log_level=2U) |
virtual void | writeToLog (const String &title, ProgressInfo *log, uint01 log_level=2U) |
void | setDefaultINIFile (const File &file) |
virtual bool | readINIOptions () |
virtual bool | readINIOptions (File &ini_file) |
virtual void | finishReadingINI (INIFactory &) |
virtual void | prepareForINI (INIFactory &) |
virtual bool | saveINIOptions (bool multithead=false) |
virtual bool | saveINIOptions (File &ini_file, bool multithead=false) |
Protected Attributes | |
bool | m_save_ini_on_change_key_option_change = false |
Buffer< KeyOption > | m_key_options |
TranslatedString | m_key_controller_title |
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.
Class: AsciiFactory
BasicKeyController | ( | const TranslatedString & | key_controller_title | ) |
|
virtual |
|
inline |
|
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 |