mirror of
https://github.com/YACReader/yacreader
synced 2025-07-19 05:24:57 -04:00
Save magnifying glass size and zoom level
This commit is contained in:
@ -76,6 +76,7 @@ void ShortcutsManager::initDefaultShorcuts()
|
||||
defaultShorcuts.insert(SIZE_DOWN_MGLASS_ACTION_Y, Qt::Key_Minus);
|
||||
defaultShorcuts.insert(ZOOM_IN_MGLASS_ACTION_Y, Qt::Key_Asterisk);
|
||||
defaultShorcuts.insert(ZOOM_OUT_MGLASS_ACTION_Y, Qt::Key_Underscore);
|
||||
defaultShorcuts.insert(RESET_MGLASS_ACTION_Y, Qt::Key_Slash);
|
||||
|
||||
#ifdef Q_OS_MACOS
|
||||
defaultShorcuts.insert(NEW_INSTANCE_ACTION_Y, Qt::Key_N);
|
||||
|
@ -159,5 +159,6 @@ public:
|
||||
#define SIZE_DOWN_MGLASS_ACTION_Y "SIZE_DOWN_MGLASS_ACTION_Y"
|
||||
#define ZOOM_IN_MGLASS_ACTION_Y "ZOOM_IN_MGLASS_ACTION_Y"
|
||||
#define ZOOM_OUT_MGLASS_ACTION_Y "ZOOM_OUT_MGLASS_ACTION_Y"
|
||||
#define RESET_MGLASS_ACTION_Y "RESET_MGLASS_ACTION_Y"
|
||||
|
||||
#endif // SHORTCUTS_MANAGER_H
|
||||
|
Reference in New Issue
Block a user