diff options
author | Sergey Starosek <sergey.starosek@gmail.com> | 2014-01-09 19:21:29 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-01-10 16:07:43 +0700 |
commit | 8b00f8ffe6597a233814708d19b286e5dc0c65d8 (patch) | |
tree | 0ccd0f2e3e886b596aa10cb92c6e373867a08431 /qt-ui/usermanual.ui | |
parent | e5ae3fca7fce07b5415f66fab937420f07aa70c6 (diff) | |
download | subsurface-8b00f8ffe6597a233814708d19b286e5dc0c65d8.tar.gz |
Extract user manual web view into a separate class
Provide search functionality which addresses ticket #391
Signed-off-by: Sergey Starosek <sergey.starosek@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/usermanual.ui')
-rw-r--r-- | qt-ui/usermanual.ui | 165 |
1 files changed, 165 insertions, 0 deletions
diff --git a/qt-ui/usermanual.ui b/qt-ui/usermanual.ui new file mode 100644 index 000000000..de0784f39 --- /dev/null +++ b/qt-ui/usermanual.ui @@ -0,0 +1,165 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>UserManual</class> + <widget class="QWidget" name="UserManual"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>834</width> + <height>599</height> + </rect> + </property> + <layout class="QVBoxLayout" name="verticalLayout_2"> + <item> + <widget class="QFrame" name="searchPanel"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Maximum" vsizetype="Maximum"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimumSize"> + <size> + <width>230</width> + <height>40</height> + </size> + </property> + <property name="autoFillBackground"> + <bool>true</bool> + </property> + <property name="frameShape"> + <enum>QFrame::NoFrame</enum> + </property> + <layout class="QHBoxLayout" name="horizontalLayout"> + <property name="spacing"> + <number>0</number> + </property> + <property name="leftMargin"> + <number>9</number> + </property> + <property name="topMargin"> + <number>9</number> + </property> + <property name="rightMargin"> + <number>0</number> + </property> + <property name="bottomMargin"> + <number>0</number> + </property> + <item> + <widget class="QLineEdit" name="searchEdit"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimumSize"> + <size> + <width>100</width> + <height>0</height> + </size> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="findPrev"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string/> + </property> + <property name="icon"> + <iconset theme="go-previous"> + <normaloff/> + </iconset> + </property> + <property name="flat"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="findNext"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string/> + </property> + <property name="icon"> + <iconset theme="go-next"> + <normaloff/> + </iconset> + </property> + <property name="flat"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="findClose"> + <property name="text"> + <string/> + </property> + <property name="icon"> + <iconset theme="window-close"> + <normaloff/> + </iconset> + </property> + <property name="flat"> + <bool>true</bool> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> + <widget class="QWebView" name="webView" native="true"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> + <horstretch>1</horstretch> + <verstretch>1</verstretch> + </sizepolicy> + </property> + </widget> + </item> + </layout> + </widget> + <layoutdefault spacing="6" margin="11"/> + <customwidgets> + <customwidget> + <class>QWebView</class> + <extends>QWidget</extends> + <header>qwebview.h</header> + </customwidget> + </customwidgets> + <resources/> + <connections> + <connection> + <sender>findClose</sender> + <signal>clicked()</signal> + <receiver>searchPanel</receiver> + <slot>hide()</slot> + <hints> + <hint type="sourcelabel"> + <x>261</x> + <y>568</y> + </hint> + <hint type="destinationlabel"> + <x>192</x> + <y>554</y> + </hint> + </hints> + </connection> + </connections> +</ui> |