mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
a3dbb5865c
Exporting the raw dive list into JSON format for later viewing with html and js files. Also some worldmap code organizations. Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
299 lines
6.7 KiB
XML
299 lines
6.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>DiveLogExportDialog</class>
|
|
<widget class="QDialog" name="DiveLogExportDialog">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>448</width>
|
|
<height>522</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Export Dive Log Files</string>
|
|
</property>
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>450</y>
|
|
<width>341</width>
|
|
<height>32</height>
|
|
</rect>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="standardButtons">
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>-50</x>
|
|
<y>10</y>
|
|
<width>497</width>
|
|
<height>24</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>Droid Sans [unknown]</family>
|
|
<pointsize>14</pointsize>
|
|
<weight>75</weight>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::NoFrame</enum>
|
|
</property>
|
|
<property name="text">
|
|
<string>Export Dive Log Files</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
<widget class="QGroupBox" name="exportFormat">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>70</y>
|
|
<width>201</width>
|
|
<height>241</height>
|
|
</rect>
|
|
</property>
|
|
<property name="title">
|
|
<string>Export format</string>
|
|
</property>
|
|
<widget class="QRadioButton" name="exportUDDF">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>70</y>
|
|
<width>110</width>
|
|
<height>24</height>
|
|
</rect>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>110</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>UDDF</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>false</bool>
|
|
</property>
|
|
<attribute name="buttonGroup">
|
|
<string notr="true">exportGroup</string>
|
|
</attribute>
|
|
</widget>
|
|
<widget class="QRadioButton" name="exportDivelogs">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>100</y>
|
|
<width>131</width>
|
|
<height>24</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>divelogs.de</string>
|
|
</property>
|
|
<attribute name="buttonGroup">
|
|
<string notr="true">exportGroup</string>
|
|
</attribute>
|
|
</widget>
|
|
<widget class="QRadioButton" name="exportCSV">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>130</y>
|
|
<width>110</width>
|
|
<height>24</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>CSV</string>
|
|
</property>
|
|
<attribute name="buttonGroup">
|
|
<string notr="true">exportGroup</string>
|
|
</attribute>
|
|
</widget>
|
|
<widget class="QRadioButton" name="exportWorldMap">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>160</y>
|
|
<width>171</width>
|
|
<height>24</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Worldmap</string>
|
|
</property>
|
|
<attribute name="buttonGroup">
|
|
<string notr="true">exportGroup</string>
|
|
</attribute>
|
|
</widget>
|
|
<widget class="QRadioButton" name="exportSubsurfaceXML">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>40</y>
|
|
<width>171</width>
|
|
<height>21</height>
|
|
</rect>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>171</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Subsurface XML</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
<attribute name="buttonGroup">
|
|
<string notr="true">exportGroup</string>
|
|
</attribute>
|
|
</widget>
|
|
<widget class="QRadioButton" name="exportHtml">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>190</y>
|
|
<width>117</width>
|
|
<height>22</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>HTML</string>
|
|
</property>
|
|
<attribute name="buttonGroup">
|
|
<string notr="true">exportGroup</string>
|
|
</attribute>
|
|
</widget>
|
|
<widget class="Line" name="line">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>40</x>
|
|
<y>230</y>
|
|
<width>231</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QGroupBox" name="exportSelection">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>240</x>
|
|
<y>70</y>
|
|
<width>191</width>
|
|
<height>141</height>
|
|
</rect>
|
|
</property>
|
|
<property name="title">
|
|
<string>Selection</string>
|
|
</property>
|
|
<widget class="QRadioButton" name="exportSelected">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>30</y>
|
|
<width>151</width>
|
|
<height>24</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Selected dives</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
<widget class="QRadioButton" name="exportAll">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>60</y>
|
|
<width>110</width>
|
|
<height>24</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>All dives</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QLabel" name="description">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>30</x>
|
|
<y>330</y>
|
|
<width>341</width>
|
|
<height>91</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>accepted()</signal>
|
|
<receiver>DiveLogExportDialog</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>DiveLogExportDialog</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>
|
|
<buttongroups>
|
|
<buttongroup name="exportGroup"/>
|
|
</buttongroups>
|
|
</ui>
|