Bug 105757 - [Patch] Allow setting of visibility through Qt
Summary: [Patch] Allow setting of visibility through Qt
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: qt frontend (show other bugs)
Version: unspecified
Hardware: All All
: medium enhancement
Assignee: poppler-bugs
QA Contact:
URL: https://phabricator.kde.org/T8274
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-27 07:01 UTC by Andre Heinecke
Modified: 2018-04-07 09:52 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Extends Qt5 API to allow setting visibility flags (1.39 KB, patch)
2018-03-27 07:01 UTC, Andre Heinecke
Details | Splinter Review

Description Andre Heinecke 2018-03-27 07:01:08 UTC
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.
Comment 1 Albert Astals Cid 2018-04-07 09:52:38 UTC
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.