UI adjustments in Print Dialog Window

- move buttons to the bottom of the window
- use QDialogButtonBox that allows to follow platform-dependent button layout
- enlarge window size to not to crop content
- change "Close" button action from "accept" to "reject"

Signed-off-by: Andrey Zhdanov <andrjufka@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Andrey Zhdanov 2014-04-16 21:25:15 +03:00 committed by Dirk Hohndel
parent 1b6d4f55df
commit 4bd4c01108
2 changed files with 26 additions and 23 deletions

View file

@ -7,14 +7,14 @@
<x>0</x>
<y>0</y>
<width>511</width>
<height>453</height>
<height>448</height>
</rect>
</property>
<widget class="QGroupBox" name="printOptions">
<property name="geometry">
<rect>
<x>10</x>
<y>80</y>
<y>70</y>
<width>489</width>
<height>81</height>
</rect>
@ -67,7 +67,7 @@
<x>10</x>
<y>10</y>
<width>489</width>
<height>61</height>
<height>51</height>
</rect>
</property>
<property name="sizePolicy">
@ -153,9 +153,9 @@
<property name="geometry">
<rect>
<x>10</x>
<y>170</y>
<y>160</y>
<width>489</width>
<height>91</height>
<height>81</height>
</rect>
</property>
<property name="title">
@ -210,9 +210,9 @@
<property name="geometry">
<rect>
<x>10</x>
<y>270</y>
<y>250</y>
<width>489</width>
<height>151</height>
<height>141</height>
</rect>
</property>
<property name="title">