]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/qt-console/restore/brestore.ui
bat: Try to implement drag&drop for file selection
[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="1" column="0">
24     <widget class="QSplitter" name="splitter_2">
25      <property name="orientation">
26       <enum>Qt::Vertical</enum>
27      </property>
28      <widget class="QSplitter" name="splitter">
29       <property name="orientation">
30        <enum>Qt::Horizontal</enum>
31       </property>
32       <widget class="QGroupBox" name="groupBox">
33        <property name="sizePolicy">
34         <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
35          <horstretch>0</horstretch>
36          <verstretch>0</verstretch>
37         </sizepolicy>
38        </property>
39        <property name="title">
40         <string>File list</string>
41        </property>
42        <layout class="QVBoxLayout">
43         <property name="spacing">
44          <number>6</number>
45         </property>
46         <property name="margin">
47          <number>9</number>
48         </property>
49         <item>
50          <widget class="bRestoreTable" name="FileList">
51           <property name="sizePolicy">
52            <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
53             <horstretch>5</horstretch>
54             <verstretch>5</verstretch>
55            </sizepolicy>
56           </property>
57           <property name="dragEnabled">
58            <bool>true</bool>
59           </property>
60           <property name="alternatingRowColors">
61            <bool>true</bool>
62           </property>
63           <property name="selectionBehavior">
64            <enum>QAbstractItemView::SelectRows</enum>
65           </property>
66           <property name="showGrid">
67            <bool>false</bool>
68           </property>
69           <property name="sortingEnabled">
70            <bool>false</bool>
71           </property>
72           <attribute name="verticalHeaderVisible">
73            <bool>false</bool>
74           </attribute>
75           <column>
76            <property name="text">
77             <string>Data</string>
78            </property>
79           </column>
80           <column>
81            <property name="text">
82             <string>Type</string>
83            </property>
84           </column>
85           <column>
86            <property name="text">
87             <string>File Name</string>
88            </property>
89           </column>
90           <column>
91            <property name="text">
92             <string>Size</string>
93            </property>
94           </column>
95           <column>
96            <property name="text">
97             <string>Date</string>
98            </property>
99           </column>
100          </widget>
101         </item>
102        </layout>
103       </widget>
104       <widget class="QGroupBox" name="groupBox_2">
105        <property name="sizePolicy">
106         <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
107          <horstretch>0</horstretch>
108          <verstretch>0</verstretch>
109         </sizepolicy>
110        </property>
111        <property name="title">
112         <string>File revisions</string>
113        </property>
114        <layout class="QVBoxLayout">
115         <property name="spacing">
116          <number>6</number>
117         </property>
118         <property name="margin">
119          <number>9</number>
120         </property>
121         <item>
122          <widget class="bRestoreTable" name="FileRevisions">
123           <property name="sizePolicy">
124            <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
125             <horstretch>0</horstretch>
126             <verstretch>0</verstretch>
127            </sizepolicy>
128           </property>
129           <property name="dragEnabled">
130            <bool>true</bool>
131           </property>
132           <property name="alternatingRowColors">
133            <bool>true</bool>
134           </property>
135           <property name="selectionMode">
136            <enum>QAbstractItemView::SingleSelection</enum>
137           </property>
138           <property name="selectionBehavior">
139            <enum>QAbstractItemView::SelectRows</enum>
140           </property>
141           <property name="showGrid">
142            <bool>false</bool>
143           </property>
144           <column>
145            <property name="text">
146             <string>Data</string>
147            </property>
148           </column>
149           <column>
150            <property name="text">
151             <string>InChanger</string>
152            </property>
153           </column>
154           <column>
155            <property name="text">
156             <string>Volume</string>
157            </property>
158           </column>
159           <column>
160            <property name="text">
161             <string>JobId</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           <column>
175            <property name="text">
176             <string>Chksum</string>
177            </property>
178           </column>
179          </widget>
180         </item>
181        </layout>
182       </widget>
183      </widget>
184      <widget class="QWidget" name="layoutWidget_2">
185       <layout class="QVBoxLayout">
186        <property name="spacing">
187         <number>6</number>
188        </property>
189        <property name="margin">
190         <number>0</number>
191        </property>
192        <item>
193         <layout class="QHBoxLayout">
194          <property name="spacing">
195           <number>6</number>
196          </property>
197          <property name="margin">
198           <number>0</number>
199          </property>
200          <item>
201           <widget class="QLabel" name="label">
202            <property name="text">
203             <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;
204 p, li { white-space: pre-wrap; }
205 &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;
206 &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>
207            </property>
208           </widget>
209          </item>
210          <item>
211           <spacer>
212            <property name="orientation">
213             <enum>Qt::Horizontal</enum>
214            </property>
215            <property name="sizeHint" stdset="0">
216             <size>
217              <width>40</width>
218              <height>20</height>
219             </size>
220            </property>
221           </spacer>
222          </item>
223          <item>
224           <widget class="QPushButton" name="pushButton">
225            <property name="text">
226             <string>Clear</string>
227            </property>
228           </widget>
229          </item>
230          <item>
231           <widget class="QPushButton" name="pushButton_2">
232            <property name="text">
233             <string>Estimate</string>
234            </property>
235           </widget>
236          </item>
237          <item>
238           <widget class="QPushButton" name="pushButton_3">
239            <property name="text">
240             <string>Restore</string>
241            </property>
242           </widget>
243          </item>
244         </layout>
245        </item>
246        <item>
247         <widget class="bRestoreTable" name="RestoreList">
248          <property name="acceptDrops">
249           <bool>true</bool>
250          </property>
251          <property name="dragDropMode">
252           <enum>QAbstractItemView::DropOnly</enum>
253          </property>
254          <attribute name="verticalHeaderVisible">
255           <bool>false</bool>
256          </attribute>
257          <column>
258           <property name="text">
259            <string>Data</string>
260           </property>
261          </column>
262          <column>
263           <property name="text">
264            <string>Type</string>
265           </property>
266          </column>
267          <column>
268           <property name="text">
269            <string>FileName</string>
270           </property>
271          </column>
272          <column>
273           <property name="text">
274            <string>Size</string>
275           </property>
276          </column>
277          <column>
278           <property name="text">
279            <string>Date</string>
280           </property>
281          </column>
282          <column>
283           <property name="text">
284            <string>JobId</string>
285           </property>
286          </column>
287          <column>
288           <property name="text">
289            <string>FileIndex</string>
290           </property>
291          </column>
292          <column>
293           <property name="text">
294            <string>Nb Files</string>
295           </property>
296          </column>
297         </widget>
298        </item>
299       </layout>
300      </widget>
301     </widget>
302    </item>
303    <item row="0" column="0">
304     <layout class="QHBoxLayout">
305      <property name="spacing">
306       <number>6</number>
307      </property>
308      <property name="margin">
309       <number>0</number>
310      </property>
311      <item>
312       <widget class="QComboBox" name="ClientList">
313        <property name="sizePolicy">
314         <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
315          <horstretch>0</horstretch>
316          <verstretch>0</verstretch>
317         </sizepolicy>
318        </property>
319        <property name="sizeAdjustPolicy">
320         <enum>QComboBox::AdjustToContents</enum>
321        </property>
322       </widget>
323      </item>
324      <item>
325       <widget class="QComboBox" name="JobList">
326        <property name="enabled">
327         <bool>false</bool>
328        </property>
329        <property name="sizePolicy">
330         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
331          <horstretch>0</horstretch>
332          <verstretch>0</verstretch>
333         </sizepolicy>
334        </property>
335        <property name="sizeAdjustPolicy">
336         <enum>QComboBox::AdjustToContents</enum>
337        </property>
338       </widget>
339      </item>
340      <item>
341       <spacer>
342        <property name="orientation">
343         <enum>Qt::Horizontal</enum>
344        </property>
345        <property name="sizeType">
346         <enum>QSizePolicy::Expanding</enum>
347        </property>
348        <property name="sizeHint" stdset="0">
349         <size>
350          <width>40</width>
351          <height>20</height>
352         </size>
353        </property>
354       </spacer>
355      </item>
356      <item>
357       <widget class="QCheckBox" name="MergeChk">
358        <property name="text">
359         <string>Merge Jobs</string>
360        </property>
361        <property name="checked">
362         <bool>true</bool>
363        </property>
364       </widget>
365      </item>
366      <item>
367       <widget class="QCheckBox" name="VersionsChk">
368        <property name="text">
369         <string>View all Versions</string>
370        </property>
371       </widget>
372      </item>
373      <item>
374       <widget class="QPushButton" name="LocationBp">
375        <property name="text">
376         <string>Location</string>
377        </property>
378       </widget>
379      </item>
380      <item>
381       <widget class="QLineEdit" name="LocationEntry"/>
382      </item>
383     </layout>
384    </item>
385   </layout>
386  </widget>
387  <customwidgets>
388   <customwidget>
389    <class>bRestoreTable</class>
390    <extends>QTableWidget</extends>
391    <header>restore.h</header>
392   </customwidget>
393  </customwidgets>
394  <resources/>
395  <connections/>
396 </ui>