|
14 | 14 | <string>Form</string> |
15 | 15 | </property> |
16 | 16 | <layout class="QVBoxLayout" name="verticalLayout_4"> |
| 17 | + <item> |
| 18 | + <widget class="QFrame" name="password_frame"> |
| 19 | + <property name="sizePolicy"> |
| 20 | + <sizepolicy hsizetype="Preferred" vsizetype="Maximum"> |
| 21 | + <horstretch>0</horstretch> |
| 22 | + <verstretch>0</verstretch> |
| 23 | + </sizepolicy> |
| 24 | + </property> |
| 25 | + <layout class="QHBoxLayout" name="horizontalLayout_2"> |
| 26 | + <item> |
| 27 | + <widget class="QLabel" name="label_3"> |
| 28 | + <property name="text"> |
| 29 | + <string>The document is password-protected. Please provide the correct password.</string> |
| 30 | + </property> |
| 31 | + <property name="wordWrap"> |
| 32 | + <bool>true</bool> |
| 33 | + </property> |
| 34 | + </widget> |
| 35 | + </item> |
| 36 | + <item> |
| 37 | + <widget class="QLineEdit" name="password"> |
| 38 | + <property name="styleSheet"> |
| 39 | + <string notr="true">QLineEdit {border: 2px solid #fd6c9e;}</string> |
| 40 | + </property> |
| 41 | + <property name="placeholderText"> |
| 42 | + <string>Document Password</string> |
| 43 | + </property> |
| 44 | + </widget> |
| 45 | + </item> |
| 46 | + <item> |
| 47 | + <widget class="QToolButton" name="password_accept"> |
| 48 | + <property name="toolTip"> |
| 49 | + <string>Set Password</string> |
| 50 | + </property> |
| 51 | + <property name="icon"> |
| 52 | + <iconset resource="../Icons/icons.qrc"> |
| 53 | + <normaloff>:/ok.svg</normaloff>:/ok.svg</iconset> |
| 54 | + </property> |
| 55 | + <property name="iconSize"> |
| 56 | + <size> |
| 57 | + <width>25</width> |
| 58 | + <height>25</height> |
| 59 | + </size> |
| 60 | + </property> |
| 61 | + </widget> |
| 62 | + </item> |
| 63 | + </layout> |
| 64 | + </widget> |
| 65 | + </item> |
| 66 | + <item> |
| 67 | + <widget class="QFrame" name="reload_frame"> |
| 68 | + <property name="sizePolicy"> |
| 69 | + <sizepolicy hsizetype="Preferred" vsizetype="Maximum"> |
| 70 | + <horstretch>0</horstretch> |
| 71 | + <verstretch>0</verstretch> |
| 72 | + </sizepolicy> |
| 73 | + </property> |
| 74 | + <layout class="QHBoxLayout" name="horizontalLayout_3"> |
| 75 | + <item> |
| 76 | + <widget class="QLabel" name="label_2"> |
| 77 | + <property name="text"> |
| 78 | + <string>The PDF document changed on disk. Reload?</string> |
| 79 | + </property> |
| 80 | + </widget> |
| 81 | + </item> |
| 82 | + <item> |
| 83 | + <widget class="QPushButton" name="reload_yes"> |
| 84 | + <property name="text"> |
| 85 | + <string>Yes</string> |
| 86 | + </property> |
| 87 | + </widget> |
| 88 | + </item> |
| 89 | + <item> |
| 90 | + <widget class="QPushButton" name="reload_no"> |
| 91 | + <property name="text"> |
| 92 | + <string>No</string> |
| 93 | + </property> |
| 94 | + </widget> |
| 95 | + </item> |
| 96 | + <item> |
| 97 | + <spacer name="horizontalSpacer_3"> |
| 98 | + <property name="orientation"> |
| 99 | + <enum>Qt::Orientation::Horizontal</enum> |
| 100 | + </property> |
| 101 | + <property name="sizeHint" stdset="0"> |
| 102 | + <size> |
| 103 | + <width>40</width> |
| 104 | + <height>20</height> |
| 105 | + </size> |
| 106 | + </property> |
| 107 | + </spacer> |
| 108 | + </item> |
| 109 | + </layout> |
| 110 | + </widget> |
| 111 | + </item> |
17 | 112 | <item> |
18 | 113 | <layout class="QHBoxLayout" name="horizontalLayout"> |
19 | 114 | <item> |
|
208 | 303 | </item> |
209 | 304 | </layout> |
210 | 305 | </item> |
211 | | - <item> |
212 | | - <widget class="QFrame" name="password_frame"> |
213 | | - <property name="sizePolicy"> |
214 | | - <sizepolicy hsizetype="Preferred" vsizetype="Maximum"> |
215 | | - <horstretch>0</horstretch> |
216 | | - <verstretch>0</verstretch> |
217 | | - </sizepolicy> |
218 | | - </property> |
219 | | - <layout class="QHBoxLayout" name="horizontalLayout_2"> |
220 | | - <item> |
221 | | - <widget class="QLabel" name="label_3"> |
222 | | - <property name="text"> |
223 | | - <string>The document is password-protected. Please provide the correct password.</string> |
224 | | - </property> |
225 | | - <property name="wordWrap"> |
226 | | - <bool>true</bool> |
227 | | - </property> |
228 | | - </widget> |
229 | | - </item> |
230 | | - <item> |
231 | | - <widget class="QLineEdit" name="password"> |
232 | | - <property name="styleSheet"> |
233 | | - <string notr="true">QLineEdit {border: 2px solid #fd6c9e;}</string> |
234 | | - </property> |
235 | | - <property name="placeholderText"> |
236 | | - <string>Document Password</string> |
237 | | - </property> |
238 | | - </widget> |
239 | | - </item> |
240 | | - <item> |
241 | | - <widget class="QToolButton" name="password_accept"> |
242 | | - <property name="toolTip"> |
243 | | - <string>Set Password</string> |
244 | | - </property> |
245 | | - <property name="icon"> |
246 | | - <iconset resource="../Icons/icons.qrc"> |
247 | | - <normaloff>:/ok.svg</normaloff>:/ok.svg</iconset> |
248 | | - </property> |
249 | | - <property name="iconSize"> |
250 | | - <size> |
251 | | - <width>25</width> |
252 | | - <height>25</height> |
253 | | - </size> |
254 | | - </property> |
255 | | - </widget> |
256 | | - </item> |
257 | | - </layout> |
258 | | - </widget> |
259 | | - </item> |
260 | | - <item> |
261 | | - <widget class="QFrame" name="reload_frame"> |
262 | | - <property name="sizePolicy"> |
263 | | - <sizepolicy hsizetype="Preferred" vsizetype="Maximum"> |
264 | | - <horstretch>0</horstretch> |
265 | | - <verstretch>0</verstretch> |
266 | | - </sizepolicy> |
267 | | - </property> |
268 | | - <layout class="QHBoxLayout" name="horizontalLayout_3"> |
269 | | - <item> |
270 | | - <widget class="QLabel" name="label_2"> |
271 | | - <property name="text"> |
272 | | - <string>The PDF document changed on disk. Reload?</string> |
273 | | - </property> |
274 | | - <property name="wordWrap"> |
275 | | - <bool>true</bool> |
276 | | - </property> |
277 | | - </widget> |
278 | | - </item> |
279 | | - <item> |
280 | | - <widget class="QPushButton" name="reload_yes"> |
281 | | - <property name="text"> |
282 | | - <string>Yes</string> |
283 | | - </property> |
284 | | - </widget> |
285 | | - </item> |
286 | | - <item> |
287 | | - <widget class="QPushButton" name="reload_no"> |
288 | | - <property name="text"> |
289 | | - <string>No</string> |
290 | | - </property> |
291 | | - </widget> |
292 | | - </item> |
293 | | - <item> |
294 | | - <spacer name="horizontalSpacer_3"> |
295 | | - <property name="orientation"> |
296 | | - <enum>Qt::Orientation::Horizontal</enum> |
297 | | - </property> |
298 | | - <property name="sizeHint" stdset="0"> |
299 | | - <size> |
300 | | - <width>40</width> |
301 | | - <height>20</height> |
302 | | - </size> |
303 | | - </property> |
304 | | - </spacer> |
305 | | - </item> |
306 | | - </layout> |
307 | | - </widget> |
308 | | - </item> |
309 | 306 | <item> |
310 | 307 | <widget class="QSplitter" name="splitter"> |
311 | 308 | <property name="orientation"> |
|
494 | 491 | </layout> |
495 | 492 | </widget> |
496 | 493 | <tabstops> |
| 494 | + <tabstop>password</tabstop> |
| 495 | + <tabstop>password_accept</tabstop> |
| 496 | + <tabstop>reload_yes</tabstop> |
| 497 | + <tabstop>reload_no</tabstop> |
497 | 498 | <tabstop>left_panel</tabstop> |
498 | 499 | <tabstop>first_page</tabstop> |
499 | 500 | <tabstop>previous_page</tabstop> |
|
505 | 506 | <tabstop>zoom_out</tabstop> |
506 | 507 | <tabstop>print</tabstop> |
507 | 508 | <tabstop>search_show</tabstop> |
508 | | - <tabstop>password</tabstop> |
509 | | - <tabstop>password_accept</tabstop> |
510 | | - <tabstop>reload_yes</tabstop> |
511 | | - <tabstop>reload_no</tabstop> |
512 | 509 | <tabstop>contents</tabstop> |
513 | 510 | <tabstop>search_view</tabstop> |
514 | 511 | <tabstop>meta</tabstop> |
|
0 commit comments