Switch to side-by-side view

--- a/src/qtgui/advsearch.ui
+++ b/src/qtgui/advsearch.ui
@@ -24,7 +24,7 @@
         </property>
         <widget class="QLayoutWidget">
             <property name="name">
-                <cstring>layout13</cstring>
+                <cstring>layout12</cstring>
             </property>
             <vbox>
                 <property name="name">
@@ -32,18 +32,12 @@
                 </property>
                 <widget class="QLayoutWidget">
                     <property name="name">
-                        <cstring>layout15</cstring>
+                        <cstring>layout11</cstring>
                     </property>
                     <hbox>
                         <property name="name">
                             <cstring>unnamed</cstring>
                         </property>
-                        <property name="margin">
-                            <number>10</number>
-                        </property>
-                        <property name="spacing">
-                            <number>10</number>
-                        </property>
                         <widget class="QLabel">
                             <property name="name">
                                 <cstring>textLabel2</cstring>
@@ -54,12 +48,54 @@
                         </widget>
                         <widget class="QLayoutWidget">
                             <property name="name">
-                                <cstring>layout14</cstring>
+                                <cstring>layout10</cstring>
                             </property>
                             <grid>
                                 <property name="name">
                                     <cstring>unnamed</cstring>
                                 </property>
+                                <widget class="QLabel" row="2" column="0" rowspan="1" colspan="2">
+                                    <property name="name">
+                                        <cstring>orWordsTL</cstring>
+                                    </property>
+                                    <property name="text">
+                                        <string>Any of these words</string>
+                                    </property>
+                                </widget>
+                                <widget class="QLineEdit" row="2" column="2">
+                                    <property name="name">
+                                        <cstring>orWordsLE</cstring>
+                                    </property>
+                                </widget>
+                                <widget class="QLabel" row="4" column="0">
+                                    <property name="name">
+                                        <cstring>textLabel1_2</cstring>
+                                    </property>
+                                    <property name="text">
+                                        <string>File name</string>
+                                    </property>
+                                </widget>
+                                <widget class="QLineEdit" row="4" column="2">
+                                    <property name="name">
+                                        <cstring>fileNameLE</cstring>
+                                    </property>
+                                </widget>
+                                <widget class="QLabel" row="3" column="0" rowspan="1" colspan="2">
+                                    <property name="name">
+                                        <cstring>noWordsTL</cstring>
+                                    </property>
+                                    <property name="text">
+                                        <string>None of these words</string>
+                                    </property>
+                                </widget>
+                                <widget class="QLineEdit" row="3" column="2">
+                                    <property name="name">
+                                        <cstring>noWordsLE</cstring>
+                                    </property>
+                                    <property name="text">
+                                        <string></string>
+                                    </property>
+                                </widget>
                                 <widget class="QLabel" row="0" column="0">
                                     <property name="name">
                                         <cstring>andWordsTL</cstring>
@@ -74,7 +110,7 @@
                                         <string>All these words</string>
                                     </property>
                                 </widget>
-                                <widget class="QLineEdit" row="0" column="1" rowspan="1" colspan="3">
+                                <widget class="QLineEdit" row="0" column="1" rowspan="1" colspan="2">
                                     <property name="name">
                                         <cstring>andWordsLE</cstring>
                                     </property>
@@ -93,38 +129,9 @@
                                         <string>This exact phrase</string>
                                     </property>
                                 </widget>
-                                <widget class="QLineEdit" row="1" column="2" rowspan="1" colspan="2">
+                                <widget class="QLineEdit" row="1" column="2">
                                     <property name="name">
                                         <cstring>phraseLE</cstring>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="2" column="0" rowspan="1" colspan="2">
-                                    <property name="name">
-                                        <cstring>orWordsTL</cstring>
-                                    </property>
-                                    <property name="text">
-                                        <string>Any of these words</string>
-                                    </property>
-                                </widget>
-                                <widget class="QLineEdit" row="2" column="2" rowspan="1" colspan="2">
-                                    <property name="name">
-                                        <cstring>orWordsLE</cstring>
-                                    </property>
-                                </widget>
-                                <widget class="QLabel" row="3" column="0" rowspan="1" colspan="3">
-                                    <property name="name">
-                                        <cstring>noWordsTL</cstring>
-                                    </property>
-                                    <property name="text">
-                                        <string>None of these words</string>
-                                    </property>
-                                </widget>
-                                <widget class="QLineEdit" row="3" column="3">
-                                    <property name="name">
-                                        <cstring>noWordsLE</cstring>
-                                    </property>
-                                    <property name="text">
-                                        <string></string>
                                     </property>
                                 </widget>
                             </grid>
@@ -353,20 +360,6 @@
                         </widget>
                     </grid>
                 </widget>
-                <widget class="Line">
-                    <property name="name">
-                        <cstring>line1</cstring>
-                    </property>
-                    <property name="frameShape">
-                        <enum>HLine</enum>
-                    </property>
-                    <property name="frameShadow">
-                        <enum>Sunken</enum>
-                    </property>
-                    <property name="orientation">
-                        <enum>Horizontal</enum>
-                    </property>
-                </widget>
                 <widget class="QLayoutWidget">
                     <property name="name">
                         <cstring>layout25</cstring>
@@ -397,6 +390,20 @@
                     </hbox>
                 </widget>
             </vbox>
+        </widget>
+        <widget class="Line">
+            <property name="name">
+                <cstring>line1</cstring>
+            </property>
+            <property name="frameShape">
+                <enum>HLine</enum>
+            </property>
+            <property name="frameShadow">
+                <enum>Sunken</enum>
+            </property>
+            <property name="orientation">
+                <enum>Horizontal</enum>
+            </property>
         </widget>
     </vbox>
 </widget>