Switch to side-by-side view

--- a/src/qtgui/recollmain.ui.h
+++ b/src/qtgui/recollmain.ui.h
@@ -29,6 +29,7 @@
 #include <qstatusbar.h>
 #include <qwindowdefs.h>
 #include <qapplication.h>
+#include <qcheckbox.h>
 
 #include "recoll.h"
 #include "debuglog.h"
@@ -389,7 +390,11 @@
     Rcl::AdvSearchData sdata;
 
     QCString u8 =  queryText->text().utf8();
-    sdata.orwords = u8;
+    if (allTermsCB->isChecked())
+	sdata.allwords = u8;
+    else
+	sdata.orwords = u8;
+
     startAdvSearch(sdata);
 }