]> ToastFreeware Gitweb - toast/confclerk.git/blobdiff - src/gui/mainwindow.ui
'search' tab functionality moved to 'tabcontainer'
[toast/confclerk.git] / src / gui / mainwindow.ui
index 7f25a2fa7cd4c304d0afada14e60a73148b20c41..63e4e05dc25bb82d2163924bdfb4d99ccd913875 100644 (file)
        </attribute>
        <layout class="QHBoxLayout" name="horizontalLayout_1" >
         <item>
        </attribute>
        <layout class="QHBoxLayout" name="horizontalLayout_1" >
         <item>
-         <widget class="QWidget" native="1" name="searchVerticalWidget" >
-          <property name="enabled" >
-           <bool>true</bool>
-          </property>
-          <property name="sizePolicy" >
-           <sizepolicy vsizetype="Expanding" hsizetype="Minimum" >
-            <horstretch>0</horstretch>
-            <verstretch>0</verstretch>
-           </sizepolicy>
-          </property>
-          <layout class="QVBoxLayout" name="searchDayNavigatorVerticalLayout" >
-           <property name="margin" >
-            <number>0</number>
-           </property>
-           <item>
-            <widget class="QToolButton" name="searchAgainButton" >
-             <property name="sizePolicy" >
-              <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
-               <horstretch>0</horstretch>
-               <verstretch>0</verstretch>
-              </sizepolicy>
-             </property>
-             <property name="toolTip" >
-              <string>Search again</string>
-             </property>
-             <property name="text" >
-              <string>S</string>
-             </property>
-             <property name="icon" >
-              <iconset resource="../icons.qrc" >
-               <normaloff>:/icons/search.png</normaloff>:/icons/search.png</iconset>
-             </property>
-             <property name="iconSize" >
-              <size>
-               <width>24</width>
-               <height>24</height>
-              </size>
-             </property>
-             <property name="toolButtonStyle" >
-              <enum>Qt::ToolButtonIconOnly</enum>
-             </property>
-            </widget>
-           </item>
-           <item>
-            <widget class="DayNavigatorWidget" native="1" name="searchDayNavigator" >
-             <property name="sizePolicy" >
-              <sizepolicy vsizetype="Expanding" hsizetype="Minimum" >
-               <horstretch>0</horstretch>
-               <verstretch>0</verstretch>
-              </sizepolicy>
-             </property>
-             <property name="maximumSize" >
-              <size>
-               <width>16777215</width>
-               <height>16777215</height>
-              </size>
-             </property>
-            </widget>
-           </item>
-          </layout>
-         </widget>
-        </item>
-        <item>
-         <layout class="QVBoxLayout" name="verticalLayout_3" >
-          <item>
-           <widget class="QWidget" native="1" name="searchHead" >
-            <property name="sizePolicy" >
-             <sizepolicy vsizetype="Preferred" hsizetype="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="2" column="0" >
-              <layout class="QHBoxLayout" name="horizontalLayout" >
-               <item>
-                <widget class="QLineEdit" name="searchEdit" >
-                 <property name="enabled" >
-                  <bool>true</bool>
-                 </property>
-                 <property name="toolTip" >
-                  <string>type a keyword to search</string>
-                 </property>
-                </widget>
-               </item>
-               <item>
-                <widget class="QPushButton" name="searchButton" >
-                 <property name="sizePolicy" >
-                  <sizepolicy vsizetype="Minimum" hsizetype="Minimum" >
-                   <horstretch>0</horstretch>
-                   <verstretch>0</verstretch>
-                  </sizepolicy>
-                 </property>
-                 <property name="text" >
-                  <string>Search</string>
-                 </property>
-                 <property name="icon" >
-                  <iconset resource="../icons.qrc" >
-                   <normaloff>:/icons/search.png</normaloff>:/icons/search.png</iconset>
-                 </property>
-                 <property name="checkable" >
-                  <bool>false</bool>
-                 </property>
-                 <property name="autoDefault" >
-                  <bool>true</bool>
-                 </property>
-                 <property name="default" >
-                  <bool>true</bool>
-                 </property>
-                 <property name="flat" >
-                  <bool>false</bool>
-                 </property>
-                </widget>
-               </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 vsizetype="MinimumExpanding" hsizetype="Expanding" >
-              <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>
-           </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>
+         <widget class="TabContainer" native="1" name="searchTabContainer" />
         </item>
        </layout>
       </widget>
         </item>
        </layout>
       </widget>
   <widget class="QStatusBar" name="statusbar" />
  </widget>
  <customwidgets>
   <widget class="QStatusBar" name="statusbar" />
  </widget>
  <customwidgets>
-  <customwidget>
-   <class>DayNavigatorWidget</class>
-   <extends>QWidget</extends>
-   <header>daynavigatorwidget.h</header>
-   <container>1</container>
-  </customwidget>
-  <customwidget>
-   <class>TreeView</class>
-   <extends>QTreeView</extends>
-   <header>../mvc/treeview.h</header>
-  </customwidget>
   <customwidget>
    <class>TabWidget</class>
    <extends>QTabWidget</extends>
   <customwidget>
    <class>TabWidget</class>
    <extends>QTabWidget</extends>