diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2017-03-06 18:41:54 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-03-06 20:08:39 -0800 |
commit | e8c918622fbd7072b3ff53e1d97148fbfd4274ff (patch) | |
tree | bbe410224be7a9e536fef684166344523a41f7e9 /desktop-widgets/templateedit.ui | |
parent | 831fe3d7f9e339edb3ac19205514022ab2b00551 (diff) | |
download | subsurface-e8c918622fbd7072b3ff53e1d97148fbfd4274ff.tar.gz |
Printing: support the "Border width" setting for templates
Going to "Template -> Edit" now has a field to enter the
border width (in pixels as only that makes sense in CSS as a flexible
unit, TMK).
This field modifies the template_options.borderwidth Grantlee
property which is part of the bundled templates already
and allows the users to modify the borders of tables.
The C++ implementation was missing, while the HTML (template)
implementation was already in place. Overlooked during GSoC.
Reported-by: Willem Ferguson <willemferguson@zoology.up.ac.za>
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/templateedit.ui')
-rw-r--r-- | desktop-widgets/templateedit.ui | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/desktop-widgets/templateedit.ui b/desktop-widgets/templateedit.ui index 60a0fc7e6..616d13536 100644 --- a/desktop-widgets/templateedit.ui +++ b/desktop-widgets/templateedit.ui @@ -220,6 +220,36 @@ </layout> </item> <item> + <layout class="QHBoxLayout" name="horizontalLayout_3"> + <item> + <widget class="QLabel" name="borderwidth_label"> + <property name="text"> + <string>Border width</string> + </property> + </widget> + </item> + <item> + <widget class="QDoubleSpinBox" name="borderwidth"> + <property name="decimals"> + <number>0</number> + </property> + <property name="minimum"> + <double>0.000000000000000</double> + </property> + <property name="maximum"> + <double>100.000000000000000</double> + </property> + <property name="singleStep"> + <double>1.000000000000000</double> + </property> + <property name="value"> + <double>1.000000000000000</double> + </property> + </widget> + </item> + </layout> + </item> + <item> <spacer name="verticalSpacer"> <property name="orientation"> <enum>Qt::Vertical</enum> |