]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/qt-console/medialist/mediaview.ui
Allow sorting of more bat media columns
[bacula/bacula] / bacula / src / qt-console / medialist / mediaview.ui
index 9b61e8cdfc89508d4e2398cccec3d005b42f3789..a13e6f31f552d3f49664747067468dea3311c5bc 100644 (file)
        </widget>
       </item>
       <item row="0" column="5" >
-       <widget class="QSpinBox" name="m_sbLimit" />
+       <widget class="QSpinBox" name="m_sbLimit" >
+        <property name="minimum" >
+         <number>1</number>
+        </property>
+        <property name="maximum" >
+         <number>1000</number>
+        </property>
+        <property name="value" >
+         <number>100</number>
+        </property>
+       </widget>
       </item>
       <item row="0" column="6" >
        <widget class="QLabel" name="label_3" >
        </spacer>
       </item>
       <item row="1" column="9" >
-       <widget class="QPushButton" name="pushButton" >
+       <widget class="QPushButton" name="m_pbApply" >
         <property name="text" >
          <string>Apply</string>
         </property>
    </item>
    <item>
     <widget class="QTableWidget" name="m_tableMedia" >
+     <property name="selectionMode" >
+      <enum>QAbstractItemView::ExtendedSelection</enum>
+     </property>
+     <property name="selectionBehavior" >
+      <enum>QAbstractItemView::SelectRows</enum>
+     </property>
+     <property name="sortingEnabled" >
+      <bool>true</bool>
+     </property>
      <column>
       <property name="text" >
-       <string>Volume Name</string>
+       <string> Volume Name </string>
       </property>
      </column>
+     <property name="sortingEnabled" >
+      <bool>true</bool>
+     </property>
      <column>
       <property name="text" >
        <string>Online</string>
       </property>
      </column>
+     <property name="sortingEnabled" >
+      <bool>true</bool>
+     </property>
      <column>
       <property name="text" >
        <string>Vol Bytes</string>
       </property>
      </column>
+     <property name="sortingEnabled" >
+      <bool>true</bool>
+     </property>
      <column>
       <property name="text" >
        <string>Vol Usage</string>
       </property>
      </column>
+     <property name="sortingEnabled" >
+      <bool>true</bool>
+     </property>
      <column>
       <property name="text" >
        <string>Vol Status</string>
       </property>
      </column>
+     <property name="sortingEnabled" >
+      <bool>true</bool>
+     </property>
      <column>
       <property name="text" >
        <string>Pool</string>
       </property>
      </column>
+     <property name="sortingEnabled" >
+      <bool>true</bool>
+     </property>
      <column>
       <property name="text" >
        <string>Media Type</string>
       </property>
      </column>
+     <property name="sortingEnabled" >
+      <bool>true</bool>
+     </property>
      <column>
       <property name="text" >
        <string>Last Written</string>
       </property>
      </column>
+     <property name="sortingEnabled" >
+      <bool>true</bool>
+     </property>
      <column>
       <property name="text" >
        <string>When expire?</string>