simgunz updated this revision to Diff 59954. simgunz added a comment.
Added the favorite tools. Now only the stamp tool is missing. PS: As usual, the code is still messy, I'll refactor it. For now I am more interested in feedback on the UI/UX Commits: - Rename XML actions - Keep a state of the selected tool - Add favorite annotation tools - Correctly enable annotations - Fix advanced settings not saved REPOSITORY R223 Okular CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D15580?vs=59781&id=59954 BRANCH annotation-toolbar-stable REVISION DETAIL https://phabricator.kde.org/D15580 AFFECTED FILES CMakeLists.txt conf/dlgannotations.cpp conf/dlgannotationsbase.ui conf/okular.kcfg part.rc ui/annotationactionhandler.cpp ui/annotationactionhandler.h ui/data/tools.xml ui/pageview.cpp ui/pageview.h ui/pageviewannotator.cpp ui/pageviewannotator.h ui/pageviewutils.cpp ui/pageviewutils.h ui/toolaction.cpp To: simgunz, #okular Cc: aacid, anthonyfieroni, davidhurka, knambiar, ngraham, tobiasdeiminger, okular-devel, fbampaloukas, joaonetto, tfella, darcyshen