mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Adds the possibility of exporting dives to DiveShare. Signed-off-by: Salvo 'LtWorf' Tomaselli <tiposchi@tiscali.it> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
		
			
				
	
	
		
			446 lines
		
	
	
	
		
			13 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			446 lines
		
	
	
	
		
			13 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>507</width>
 | |
|     <height>413</height>
 | |
|    </rect>
 | |
|   </property>
 | |
|   <property name="windowTitle">
 | |
|    <string>Export dive log files</string>
 | |
|   </property>
 | |
|   <property name="windowIcon">
 | |
|    <iconset>
 | |
|     <normalon>:/subsurface-icon</normalon>
 | |
|    </iconset>
 | |
|   </property>
 | |
|   <layout class="QGridLayout" name="gridLayout">
 | |
|    <item row="0" column="0">
 | |
|     <widget class="QTabWidget" name="tabWidget">
 | |
|      <property name="currentIndex">
 | |
|       <number>0</number>
 | |
|      </property>
 | |
|      <widget class="QWidget" name="General_tab">
 | |
|       <attribute name="title">
 | |
|        <string>General export</string>
 | |
|       </attribute>
 | |
|       <layout class="QGridLayout" name="gridLayout_2">
 | |
|        <item row="2" column="0" colspan="2">
 | |
|         <widget class="QLabel" name="description">
 | |
|          <property name="sizePolicy">
 | |
|           <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
 | |
|            <horstretch>0</horstretch>
 | |
|            <verstretch>0</verstretch>
 | |
|           </sizepolicy>
 | |
|          </property>
 | |
|          <property name="minimumSize">
 | |
|           <size>
 | |
|            <width>0</width>
 | |
|            <height>100</height>
 | |
|           </size>
 | |
|          </property>
 | |
|          <property name="maximumSize">
 | |
|           <size>
 | |
|            <width>16777215</width>
 | |
|            <height>100</height>
 | |
|           </size>
 | |
|          </property>
 | |
|          <property name="text">
 | |
|           <string/>
 | |
|          </property>
 | |
|          <property name="wordWrap">
 | |
|           <bool>true</bool>
 | |
|          </property>
 | |
|         </widget>
 | |
|        </item>
 | |
|        <item row="3" column="0">
 | |
|         <spacer name="verticalSpacer_2">
 | |
|          <property name="orientation">
 | |
|           <enum>Qt::Vertical</enum>
 | |
|          </property>
 | |
|          <property name="sizeHint" stdset="0">
 | |
|           <size>
 | |
|            <width>20</width>
 | |
|            <height>40</height>
 | |
|           </size>
 | |
|          </property>
 | |
|         </spacer>
 | |
|        </item>
 | |
|        <item row="0" column="1">
 | |
|         <widget class="QGroupBox" name="exportSelection">
 | |
|          <property name="title">
 | |
|           <string>Selection</string>
 | |
|          </property>
 | |
|          <layout class="QVBoxLayout" name="verticalLayout_3">
 | |
|           <item>
 | |
|            <widget class="QRadioButton" name="exportSelected">
 | |
|             <property name="enabled">
 | |
|              <bool>true</bool>
 | |
|             </property>
 | |
|             <property name="text">
 | |
|              <string>Selected dives</string>
 | |
|             </property>
 | |
|             <property name="checked">
 | |
|              <bool>true</bool>
 | |
|             </property>
 | |
|            </widget>
 | |
|           </item>
 | |
|           <item>
 | |
|            <widget class="QRadioButton" name="exportAll">
 | |
|             <property name="text">
 | |
|              <string>All dives</string>
 | |
|             </property>
 | |
|            </widget>
 | |
|           </item>
 | |
|          </layout>
 | |
|         </widget>
 | |
|        </item>
 | |
|        <item row="0" column="0">
 | |
|         <widget class="QGroupBox" name="exportFormat">
 | |
|          <property name="title">
 | |
|           <string>Export format</string>
 | |
|          </property>
 | |
|          <layout class="QVBoxLayout" name="verticalLayout_2">
 | |
|           <item>
 | |
|            <widget class="QRadioButton" name="exportSubsurfaceXML">
 | |
|             <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>
 | |
|           </item>
 | |
|           <item>
 | |
|            <widget class="QRadioButton" name="exportUDDF">
 | |
|             <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>
 | |
|           </item>
 | |
|           <item>
 | |
|            <widget class="QRadioButton" name="exportDivelogs">
 | |
|             <property name="text">
 | |
|              <string>divelogs.de</string>
 | |
|             </property>
 | |
|             <attribute name="buttonGroup">
 | |
|              <string notr="true">exportGroup</string>
 | |
|             </attribute>
 | |
|            </widget>
 | |
|           </item>
 | |
|           <item>
 | |
|            <widget class="QRadioButton" name="exportDiveshare">
 | |
|             <property name="text">
 | |
|              <string>DiveShare</string>
 | |
|             </property>
 | |
|             <attribute name="buttonGroup">
 | |
|              <string notr="true">exportGroup</string>
 | |
|             </attribute>
 | |
|            </widget>
 | |
|           </item>
 | |
|           <item>
 | |
|            <widget class="QRadioButton" name="exportCSV">
 | |
|             <property name="text">
 | |
|              <string>CSV</string>
 | |
|             </property>
 | |
|             <attribute name="buttonGroup">
 | |
|              <string notr="true">exportGroup</string>
 | |
|             </attribute>
 | |
|            </widget>
 | |
|           </item>
 | |
|           <item>
 | |
|            <widget class="QRadioButton" name="exportWorldMap">
 | |
|             <property name="text">
 | |
|              <string>Worldmap</string>
 | |
|             </property>
 | |
|             <attribute name="buttonGroup">
 | |
|              <string notr="true">exportGroup</string>
 | |
|             </attribute>
 | |
|            </widget>
 | |
|           </item>
 | |
|           <item>
 | |
|            <widget class="QRadioButton" name="exportImageDepths">
 | |
|             <property name="text">
 | |
|              <string>Image depths</string>
 | |
|             </property>
 | |
|             <attribute name="buttonGroup">
 | |
|              <string notr="true">exportGroup</string>
 | |
|             </attribute>
 | |
|            </widget>
 | |
|           </item>
 | |
|          </layout>
 | |
|         </widget>
 | |
|        </item>
 | |
|       </layout>
 | |
|      </widget>
 | |
|      <widget class="QWidget" name="HTML_tab">
 | |
|       <attribute name="title">
 | |
|        <string>HTML</string>
 | |
|       </attribute>
 | |
|       <layout class="QVBoxLayout" name="verticalLayout">
 | |
|        <item>
 | |
|         <widget class="QGroupBox" name="GeneralOptions">
 | |
|          <property name="title">
 | |
|           <string>General settings</string>
 | |
|          </property>
 | |
|          <layout class="QGridLayout" name="gridLayout_3">
 | |
|           <item row="0" column="0">
 | |
|            <widget class="QCheckBox" name="exportSubsurfaceNumber">
 | |
|             <property name="text">
 | |
|              <string>Subsurface numbers</string>
 | |
|             </property>
 | |
|             <property name="checked">
 | |
|              <bool>true</bool>
 | |
|             </property>
 | |
|            </widget>
 | |
|           </item>
 | |
|           <item row="0" column="1">
 | |
|            <widget class="QRadioButton" name="exportSelectedDives">
 | |
|             <property name="minimumSize">
 | |
|              <size>
 | |
|               <width>117</width>
 | |
|               <height>0</height>
 | |
|              </size>
 | |
|             </property>
 | |
|             <property name="text">
 | |
|              <string>Selected dives</string>
 | |
|             </property>
 | |
|             <property name="checked">
 | |
|              <bool>true</bool>
 | |
|             </property>
 | |
|             <attribute name="buttonGroup">
 | |
|              <string notr="true">buttonGroup</string>
 | |
|             </attribute>
 | |
|            </widget>
 | |
|           </item>
 | |
|           <item row="1" column="0">
 | |
|            <widget class="QCheckBox" name="exportStatistics">
 | |
|             <property name="text">
 | |
|              <string>Export yearly statistics</string>
 | |
|             </property>
 | |
|             <property name="checked">
 | |
|              <bool>true</bool>
 | |
|             </property>
 | |
|            </widget>
 | |
|           </item>
 | |
|           <item row="1" column="1">
 | |
|            <widget class="QRadioButton" name="exportAllDives">
 | |
|             <property name="minimumSize">
 | |
|              <size>
 | |
|               <width>117</width>
 | |
|               <height>0</height>
 | |
|              </size>
 | |
|             </property>
 | |
|             <property name="text">
 | |
|              <string>All dives</string>
 | |
|             </property>
 | |
|             <attribute name="buttonGroup">
 | |
|              <string notr="true">buttonGroup</string>
 | |
|             </attribute>
 | |
|            </widget>
 | |
|           </item>
 | |
|           <item row="2" column="0">
 | |
|            <widget class="QCheckBox" name="exportListOnly">
 | |
|             <property name="text">
 | |
|              <string>Export list only</string>
 | |
|             </property>
 | |
|            </widget>
 | |
|           </item>
 | |
|          </layout>
 | |
|         </widget>
 | |
|        </item>
 | |
|        <item>
 | |
|         <widget class="QGroupBox" name="advanceOptions">
 | |
|          <property name="enabled">
 | |
|           <bool>true</bool>
 | |
|          </property>
 | |
|          <property name="title">
 | |
|           <string>Style options</string>
 | |
|          </property>
 | |
|          <property name="checkable">
 | |
|           <bool>true</bool>
 | |
|          </property>
 | |
|          <property name="checked">
 | |
|           <bool>false</bool>
 | |
|          </property>
 | |
|          <layout class="QFormLayout" name="formLayout">
 | |
|           <item row="0" column="0">
 | |
|            <widget class="QLabel" name="fontLabel">
 | |
|             <property name="text">
 | |
|              <string>Font</string>
 | |
|             </property>
 | |
|            </widget>
 | |
|           </item>
 | |
|           <item row="0" column="1">
 | |
|            <widget class="QComboBox" name="fontSelection"/>
 | |
|           </item>
 | |
|           <item row="1" column="0">
 | |
|            <widget class="QLabel" name="fontSizeLabel">
 | |
|             <property name="text">
 | |
|              <string>Font size</string>
 | |
|             </property>
 | |
|            </widget>
 | |
|           </item>
 | |
|           <item row="1" column="1">
 | |
|            <widget class="QComboBox" name="fontSizeSelection">
 | |
|             <property name="currentIndex">
 | |
|              <number>3</number>
 | |
|             </property>
 | |
|             <item>
 | |
|              <property name="text">
 | |
|               <string>8</string>
 | |
|              </property>
 | |
|             </item>
 | |
|             <item>
 | |
|              <property name="text">
 | |
|               <string>10</string>
 | |
|              </property>
 | |
|             </item>
 | |
|             <item>
 | |
|              <property name="text">
 | |
|               <string>12</string>
 | |
|              </property>
 | |
|             </item>
 | |
|             <item>
 | |
|              <property name="text">
 | |
|               <string>14</string>
 | |
|              </property>
 | |
|             </item>
 | |
|             <item>
 | |
|              <property name="text">
 | |
|               <string>16</string>
 | |
|              </property>
 | |
|             </item>
 | |
|             <item>
 | |
|              <property name="text">
 | |
|               <string>18</string>
 | |
|              </property>
 | |
|             </item>
 | |
|             <item>
 | |
|              <property name="text">
 | |
|               <string>20</string>
 | |
|              </property>
 | |
|             </item>
 | |
|            </widget>
 | |
|           </item>
 | |
|           <item row="2" column="0">
 | |
|            <widget class="QLabel" name="themeLabel">
 | |
|             <property name="text">
 | |
|              <string>Theme</string>
 | |
|             </property>
 | |
|            </widget>
 | |
|           </item>
 | |
|           <item row="2" column="1">
 | |
|            <widget class="QComboBox" name="themeSelection">
 | |
|             <property name="currentIndex">
 | |
|              <number>0</number>
 | |
|             </property>
 | |
|             <item>
 | |
|              <property name="text">
 | |
|               <string>Light</string>
 | |
|              </property>
 | |
|             </item>
 | |
|             <item>
 | |
|              <property name="text">
 | |
|               <string>Sand</string>
 | |
|              </property>
 | |
|             </item>
 | |
|            </widget>
 | |
|           </item>
 | |
|          </layout>
 | |
|         </widget>
 | |
|        </item>
 | |
|        <item>
 | |
|         <spacer name="verticalSpacer">
 | |
|          <property name="orientation">
 | |
|           <enum>Qt::Vertical</enum>
 | |
|          </property>
 | |
|          <property name="sizeHint" stdset="0">
 | |
|           <size>
 | |
|            <width>20</width>
 | |
|            <height>40</height>
 | |
|           </size>
 | |
|          </property>
 | |
|         </spacer>
 | |
|        </item>
 | |
|       </layout>
 | |
|      </widget>
 | |
|     </widget>
 | |
|    </item>
 | |
|    <item row="1" column="0">
 | |
|     <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>
 | |
|  <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="buttonGroup"/>
 | |
|   <buttongroup name="exportGroup"/>
 | |
|  </buttongroups>
 | |
| </ui>
 |