]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/qt-console/storage/content.ui
tweak the layout and add tray slot view
[bacula/bacula] / bacula / src / qt-console / storage / content.ui
1 <ui version="4.0" >
2  <class>ContentForm</class>
3  <widget class="QWidget" name="ContentForm" >
4   <property name="geometry" >
5    <rect>
6     <x>0</x>
7     <y>0</y>
8     <width>949</width>
9     <height>695</height>
10    </rect>
11   </property>
12   <property name="windowTitle" >
13    <string>Form</string>
14   </property>
15   <layout class="QHBoxLayout" >
16    <item>
17     <layout class="QVBoxLayout" >
18      <item>
19       <widget class="QGroupBox" name="groupBox" >
20        <property name="sizePolicy" >
21         <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
22          <horstretch>0</horstretch>
23          <verstretch>0</verstretch>
24         </sizepolicy>
25        </property>
26        <property name="minimumSize" >
27         <size>
28          <width>240</width>
29          <height>110</height>
30         </size>
31        </property>
32        <property name="title" >
33         <string>Actions</string>
34        </property>
35        <layout class="QGridLayout" >
36         <item row="0" column="0" >
37          <widget class="QPushButton" name="pbUpdate" >
38           <property name="text" >
39            <string>Update</string>
40           </property>
41           <property name="icon" >
42            <iconset resource="../main.qrc" >:/images/view-refresh.png</iconset>
43           </property>
44          </widget>
45         </item>
46         <item row="0" column="1" >
47          <widget class="QPushButton" name="pbLabel" >
48           <property name="text" >
49            <string>Label</string>
50           </property>
51           <property name="icon" >
52            <iconset resource="../main.qrc" >:/images/label.png</iconset>
53           </property>
54          </widget>
55         </item>
56         <item row="1" column="0" >
57          <widget class="QPushButton" name="pbMoveToTray" >
58           <property name="text" >
59            <string>Move to tray</string>
60           </property>
61           <property name="icon" >
62            <iconset resource="../main.qrc" >:/images/extern.png</iconset>
63           </property>
64          </widget>
65         </item>
66         <item row="1" column="1" >
67          <widget class="QPushButton" name="pbEmptyTray" >
68           <property name="text" >
69            <string>Empty tray</string>
70           </property>
71           <property name="icon" >
72            <iconset resource="../main.qrc" >:/images/intern.png</iconset>
73           </property>
74          </widget>
75         </item>
76         <item row="2" column="0" >
77          <widget class="QPushButton" name="pushButton" >
78           <property name="text" >
79            <string>Mount</string>
80           </property>
81          </widget>
82         </item>
83         <item row="2" column="1" >
84          <widget class="QPushButton" name="pushButton_2" >
85           <property name="text" >
86            <string>Unmount</string>
87           </property>
88          </widget>
89         </item>
90        </layout>
91       </widget>
92      </item>
93      <item>
94       <widget class="QGroupBox" name="groupBox_3" >
95        <property name="sizePolicy" >
96         <sizepolicy vsizetype="Expanding" hsizetype="Fixed" >
97          <horstretch>0</horstretch>
98          <verstretch>0</verstretch>
99         </sizepolicy>
100        </property>
101        <property name="minimumSize" >
102         <size>
103          <width>241</width>
104          <height>221</height>
105         </size>
106        </property>
107        <property name="maximumSize" >
108         <size>
109          <width>241</width>
110          <height>16777215</height>
111         </size>
112        </property>
113        <property name="title" >
114         <string>Drives</string>
115        </property>
116        <layout class="QVBoxLayout" >
117         <item>
118          <widget class="QTableWidget" name="tableDrive" >
119           <property name="sizePolicy" >
120            <sizepolicy vsizetype="Expanding" hsizetype="Fixed" >
121             <horstretch>0</horstretch>
122             <verstretch>0</verstretch>
123            </sizepolicy>
124           </property>
125           <property name="minimumSize" >
126            <size>
127             <width>220</width>
128             <height>192</height>
129            </size>
130           </property>
131           <row>
132            <property name="text" >
133             <string>LTO1</string>
134            </property>
135           </row>
136           <row>
137            <property name="text" >
138             <string>New Row</string>
139            </property>
140           </row>
141           <column>
142            <property name="text" >
143             <string>Drive</string>
144            </property>
145           </column>
146           <column>
147            <property name="text" >
148             <string>Volume</string>
149            </property>
150           </column>
151           <item row="0" column="0" >
152            <property name="text" >
153             <string>LTO1</string>
154            </property>
155           </item>
156           <item row="0" column="1" >
157            <property name="text" >
158             <string>VOL1</string>
159            </property>
160           </item>
161           <item row="1" column="0" >
162            <property name="text" >
163             <string>LTO2</string>
164            </property>
165           </item>
166           <item row="1" column="1" >
167            <property name="text" >
168             <string>VOL2</string>
169            </property>
170           </item>
171          </widget>
172         </item>
173        </layout>
174       </widget>
175      </item>
176      <item>
177       <widget class="QGroupBox" name="groupBox_4" >
178        <property name="sizePolicy" >
179         <sizepolicy vsizetype="Expanding" hsizetype="Fixed" >
180          <horstretch>0</horstretch>
181          <verstretch>0</verstretch>
182         </sizepolicy>
183        </property>
184        <property name="maximumSize" >
185         <size>
186          <width>240</width>
187          <height>16777215</height>
188         </size>
189        </property>
190        <property name="title" >
191         <string>Tray slots</string>
192        </property>
193        <layout class="QHBoxLayout" >
194         <item>
195          <widget class="QTableWidget" name="tableTray" >
196           <property name="sizePolicy" >
197            <sizepolicy vsizetype="Expanding" hsizetype="Fixed" >
198             <horstretch>0</horstretch>
199             <verstretch>0</verstretch>
200            </sizepolicy>
201           </property>
202           <property name="minimumSize" >
203            <size>
204             <width>100</width>
205             <height>0</height>
206            </size>
207           </property>
208           <column>
209            <property name="text" >
210             <string>Slot</string>
211            </property>
212           </column>
213           <column>
214            <property name="text" >
215             <string>Volume</string>
216            </property>
217           </column>
218          </widget>
219         </item>
220        </layout>
221       </widget>
222      </item>
223     </layout>
224    </item>
225    <item>
226     <widget class="QGroupBox" name="groupBox_2" >
227      <property name="title" >
228       <string>Content</string>
229      </property>
230      <layout class="QHBoxLayout" >
231       <item>
232        <widget class="QTableWidget" name="tableContent" >
233         <column>
234          <property name="text" >
235           <string>Slot</string>
236          </property>
237         </column>
238         <column>
239          <property name="text" >
240           <string>Volume</string>
241          </property>
242         </column>
243         <column>
244          <property name="text" >
245           <string>Bytes</string>
246          </property>
247         </column>
248         <column>
249          <property name="text" >
250           <string>Status</string>
251          </property>
252         </column>
253         <column>
254          <property name="text" >
255           <string>Media Type</string>
256          </property>
257         </column>
258         <column>
259          <property name="text" >
260           <string>Pool</string>
261          </property>
262         </column>
263         <column>
264          <property name="text" >
265           <string>Last Written</string>
266          </property>
267         </column>
268         <column>
269          <property name="text" >
270           <string>When expire?</string>
271          </property>
272         </column>
273        </widget>
274       </item>
275      </layout>
276     </widget>
277    </item>
278   </layout>
279  </widget>
280  <resources>
281   <include location="../main.qrc" />
282  </resources>
283  <connections/>
284 </ui>