]> git.sur5r.net Git - bacula/bacula/commitdiff
Tweak brestore ui
authorKern Sibbald <kern@sibbald.com>
Wed, 19 Oct 2011 14:15:29 +0000 (16:15 +0200)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:50:06 +0000 (14:50 +0200)
bacula/src/qt-console/restore/brestore.ui

index 9be39da575a021107baab68975703e41c3ec8c27..f95b4c0c604704c5684416e2487746b17ff8e84f 100644 (file)
@@ -6,8 +6,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>958</width>
-    <height>555</height>
+    <width>1011</width>
+    <height>650</height>
    </rect>
   </property>
   <property name="windowTitle">
@@ -20,7 +20,7 @@
    <property name="spacing">
     <number>6</number>
    </property>
-   <item row="0" column="0">
+   <item row="2" column="0">
     <layout class="QHBoxLayout">
      <property name="spacing">
       <number>6</number>
@@ -63,7 +63,7 @@
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="sizeType">
-        <enum>QSizePolicy::Expanding</enum>
+        <enum>QSizePolicy::Minimum</enum>
        </property>
        <property name="sizeHint" stdset="0">
         <size>
@@ -96,7 +96,7 @@
      <item>
       <widget class="QPushButton" name="LocationBp">
        <property name="text">
-        <string>Location</string>
+        <string>Current Directory</string>
        </property>
       </widget>
      </item>
       <widget class="QLineEdit" name="LocationEntry">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
-         <horstretch>0</horstretch>
+         <horstretch>150</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
+       <property name="minimumSize">
+        <size>
+         <width>150</width>
+         <height>0</height>
+        </size>
+       </property>
       </widget>
      </item>
     </layout>
    </item>
-   <item row="1" column="0">
+   <item row="3" column="0">
     <widget class="QSplitter" name="splitter_2">
      <property name="orientation">
       <enum>Qt::Vertical</enum>
         </sizepolicy>
        </property>
        <property name="title">
-        <string>File list</string>
+        <string>File list -- drage below for restore</string>
        </property>
        <layout class="QVBoxLayout" name="verticalLayout">
         <item>
             <verstretch>5</verstretch>
            </sizepolicy>
           </property>
+          <property name="statusTip">
+           <string>Double Click File Name to decend</string>
+          </property>
           <property name="dragEnabled">
            <bool>true</bool>
           </property>
            <property name="text">
             <string>File Name</string>
            </property>
+           <property name="toolTip">
+            <string>Double Click to decend</string>
+           </property>
           </column>
           <column>
            <property name="text">
           <property name="sizeConstraint">
            <enum>QLayout::SetMinimumSize</enum>
           </property>
+          <item>
+           <widget class="QLabel" name="label_5">
+            <property name="text">
+             <string>Selection Range</string>
+            </property>
+           </widget>
+          </item>
           <item>
            <widget class="QPushButton" name="OffsetPrevBp">
             <property name="sizePolicy">
             </property>
            </spacer>
           </item>
+          <item>
+           <widget class="QLabel" name="label_4">
+            <property name="text">
+             <string>File Filter </string>
+            </property>
+           </widget>
+          </item>
           <item>
            <widget class="QLineEdit" name="FilterEntry">
             <property name="sizePolicy">
              <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
-              <horstretch>0</horstretch>
+              <horstretch>150</horstretch>
               <verstretch>0</verstretch>
              </sizepolicy>
             </property>
         </sizepolicy>
        </property>
        <property name="title">
-        <string>File revisions</string>
+        <string>File revisions -- drag below for restore</string>
        </property>
        <layout class="QVBoxLayout">
         <property name="spacing">
          <item>
           <widget class="QLabel" name="label">
            <property name="text">
-            <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;
+            <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
+&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;
 p, li { white-space: pre-wrap; }
-&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;
-&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>
+&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
+&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;Drag and drop &lt;span style=&quot; font-weight:600;&quot;&gt;File list&lt;/span&gt; and/or &lt;span style=&quot; font-weight:600;&quot;&gt;File revisions&lt;/span&gt; items here for Restore&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
            </property>
           </widget>
          </item>
@@ -467,6 +494,9 @@ p, li { white-space: pre-wrap; }
          </item>
          <item>
           <widget class="QPushButton" name="EstimateBp">
+           <property name="enabled">
+            <bool>false</bool>
+           </property>
            <property name="text">
             <string>Estimate</string>
            </property>
@@ -548,6 +578,13 @@ p, li { white-space: pre-wrap; }
      </widget>
     </widget>
    </item>
+   <item row="1" column="0">
+    <widget class="QLabel" name="label_3">
+     <property name="text">
+      <string>Select from Client list drop down then select from Job list drop down</string>
+     </property>
+    </widget>
+   </item>
   </layout>
  </widget>
  <customwidgets>