diff options
author | Robert C. Helling <helling@atdotde.de> | 2020-08-22 14:36:41 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-09-03 11:46:16 -0700 |
commit | 8f6d05414050a52209556576816ec10cc041e547 (patch) | |
tree | 3a16f5fe36155864e4ba8bd8048bcb2fa9ff8877 /desktop-widgets/printoptions.ui | |
parent | 02a4aa927e1e47e9cf7bbafc9c233594cad29c2b (diff) | |
download | subsurface-8f6d05414050a52209556576816ec10cc041e547.tar.gz |
Set printer resolution
You need a better resolution to plot a picture with high resolution...
Connection done with a lambda expression thanks to @dirkhh.
Signed-off-by: Robert C. Helling <helling@atdotde.de> (+1 squashed commit)
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/printoptions.ui')
-rw-r--r-- | desktop-widgets/printoptions.ui | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/desktop-widgets/printoptions.ui b/desktop-widgets/printoptions.ui index 1c2523d39..f12236552 100644 --- a/desktop-widgets/printoptions.ui +++ b/desktop-widgets/printoptions.ui @@ -93,6 +93,36 @@ </property> </widget> </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_2"> + <item> + <widget class="QSpinBox" name="resolution"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="maximum"> + <number>4000</number> + </property> + <property name="singleStep"> + <number>10</number> + </property> + <property name="value"> + <number>600</number> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label"> + <property name="text"> + <string>DPI resolution</string> + </property> + </widget> + </item> + </layout> + </item> </layout> </widget> </item> |