Igor Kushnir 24e42f76d2 Make Magnifying glass shortcuts work with non-Latin layouts
Viewer::keyPressEvent()'s and MagnifyingGlass::keyPressEvent()'s custom
matching of these shortcuts is the same as
MainWindowViewer::keyPressEvent()'s before the recent commit
"Reader: make 3 keyboard shortcuts work with non-Latin layouts". That
commit's message details the issues with the custom code.

The Magnifying glass actions are now enabled/disabled when
loadedComicActions are enabled/disabled - for the same reason (see the
recent "Reader: make 12 keyboard shortcuts work with non-Latin layouts"
commit). In addition, Viewer::keyPressEvent() propagated the Magnifying
glass shortcuts to MagnifyingGlass only when it was visible. Therefore
showing/hiding Magnifying glass also enables/disables these actions.
Note that Viewer::showMagnifyingGlass() shows Magnifying glass only if
render->hasLoadedComic() returns true, so
MainWindowViewer::setMglassActionsEnabled slot can be connected directly
to Viewer::magnifyingGlassVisibilityChanged signal without checking this
condition again.
2022-01-15 18:02:31 +02:00
..
2021-10-18 21:56:52 +02:00
2019-06-01 16:04:48 +02:00
2021-10-19 00:00:08 +02:00
2021-10-19 00:00:08 +02:00
2021-10-19 00:00:08 +02:00
2021-11-02 11:02:32 +01:00
2021-10-19 00:00:08 +02:00
2018-02-24 18:11:53 +00:00
2018-08-07 11:09:02 +02:00
2021-10-19 00:00:08 +02:00
2021-10-18 21:56:52 +02:00
2019-06-01 16:04:48 +02:00
2021-10-19 00:00:08 +02:00
2021-10-19 00:00:08 +02:00
2021-10-19 00:00:08 +02:00
2018-08-07 11:09:02 +02:00
2022-01-15 15:51:59 +01:00
2021-10-18 21:56:52 +02:00
2018-02-24 18:11:53 +00:00
2022-01-15 15:51:59 +01:00