summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-06-10 07:25:48 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-11 14:21:30 -0700
commitc0593662b95f1041c0ea7850dacc82bf4f678f99 (patch)
tree97cc4686de6a3a7888b1853d8f5d77918b8885bb /qt-ui
parenta20b3c192b229e9e1a9c96a2c38f9779f540ba38 (diff)
downloadsubsurface-c0593662b95f1041c0ea7850dacc82bf4f678f99.tar.gz
Fix layout of Dive Export
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/divelogexportdialog.ui798
1 files changed, 323 insertions, 475 deletions
diff --git a/qt-ui/divelogexportdialog.ui b/qt-ui/divelogexportdialog.ui
index 5506d7a03..d2036bda4 100644
--- a/qt-ui/divelogexportdialog.ui
+++ b/qt-ui/divelogexportdialog.ui
@@ -7,523 +7,371 @@
<x>0</x>
<y>0</y>
<width>507</width>
- <height>616</height>
+ <height>413</height>
</rect>
</property>
<property name="windowTitle">
<string>Export Dive Log Files</string>
</property>
- <widget class="QDialogButtonBox" name="buttonBox">
- <property name="geometry">
- <rect>
- <x>30</x>
- <y>560</y>
- <width>411</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="QTabWidget" name="tabWidget">
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>60</y>
- <width>481</width>
- <height>491</height>
- </rect>
- </property>
- <property name="currentIndex">
- <number>0</number>
- </property>
- <widget class="QWidget" name="General_tab">
- <attribute name="title">
- <string>General Export</string>
- </attribute>
- <widget class="QGroupBox" name="exportSelection">
- <property name="geometry">
- <rect>
- <x>260</x>
- <y>20</y>
- <width>171</width>
- <height>114</height>
- </rect>
+ <layout class="QGridLayout" name="gridLayout">
+ <item row="0" column="0">
+ <widget class="QTabWidget" name="tabWidget">
+ <property name="currentIndex">
+ <number>0</number>
</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="QGroupBox" name="exportFormat">
- <property name="geometry">
- <rect>
- <x>40</x>
- <y>20</y>
- <width>191</width>
- <height>221</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>
+ <widget class="QWidget" name="General_tab">
+ <attribute name="title">
+ <string>General Export</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>
- <widget class="QLabel" name="description">
- <property name="geometry">
- <rect>
- <x>60</x>
- <y>310</y>
- <width>341</width>
- <height>91</height>
- </rect>
- </property>
- <property name="text">
- <string/>
- </property>
- <property name="wordWrap">
- <bool>true</bool>
- </property>
- </widget>
- <widget class="Line" name="line">
- <property name="geometry">
- <rect>
- <x>110</x>
- <y>250</y>
- <width>231</width>
- <height>16</height>
- </rect>
- </property>
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- </widget>
- <widget class="Line" name="line_3">
- <property name="geometry">
- <rect>
- <x>230</x>
- <y>60</y>
- <width>20</width>
- <height>151</height>
- </rect>
- </property>
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- </widget>
- </widget>
- <widget class="QWidget" name="HTML_tab">
- <attribute name="title">
- <string>HTML</string>
- </attribute>
- <widget class="QGroupBox" name="advanceOptions">
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="geometry">
- <rect>
- <x>20</x>
- <y>240</y>
- <width>441</width>
- <height>191</height>
- </rect>
- </property>
- <property name="title">
- <string>Style Options</string>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="checked">
- <bool>false</bool>
- </property>
- <widget class="QWidget" name="layoutWidget1">
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>40</y>
- <width>291</width>
- <height>29</height>
- </rect>
- </property>
- <layout class="QHBoxLayout" name="fontLayout">
- <item>
- <widget class="QLabel" name="fontLabel">
- <property name="text">
- <string>Font</string>
+ <layout class="QGridLayout" name="gridLayout_2">
+ <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="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>
+ </layout>
</widget>
</item>
- <item>
- <widget class="QComboBox" name="fontSelection"/>
- </item>
- </layout>
- </widget>
- <widget class="QWidget" name="layoutWidget2">
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>80</y>
- <width>291</width>
- <height>29</height>
- </rect>
- </property>
- <layout class="QHBoxLayout" name="fontSizeLayout">
- <item>
- <widget class="QLabel" name="fontSizeLabel">
- <property name="text">
- <string>Font size</string>
+ <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>
- <widget class="QComboBox" name="fontSizeSelection">
- <property name="currentIndex">
- <number>3</number>
+ <item row="1" 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>
- <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>
- </layout>
- </widget>
- <widget class="QWidget" name="layoutWidget3">
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>120</y>
- <width>291</width>
- <height>29</height>
- </rect>
- </property>
- <layout class="QHBoxLayout" name="ThemeLayout">
- <item>
- <widget class="QLabel" name="themeLabel">
<property name="text">
- <string>Theme</string>
+ <string/>
+ </property>
+ <property name="wordWrap">
+ <bool>true</bool>
</property>
</widget>
</item>
- <item>
- <widget class="QComboBox" name="themeSelection">
- <property name="currentIndex">
- <number>0</number>
+ <item row="2" column="0">
+ <spacer name="verticalSpacer_2">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
</property>
- <item>
- <property name="text">
- <string>Light</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Sand</string>
- </property>
- </item>
- </widget>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>40</height>
+ </size>
+ </property>
+ </spacer>
</item>
</layout>
</widget>
- </widget>
- <widget class="QGroupBox" name="GeneralOptions">
- <property name="geometry">
- <rect>
- <x>20</x>
- <y>20</y>
- <width>441</width>
- <height>201</height>
- </rect>
- </property>
- <property name="title">
- <string>General Settings</string>
- </property>
- <widget class="Line" name="line_2">
- <property name="geometry">
- <rect>
- <x>210</x>
- <y>40</y>
- <width>20</width>
- <height>141</height>
- </rect>
- </property>
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- </widget>
- <widget class="QWidget" name="layoutWidget5">
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>50</y>
- <width>191</width>
- <height>80</height>
- </rect>
- </property>
- <layout class="QVBoxLayout" name="additionalOptions">
- <item>
- <widget class="QCheckBox" name="checkBox">
- <property name="text">
- <string>Order dives from 0</string>
- </property>
- </widget>
- </item>
+ <widget class="QWidget" name="HTML_tab">
+ <attribute name="title">
+ <string>HTML</string>
+ </attribute>
+ <layout class="QVBoxLayout" name="verticalLayout">
<item>
- <widget class="QCheckBox" name="checkBox_2">
- <property name="text">
- <string>Minimum Javascript</string>
+ <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="checkBox">
+ <property name="text">
+ <string>Order dives from 0</string>
+ </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="checkBox_2">
+ <property name="text">
+ <string>Minimum Javascript</string>
+ </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="checkBox_3">
+ <property name="text">
+ <string>Dive List only</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
</widget>
</item>
<item>
- <widget class="QCheckBox" name="checkBox_3">
- <property name="text">
- <string>Dive List only</string>
+ <widget class="QGroupBox" name="advanceOptions">
+ <property name="enabled">
+ <bool>true</bool>
</property>
- </widget>
- </item>
- </layout>
- </widget>
- <widget class="QWidget" name="layoutWidget">
- <property name="geometry">
- <rect>
- <x>250</x>
- <y>50</y>
- <width>132</width>
- <height>52</height>
- </rect>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout">
- <item>
- <widget class="QRadioButton" name="exportSelectedDives">
- <property name="minimumSize">
- <size>
- <width>117</width>
- <height>0</height>
- </size>
+ <property name="title">
+ <string>Style Options</string>
</property>
- <property name="text">
- <string>Selected Dives</string>
+ <property name="checkable">
+ <bool>true</bool>
</property>
<property name="checked">
- <bool>true</bool>
+ <bool>false</bool>
</property>
- <attribute name="buttonGroup">
- <string notr="true">buttonGroup</string>
- </attribute>
+ <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>
- <widget class="QRadioButton" name="exportAllDives">
- <property name="minimumSize">
+ <spacer name="verticalSpacer">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
<size>
- <width>117</width>
- <height>0</height>
+ <width>20</width>
+ <height>40</height>
</size>
</property>
- <property name="text">
- <string>All Dives</string>
- </property>
- <attribute name="buttonGroup">
- <string notr="true">buttonGroup</string>
- </attribute>
- </widget>
+ </spacer>
</item>
</layout>
</widget>
</widget>
- </widget>
- </widget>
- <widget class="QLabel" name="label_3">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>20</y>
- <width>491</width>
- <height>23</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>
+ </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>