summaryrefslogtreecommitdiffstats
path: root/qt-ui/usermanual.ui
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-06-30 17:45:52 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-30 16:04:24 -0700
commit927bc5d60135f97f7241fbe9f77d745c6fceb517 (patch)
treefb9612a8b94803ed2d0685275ef141e9eee9edab /qt-ui/usermanual.ui
parent4c7ea24921ddf44b4250cf65209f96a4ff121620 (diff)
downloadsubsurface-927bc5d60135f97f7241fbe9f77d745c6fceb517.tar.gz
Fixed SearchBar layout and icons
This is almost a rewrite of the Search function on the WebView the old code had a few uneeded things, mostly being a subclass of QMainWindow instead of the QWebView - this makes the code use a tiny bit less ram. The SearchBox was also moved to an own class ( we can use it later to filter the contents of the DiveList for instance ) and a forced use of the pixmaps for the Mac and Windows platform was added. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/usermanual.ui')
-rw-r--r--qt-ui/usermanual.ui163
1 files changed, 0 insertions, 163 deletions
diff --git a/qt-ui/usermanual.ui b/qt-ui/usermanual.ui
deleted file mode 100644
index e8f0095f5..000000000
--- a/qt-ui/usermanual.ui
+++ /dev/null
@@ -1,163 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <class>UserManual</class>
- <widget class="QMainWindow" name="UserManual">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>834</width>
- <height>599</height>
- </rect>
- </property>
- <property name="windowIcon">
- <iconset resource="../subsurface.qrc">
- <normaloff>:/subsurface-icon</normaloff>:/subsurface-icon</iconset>
- </property>
- <widget class="QWidget" name="centralWidget">
- <layout class="QVBoxLayout" name="verticalLayout">
- <item>
- <widget class="QWidget" name="searchPanel" native="true">
- <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>
- <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-up">
- <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-down">
- <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"/>
- </item>
- </layout>
- </widget>
- </widget>
- <layoutdefault spacing="6" margin="11"/>
- <customwidgets>
- <customwidget>
- <class>QWebView</class>
- <extends>QWidget</extends>
- <header>qwebview.h</header>
- </customwidget>
- </customwidgets>
- <resources>
- <include location="../subsurface.qrc"/>
- </resources>
- <connections>
- <connection>
- <sender>findClose</sender>
- <signal>clicked()</signal>
- <receiver>searchPanel</receiver>
- <slot>hide()</slot>
- <hints>
- <hint type="sourcelabel">
- <x>261</x>
- <y>37</y>
- </hint>
- <hint type="destinationlabel">
- <x>220</x>
- <y>11</y>
- </hint>
- </hints>
- </connection>
- </connections>
-</ui>