]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/qt-console/restore/brestore.ui
bat: more work on brestore panel
[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>958</width>
10     <height>555</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="0" 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::Expanding</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="text">
79         <string>Merge Jobs</string>
80        </property>
81        <property name="checked">
82         <bool>true</bool>
83        </property>
84       </widget>
85      </item>
86      <item>
87       <widget class="QCheckBox" name="VersionsChk">
88        <property name="text">
89         <string>View all Versions</string>
90        </property>
91       </widget>
92      </item>
93      <item>
94       <widget class="QPushButton" name="LocationBp">
95        <property name="text">
96         <string>Location</string>
97        </property>
98       </widget>
99      </item>
100      <item>
101       <widget class="QLineEdit" name="LocationEntry"/>
102      </item>
103     </layout>
104    </item>
105    <item row="1" column="0">
106     <widget class="QSplitter" name="splitter_2">
107      <property name="orientation">
108       <enum>Qt::Vertical</enum>
109      </property>
110      <widget class="QSplitter" name="splitter">
111       <property name="orientation">
112        <enum>Qt::Horizontal</enum>
113       </property>
114       <widget class="QGroupBox" name="groupBox">
115        <property name="sizePolicy">
116         <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
117          <horstretch>0</horstretch>
118          <verstretch>0</verstretch>
119         </sizepolicy>
120        </property>
121        <property name="title">
122         <string>File list</string>
123        </property>
124        <layout class="QVBoxLayout" name="verticalLayout">
125         <item>
126          <widget class="bRestoreTable" name="FileList">
127           <property name="sizePolicy">
128            <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
129             <horstretch>5</horstretch>
130             <verstretch>5</verstretch>
131            </sizepolicy>
132           </property>
133           <property name="dragEnabled">
134            <bool>true</bool>
135           </property>
136           <property name="dragDropMode">
137            <enum>QAbstractItemView::DragOnly</enum>
138           </property>
139           <property name="alternatingRowColors">
140            <bool>true</bool>
141           </property>
142           <property name="selectionBehavior">
143            <enum>QAbstractItemView::SelectRows</enum>
144           </property>
145           <property name="showGrid">
146            <bool>false</bool>
147           </property>
148           <property name="sortingEnabled">
149            <bool>false</bool>
150           </property>
151           <attribute name="verticalHeaderVisible">
152            <bool>false</bool>
153           </attribute>
154           <column>
155            <property name="text">
156             <string>Type</string>
157            </property>
158           </column>
159           <column>
160            <property name="text">
161             <string>File Name</string>
162            </property>
163           </column>
164           <column>
165            <property name="text">
166             <string>Size</string>
167            </property>
168           </column>
169           <column>
170            <property name="text">
171             <string>Date</string>
172            </property>
173           </column>
174          </widget>
175         </item>
176         <item>
177          <layout class="QHBoxLayout" name="horizontalLayout">
178           <property name="sizeConstraint">
179            <enum>QLayout::SetMinimumSize</enum>
180           </property>
181           <item>
182            <widget class="QPushButton" name="OffsetPrevBp">
183             <property name="sizePolicy">
184              <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
185               <horstretch>0</horstretch>
186               <verstretch>0</verstretch>
187              </sizepolicy>
188             </property>
189             <property name="baseSize">
190              <size>
191               <width>25</width>
192               <height>25</height>
193              </size>
194             </property>
195             <property name="text">
196              <string/>
197             </property>
198             <property name="icon">
199              <iconset resource="../main.qrc">
200               <normaloff>:/images/page-prev.gif</normaloff>:/images/page-prev.gif</iconset>
201             </property>
202            </widget>
203           </item>
204           <item>
205            <widget class="QSpinBox" name="Offset1Spin">
206             <property name="buttonSymbols">
207              <enum>QAbstractSpinBox::NoButtons</enum>
208             </property>
209             <property name="maximum">
210              <number>9000000</number>
211             </property>
212             <property name="singleStep">
213              <number>500</number>
214             </property>
215            </widget>
216           </item>
217           <item>
218            <widget class="QLabel" name="label_2">
219             <property name="sizePolicy">
220              <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
221               <horstretch>0</horstretch>
222               <verstretch>0</verstretch>
223              </sizepolicy>
224             </property>
225             <property name="baseSize">
226              <size>
227               <width>16</width>
228               <height>16</height>
229              </size>
230             </property>
231             <property name="text">
232              <string>-</string>
233             </property>
234            </widget>
235           </item>
236           <item>
237            <widget class="QSpinBox" name="Offset2Spin">
238             <property name="buttonSymbols">
239              <enum>QAbstractSpinBox::NoButtons</enum>
240             </property>
241             <property name="accelerated">
242              <bool>false</bool>
243             </property>
244             <property name="minimum">
245              <number>0</number>
246             </property>
247             <property name="maximum">
248              <number>9999999</number>
249             </property>
250             <property name="singleStep">
251              <number>500</number>
252             </property>
253             <property name="value">
254              <number>500</number>
255             </property>
256            </widget>
257           </item>
258           <item>
259            <widget class="QPushButton" name="OffsetNextBp">
260             <property name="sizePolicy">
261              <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
262               <horstretch>0</horstretch>
263               <verstretch>0</verstretch>
264              </sizepolicy>
265             </property>
266             <property name="baseSize">
267              <size>
268               <width>25</width>
269               <height>25</height>
270              </size>
271             </property>
272             <property name="text">
273              <string/>
274             </property>
275             <property name="icon">
276              <iconset resource="../main.qrc">
277               <normaloff>:/images/page-next.gif</normaloff>:/images/page-next.gif</iconset>
278             </property>
279            </widget>
280           </item>
281           <item>
282            <spacer name="horizontalSpacer">
283             <property name="orientation">
284              <enum>Qt::Horizontal</enum>
285             </property>
286             <property name="sizeHint" stdset="0">
287              <size>
288               <width>40</width>
289               <height>20</height>
290              </size>
291             </property>
292            </spacer>
293           </item>
294           <item>
295            <widget class="QLineEdit" name="FilterEntry">
296             <property name="sizePolicy">
297              <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
298               <horstretch>0</horstretch>
299               <verstretch>0</verstretch>
300              </sizepolicy>
301             </property>
302             <property name="baseSize">
303              <size>
304               <width>111</width>
305               <height>23</height>
306              </size>
307             </property>
308            </widget>
309           </item>
310           <item>
311            <widget class="QPushButton" name="FilterBp">
312             <property name="baseSize">
313              <size>
314               <width>25</width>
315               <height>25</height>
316              </size>
317             </property>
318             <property name="text">
319              <string/>
320             </property>
321             <property name="icon">
322              <iconset resource="../main.qrc">
323               <normaloff>:/images/view-refresh.png</normaloff>:/images/view-refresh.png</iconset>
324             </property>
325            </widget>
326           </item>
327          </layout>
328         </item>
329        </layout>
330       </widget>
331       <widget class="QGroupBox" name="groupBox_2">
332        <property name="sizePolicy">
333         <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
334          <horstretch>0</horstretch>
335          <verstretch>0</verstretch>
336         </sizepolicy>
337        </property>
338        <property name="title">
339         <string>File revisions</string>
340        </property>
341        <layout class="QVBoxLayout">
342         <property name="spacing">
343          <number>6</number>
344         </property>
345         <property name="margin">
346          <number>9</number>
347         </property>
348         <item>
349          <widget class="bRestoreTable" name="FileRevisions">
350           <property name="sizePolicy">
351            <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
352             <horstretch>0</horstretch>
353             <verstretch>0</verstretch>
354            </sizepolicy>
355           </property>
356           <property name="dragEnabled">
357            <bool>true</bool>
358           </property>
359           <property name="dragDropMode">
360            <enum>QAbstractItemView::DragOnly</enum>
361           </property>
362           <property name="alternatingRowColors">
363            <bool>true</bool>
364           </property>
365           <property name="selectionMode">
366            <enum>QAbstractItemView::SingleSelection</enum>
367           </property>
368           <property name="selectionBehavior">
369            <enum>QAbstractItemView::SelectRows</enum>
370           </property>
371           <property name="showGrid">
372            <bool>false</bool>
373           </property>
374           <column>
375            <property name="text">
376             <string>InChanger</string>
377            </property>
378           </column>
379           <column>
380            <property name="text">
381             <string>Volume</string>
382            </property>
383           </column>
384           <column>
385            <property name="text">
386             <string>JobId</string>
387            </property>
388           </column>
389           <column>
390            <property name="text">
391             <string>Size</string>
392            </property>
393           </column>
394           <column>
395            <property name="text">
396             <string>Date</string>
397            </property>
398           </column>
399           <column>
400            <property name="text">
401             <string>Chksum</string>
402            </property>
403           </column>
404          </widget>
405         </item>
406        </layout>
407       </widget>
408      </widget>
409      <widget class="QWidget" name="layoutWidget_2">
410       <layout class="QVBoxLayout">
411        <property name="spacing">
412         <number>6</number>
413        </property>
414        <property name="margin">
415         <number>0</number>
416        </property>
417        <item>
418         <layout class="QHBoxLayout">
419          <property name="spacing">
420           <number>6</number>
421          </property>
422          <property name="margin">
423           <number>0</number>
424          </property>
425          <item>
426           <widget class="QLabel" name="label">
427            <property name="text">
428             <string>&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;
429 p, li { white-space: pre-wrap; }
430 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;&quot;&gt;
431 &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;&lt;span style=&quot; font-weight:600;&quot;&gt;Restore items list&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
432            </property>
433           </widget>
434          </item>
435          <item>
436           <spacer>
437            <property name="orientation">
438             <enum>Qt::Horizontal</enum>
439            </property>
440            <property name="sizeHint" stdset="0">
441             <size>
442              <width>40</width>
443              <height>20</height>
444             </size>
445            </property>
446           </spacer>
447          </item>
448          <item>
449           <widget class="QPushButton" name="ClearBp">
450            <property name="text">
451             <string>Clear</string>
452            </property>
453           </widget>
454          </item>
455          <item>
456           <widget class="QPushButton" name="EstimateBp">
457            <property name="text">
458             <string>Estimate</string>
459            </property>
460           </widget>
461          </item>
462          <item>
463           <widget class="QPushButton" name="RestoreBp">
464            <property name="text">
465             <string>Restore</string>
466            </property>
467           </widget>
468          </item>
469         </layout>
470        </item>
471        <item>
472         <widget class="bRestoreTable" name="RestoreList">
473          <property name="acceptDrops">
474           <bool>true</bool>
475          </property>
476          <property name="dragEnabled">
477           <bool>false</bool>
478          </property>
479          <property name="dragDropMode">
480           <enum>QAbstractItemView::DropOnly</enum>
481          </property>
482          <property name="defaultDropAction">
483           <enum>Qt::MoveAction</enum>
484          </property>
485          <property name="selectionMode">
486           <enum>QAbstractItemView::MultiSelection</enum>
487          </property>
488          <property name="selectionBehavior">
489           <enum>QAbstractItemView::SelectRows</enum>
490          </property>
491          <attribute name="verticalHeaderVisible">
492           <bool>false</bool>
493          </attribute>
494          <column>
495           <property name="text">
496            <string>Type</string>
497           </property>
498          </column>
499          <column>
500           <property name="text">
501            <string>FileName</string>
502           </property>
503          </column>
504          <column>
505           <property name="text">
506            <string>Size</string>
507           </property>
508          </column>
509          <column>
510           <property name="text">
511            <string>Date</string>
512           </property>
513          </column>
514          <column>
515           <property name="text">
516            <string>JobId</string>
517           </property>
518          </column>
519          <column>
520           <property name="text">
521            <string>FileIndex</string>
522           </property>
523          </column>
524          <column>
525           <property name="text">
526            <string>Nb Files</string>
527           </property>
528          </column>
529         </widget>
530        </item>
531       </layout>
532      </widget>
533     </widget>
534    </item>
535   </layout>
536  </widget>
537  <customwidgets>
538   <customwidget>
539    <class>bRestoreTable</class>
540    <extends>QTableWidget</extends>
541    <header>restore.h</header>
542   </customwidget>
543  </customwidgets>
544  <resources>
545   <include location="../main.qrc"/>
546  </resources>
547  <connections>
548   <connection>
549    <sender>OffsetNextBp</sender>
550    <signal>clicked()</signal>
551    <receiver>Offset2Spin</receiver>
552    <slot>stepUp()</slot>
553    <hints>
554     <hint type="sourcelabel">
555      <x>275</x>
556      <y>279</y>
557     </hint>
558     <hint type="destinationlabel">
559      <x>232</x>
560      <y>279</y>
561     </hint>
562    </hints>
563   </connection>
564   <connection>
565    <sender>OffsetNextBp</sender>
566    <signal>clicked()</signal>
567    <receiver>Offset1Spin</receiver>
568    <slot>stepUp()</slot>
569    <hints>
570     <hint type="sourcelabel">
571      <x>272</x>
572      <y>281</y>
573     </hint>
574     <hint type="destinationlabel">
575      <x>92</x>
576      <y>279</y>
577     </hint>
578    </hints>
579   </connection>
580   <connection>
581    <sender>OffsetPrevBp</sender>
582    <signal>clicked()</signal>
583    <receiver>Offset1Spin</receiver>
584    <slot>stepDown()</slot>
585    <hints>
586     <hint type="sourcelabel">
587      <x>44</x>
588      <y>287</y>
589     </hint>
590     <hint type="destinationlabel">
591      <x>123</x>
592      <y>282</y>
593     </hint>
594    </hints>
595   </connection>
596   <connection>
597    <sender>OffsetPrevBp</sender>
598    <signal>clicked()</signal>
599    <receiver>Offset2Spin</receiver>
600    <slot>stepDown()</slot>
601    <hints>
602     <hint type="sourcelabel">
603      <x>50</x>
604      <y>284</y>
605     </hint>
606     <hint type="destinationlabel">
607      <x>221</x>
608      <y>282</y>
609     </hint>
610    </hints>
611   </connection>
612  </connections>
613 </ui>