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>layout28</cstring>
+                <cstring>layout13</cstring>
             </property>
             <vbox>
                 <property name="name">
@@ -145,135 +145,147 @@
                         <enum>Horizontal</enum>
                     </property>
                 </widget>
+                <widget class="QCheckBox">
+                    <property name="name">
+                        <cstring>restrictFtCB</cstring>
+                    </property>
+                    <property name="text">
+                        <string>Restrict file types</string>
+                    </property>
+                </widget>
                 <widget class="QLayoutWidget">
                     <property name="name">
-                        <cstring>layout19</cstring>
-                    </property>
-                    <vbox>
+                        <cstring>layout12</cstring>
+                    </property>
+                    <hbox>
                         <property name="name">
                             <cstring>unnamed</cstring>
                         </property>
-                        <widget class="QCheckBox">
-                            <property name="name">
-                                <cstring>restrictFtCB</cstring>
-                            </property>
-                            <property name="text">
-                                <string>Restrict file types</string>
-                            </property>
-                        </widget>
                         <widget class="QLayoutWidget">
                             <property name="name">
-                                <cstring>layout11</cstring>
-                            </property>
-                            <hbox>
+                                <cstring>layout9</cstring>
+                            </property>
+                            <vbox>
                                 <property name="name">
                                     <cstring>unnamed</cstring>
                                 </property>
-                                <widget class="QLayoutWidget">
-                                    <property name="name">
-                                        <cstring>layout9</cstring>
-                                    </property>
-                                    <vbox>
-                                        <property name="name">
-                                            <cstring>unnamed</cstring>
-                                        </property>
-                                        <widget class="QLabel">
-                                            <property name="name">
-                                                <cstring>textLabel2_2</cstring>
-                                            </property>
-                                            <property name="text">
-                                                <string>Searched file types</string>
-                                            </property>
-                                        </widget>
-                                        <widget class="QListBox">
-                                            <property name="name">
-                                                <cstring>yesFiltypsLB</cstring>
-                                            </property>
-                                            <property name="enabled">
-                                                <bool>false</bool>
-                                            </property>
-                                            <property name="minimumSize">
-                                                <size>
-                                                    <width>200</width>
-                                                    <height>100</height>
-                                                </size>
-                                            </property>
-                                            <property name="selectionMode">
-                                                <enum>Extended</enum>
-                                            </property>
-                                        </widget>
-                                    </vbox>
-                                </widget>
-                                <widget class="QLayoutWidget">
-                                    <property name="name">
-                                        <cstring>layout11</cstring>
-                                    </property>
-                                    <vbox>
-                                        <property name="name">
-                                            <cstring>unnamed</cstring>
-                                        </property>
-                                        <widget class="QPushButton">
-                                            <property name="name">
-                                                <cstring>delFiltypPB</cstring>
-                                            </property>
-                                            <property name="enabled">
-                                                <bool>false</bool>
-                                            </property>
-                                            <property name="text">
-                                                <string>--------&gt;</string>
-                                            </property>
-                                        </widget>
-                                        <widget class="QPushButton">
-                                            <property name="name">
-                                                <cstring>addFiltypPB</cstring>
-                                            </property>
-                                            <property name="enabled">
-                                                <bool>false</bool>
-                                            </property>
-                                            <property name="text">
-                                                <string>&lt;---------</string>
-                                            </property>
-                                        </widget>
-                                    </vbox>
-                                </widget>
-                                <widget class="QLayoutWidget">
-                                    <property name="name">
-                                        <cstring>layout10</cstring>
-                                    </property>
-                                    <vbox>
-                                        <property name="name">
-                                            <cstring>unnamed</cstring>
-                                        </property>
-                                        <widget class="QLabel">
-                                            <property name="name">
-                                                <cstring>textLabel3</cstring>
-                                            </property>
-                                            <property name="text">
-                                                <string>Ignored file types</string>
-                                            </property>
-                                        </widget>
-                                        <widget class="QListBox">
-                                            <property name="name">
-                                                <cstring>noFiltypsLB</cstring>
-                                            </property>
-                                            <property name="enabled">
-                                                <bool>false</bool>
-                                            </property>
-                                            <property name="minimumSize">
-                                                <size>
-                                                    <width>200</width>
-                                                    <height>100</height>
-                                                </size>
-                                            </property>
-                                            <property name="selectionMode">
-                                                <enum>Extended</enum>
-                                            </property>
-                                        </widget>
-                                    </vbox>
-                                </widget>
-                            </hbox>
-                        </widget>
-                    </vbox>
+                                <widget class="QLabel">
+                                    <property name="name">
+                                        <cstring>textLabel2_2</cstring>
+                                    </property>
+                                    <property name="text">
+                                        <string>Searched file types</string>
+                                    </property>
+                                </widget>
+                                <widget class="QListBox">
+                                    <property name="name">
+                                        <cstring>yesFiltypsLB</cstring>
+                                    </property>
+                                    <property name="enabled">
+                                        <bool>false</bool>
+                                    </property>
+                                    <property name="minimumSize">
+                                        <size>
+                                            <width>200</width>
+                                            <height>100</height>
+                                        </size>
+                                    </property>
+                                    <property name="selectionMode">
+                                        <enum>Extended</enum>
+                                    </property>
+                                </widget>
+                            </vbox>
+                        </widget>
+                        <widget class="QLayoutWidget">
+                            <property name="name">
+                                <cstring>layout11</cstring>
+                            </property>
+                            <vbox>
+                                <property name="name">
+                                    <cstring>unnamed</cstring>
+                                </property>
+                                <widget class="QPushButton">
+                                    <property name="name">
+                                        <cstring>delAFiltypPB</cstring>
+                                    </property>
+                                    <property name="enabled">
+                                        <bool>false</bool>
+                                    </property>
+                                    <property name="text">
+                                        <string>All ----&gt;</string>
+                                    </property>
+                                </widget>
+                                <widget class="QPushButton">
+                                    <property name="name">
+                                        <cstring>delFiltypPB</cstring>
+                                    </property>
+                                    <property name="enabled">
+                                        <bool>false</bool>
+                                    </property>
+                                    <property name="text">
+                                        <string>Sel -----&gt;</string>
+                                    </property>
+                                </widget>
+                                <widget class="QPushButton">
+                                    <property name="name">
+                                        <cstring>addFiltypPB</cstring>
+                                    </property>
+                                    <property name="enabled">
+                                        <bool>false</bool>
+                                    </property>
+                                    <property name="text">
+                                        <string>&lt;----- Sel</string>
+                                    </property>
+                                </widget>
+                                <widget class="QPushButton">
+                                    <property name="name">
+                                        <cstring>addAFiltypPB</cstring>
+                                    </property>
+                                    <property name="enabled">
+                                        <bool>false</bool>
+                                    </property>
+                                    <property name="text">
+                                        <string>&lt;----- All</string>
+                                    </property>
+                                </widget>
+                            </vbox>
+                        </widget>
+                        <widget class="QLayoutWidget">
+                            <property name="name">
+                                <cstring>layout10</cstring>
+                            </property>
+                            <vbox>
+                                <property name="name">
+                                    <cstring>unnamed</cstring>
+                                </property>
+                                <widget class="QLabel">
+                                    <property name="name">
+                                        <cstring>textLabel3</cstring>
+                                    </property>
+                                    <property name="text">
+                                        <string>Ignored file types</string>
+                                    </property>
+                                </widget>
+                                <widget class="QListBox">
+                                    <property name="name">
+                                        <cstring>noFiltypsLB</cstring>
+                                    </property>
+                                    <property name="enabled">
+                                        <bool>false</bool>
+                                    </property>
+                                    <property name="minimumSize">
+                                        <size>
+                                            <width>200</width>
+                                            <height>100</height>
+                                        </size>
+                                    </property>
+                                    <property name="selectionMode">
+                                        <enum>Extended</enum>
+                                    </property>
+                                </widget>
+                            </vbox>
+                        </widget>
+                    </hbox>
                 </widget>
                 <widget class="Line">
                     <property name="name">
@@ -436,6 +448,18 @@
         <signal>returnPressed()</signal>
         <receiver>advsearch</receiver>
         <slot>searchPB_clicked()</slot>
+    </connection>
+    <connection>
+        <sender>delAFiltypPB</sender>
+        <signal>clicked()</signal>
+        <receiver>advsearch</receiver>
+        <slot>delAFiltypPB_clicked()</slot>
+    </connection>
+    <connection>
+        <sender>addAFiltypPB</sender>
+        <signal>clicked()</signal>
+        <receiver>advsearch</receiver>
+        <slot>addAFiltypPB_clicked()</slot>
     </connection>
 </connections>
 <includes>
@@ -447,7 +471,9 @@
 </signals>
 <slots>
     <slot>delFiltypPB_clicked()</slot>
+    <slot>delAFiltypPB_clicked()</slot>
     <slot>addFiltypPB_clicked()</slot>
+    <slot>addAFiltypPB_clicked()</slot>
     <slot>restrictFtCB_toggled( bool on )</slot>
     <slot>searchPB_clicked()</slot>
     <slot>browsePB_clicked()</slot>