Switch to unified view

a/src/qtgui/snippets.ui b/src/qtgui/snippets.ui
...
...
11
   </rect>
11
   </rect>
12
  </property>
12
  </property>
13
  <property name="windowTitle">
13
  <property name="windowTitle">
14
   <string>Snippets</string>
14
   <string>Snippets</string>
15
  </property>
15
  </property>
16
  <layout class="QVBoxLayout" name="verticalLayout_3">
16
  <layout class="QVBoxLayout" name="verticalLayout_2">
17
   <item>
17
   <item>
18
    <layout class="QVBoxLayout" name="verticalLayout_2">
18
    <layout class="QVBoxLayout" name="verticalLayout">
19
     <item>
19
     <item>
20
      <widget class="QWebView" name="browser">
20
      <widget class="QWebView" name="browser">
21
       <property name="url">
21
       <property name="url">
22
        <url>
22
        <url>
23
         <string>about:blank</string>
23
         <string>about:blank</string>
24
        </url>
24
        </url>
25
       </property>
25
       </property>
26
      </widget>
26
      </widget>
27
     </item>
27
     </item>
28
     <item>
28
     <item>
29
      <layout class="QHBoxLayout" name="horizontalLayout_2">
30
       <item>
29
      <widget class="QFrame" name="searchFM">
31
        <widget class="QFrame" name="searchFM">
30
       <property name="frameShape">
31
        <enum>QFrame::StyledPanel</enum>
32
       </property>
33
       <property name="frameShadow">
34
        <enum>QFrame::Raised</enum>
35
       </property>
36
       <layout class="QHBoxLayout" name="horizontalLayout">
37
        <item>
38
         <widget class="QToolButton" name="searchClosePB">
39
          <property name="sizePolicy">
32
         <property name="sizePolicy">
40
           <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
33
          <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
41
            <horstretch>0</horstretch>
34
           <horstretch>1</horstretch>
42
            <verstretch>0</verstretch>
35
           <verstretch>0</verstretch>
43
           </sizepolicy>
36
          </sizepolicy>
37
         </property>
38
         <property name="frameShape">
39
          <enum>QFrame::StyledPanel</enum>
40
         </property>
41
         <property name="frameShadow">
42
          <enum>QFrame::Raised</enum>
43
         </property>
44
         <layout class="QHBoxLayout" name="horizontalLayout">
45
          <property name="topMargin">
46
           <number>1</number>
44
          </property>
47
          </property>
45
          <property name="text">
48
          <property name="bottomMargin">
46
           <string notr="true">X</string>
49
           <number>1</number>
47
          </property>
50
          </property>
51
          <item>
52
           <widget class="QToolButton" name="searchClosePB">
53
            <property name="sizePolicy">
54
             <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
55
              <horstretch>0</horstretch>
56
              <verstretch>0</verstretch>
57
             </sizepolicy>
58
            </property>
59
            <property name="text">
60
             <string notr="true">X</string>
61
            </property>
48
          <property name="toolButtonStyle">
62
            <property name="toolButtonStyle">
49
           <enum>Qt::ToolButtonTextOnly</enum>
63
             <enum>Qt::ToolButtonTextOnly</enum>
50
          </property>
64
            </property>
51
         </widget>
65
           </widget>
52
        </item>
66
          </item>
53
        <item>
67
          <item>
54
         <widget class="QLabel" name="searchLB">
68
           <widget class="QLabel" name="searchLB">
55
          <property name="text">
69
            <property name="text">
56
           <string>Find:</string>
70
             <string>Find:</string>
57
          </property>
71
            </property>
58
         </widget>
72
           </widget>
59
        </item>
73
          </item>
60
        <item>
74
          <item>
61
         <widget class="QLineEdit" name="searchLE">
75
           <widget class="QLineEdit" name="searchLE">
62
          <property name="sizePolicy">
76
            <property name="sizePolicy">
63
           <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
77
             <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
64
            <horstretch>0</horstretch>
78
              <horstretch>0</horstretch>
65
            <verstretch>0</verstretch>
79
              <verstretch>0</verstretch>
66
           </sizepolicy>
80
             </sizepolicy>
67
          </property>
81
            </property>
68
         </widget>
82
           </widget>
69
        </item>
83
          </item>
70
        <item>
84
          <item>
71
         <widget class="QPushButton" name="nextPB">
85
           <widget class="QPushButton" name="nextPB">
72
          <property name="sizePolicy">
86
            <property name="sizePolicy">
73
           <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
87
             <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
74
            <horstretch>0</horstretch>
88
              <horstretch>0</horstretch>
75
            <verstretch>0</verstretch>
89
              <verstretch>0</verstretch>
76
           </sizepolicy>
90
             </sizepolicy>
77
          </property>
91
            </property>
78
          <property name="text">
92
            <property name="text">
79
           <string>Next</string>
93
             <string>Next</string>
80
          </property>
94
            </property>
81
         </widget>
95
           </widget>
82
        </item>
96
          </item>
83
        <item>
97
          <item>
84
         <widget class="QPushButton" name="prevPB">
98
           <widget class="QPushButton" name="prevPB">
85
          <property name="sizePolicy">
99
            <property name="sizePolicy">
86
           <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
100
             <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
87
            <horstretch>0</horstretch>
101
              <horstretch>0</horstretch>
88
            <verstretch>0</verstretch>
102
              <verstretch>0</verstretch>
89
           </sizepolicy>
103
             </sizepolicy>
104
            </property>
105
            <property name="text">
106
             <string>Prev</string>
107
            </property>
108
           </widget>
109
          </item>
110
         </layout>
111
        </widget>
112
       </item>
113
       <item>
114
        <widget class="QDialogButtonBox" name="buttonBox">
115
         <property name="orientation">
116
          <enum>Qt::Horizontal</enum>
90
          </property>
117
         </property>
91
          <property name="text">
118
         <property name="standardButtons">
92
           <string>Prev</string>
119
          <set>QDialogButtonBox::Close</set>
93
          </property>
120
         </property>
94
         </widget>
121
        </widget>
95
        </item>
122
       </item>
96
       </layout>
123
      </layout>
97
      </widget>
98
     </item>
124
     </item>
99
    </layout>
125
    </layout>
100
   </item>
101
   <item>
102
    <widget class="QDialogButtonBox" name="buttonBox">
103
     <property name="orientation">
104
      <enum>Qt::Horizontal</enum>
105
     </property>
106
     <property name="standardButtons">
107
      <set>QDialogButtonBox::Close</set>
108
     </property>
109
    </widget>
110
   </item>
126
   </item>
111
  </layout>
127
  </layout>
112
 </widget>
128
 </widget>
113
 <customwidgets>
129
 <customwidgets>
114
  <customwidget>
130
  <customwidget>
...
...
117
   <header>QtWebKit/QWebView</header>
133
   <header>QtWebKit/QWebView</header>
118
  </customwidget>
134
  </customwidget>
119
 </customwidgets>
135
 </customwidgets>
120
 <resources/>
136
 <resources/>
121
 <connections>
137
 <connections>
122
  <connection>
123
   <sender>buttonBox</sender>
124
   <signal>clicked(QAbstractButton*)</signal>
125
   <receiver>Snippets</receiver>
126
   <slot>close()</slot>
127
   <hints>
128
    <hint type="sourcelabel">
129
     <x>257</x>
130
     <y>369</y>
131
    </hint>
132
    <hint type="destinationlabel">
133
     <x>257</x>
134
     <y>197</y>
135
    </hint>
136
   </hints>
137
  </connection>
138
  <connection>
138
  <connection>
139
   <sender>searchClosePB</sender>
139
   <sender>searchClosePB</sender>
140
   <signal>clicked()</signal>
140
   <signal>clicked()</signal>
141
   <receiver>searchFM</receiver>
141
   <receiver>searchFM</receiver>
142
   <slot>hide()</slot>
142
   <slot>hide()</slot>