summaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.ui
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-06-20 18:40:59 -0300
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-06-20 18:40:59 -0300
commitfdd8a4811bd598cd661cda5a9c057749dc1a11d1 (patch)
tree85f5cdec65d7d06d69c3a3021a88fa67af847ced /qt-ui/diveplanner.ui
parent8fcd465a65546efd6dd90c6e4d29ff4e93d7dbe8 (diff)
downloadsubsurface-fdd8a4811bd598cd661cda5a9c057749dc1a11d1.tar.gz
Added a new class to handle the DivePlanner dialog
Added a new class named DivePlanner that is a QDialog, and renamed the old DivePlanner class to DivePlannerGraphics. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/diveplanner.ui')
-rw-r--r--qt-ui/diveplanner.ui74
1 files changed, 74 insertions, 0 deletions
diff --git a/qt-ui/diveplanner.ui b/qt-ui/diveplanner.ui
new file mode 100644
index 000000000..e4903f0f8
--- /dev/null
+++ b/qt-ui/diveplanner.ui
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>DivePlanner</class>
+ <widget class="QDialog" name="DivePlanner">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>575</width>
+ <height>451</height>
+ </rect>
+ </property>
+ <property name="windowTitle">
+ <string>Dialog</string>
+ </property>
+ <layout class="QVBoxLayout" name="verticalLayout">
+ <item>
+ <widget class="DivePlannerGraphics" name="graphicsView"/>
+ </item>
+ <item>
+ <widget class="QDialogButtonBox" name="buttonBox">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="standardButtons">
+ <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ <customwidgets>
+ <customwidget>
+ <class>DivePlannerGraphics</class>
+ <extends>QGraphicsView</extends>
+ <header>diveplanner.h</header>
+ </customwidget>
+ </customwidgets>
+ <resources/>
+ <connections>
+ <connection>
+ <sender>buttonBox</sender>
+ <signal>accepted()</signal>
+ <receiver>DivePlanner</receiver>
+ <slot>accept()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>248</x>
+ <y>254</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>157</x>
+ <y>274</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>buttonBox</sender>
+ <signal>rejected()</signal>
+ <receiver>DivePlanner</receiver>
+ <slot>reject()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>316</x>
+ <y>260</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>286</x>
+ <y>274</y>
+ </hint>
+ </hints>
+ </connection>
+ </connections>
+</ui>