]> git.lyx.org Git - features.git/commit
Preferences shows current zoom instead of preference's default zoom (#10455)
authorDaniel Ramöller <d.lyx@web.de>
Sat, 29 Oct 2016 08:28:34 +0000 (10:28 +0200)
committerGuillaume MM <gm@lyx.org>
Sun, 7 May 2017 12:17:54 +0000 (14:17 +0200)
commit4183a9f4dc9bc0893fc59cd7e31db9bc7e52eea9
tree6f93a9d5f066a37e984d1df783adaae7beded7ed
parent9bf8ac4432c7e33afc180c2dc7470b53da063206
Preferences shows current zoom instead of preference's default zoom (#10455)

- Adds a currentZoom variable which holds the current zoom level.

- The zoom stored in preferences is used as default zoom level (default binding:
  M+0).

- The currentZoom is saved and restored via QSettings.

- Adds LFUN buffer-zoom for (re)setting zoom.
14 files changed:
lib/bind/cua.bind
src/Buffer.cpp
src/FuncCode.h
src/Length.cpp
src/LyXAction.cpp
src/LyXRC.cpp
src/LyXRC.h
src/MetricsInfo.cpp
src/frontends/qt4/GuiFontLoader.cpp
src/frontends/qt4/GuiView.cpp
src/frontends/qt4/GuiView.h
src/frontends/qt4/GuiWorkArea.cpp
src/frontends/qt4/ui/PrefScreenFontsUi.ui
src/tests/check_Length.cpp