--- a/src/qtgui/preview/preview.ui
+++ b/src/qtgui/preview/preview.ui
@@ -35,7 +35,7 @@
</property>
<widget class="QLayoutWidget">
<property name="name">
- <cstring>layout9</cstring>
+ <cstring>layout4</cstring>
</property>
<vbox>
<property name="name">
@@ -75,7 +75,7 @@
</widget>
<widget class="QLayoutWidget">
<property name="name">
- <cstring>layout7</cstring>
+ <cstring>layout3</cstring>
</property>
<hbox>
<property name="name">
@@ -107,6 +107,9 @@
<property name="name">
<cstring>nextButton</cstring>
</property>
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
<property name="text">
<string>&Next</string>
</property>
@@ -118,11 +121,25 @@
<property name="name">
<cstring>prevButton</cstring>
</property>
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
<property name="text">
<string>&Previous</string>
</property>
<property name="accel">
<string>Alt+P</string>
+ </property>
+ </widget>
+ <widget class="QPushButton">
+ <property name="name">
+ <cstring>clearPB</cstring>
+ </property>
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="text">
+ <string>Clear</string>
</property>
</widget>
<widget class="QCheckBox">
@@ -160,6 +177,12 @@
<signal>clicked()</signal>
<receiver>Preview</receiver>
<slot>prevPressed()</slot>
+ </connection>
+ <connection>
+ <sender>clearPB</sender>
+ <signal>clicked()</signal>
+ <receiver>searchTextLine</receiver>
+ <slot>clear()</slot>
</connection>
</connections>
<includes>