search update
authortimkoma <timkoma@localhost>
Mon, 25 Jan 2010 15:54:56 +0000 (15:54 +0000)
committertimkoma <timkoma@localhost>
Mon, 25 Jan 2010 15:54:56 +0000 (15:54 +0000)
src/gui/mainwindow.ui

index 7c35a740ad42d1f0629f3a4983fe9f240ce708f3..a01b8effbccea223cb05a59d8304c71ea9f3918a 100644 (file)
        <layout class="QHBoxLayout" name="horizontalLayout_1">
         <item>
          <widget class="QWidget" name="searchVerticalWidget" native="true">
+          <property name="enabled">
+           <bool>true</bool>
+          </property>
+          <property name="sizePolicy">
+           <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
+            <horstretch>0</horstretch>
+            <verstretch>0</verstretch>
+           </sizepolicy>
+          </property>
           <layout class="QVBoxLayout" name="searchDayNavigatorVerticalLayout">
            <item>
             <widget class="QToolButton" name="searchAgainButton">
-             <property name="text">
+             <property name="toolTip">
               <string>Search again</string>
              </property>
+             <property name="text">
+              <string>S</string>
+             </property>
              <property name="toolButtonStyle">
               <enum>Qt::ToolButtonTextOnly</enum>
              </property>
          <layout class="QVBoxLayout" name="verticalLayout_3">
           <item>
            <widget class="QWidget" name="searchHead" native="true">
-            <layout class="QFormLayout" name="searchHeadLayout">
-             <property name="fieldGrowthPolicy">
-              <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
+            <property name="sizePolicy">
+             <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
+              <horstretch>0</horstretch>
+              <verstretch>0</verstretch>
+             </sizepolicy>
+            </property>
+            <property name="maximumSize">
+             <size>
+              <width>16777215</width>
+              <height>16777215</height>
+             </size>
+            </property>
+            <layout class="QGridLayout" name="searchHeadLayout">
+             <property name="sizeConstraint">
+              <enum>QLayout::SetDefaultConstraint</enum>
              </property>
-             <item row="0" column="0">
-              <widget class="QCheckBox" name="searchTitle">
-               <property name="text">
-                <string>Title</string>
-               </property>
-              </widget>
-             </item>
-             <item row="1" column="0">
-              <widget class="QCheckBox" name="searchAbstract">
-               <property name="text">
-                <string>Abstract</string>
-               </property>
-              </widget>
-             </item>
              <item row="2" column="0">
-              <widget class="QCheckBox" name="searchSpeaker">
-               <property name="text">
-                <string>Speaker</string>
-               </property>
-              </widget>
-             </item>
-             <item row="0" column="1">
-              <widget class="QCheckBox" name="searchTag">
-               <property name="text">
-                <string>Tag</string>
-               </property>
-              </widget>
-             </item>
-             <item row="1" column="1">
-              <widget class="QCheckBox" name="searchRoom">
-               <property name="text">
-                <string>Room</string>
-               </property>
-              </widget>
-             </item>
-             <item row="2" column="1">
               <layout class="QHBoxLayout" name="horizontalLayout">
                <item>
                 <widget class="QLineEdit" name="searchEdit">
                </item>
               </layout>
              </item>
+             <item row="0" column="0">
+              <layout class="QHBoxLayout" name="horizontalLayout_6">
+               <item>
+                <widget class="QCheckBox" name="searchTitle">
+                 <property name="text">
+                  <string>Title</string>
+                 </property>
+                 <property name="checked">
+                  <bool>true</bool>
+                 </property>
+                </widget>
+               </item>
+               <item>
+                <widget class="QCheckBox" name="searchAbstract">
+                 <property name="text">
+                  <string>Abstract</string>
+                 </property>
+                </widget>
+               </item>
+               <item>
+                <widget class="QCheckBox" name="searchSpeaker">
+                 <property name="text">
+                  <string>Speaker</string>
+                 </property>
+                </widget>
+               </item>
+               <item>
+                <widget class="QCheckBox" name="searchTag">
+                 <property name="text">
+                  <string>Tag</string>
+                 </property>
+                </widget>
+               </item>
+               <item>
+                <widget class="QCheckBox" name="searchRoom">
+                 <property name="text">
+                  <string>Room</string>
+                 </property>
+                </widget>
+               </item>
+               <item>
+                <spacer name="horizontalSpacer">
+                 <property name="orientation">
+                  <enum>Qt::Horizontal</enum>
+                 </property>
+                 <property name="sizeHint" stdset="0">
+                  <size>
+                   <width>40</width>
+                   <height>20</height>
+                  </size>
+                 </property>
+                </spacer>
+               </item>
+              </layout>
+             </item>
             </layout>
            </widget>
           </item>
           <item>
            <widget class="TreeView" name="searchTreeView">
+            <property name="sizePolicy">
+             <sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding">
+              <horstretch>0</horstretch>
+              <verstretch>1</verstretch>
+             </sizepolicy>
+            </property>
+            <property name="minimumSize">
+             <size>
+              <width>0</width>
+              <height>0</height>
+             </size>
+            </property>
             <property name="maximumSize">
              <size>
               <width>16777215</width>
               <height>16777215</height>
              </size>
             </property>
+            <attribute name="headerDefaultSectionSize">
+             <number>100</number>
+            </attribute>
            </widget>
           </item>
+          <item>
+           <spacer name="verticalSpacer_2">
+            <property name="orientation">
+             <enum>Qt::Vertical</enum>
+            </property>
+            <property name="sizeType">
+             <enum>QSizePolicy::Expanding</enum>
+            </property>
+            <property name="sizeHint" stdset="0">
+             <size>
+              <width>20</width>
+              <height>1</height>
+             </size>
+            </property>
+           </spacer>
+          </item>
          </layout>
         </item>
        </layout>