]> git.sur5r.net Git - bacula/bacula/commitdiff
tweak the layout and add tray slot view
authorEric Bollengier <eric@eb.homelinux.org>
Mon, 10 Aug 2009 08:21:48 +0000 (10:21 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 10 Aug 2009 08:21:48 +0000 (10:21 +0200)
bacula/src/qt-console/storage/content.ui

index 6793daa6c06205c8a0338c66a96ab2784539b6b2..fde15329bcd480c394f0498804a3976cbace42ff 100644 (file)
@@ -5,16 +5,16 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>851</width>
-    <height>642</height>
+    <width>949</width>
+    <height>695</height>
    </rect>
   </property>
   <property name="windowTitle" >
    <string>Form</string>
   </property>
-  <layout class="QVBoxLayout" >
+  <layout class="QHBoxLayout" >
    <item>
-    <layout class="QHBoxLayout" >
+    <layout class="QVBoxLayout" >
      <item>
       <widget class="QGroupBox" name="groupBox" >
        <property name="sizePolicy" >
       </widget>
      </item>
      <item>
-      <spacer>
-       <property name="orientation" >
-        <enum>Qt::Horizontal</enum>
+      <widget class="QGroupBox" name="groupBox_3" >
+       <property name="sizePolicy" >
+        <sizepolicy vsizetype="Expanding" hsizetype="Fixed" >
+         <horstretch>0</horstretch>
+         <verstretch>0</verstretch>
+        </sizepolicy>
+       </property>
+       <property name="minimumSize" >
+        <size>
+         <width>241</width>
+         <height>221</height>
+        </size>
        </property>
-       <property name="sizeHint" >
+       <property name="maximumSize" >
         <size>
-         <width>392</width>
-         <height>20</height>
+         <width>241</width>
+         <height>16777215</height>
         </size>
        </property>
-      </spacer>
-     </item>
-     <item>
-      <widget class="QGroupBox" name="groupBox_3" >
        <property name="title" >
         <string>Drives</string>
        </property>
         <item>
          <widget class="QTableWidget" name="tableDrive" >
           <property name="sizePolicy" >
-           <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
+           <sizepolicy vsizetype="Expanding" hsizetype="Fixed" >
             <horstretch>0</horstretch>
             <verstretch>0</verstretch>
            </sizepolicy>
           <property name="minimumSize" >
            <size>
             <width>220</width>
-            <height>100</height>
+            <height>192</height>
            </size>
           </property>
           <row>
        </layout>
       </widget>
      </item>
+     <item>
+      <widget class="QGroupBox" name="groupBox_4" >
+       <property name="sizePolicy" >
+        <sizepolicy vsizetype="Expanding" hsizetype="Fixed" >
+         <horstretch>0</horstretch>
+         <verstretch>0</verstretch>
+        </sizepolicy>
+       </property>
+       <property name="maximumSize" >
+        <size>
+         <width>240</width>
+         <height>16777215</height>
+        </size>
+       </property>
+       <property name="title" >
+        <string>Tray slots</string>
+       </property>
+       <layout class="QHBoxLayout" >
+        <item>
+         <widget class="QTableWidget" name="tableTray" >
+          <property name="sizePolicy" >
+           <sizepolicy vsizetype="Expanding" hsizetype="Fixed" >
+            <horstretch>0</horstretch>
+            <verstretch>0</verstretch>
+           </sizepolicy>
+          </property>
+          <property name="minimumSize" >
+           <size>
+            <width>100</width>
+            <height>0</height>
+           </size>
+          </property>
+          <column>
+           <property name="text" >
+            <string>Slot</string>
+           </property>
+          </column>
+          <column>
+           <property name="text" >
+            <string>Volume</string>
+           </property>
+          </column>
+         </widget>
+        </item>
+       </layout>
+      </widget>
+     </item>
     </layout>
    </item>
    <item>