|
7 | 7 | <x>0</x> |
8 | 8 | <y>0</y> |
9 | 9 | <width>712</width> |
10 | | - <height>183</height> |
| 10 | + <height>299</height> |
11 | 11 | </rect> |
12 | 12 | </property> |
13 | 13 | <property name="windowTitle"> |
|
18 | 18 | <widget class="QLabel" name="labelDialogDescription"/> |
19 | 19 | </item> |
20 | 20 | <item> |
21 | | - <layout class="QHBoxLayout" name="horizontalLayout"> |
| 21 | + <layout class="QHBoxLayout" name="horizontalLayout_2"> |
22 | 22 | <item> |
23 | 23 | <layout class="QFormLayout" name="formLayout"> |
24 | 24 | <item row="0" column="0"> |
|
55 | 55 | </property> |
56 | 56 | </widget> |
57 | 57 | </item> |
58 | | - <item row="2" column="0"> |
59 | | - <widget class="QLabel" name="label_3"> |
60 | | - <property name="text"> |
61 | | - <string>Page si&ze</string> |
62 | | - </property> |
63 | | - <property name="buddy"> |
64 | | - <cstring>comboPageSize</cstring> |
65 | | - </property> |
66 | | - </widget> |
67 | | - </item> |
68 | | - <item row="2" column="1"> |
69 | | - <widget class="QComboBox" name="comboPageSize"/> |
70 | | - </item> |
71 | 58 | </layout> |
72 | 59 | </item> |
73 | 60 | <item> |
|
103 | 90 | </item> |
104 | 91 | </layout> |
105 | 92 | </item> |
| 93 | + <item> |
| 94 | + <layout class="QFormLayout" name="formLayout_2"> |
| 95 | + <item row="0" column="0"> |
| 96 | + <widget class="QLabel" name="label"> |
| 97 | + <property name="text"> |
| 98 | + <string>Encr&yption settings</string> |
| 99 | + </property> |
| 100 | + <property name="buddy"> |
| 101 | + <cstring>radioEncryptionSqlCipher3</cstring> |
| 102 | + </property> |
| 103 | + </widget> |
| 104 | + </item> |
| 105 | + <item row="0" column="1"> |
| 106 | + <layout class="QHBoxLayout" name="horizontalLayout"> |
| 107 | + <item> |
| 108 | + <widget class="QRadioButton" name="radioEncryptionSqlCipher3"> |
| 109 | + <property name="text"> |
| 110 | + <string>SQLCipher &3 defaults</string> |
| 111 | + </property> |
| 112 | + </widget> |
| 113 | + </item> |
| 114 | + <item> |
| 115 | + <widget class="QRadioButton" name="radioEncryptionSqlCipher4"> |
| 116 | + <property name="text"> |
| 117 | + <string>SQLCipher &4 defaults</string> |
| 118 | + </property> |
| 119 | + </widget> |
| 120 | + </item> |
| 121 | + <item> |
| 122 | + <widget class="QRadioButton" name="radioEncryptionCustom"> |
| 123 | + <property name="text"> |
| 124 | + <string>Custo&m</string> |
| 125 | + </property> |
| 126 | + </widget> |
| 127 | + </item> |
| 128 | + </layout> |
| 129 | + </item> |
| 130 | + <item row="1" column="0"> |
| 131 | + <widget class="QLabel" name="label_3"> |
| 132 | + <property name="text"> |
| 133 | + <string>Page si&ze</string> |
| 134 | + </property> |
| 135 | + <property name="buddy"> |
| 136 | + <cstring>comboPageSize</cstring> |
| 137 | + </property> |
| 138 | + </widget> |
| 139 | + </item> |
| 140 | + <item row="1" column="1"> |
| 141 | + <widget class="QComboBox" name="comboPageSize"/> |
| 142 | + </item> |
| 143 | + <item row="2" column="0"> |
| 144 | + <widget class="QLabel" name="label_2"> |
| 145 | + <property name="text"> |
| 146 | + <string>&KDF iterations</string> |
| 147 | + </property> |
| 148 | + <property name="buddy"> |
| 149 | + <cstring>spinKdfIterations</cstring> |
| 150 | + </property> |
| 151 | + </widget> |
| 152 | + </item> |
| 153 | + <item row="2" column="1"> |
| 154 | + <widget class="QSpinBox" name="spinKdfIterations"> |
| 155 | + <property name="minimum"> |
| 156 | + <number>1</number> |
| 157 | + </property> |
| 158 | + <property name="maximum"> |
| 159 | + <number>1000000</number> |
| 160 | + </property> |
| 161 | + </widget> |
| 162 | + </item> |
| 163 | + <item row="3" column="0"> |
| 164 | + <widget class="QLabel" name="label_4"> |
| 165 | + <property name="text"> |
| 166 | + <string>HMAC algorithm</string> |
| 167 | + </property> |
| 168 | + <property name="buddy"> |
| 169 | + <cstring>comboHmacAlgorithm</cstring> |
| 170 | + </property> |
| 171 | + </widget> |
| 172 | + </item> |
| 173 | + <item row="3" column="1"> |
| 174 | + <widget class="QComboBox" name="comboHmacAlgorithm"> |
| 175 | + <item> |
| 176 | + <property name="text"> |
| 177 | + <string notr="true">SHA512</string> |
| 178 | + </property> |
| 179 | + </item> |
| 180 | + <item> |
| 181 | + <property name="text"> |
| 182 | + <string notr="true">SHA256</string> |
| 183 | + </property> |
| 184 | + </item> |
| 185 | + <item> |
| 186 | + <property name="text"> |
| 187 | + <string notr="true">SHA1</string> |
| 188 | + </property> |
| 189 | + </item> |
| 190 | + </widget> |
| 191 | + </item> |
| 192 | + <item row="4" column="0"> |
| 193 | + <widget class="QLabel" name="label_5"> |
| 194 | + <property name="text"> |
| 195 | + <string>KDF algorithm</string> |
| 196 | + </property> |
| 197 | + <property name="buddy"> |
| 198 | + <cstring>comboKdfAlgorithm</cstring> |
| 199 | + </property> |
| 200 | + </widget> |
| 201 | + </item> |
| 202 | + <item row="4" column="1"> |
| 203 | + <widget class="QComboBox" name="comboKdfAlgorithm"> |
| 204 | + <item> |
| 205 | + <property name="text"> |
| 206 | + <string notr="true">SHA512</string> |
| 207 | + </property> |
| 208 | + </item> |
| 209 | + <item> |
| 210 | + <property name="text"> |
| 211 | + <string notr="true">SHA256</string> |
| 212 | + </property> |
| 213 | + </item> |
| 214 | + <item> |
| 215 | + <property name="text"> |
| 216 | + <string notr="true">SHA1</string> |
| 217 | + </property> |
| 218 | + </item> |
| 219 | + </widget> |
| 220 | + </item> |
| 221 | + </layout> |
| 222 | + </item> |
106 | 223 | <item> |
107 | 224 | <widget class="QDialogButtonBox" name="buttonBox"> |
108 | 225 | <property name="orientation"> |
|
117 | 234 | </widget> |
118 | 235 | <tabstops> |
119 | 236 | <tabstop>editPassword</tabstop> |
120 | | - <tabstop>comboKeyFormat</tabstop> |
121 | 237 | <tabstop>editPassword2</tabstop> |
| 238 | + <tabstop>comboKeyFormat</tabstop> |
| 239 | + <tabstop>radioEncryptionSqlCipher3</tabstop> |
| 240 | + <tabstop>radioEncryptionSqlCipher4</tabstop> |
| 241 | + <tabstop>radioEncryptionCustom</tabstop> |
122 | 242 | <tabstop>comboPageSize</tabstop> |
| 243 | + <tabstop>spinKdfIterations</tabstop> |
| 244 | + <tabstop>comboHmacAlgorithm</tabstop> |
| 245 | + <tabstop>comboKdfAlgorithm</tabstop> |
123 | 246 | </tabstops> |
124 | 247 | <resources/> |
125 | 248 | <connections> |
|
130 | 253 | <slot>accept()</slot> |
131 | 254 | <hints> |
132 | 255 | <hint type="sourcelabel"> |
133 | | - <x>233</x> |
134 | | - <y>174</y> |
| 256 | + <x>175</x> |
| 257 | + <y>265</y> |
135 | 258 | </hint> |
136 | 259 | <hint type="destinationlabel"> |
137 | 260 | <x>157</x> |
|
146 | 269 | <slot>reject()</slot> |
147 | 270 | <hints> |
148 | 271 | <hint type="sourcelabel"> |
149 | | - <x>301</x> |
150 | | - <y>174</y> |
| 272 | + <x>175</x> |
| 273 | + <y>265</y> |
151 | 274 | </hint> |
152 | 275 | <hint type="destinationlabel"> |
153 | 276 | <x>286</x> |
|
178 | 301 | <slot>checkInputFields()</slot> |
179 | 302 | <hints> |
180 | 303 | <hint type="sourcelabel"> |
181 | | - <x>319</x> |
182 | | - <y>96</y> |
| 304 | + <x>446</x> |
| 305 | + <y>79</y> |
183 | 306 | </hint> |
184 | 307 | <hint type="destinationlabel"> |
185 | 308 | <x>206</x> |
|
203 | 326 | </hint> |
204 | 327 | </hints> |
205 | 328 | </connection> |
| 329 | + <connection> |
| 330 | + <sender>radioEncryptionSqlCipher3</sender> |
| 331 | + <signal>toggled(bool)</signal> |
| 332 | + <receiver>CipherDialog</receiver> |
| 333 | + <slot>toggleEncryptionSettings()</slot> |
| 334 | + <hints> |
| 335 | + <hint type="sourcelabel"> |
| 336 | + <x>217</x> |
| 337 | + <y>114</y> |
| 338 | + </hint> |
| 339 | + <hint type="destinationlabel"> |
| 340 | + <x>231</x> |
| 341 | + <y>94</y> |
| 342 | + </hint> |
| 343 | + </hints> |
| 344 | + </connection> |
| 345 | + <connection> |
| 346 | + <sender>radioEncryptionSqlCipher4</sender> |
| 347 | + <signal>toggled(bool)</signal> |
| 348 | + <receiver>CipherDialog</receiver> |
| 349 | + <slot>toggleEncryptionSettings()</slot> |
| 350 | + <hints> |
| 351 | + <hint type="sourcelabel"> |
| 352 | + <x>353</x> |
| 353 | + <y>117</y> |
| 354 | + </hint> |
| 355 | + <hint type="destinationlabel"> |
| 356 | + <x>407</x> |
| 357 | + <y>97</y> |
| 358 | + </hint> |
| 359 | + </hints> |
| 360 | + </connection> |
| 361 | + <connection> |
| 362 | + <sender>radioEncryptionCustom</sender> |
| 363 | + <signal>toggled(bool)</signal> |
| 364 | + <receiver>CipherDialog</receiver> |
| 365 | + <slot>toggleEncryptionSettings()</slot> |
| 366 | + <hints> |
| 367 | + <hint type="sourcelabel"> |
| 368 | + <x>552</x> |
| 369 | + <y>120</y> |
| 370 | + </hint> |
| 371 | + <hint type="destinationlabel"> |
| 372 | + <x>590</x> |
| 373 | + <y>99</y> |
| 374 | + </hint> |
| 375 | + </hints> |
| 376 | + </connection> |
206 | 377 | </connections> |
207 | 378 | <slots> |
208 | 379 | <slot>checkInputFields()</slot> |
| 380 | + <slot>toggleEncryptionSettings()</slot> |
209 | 381 | </slots> |
210 | 382 | </ui> |
0 commit comments