aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Gehad elrobey <gehadelrobey@gmail.com>2015-07-28 08:53:37 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-07-28 11:37:51 +0300
commitfc9cba692eb0e5a570854e2b10c38dbddcdfce83 (patch)
tree4758423d4fc8277e502042699d2115003e0596ce /qt-ui
parentb37498d35515ba981fe0de1f19f048f5e3dbb975 (diff)
downloadsubsurface-fc9cba692eb0e5a570854e2b10c38dbddcdfce83.tar.gz
Printing: add "Import", "Export" and "Delete" buttons for templates
Use the button group to import, export or delete a template from the printing_templates directory. Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/printoptions.ui63
1 files changed, 49 insertions, 14 deletions
diff --git a/qt-ui/printoptions.ui b/qt-ui/printoptions.ui
index b2daefd0b..1c2523d39 100644
--- a/qt-ui/printoptions.ui
+++ b/qt-ui/printoptions.ui
@@ -103,20 +103,55 @@
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
- <widget class="QComboBox" name="printTemplate"/>
- </item>
- <item>
- <widget class="QPushButton" name="editButton">
- <property name="maximumSize">
- <size>
- <width>106</width>
- <height>26</height>
- </size>
- </property>
- <property name="text">
- <string>Edit</string>
- </property>
- </widget>
+ <layout class="QVBoxLayout" name="verticalLayout_4">
+ <item>
+ <widget class="QComboBox" name="printTemplate"/>
+ </item>
+ <item>
+ <layout class="QGridLayout" name="gridLayout_2">
+ <item row="1" column="0">
+ <widget class="QPushButton" name="editButton">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>16777215</width>
+ <height>16777215</height>
+ </size>
+ </property>
+ <property name="text">
+ <string>Edit</string>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="0">
+ <widget class="QPushButton" name="deleteButton">
+ <property name="text">
+ <string>Delete</string>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="1">
+ <widget class="QPushButton" name="exportButton">
+ <property name="text">
+ <string>Export</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QPushButton" name="importButton">
+ <property name="text">
+ <string>Import</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
</item>
</layout>
</widget>