Encryption settings dialog, authorization as owner

This commit is contained in:
Jakub Melka
2021-05-24 19:29:02 +02:00
parent 759d5c7793
commit 936fe2fbe7
9 changed files with 342 additions and 27 deletions

View File

@@ -13,15 +13,15 @@
<property name="windowTitle">
<string>Encryption Settings</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<layout class="QVBoxLayout" name="dialogLayout">
<item>
<widget class="QGroupBox" name="encryptionMethodGroupBox">
<property name="title">
<string>Encryption Method</string>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<layout class="QGridLayout" name="methodGroupBoxLayout">
<item row="0" column="1">
<widget class="QComboBox" name="algotithmComboBox"/>
<widget class="QComboBox" name="algorithmComboBox"/>
</item>
<item row="0" column="0">
<widget class="QLabel" name="encryptionAlgorithm">
@@ -51,7 +51,7 @@
<property name="title">
<string>Passwords</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<layout class="QGridLayout" name="passwordsGroupBoxLayout">
<item row="1" column="0">
<widget class="QCheckBox" name="ownerPasswordEnableCheckBox">
<property name="text">
@@ -100,12 +100,15 @@
<property name="title">
<string>Encrypt Contents</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<layout class="QVBoxLayout" name="encryptGroupBoxLayout">
<item>
<widget class="QRadioButton" name="encryptAllRadioButton">
<property name="text">
<string>Encrypt all document contents, including document metadata</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
@@ -130,7 +133,7 @@
<property name="title">
<string>Permissions</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<layout class="QGridLayout" name="permissionsGroupBoxLayout">
<item row="0" column="0">
<widget class="QCheckBox" name="permPrintLowResolutionCheckBox">
<property name="text">
@@ -139,7 +142,7 @@
</widget>
</item>
<item row="0" column="1">
<widget class="QCheckBox" name="checkBox_3">
<widget class="QCheckBox" name="permFillInteractiveFormsCheckBox">
<property name="text">
<string>Fill interactive forms</string>
</property>
@@ -153,7 +156,7 @@
</widget>
</item>
<item row="1" column="1">
<widget class="QCheckBox" name="checkBox_4">
<widget class="QCheckBox" name="permAccessibilityCheckBox">
<property name="text">
<string>Accessibility</string>
</property>
@@ -167,7 +170,7 @@
</widget>
</item>
<item row="2" column="1">
<widget class="QCheckBox" name="checkBox_5">
<widget class="QCheckBox" name="permAssembleCheckBox">
<property name="text">
<string>Assemble document (insert, rotate, delete pages...)</string>
</property>
@@ -181,7 +184,7 @@
</widget>
</item>
<item row="3" column="1">
<widget class="QCheckBox" name="checkBox_6">
<widget class="QCheckBox" name="permCopyContentCheckBox">
<property name="text">
<string>Copy/extract document content</string>
</property>