Save magnifying glass size and zoom level

This commit is contained in:
Luis Ángel San Martín
2024-03-02 12:14:01 +01:00
parent 390883080d
commit 2bebec95bf
12 changed files with 54 additions and 12 deletions

View File

@ -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);

View File

@ -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