Fix layout of Dive Export

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2014-06-10 07:25:48 -03:00 committed by Dirk Hohndel
parent a20b3c192b
commit c0593662b9

View file

@ -7,37 +7,15 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>507</width> <width>507</width>
<height>616</height> <height>413</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Export Dive Log Files</string> <string>Export Dive Log Files</string>
</property> </property>
<widget class="QDialogButtonBox" name="buttonBox"> <layout class="QGridLayout" name="gridLayout">
<property name="geometry"> <item row="0" column="0">
<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"> <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"> <property name="currentIndex">
<number>0</number> <number>0</number>
</property> </property>
@ -45,145 +23,15 @@
<attribute name="title"> <attribute name="title">
<string>General Export</string> <string>General Export</string>
</attribute> </attribute>
<widget class="QGroupBox" name="exportSelection"> <layout class="QGridLayout" name="gridLayout_2">
<property name="geometry"> <item row="0" column="0">
<rect>
<x>260</x>
<y>20</y>
<width>171</width>
<height>114</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="QGroupBox" name="exportFormat"> <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"> <property name="title">
<string>Export format</string> <string>Export format</string>
</property> </property>
<widget class="QRadioButton" name="exportUDDF"> <layout class="QVBoxLayout" name="verticalLayout_2">
<property name="geometry"> <item>
<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"> <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"> <property name="maximumSize">
<size> <size>
<width>171</width> <width>171</width>
@ -200,15 +48,107 @@
<string notr="true">exportGroup</string> <string notr="true">exportGroup</string>
</attribute> </attribute>
</widget> </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> </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 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="1" column="0" colspan="2">
<widget class="QLabel" name="description"> <widget class="QLabel" name="description">
<property name="geometry"> <property name="sizePolicy">
<rect> <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<x>60</x> <horstretch>0</horstretch>
<y>310</y> <verstretch>0</verstretch>
<width>341</width> </sizepolicy>
<height>91</height> </property>
</rect> <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>
<property name="text"> <property name="text">
<string/> <string/>
@ -217,49 +157,97 @@
<bool>true</bool> <bool>true</bool>
</property> </property>
</widget> </widget>
<widget class="Line" name="line"> </item>
<property name="geometry"> <item row="2" column="0">
<rect> <spacer name="verticalSpacer_2">
<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"> <property name="orientation">
<enum>Qt::Vertical</enum> <enum>Qt::Vertical</enum>
</property> </property>
</widget> <property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget> </widget>
<widget class="QWidget" name="HTML_tab"> <widget class="QWidget" name="HTML_tab">
<attribute name="title"> <attribute name="title">
<string>HTML</string> <string>HTML</string>
</attribute> </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="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="QGroupBox" name="advanceOptions"> <widget class="QGroupBox" name="advanceOptions">
<property name="enabled"> <property name="enabled">
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="geometry">
<rect>
<x>20</x>
<y>240</y>
<width>441</width>
<height>191</height>
</rect>
</property>
<property name="title"> <property name="title">
<string>Style Options</string> <string>Style Options</string>
</property> </property>
@ -269,46 +257,25 @@
<property name="checked"> <property name="checked">
<bool>false</bool> <bool>false</bool>
</property> </property>
<widget class="QWidget" name="layoutWidget1"> <layout class="QFormLayout" name="formLayout">
<property name="geometry"> <item row="0" column="0">
<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"> <widget class="QLabel" name="fontLabel">
<property name="text"> <property name="text">
<string>Font</string> <string>Font</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item row="0" column="1">
<widget class="QComboBox" name="fontSelection"/> <widget class="QComboBox" name="fontSelection"/>
</item> </item>
</layout> <item row="1" column="0">
</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"> <widget class="QLabel" name="fontSizeLabel">
<property name="text"> <property name="text">
<string>Font size</string> <string>Font size</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item row="1" column="1">
<widget class="QComboBox" name="fontSizeSelection"> <widget class="QComboBox" name="fontSizeSelection">
<property name="currentIndex"> <property name="currentIndex">
<number>3</number> <number>3</number>
@ -350,26 +317,14 @@
</item> </item>
</widget> </widget>
</item> </item>
</layout> <item row="2" column="0">
</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"> <widget class="QLabel" name="themeLabel">
<property name="text"> <property name="text">
<string>Theme</string> <string>Theme</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item row="2" column="1">
<widget class="QComboBox" name="themeSelection"> <widget class="QComboBox" name="themeSelection">
<property name="currentIndex"> <property name="currentIndex">
<number>0</number> <number>0</number>
@ -388,142 +343,35 @@
</item> </item>
</layout> </layout>
</widget> </widget>
</widget> </item>
<widget class="QGroupBox" name="GeneralOptions"> <item>
<property name="geometry"> <spacer name="verticalSpacer">
<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"> <property name="orientation">
<enum>Qt::Vertical</enum> <enum>Qt::Vertical</enum>
</property> </property>
</widget> <property name="sizeHint" stdset="0">
<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>
<item>
<widget class="QCheckBox" name="checkBox_2">
<property name="text">
<string>Minimum Javascript</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkBox_3">
<property name="text">
<string>Dive List only</string>
</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> <size>
<width>117</width> <width>20</width>
<height>0</height> <height>40</height>
</size> </size>
</property> </property>
<property name="text"> </spacer>
<string>Selected Dives</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<attribute name="buttonGroup">
<string notr="true">buttonGroup</string>
</attribute>
</widget>
</item>
<item>
<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>
</layout> </layout>
</widget> </widget>
</widget> </widget>
</widget> </item>
</widget> <item row="1" column="0">
<widget class="QLabel" name="label_3"> <widget class="QDialogButtonBox" name="buttonBox">
<property name="geometry"> <property name="orientation">
<rect> <enum>Qt::Horizontal</enum>
<x>0</x>
<y>20</y>
<width>491</width>
<height>23</height>
</rect>
</property> </property>
<property name="font"> <property name="standardButtons">
<font> <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
<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> </property>
</widget> </widget>
</item>
</layout>
</widget> </widget>
<resources/> <resources/>
<connections> <connections>