Created attachment 138371 [details] [review] Extends Qt5 API to allow setting visibility flags This makes it possible to change the visibility of a Widget Annotation through the Qt bindings. The Annot::setFlags already handles the update of the Annotation so the changed value is correctly saved. The patch is part of change to allow Okular to implement the JavaScript hidden property of FormWidgets and support for Hide Actions. An example document is attached to: https://phabricator.kde.org/T8274 For testing you would need the other Patches attached to the Task. The task also contains an autotest of this feature, so this will be automatically tested in Okulars test suite.
Pushed :)
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.