Add font size storage/unified handling in Linguists editors
authorErik Larsson <erik@ortogonal.com>
Mon, 16 Dec 2013 12:16:40 +0000 (13:16 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 23 Jan 2014 09:59:56 +0000 (10:59 +0100)
commit82e9bc176c4e990e9a01a6182c64663b3a1d605c
tree1846b0e6eac42e7827f5d02110b6bd61bb00053a
parentf907c40484b5c6044bcb5fd621434536ce7ebc1d
Add font size storage/unified handling in Linguists editors

Add a unified font size handling in Linguists editors by assigning
Ctrl-+/Ctrl--/Ctrl-Wheel to inc/dec font size of ALL editors. The
current font size is also stored in the configuration and set at next
startup. This is done to make it simpler to use for translators.
If the configuration does not have a font size set it will set the
default system size.

Change-Id: I941f07807653360f8518938380f2c6a2d6f08b63
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
src/linguist/linguist/mainwindow.cpp
src/linguist/linguist/messageeditor.cpp
src/linguist/linguist/messageeditor.h