Added magnifier for more precise selections (#2219)

* added a magnifierwidget

* added option to show magnifier and added option to switch to square shaped magnifier

* integrated magnifierwidget into capture

this could probably be done in a nicer way.
right now the magnifier wont show if you select via the move tool.

Co-authored-by: Silas Dohm <silas@sdohm.xyz>
This commit is contained in:
SilasDo
2022-02-06 02:51:28 +01:00
committed by GitHub
parent 4affa92b91
commit cf08755c8b
9 changed files with 252 additions and 0 deletions

View File

@@ -81,6 +81,8 @@ static QMap<class QString, QSharedPointer<ValueHandler>>
OPTION("historyConfirmationToDelete" ,Bool ( true )),
OPTION("checkForUpdates" ,Bool ( true )),
OPTION("allowMultipleGuiInstances" ,Bool ( false )),
OPTION("showMagnifier" ,Bool ( false )),
OPTION("squareMagnifier" ,Bool ( false )),
#if !defined(Q_OS_WIN)
OPTION("autoCloseIdleDaemon" ,Bool ( false )),
#endif