-
Notifications
You must be signed in to change notification settings - Fork 15
/
mainwindow.ui
611 lines (611 loc) · 16.9 KB
/
mainwindow.ui
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Mainwindow</class>
<widget class="QMainWindow" name="Mainwindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>874</width>
<height>821</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="windowTitle">
<string>Paper Manager</string>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QVBoxLayout">
<item>
<layout class="QVBoxLayout">
<property name="spacing">
<number>3</number>
</property>
<item>
<widget class="Mainwidget" name="_main">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>1</verstretch>
</sizepolicy>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>252</green>
<blue>248</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>252</green>
<blue>248</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>252</green>
<blue>248</blue>
</color>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>252</green>
<blue>248</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>874</width>
<height>23</height>
</rect>
</property>
<widget class="QMenu" name="menuFile">
<property name="title">
<string>File</string>
</property>
<widget class="QMenu" name="menuImport">
<property name="toolTip">
<string>Import files from a directory</string>
</property>
<property name="title">
<string>Import</string>
</property>
<addaction name="actionDownloads"/>
<addaction name="actionDocuments"/>
<addaction name="actionDirectory"/>
</widget>
<addaction name="actionOptionsm"/>
<addaction name="menuImport"/>
<addaction name="actionPrint"/>
<addaction name="separator"/>
<addaction name="actionExit"/>
</widget>
<widget class="QMenu" name="menuView">
<property name="title">
<string>View</string>
</property>
<addaction name="actionFullScreen"/>
<addaction name="actionDirFilter"/>
</widget>
<widget class="QMenu" name="menuTools">
<property name="title">
<string>Tools</string>
</property>
<widget class="QMenu" name="menuArrange">
<property name="toolTip">
<string>Arrange stacks in this folder</string>
</property>
<property name="title">
<string>Arrange</string>
</property>
<addaction name="actionByPosition"/>
<addaction name="actionByDate"/>
<addaction name="actionByName"/>
<addaction name="separator"/>
<addaction name="actionResize_all"/>
</widget>
<addaction name="menuArrange"/>
</widget>
<widget class="QMenu" name="menuHelp">
<property name="title">
<string>Help</string>
</property>
<addaction name="actionAbout"/>
</widget>
<widget class="QMenu" name="menuEdit">
<property name="title">
<string>Edit</string>
</property>
<addaction name="actionUndo"/>
<addaction name="actionRedo"/>
<addaction name="actionSearch"/>
<addaction name="separator"/>
<addaction name="actionSelectall"/>
</widget>
<addaction name="menuFile"/>
<addaction name="menuEdit"/>
<addaction name="menuView"/>
<addaction name="menuTools"/>
<addaction name="menuHelp"/>
</widget>
<widget class="QStatusBar" name="statusbar"/>
<widget class="QToolBar" name="toolBar">
<property name="windowTitle">
<string>toolBar</string>
</property>
<attribute name="toolBarArea">
<enum>TopToolBarArea</enum>
</attribute>
<attribute name="toolBarBreak">
<bool>false</bool>
</attribute>
<addaction name="actionSwap"/>
<addaction name="actionPrint"/>
<addaction name="separator"/>
<addaction name="actionOptions"/>
<addaction name="actionScango"/>
<addaction name="actionPscan"/>
<addaction name="separator"/>
<addaction name="actionRleft"/>
<addaction name="actionRright"/>
<addaction name="actionHflip"/>
<addaction name="actionVflip"/>
</widget>
<action name="actionPrint">
<property name="icon">
<iconset resource="maxview.qrc">
<normaloff>:/images/images/print.xpm</normaloff>:/images/images/print.xpm</iconset>
</property>
<property name="text">
<string>Print</string>
</property>
<property name="toolTip">
<string>Print this stack</string>
</property>
<property name="shortcut">
<string>Ctrl+P</string>
</property>
</action>
<action name="actionExit">
<property name="text">
<string>Exit</string>
</property>
<property name="toolTip">
<string>Exit Paper Manager</string>
</property>
<property name="shortcut">
<string>Ctrl+Q</string>
</property>
</action>
<action name="actionSearch">
<property name="text">
<string>Search</string>
</property>
<property name="iconText">
<string>Locate</string>
</property>
<property name="toolTip">
<string>Search for stacks by name</string>
</property>
</action>
<action name="actionSelectall">
<property name="text">
<string>Select all</string>
</property>
<property name="toolTip">
<string>Select all stacks</string>
</property>
<property name="shortcut">
<string>Ctrl+A</string>
</property>
</action>
<action name="actionByPosition">
<property name="text">
<string>by Position</string>
</property>
<property name="toolTip">
<string>Arrange stacks by Position</string>
</property>
<property name="statusTip">
<string>Arrange stacks by Position</string>
</property>
</action>
<action name="actionByDate">
<property name="text">
<string>by Date</string>
</property>
<property name="toolTip">
<string>Arrange stacks by Date</string>
</property>
<property name="statusTip">
<string>Arrange stacks by Date</string>
</property>
</action>
<action name="actionByName">
<property name="text">
<string>by Name</string>
</property>
<property name="toolTip">
<string>Arrange stacks by Name</string>
</property>
<property name="statusTip">
<string>Arrange stacks by Name</string>
</property>
</action>
<action name="actionAbout">
<property name="text">
<string>About</string>
</property>
<property name="toolTip">
<string>Provides information about Paper Manager</string>
</property>
</action>
<action name="actionSwap">
<property name="icon">
<iconset resource="maxview.qrc">
<normaloff>:/images/images/swap.xpm</normaloff>:/images/images/swap.xpm</iconset>
</property>
<property name="text">
<string>Swap</string>
</property>
<property name="toolTip">
<string>Swap between desktop and page view</string>
</property>
</action>
<action name="actionPrev">
<property name="icon">
<iconset resource="maxview.qrc">
<normaloff>:/images/images/prev.xpm</normaloff>:/images/images/prev.xpm</iconset>
</property>
<property name="text">
<string>Prev</string>
</property>
<property name="toolTip">
<string>Move to previous page</string>
</property>
<property name="shortcut">
<string>PgUp</string>
</property>
</action>
<action name="actionNext">
<property name="icon">
<iconset resource="maxview.qrc">
<normaloff>:/images/images/next.xpm</normaloff>:/images/images/next.xpm</iconset>
</property>
<property name="text">
<string>Next</string>
</property>
<property name="toolTip">
<string>Move to next page</string>
</property>
<property name="shortcut">
<string>PgDown</string>
</property>
</action>
<action name="actionPprev">
<property name="icon">
<iconset resource="maxview.qrc">
<normaloff>:/images/images/pprev.xpm</normaloff>:/images/images/pprev.xpm</iconset>
</property>
<property name="text">
<string>pprev</string>
</property>
<property name="toolTip">
<string>Move to previous stack</string>
</property>
<property name="shortcut">
<string>Ctrl+PgUp</string>
</property>
</action>
<action name="actionPnext">
<property name="icon">
<iconset resource="maxview.qrc">
<normaloff>:/images/images/pnext.xpm</normaloff>:/images/images/pnext.xpm</iconset>
</property>
<property name="text">
<string>pnext</string>
</property>
<property name="toolTip">
<string>Move to next stack</string>
</property>
<property name="shortcut">
<string>Ctrl+PgDown</string>
</property>
</action>
<action name="actionOptions">
<property name="icon">
<iconset resource="maxview.qrc">
<normaloff>:/images/images/options.xpm</normaloff>:/images/images/options.xpm</iconset>
</property>
<property name="text">
<string>options</string>
</property>
<property name="toolTip">
<string>Change scanning options</string>
</property>
</action>
<action name="actionScango">
<property name="icon">
<iconset resource="maxview.qrc">
<normaloff>:/images/images/scan-go.xpm</normaloff>:/images/images/scan-go.xpm</iconset>
</property>
<property name="text">
<string>scango</string>
</property>
<property name="toolTip">
<string>Perform a scan immediately using current settings (F5)</string>
</property>
<property name="shortcut">
<string>F5</string>
</property>
<property name="shortcutContext">
<enum>Qt::ApplicationShortcut</enum>
</property>
</action>
<action name="actionPscan">
<property name="icon">
<iconset resource="maxview.qrc">
<normaloff>:/images/images/scan.xpm</normaloff>:/images/images/scan.xpm</iconset>
</property>
<property name="text">
<string>pscan</string>
</property>
<property name="toolTip">
<string>Bring up the scanning dialogue (F6)</string>
</property>
<property name="shortcut">
<string>F6</string>
</property>
<property name="shortcutContext">
<enum>Qt::ApplicationShortcut</enum>
</property>
</action>
<action name="actionRleft">
<property name="icon">
<iconset resource="maxview.qrc">
<normaloff>:/images/images/rleft.xpm</normaloff>:/images/images/rleft.xpm</iconset>
</property>
<property name="text">
<string>rleft</string>
</property>
<property name="toolTip">
<string>Rotate each page in the stack left</string>
</property>
<property name="shortcut">
<string>Alt+Left</string>
</property>
<property name="visible">
<bool>false</bool>
</property>
<property name="iconVisibleInMenu">
<bool>true</bool>
</property>
</action>
<action name="actionRright">
<property name="icon">
<iconset resource="maxview.qrc">
<normaloff>:/images/images/rright.xpm</normaloff>:/images/images/rright.xpm</iconset>
</property>
<property name="text">
<string>rright</string>
</property>
<property name="toolTip">
<string>Rotate each page in the stack right</string>
</property>
<property name="shortcut">
<string>Alt+Right</string>
</property>
<property name="visible">
<bool>false</bool>
</property>
</action>
<action name="actionHflip">
<property name="icon">
<iconset resource="maxview.qrc">
<normaloff>:/images/images/hflip.xpm</normaloff>:/images/images/hflip.xpm</iconset>
</property>
<property name="text">
<string>hflip</string>
</property>
<property name="toolTip">
<string>Flip each page in the stack horizontally</string>
</property>
<property name="visible">
<bool>false</bool>
</property>
</action>
<action name="actionVflip">
<property name="icon">
<iconset resource="maxview.qrc">
<normaloff>:/images/images/vflip.xpm</normaloff>:/images/images/vflip.xpm</iconset>
</property>
<property name="text">
<string>vflip</string>
</property>
<property name="toolTip">
<string>Flip each page in the stack vertically</string>
</property>
<property name="visible">
<bool>false</bool>
</property>
</action>
<action name="actionResize_all">
<property name="text">
<string>Resize all</string>
</property>
<property name="toolTip">
<string>Recalculate the size of all stacks in the current view</string>
</property>
<property name="statusTip">
<string>Recalculate the size of all stacks in the current view</string>
</property>
</action>
<action name="actionUndo">
<property name="text">
<string>Undo</string>
</property>
<property name="toolTip">
<string>Undo last operation</string>
</property>
</action>
<action name="actionRedo">
<property name="text">
<string>Redo</string>
</property>
<property name="toolTip">
<string>Redo last operation</string>
</property>
</action>
<action name="actionClear_Selection">
<property name="text">
<string>Clear Selection</string>
</property>
</action>
<action name="actionSelect_All">
<property name="text">
<string>Select All</string>
</property>
<property name="shortcut">
<string>Ctrl+A</string>
</property>
</action>
<action name="actionFullScreen">
<property name="text">
<string>Full Screen</string>
</property>
<property name="toolTip">
<string>Go into full screen mode</string>
</property>
<property name="shortcut">
<string>F11</string>
</property>
<property name="shortcutContext">
<enum>Qt::ApplicationShortcut</enum>
</property>
</action>
<action name="actionDirFilter">
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>Filter year/month</string>
</property>
<property name="shortcut">
<string>Ctrl+Shift+F</string>
</property>
<property name="shortcutContext">
<enum>Qt::ApplicationShortcut</enum>
</property>
</action>
<action name="actionOptionsm">
<property name="text">
<string>Options</string>
</property>
</action>
<action name="actionDownloads">
<property name="text">
<string>Downloads</string>
</property>
<property name="toolTip">
<string>Import files from the Downloads directory</string>
</property>
<property name="shortcut">
<string>Alt+Shift+W</string>
</property>
</action>
<action name="actionDocuments">
<property name="text">
<string>Documents</string>
</property>
<property name="toolTip">
<string>Import files from the Documents directory</string>
</property>
<property name="shortcut">
<string>Alt+Shift+D</string>
</property>
</action>
<action name="actionDirectory">
<property name="text">
<string>Directory...</string>
</property>
<property name="toolTip">
<string>Import files from a selected directory</string>
</property>
<property name="shortcut">
<string>Alt+Shift+F</string>
</property>
</action>
</widget>
<customwidgets>
<customwidget>
<class>Mainwidget</class>
<extends>QFrame</extends>
<header>mainwidget.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<resources>
<include location="maxview.qrc"/>
</resources>
<connections/>
</ui>