]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/qt-console/restore/brestore.ui
Require Qt version 4.8.4
[bacula/bacula] / bacula / src / qt-console / restore / brestore.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>bRestoreForm</class>
4  <widget class="QWidget" name="bRestoreForm">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>1011</width>
10     <height>650</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>brestore</string>
15   </property>
16   <layout class="QGridLayout">
17    <property name="margin">
18     <number>9</number>
19    </property>
20    <property name="spacing">
21     <number>6</number>
22    </property>
23    <item row="2" column="0">
24     <layout class="QHBoxLayout">
25      <property name="spacing">
26       <number>6</number>
27      </property>
28      <property name="margin">
29       <number>0</number>
30      </property>
31      <item>
32       <widget class="QComboBox" name="ClientList">
33        <property name="sizePolicy">
34         <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
35          <horstretch>0</horstretch>
36          <verstretch>0</verstretch>
37         </sizepolicy>
38        </property>
39        <property name="sizeAdjustPolicy">
40         <enum>QComboBox::AdjustToContents</enum>
41        </property>
42       </widget>
43      </item>
44      <item>
45       <widget class="QComboBox" name="JobList">
46        <property name="enabled">
47         <bool>false</bool>
48        </property>
49        <property name="sizePolicy">
50         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
51          <horstretch>0</horstretch>
52          <verstretch>0</verstretch>
53         </sizepolicy>
54        </property>
55        <property name="sizeAdjustPolicy">
56         <enum>QComboBox::AdjustToContents</enum>
57        </property>
58       </widget>
59      </item>
60      <item>
61       <spacer>
62        <property name="orientation">
63         <enum>Qt::Horizontal</enum>
64        </property>
65        <property name="sizeType">
66         <enum>QSizePolicy::Minimum</enum>
67        </property>
68        <property name="sizeHint" stdset="0">
69         <size>
70          <width>40</width>
71          <height>20</height>
72         </size>
73        </property>
74       </spacer>
75      </item>
76      <item>
77       <widget class="QCheckBox" name="MergeChk">
78        <property name="enabled">
79         <bool>true</bool>
80        </property>
81        <property name="text">
82         <string>Merge Jobs</string>
83        </property>
84        <property name="checked">
85         <bool>false</bool>
86        </property>
87       </widget>
88      </item>
89      <item>
90       <widget class="QCheckBox" name="VersionsChk">
91        <property name="text">
92         <string>View all Versions</string>
93        </property>
94       </widget>
95      </item>
96      <item>
97       <widget class="QPushButton" name="LocationBp">
98        <property name="text">
99         <string>Current Directory</string>
100        </property>
101       </widget>
102      </item>
103      <item>
104       <widget class="QLineEdit" name="LocationEntry">
105        <property name="sizePolicy">
106         <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
107          <horstretch>150</horstretch>
108          <verstretch>0</verstretch>
109         </sizepolicy>
110        </property>
111        <property name="minimumSize">
112         <size>
113          <width>150</width>
114          <height>0</height>
115         </size>
116        </property>
117       </widget>
118      </item>
119     </layout>
120    </item>
121    <item row="3" column="0">
122     <widget class="QSplitter" name="splitter_2">
123      <property name="orientation">
124       <enum>Qt::Vertical</enum>
125      </property>
126      <widget class="QSplitter" name="splitter">
127       <property name="orientation">
128        <enum>Qt::Horizontal</enum>
129       </property>
130       <widget class="QGroupBox" name="groupBox">
131        <property name="sizePolicy">
132         <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
133          <horstretch>0</horstretch>
134          <verstretch>0</verstretch>
135         </sizepolicy>
136        </property>
137        <property name="title">
138         <string>File list -- drag below for restore</string>
139        </property>
140        <layout class="QVBoxLayout" name="verticalLayout">
141         <item>
142          <widget class="bRestoreTable" name="FileList">
143           <property name="sizePolicy">
144            <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
145             <horstretch>5</horstretch>
146             <verstretch>5</verstretch>
147            </sizepolicy>
148           </property>
149           <property name="statusTip">
150            <string>Double Click File Name to decend</string>
151           </property>
152           <property name="dragEnabled">
153            <bool>true</bool>
154           </property>
155           <property name="dragDropMode">
156            <enum>QAbstractItemView::DragOnly</enum>
157           </property>
158           <property name="alternatingRowColors">
159            <bool>true</bool>
160           </property>
161           <property name="selectionBehavior">
162            <enum>QAbstractItemView::SelectRows</enum>
163           </property>
164           <property name="showGrid">
165            <bool>false</bool>
166           </property>
167           <property name="sortingEnabled">
168            <bool>false</bool>
169           </property>
170           <attribute name="verticalHeaderVisible">
171            <bool>false</bool>
172           </attribute>
173           <attribute name="verticalHeaderVisible">
174            <bool>false</bool>
175           </attribute>
176           <column>
177            <property name="text">
178             <string>Type</string>
179            </property>
180           </column>
181           <column>
182            <property name="text">
183             <string>File Name</string>
184            </property>
185            <property name="toolTip">
186             <string>Double Click to decend</string>
187            </property>
188           </column>
189           <column>
190            <property name="text">
191             <string>Size</string>
192            </property>
193           </column>
194           <column>
195            <property name="text">
196             <string>Date</string>
197            </property>
198           </column>
199          </widget>
200         </item>
201         <item>
202          <layout class="QHBoxLayout" name="horizontalLayout">
203           <property name="sizeConstraint">
204            <enum>QLayout::SetMinimumSize</enum>
205           </property>
206           <item>
207            <widget class="QLabel" name="label_5">
208             <property name="text">
209              <string>Selection Range</string>
210             </property>
211            </widget>
212           </item>
213           <item>
214            <widget class="QPushButton" name="OffsetPrevBp">
215             <property name="sizePolicy">
216              <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
217               <horstretch>0</horstretch>
218               <verstretch>0</verstretch>
219              </sizepolicy>
220             </property>
221             <property name="baseSize">
222              <size>
223               <width>25</width>
224               <height>25</height>
225              </size>
226             </property>
227             <property name="text">
228              <string/>
229             </property>
230             <property name="icon">
231              <iconset resource="../main.qrc">
232               <normaloff>:/images/page-prev.gif</normaloff>:/images/page-prev.gif</iconset>
233             </property>
234            </widget>
235           </item>
236           <item>
237            <widget class="QSpinBox" name="Offset1Spin">
238             <property name="buttonSymbols">
239              <enum>QAbstractSpinBox::NoButtons</enum>
240             </property>
241             <property name="maximum">
242              <number>9000000</number>
243             </property>
244             <property name="singleStep">
245              <number>500</number>
246             </property>
247            </widget>
248           </item>
249           <item>
250            <widget class="QLabel" name="label_2">
251             <property name="sizePolicy">
252              <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
253               <horstretch>0</horstretch>
254               <verstretch>0</verstretch>
255              </sizepolicy>
256             </property>
257             <property name="baseSize">
258              <size>
259               <width>16</width>
260               <height>16</height>
261              </size>
262             </property>
263             <property name="text">
264              <string>-</string>
265             </property>
266            </widget>
267           </item>
268           <item>
269            <widget class="QSpinBox" name="Offset2Spin">
270             <property name="buttonSymbols">
271              <enum>QAbstractSpinBox::NoButtons</enum>
272             </property>
273             <property name="accelerated">
274              <bool>false</bool>
275             </property>
276             <property name="minimum">
277              <number>10</number>
278             </property>
279             <property name="maximum">
280              <number>9999999</number>
281             </property>
282             <property name="singleStep">
283              <number>500</number>
284             </property>
285             <property name="value">
286              <number>500</number>
287             </property>
288            </widget>
289           </item>
290           <item>
291            <widget class="QPushButton" name="OffsetNextBp">
292             <property name="sizePolicy">
293              <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
294               <horstretch>0</horstretch>
295               <verstretch>0</verstretch>
296              </sizepolicy>
297             </property>
298             <property name="baseSize">
299              <size>
300               <width>25</width>
301               <height>25</height>
302              </size>
303             </property>
304             <property name="text">
305              <string/>
306             </property>
307             <property name="icon">
308              <iconset resource="../main.qrc">
309               <normaloff>:/images/page-next.gif</normaloff>:/images/page-next.gif</iconset>
310             </property>
311            </widget>
312           </item>
313           <item>
314            <spacer name="horizontalSpacer">
315             <property name="orientation">
316              <enum>Qt::Horizontal</enum>
317             </property>
318             <property name="sizeHint" stdset="0">
319              <size>
320               <width>40</width>
321               <height>20</height>
322              </size>
323             </property>
324            </spacer>
325           </item>
326           <item>
327            <widget class="QLabel" name="label_4">
328             <property name="text">
329              <string>File Filter </string>
330             </property>
331            </widget>
332           </item>
333           <item>
334            <widget class="QLineEdit" name="FilterEntry">
335             <property name="sizePolicy">
336              <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
337               <horstretch>150</horstretch>
338               <verstretch>0</verstretch>
339              </sizepolicy>
340             </property>
341             <property name="baseSize">
342              <size>
343               <width>111</width>
344               <height>23</height>
345              </size>
346             </property>
347            </widget>
348           </item>
349           <item>
350            <widget class="QPushButton" name="FilterBp">
351             <property name="baseSize">
352              <size>
353               <width>25</width>
354               <height>25</height>
355              </size>
356             </property>
357             <property name="text">
358              <string/>
359             </property>
360             <property name="icon">
361              <iconset resource="../main.qrc">
362               <normaloff>:/images/view-refresh.png</normaloff>:/images/view-refresh.png</iconset>
363             </property>
364            </widget>
365           </item>
366          </layout>
367         </item>
368        </layout>
369       </widget>
370       <widget class="QGroupBox" name="groupBox_2">
371        <property name="sizePolicy">
372         <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
373          <horstretch>0</horstretch>
374          <verstretch>0</verstretch>
375         </sizepolicy>
376        </property>
377        <property name="title">
378         <string>File revisions -- drag below for restore</string>
379        </property>
380        <layout class="QVBoxLayout">
381         <property name="spacing">
382          <number>6</number>
383         </property>
384         <property name="margin">
385          <number>9</number>
386         </property>
387         <item>
388          <widget class="bRestoreTable" name="FileRevisions">
389           <property name="sizePolicy">
390            <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
391             <horstretch>0</horstretch>
392             <verstretch>0</verstretch>
393            </sizepolicy>
394           </property>
395           <property name="dragEnabled">
396            <bool>true</bool>
397           </property>
398           <property name="dragDropMode">
399            <enum>QAbstractItemView::DragOnly</enum>
400           </property>
401           <property name="alternatingRowColors">
402            <bool>true</bool>
403           </property>
404           <property name="selectionMode">
405            <enum>QAbstractItemView::SingleSelection</enum>
406           </property>
407           <property name="selectionBehavior">
408            <enum>QAbstractItemView::SelectRows</enum>
409           </property>
410           <property name="showGrid">
411            <bool>false</bool>
412           </property>
413           <column>
414            <property name="text">
415             <string>InChanger</string>
416            </property>
417           </column>
418           <column>
419            <property name="text">
420             <string>Volume</string>
421            </property>
422           </column>
423           <column>
424            <property name="text">
425             <string>JobId</string>
426            </property>
427           </column>
428           <column>
429            <property name="text">
430             <string>Size</string>
431            </property>
432           </column>
433           <column>
434            <property name="text">
435             <string>Date</string>
436            </property>
437           </column>
438           <column>
439            <property name="text">
440             <string>Chksum</string>
441            </property>
442           </column>
443          </widget>
444         </item>
445        </layout>
446       </widget>
447      </widget>
448      <widget class="QWidget" name="layoutWidget_2">
449       <layout class="QVBoxLayout">
450        <property name="spacing">
451         <number>6</number>
452        </property>
453        <property name="margin">
454         <number>0</number>
455        </property>
456        <item>
457         <layout class="QHBoxLayout">
458          <property name="spacing">
459           <number>6</number>
460          </property>
461          <property name="margin">
462           <number>0</number>
463          </property>
464          <item>
465           <widget class="QLabel" name="label">
466            <property name="text">
467             <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
468 &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
469 p, li { white-space: pre-wrap; }
470 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
471 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Drag and drop &lt;span style=&quot; font-weight:600;&quot;&gt;File list&lt;/span&gt; and/or &lt;span style=&quot; font-weight:600;&quot;&gt;File revisions&lt;/span&gt; items here for Restore&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
472            </property>
473           </widget>
474          </item>
475          <item>
476           <spacer>
477            <property name="orientation">
478             <enum>Qt::Horizontal</enum>
479            </property>
480            <property name="sizeHint" stdset="0">
481             <size>
482              <width>40</width>
483              <height>20</height>
484             </size>
485            </property>
486           </spacer>
487          </item>
488          <item>
489           <widget class="QPushButton" name="ClearBp">
490            <property name="text">
491             <string>Clear</string>
492            </property>
493           </widget>
494          </item>
495          <item>
496           <widget class="QPushButton" name="EstimateBp">
497            <property name="enabled">
498             <bool>false</bool>
499            </property>
500            <property name="text">
501             <string>Estimate</string>
502            </property>
503           </widget>
504          </item>
505          <item>
506           <widget class="QPushButton" name="RestoreBp">
507            <property name="text">
508             <string>Restore</string>
509            </property>
510           </widget>
511          </item>
512         </layout>
513        </item>
514        <item>
515         <widget class="bRestoreTable" name="RestoreList">
516          <property name="acceptDrops">
517           <bool>true</bool>
518          </property>
519          <property name="dragEnabled">
520           <bool>false</bool>
521          </property>
522          <property name="dragDropMode">
523           <enum>QAbstractItemView::DropOnly</enum>
524          </property>
525          <property name="defaultDropAction">
526           <enum>Qt::MoveAction</enum>
527          </property>
528          <property name="selectionMode">
529           <enum>QAbstractItemView::MultiSelection</enum>
530          </property>
531          <property name="selectionBehavior">
532           <enum>QAbstractItemView::SelectRows</enum>
533          </property>
534          <attribute name="verticalHeaderVisible">
535           <bool>false</bool>
536          </attribute>
537          <attribute name="verticalHeaderVisible">
538           <bool>false</bool>
539          </attribute>
540          <column>
541           <property name="text">
542            <string>Type</string>
543           </property>
544          </column>
545          <column>
546           <property name="text">
547            <string>FileName</string>
548           </property>
549          </column>
550          <column>
551           <property name="text">
552            <string>Size</string>
553           </property>
554          </column>
555          <column>
556           <property name="text">
557            <string>Date</string>
558           </property>
559          </column>
560          <column>
561           <property name="text">
562            <string>JobId</string>
563           </property>
564          </column>
565          <column>
566           <property name="text">
567            <string>FileIndex</string>
568           </property>
569          </column>
570          <column>
571           <property name="text">
572            <string>Nb Files</string>
573           </property>
574          </column>
575         </widget>
576        </item>
577       </layout>
578      </widget>
579     </widget>
580    </item>
581    <item row="1" column="0">
582     <widget class="QLabel" name="label_3">
583      <property name="text">
584       <string>Select from Client list drop down then select from Job list drop down</string>
585      </property>
586     </widget>
587    </item>
588   </layout>
589  </widget>
590  <customwidgets>
591   <customwidget>
592    <class>bRestoreTable</class>
593    <extends>QTableWidget</extends>
594    <header>restore.h</header>
595   </customwidget>
596  </customwidgets>
597  <resources>
598   <include location="../main.qrc"/>
599  </resources>
600  <connections>
601   <connection>
602    <sender>OffsetNextBp</sender>
603    <signal>clicked()</signal>
604    <receiver>Offset2Spin</receiver>
605    <slot>stepUp()</slot>
606    <hints>
607     <hint type="sourcelabel">
608      <x>275</x>
609      <y>279</y>
610     </hint>
611     <hint type="destinationlabel">
612      <x>232</x>
613      <y>279</y>
614     </hint>
615    </hints>
616   </connection>
617   <connection>
618    <sender>OffsetNextBp</sender>
619    <signal>clicked()</signal>
620    <receiver>Offset1Spin</receiver>
621    <slot>stepUp()</slot>
622    <hints>
623     <hint type="sourcelabel">
624      <x>272</x>
625      <y>281</y>
626     </hint>
627     <hint type="destinationlabel">
628      <x>92</x>
629      <y>279</y>
630     </hint>
631    </hints>
632   </connection>
633   <connection>
634    <sender>OffsetPrevBp</sender>
635    <signal>clicked()</signal>
636    <receiver>Offset1Spin</receiver>
637    <slot>stepDown()</slot>
638    <hints>
639     <hint type="sourcelabel">
640      <x>44</x>
641      <y>287</y>
642     </hint>
643     <hint type="destinationlabel">
644      <x>123</x>
645      <y>282</y>
646     </hint>
647    </hints>
648   </connection>
649   <connection>
650    <sender>OffsetPrevBp</sender>
651    <signal>clicked()</signal>
652    <receiver>Offset2Spin</receiver>
653    <slot>stepDown()</slot>
654    <hints>
655     <hint type="sourcelabel">
656      <x>50</x>
657      <y>284</y>
658     </hint>
659     <hint type="destinationlabel">
660      <x>221</x>
661      <y>282</y>
662     </hint>
663    </hints>
664   </connection>
665  </connections>
666 </ui>