Switch to unified view

a b/src/qtgui/snippets.ui
1
<?xml version="1.0" encoding="UTF-8"?>
2
<ui version="4.0">
3
 <class>Snippets</class>
4
 <widget class="QDialog" name="Snippets">
5
  <property name="geometry">
6
   <rect>
7
    <x>0</x>
8
    <y>0</y>
9
    <width>640</width>
10
    <height>400</height>
11
   </rect>
12
  </property>
13
  <property name="windowTitle">
14
   <string>Snippets</string>
15
  </property>
16
  <property name="sizeGripEnabled">
17
   <bool>true</bool>
18
  </property>
19
  <layout class="QVBoxLayout" name="verticalLayout">
20
   <item>
21
    <widget class="QWebView" name="webView">
22
     <property name="url">
23
      <url>
24
       <string>about:blank</string>
25
      </url>
26
     </property>
27
    </widget>
28
   </item>
29
   <item>
30
    <widget class="QDialogButtonBox" name="buttonBox">
31
     <property name="orientation">
32
      <enum>Qt::Horizontal</enum>
33
     </property>
34
     <property name="standardButtons">
35
      <set>QDialogButtonBox::Close</set>
36
     </property>
37
    </widget>
38
   </item>
39
  </layout>
40
 </widget>
41
 <customwidgets>
42
  <customwidget>
43
   <class>QWebView</class>
44
   <extends>QWidget</extends>
45
   <header>QtWebKit/QWebView</header>
46
  </customwidget>
47
 </customwidgets>
48
 <resources/>
49
 <connections>
50
  <connection>
51
   <sender>buttonBox</sender>
52
   <signal>clicked(QAbstractButton*)</signal>
53
   <receiver>Snippets</receiver>
54
   <slot>close()</slot>
55
   <hints>
56
    <hint type="sourcelabel">
57
     <x>257</x>
58
     <y>369</y>
59
    </hint>
60
    <hint type="destinationlabel">
61
     <x>257</x>
62
     <y>197</y>
63
    </hint>
64
   </hints>
65
  </connection>
66
 </connections>
67
</ui>