summaryrefslogtreecommitdiffstats
path: root/qt-ui/printoptions.ui
diff options
context:
space:
mode:
authorGravatar Gehad elrobey <gehadelrobey@gmail.com>2015-05-30 13:10:31 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-04 10:07:50 -0700
commita0b8eed61286d87e98e9344f11d65c5c3aa7d636 (patch)
tree060983ab585b846545beae828901fe3e4dff5a18 /qt-ui/printoptions.ui
parent912606e1c78750db95ea6e7e14ff307ff6acbc18 (diff)
downloadsubsurface-a0b8eed61286d87e98e9344f11d65c5c3aa7d636.tar.gz
Printing: Edit the print options widget
Remove obsolete code and add new customizable print code to the options dialog. Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/printoptions.ui')
-rw-r--r--qt-ui/printoptions.ui73
1 files changed, 24 insertions, 49 deletions
diff --git a/qt-ui/printoptions.ui b/qt-ui/printoptions.ui
index 59a48b956..8ec1718af 100644
--- a/qt-ui/printoptions.ui
+++ b/qt-ui/printoptions.ui
@@ -30,7 +30,7 @@
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0" colspan="2">
- <widget class="QRadioButton" name="radioSixDives">
+ <widget class="QRadioButton" name="radioDiveListPrint">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
@@ -38,7 +38,7 @@
</sizepolicy>
</property>
<property name="text">
- <string>&amp;6 dives per page</string>
+ <string>&amp;Dive list Print</string>
</property>
<property name="checked">
<bool>true</bool>
@@ -46,7 +46,7 @@
</widget>
</item>
<item row="2" column="0">
- <widget class="QRadioButton" name="radioOneDive">
+ <widget class="QRadioButton" name="radioTablePrint">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
@@ -54,25 +54,12 @@
</sizepolicy>
</property>
<property name="text">
- <string>&amp;1 dive per page</string>
+ <string>&amp;Table Print</string>
</property>
</widget>
</item>
<item row="3" column="0" colspan="2">
- <widget class="QRadioButton" name="radioTwoDives">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>&amp;2 dives per page</string>
- </property>
- </widget>
- </item>
- <item row="0" column="2">
- <widget class="QRadioButton" name="radioTablePrint">
+ <widget class="QRadioButton" name="radioStatisticsPrint">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
@@ -80,7 +67,7 @@
</sizepolicy>
</property>
<property name="text">
- <string>&amp;Table print</string>
+ <string>&amp;Statistics Print</string>
</property>
</widget>
</item>
@@ -136,40 +123,30 @@
</widget>
</item>
<item>
- <widget class="QGroupBox" name="ordering">
+ <widget class="QGroupBox" name="template_2">
<property name="title">
- <string>Ordering</string>
+ <string>Template</string>
</property>
- <layout class="QVBoxLayout" name="verticalLayout_2">
+ <layout class="QHBoxLayout" name="horizontalLayout">
<item>
- <widget class="QRadioButton" name="profileOnTop">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>Prof&amp;ile on top</string>
- </property>
- <property name="checked">
- <bool>true</bool>
- </property>
+ <widget class="QComboBox" name="printTemplate">
+ <item>
+ <property name="text">
+ <string>2 Dives per page</string>
+ </property>
+ </item>
</widget>
</item>
<item>
- <widget class="QRadioButton" name="notesOnTop">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
+ <widget class="QPushButton" name="editButton">
+ <property name="maximumSize">
+ <size>
+ <width>106</width>
+ <height>26</height>
+ </size>
</property>
<property name="text">
- <string>&amp;Notes on top</string>
- </property>
- <property name="checked">
- <bool>false</bool>
+ <string>Edit</string>
</property>
</widget>
</item>
@@ -179,12 +156,10 @@
</layout>
</widget>
<tabstops>
- <tabstop>radioSixDives</tabstop>
- <tabstop>radioTwoDives</tabstop>
+ <tabstop>radioDiveListPrint</tabstop>
+ <tabstop>radioStatisticsPrint</tabstop>
<tabstop>printSelected</tabstop>
<tabstop>printInColor</tabstop>
- <tabstop>profileOnTop</tabstop>
- <tabstop>notesOnTop</tabstop>
</tabstops>
<resources/>
<connections/>