|
6 | 6 | <rect>
|
7 | 7 | <x>0</x>
|
8 | 8 | <y>0</y>
|
9 |
| - <width>235</width> |
10 |
| - <height>277</height> |
| 9 | + <width>393</width> |
| 10 | + <height>391</height> |
11 | 11 | </rect>
|
12 | 12 | </property>
|
13 | 13 | <property name="windowTitle">
|
14 | 14 | <string>Form</string>
|
15 | 15 | </property>
|
16 |
| - <layout class="QGridLayout" name="gridLayout"> |
17 |
| - <item row="0" column="0" colspan="3"> |
18 |
| - <widget class="QPushButton" name="mFrameColorButton"> |
| 16 | + <layout class="QFormLayout" name="formLayout_2"> |
| 17 | + <item row="1" column="0"> |
| 18 | + <widget class="QCheckBox" name="mFrameCheckBox"> |
19 | 19 | <property name="text">
|
20 |
| - <string>Frame color...</string> |
| 20 | + <string>Show frame</string> |
21 | 21 | </property>
|
22 | 22 | </widget>
|
23 | 23 | </item>
|
24 |
| - <item row="1" column="0" colspan="3"> |
25 |
| - <widget class="QPushButton" name="mBackgroundColorButton"> |
26 |
| - <property name="text"> |
27 |
| - <string>Background color...</string> |
| 24 | + <item row="2" column="0" colspan="2"> |
| 25 | + <widget class="QGroupBox" name="mFrameBox"> |
| 26 | + <property name="title"> |
| 27 | + <string>Frame settings</string> |
28 | 28 | </property>
|
| 29 | + <layout class="QGridLayout" name="gridLayout_2"> |
| 30 | + <item row="0" column="0" colspan="2"> |
| 31 | + <widget class="QPushButton" name="mFrameColorButton"> |
| 32 | + <property name="text"> |
| 33 | + <string>Frame color...</string> |
| 34 | + </property> |
| 35 | + </widget> |
| 36 | + </item> |
| 37 | + <item row="1" column="0"> |
| 38 | + <widget class="QLabel" name="mOutlineWidthLabel"> |
| 39 | + <property name="text"> |
| 40 | + <string>Thickness</string> |
| 41 | + </property> |
| 42 | + <property name="wordWrap"> |
| 43 | + <bool>true</bool> |
| 44 | + </property> |
| 45 | + <property name="buddy"> |
| 46 | + <cstring>mOutlineWidthSpinBox</cstring> |
| 47 | + </property> |
| 48 | + </widget> |
| 49 | + </item> |
| 50 | + <item row="1" column="1"> |
| 51 | + <widget class="QDoubleSpinBox" name="mOutlineWidthSpinBox"/> |
| 52 | + </item> |
| 53 | + </layout> |
29 | 54 | </widget>
|
30 | 55 | </item>
|
31 |
| - <item row="2" column="0" colspan="3"> |
32 |
| - <layout class="QHBoxLayout" name="horizontalLayout"> |
33 |
| - <item> |
34 |
| - <widget class="QLabel" name="mOpacityLabel"> |
35 |
| - <property name="text"> |
36 |
| - <string>Opacity</string> |
37 |
| - </property> |
38 |
| - <property name="wordWrap"> |
39 |
| - <bool>true</bool> |
40 |
| - </property> |
41 |
| - <property name="buddy"> |
42 |
| - <cstring>mOpacitySlider</cstring> |
43 |
| - </property> |
44 |
| - </widget> |
45 |
| - </item> |
46 |
| - <item> |
47 |
| - <widget class="QSlider" name="mOpacitySlider"> |
48 |
| - <property name="maximum"> |
49 |
| - <number>255</number> |
50 |
| - </property> |
51 |
| - <property name="orientation"> |
52 |
| - <enum>Qt::Horizontal</enum> |
53 |
| - </property> |
54 |
| - </widget> |
55 |
| - </item> |
56 |
| - <item> |
57 |
| - <widget class="QSpinBox" name="mOpacitySpinBox"> |
58 |
| - <property name="maximum"> |
59 |
| - <number>255</number> |
60 |
| - </property> |
61 |
| - </widget> |
62 |
| - </item> |
63 |
| - </layout> |
64 |
| - </item> |
65 | 56 | <item row="3" column="0">
|
66 |
| - <widget class="QLabel" name="mOutlineWidthLabel"> |
| 57 | + <widget class="QCheckBox" name="mBackgroundCheckBox"> |
67 | 58 | <property name="text">
|
68 |
| - <string>Outline width</string> |
69 |
| - </property> |
70 |
| - <property name="wordWrap"> |
71 |
| - <bool>true</bool> |
72 |
| - </property> |
73 |
| - <property name="buddy"> |
74 |
| - <cstring>mOutlineWidthSpinBox</cstring> |
| 59 | + <string>Show background</string> |
75 | 60 | </property>
|
76 | 61 | </widget>
|
77 | 62 | </item>
|
78 |
| - <item row="3" column="2"> |
79 |
| - <widget class="QDoubleSpinBox" name="mOutlineWidthSpinBox"/> |
80 |
| - </item> |
81 |
| - <item row="4" column="0" colspan="3"> |
82 |
| - <widget class="QPushButton" name="mPositionButton"> |
83 |
| - <property name="text"> |
84 |
| - <string>Position and size...</string> |
| 63 | + <item row="4" column="0" colspan="2"> |
| 64 | + <widget class="QGroupBox" name="mBackgroundBox"> |
| 65 | + <property name="title"> |
| 66 | + <string>Background settings</string> |
85 | 67 | </property>
|
| 68 | + <layout class="QGridLayout" name="gridLayout"> |
| 69 | + <item row="0" column="0" colspan="3"> |
| 70 | + <widget class="QPushButton" name="mBackgroundColorButton"> |
| 71 | + <property name="text"> |
| 72 | + <string>Background color...</string> |
| 73 | + </property> |
| 74 | + </widget> |
| 75 | + </item> |
| 76 | + <item row="1" column="0"> |
| 77 | + <widget class="QLabel" name="mOpacityLabel"> |
| 78 | + <property name="text"> |
| 79 | + <string>Opacity</string> |
| 80 | + </property> |
| 81 | + <property name="wordWrap"> |
| 82 | + <bool>true</bool> |
| 83 | + </property> |
| 84 | + <property name="buddy"> |
| 85 | + <cstring>mOpacitySlider</cstring> |
| 86 | + </property> |
| 87 | + </widget> |
| 88 | + </item> |
| 89 | + <item row="1" column="1"> |
| 90 | + <widget class="QSlider" name="mOpacitySlider"> |
| 91 | + <property name="maximum"> |
| 92 | + <number>255</number> |
| 93 | + </property> |
| 94 | + <property name="orientation"> |
| 95 | + <enum>Qt::Horizontal</enum> |
| 96 | + </property> |
| 97 | + </widget> |
| 98 | + </item> |
| 99 | + <item row="1" column="2"> |
| 100 | + <widget class="QSpinBox" name="mOpacitySpinBox"> |
| 101 | + <property name="maximum"> |
| 102 | + <number>255</number> |
| 103 | + </property> |
| 104 | + </widget> |
| 105 | + </item> |
| 106 | + </layout> |
86 | 107 | </widget>
|
87 | 108 | </item>
|
88 | 109 | <item row="5" column="0" colspan="2">
|
89 |
| - <widget class="QCheckBox" name="mFrameCheckBox"> |
90 |
| - <property name="text"> |
91 |
| - <string>Show frame</string> |
92 |
| - </property> |
93 |
| - </widget> |
| 110 | + <layout class="QHBoxLayout" name="horizontalLayout"/> |
94 | 111 | </item>
|
95 |
| - <item row="6" column="0"> |
| 112 | + <item row="7" column="0"> |
96 | 113 | <widget class="QLabel" name="mIdLabel">
|
97 | 114 | <property name="text">
|
98 | 115 | <string>Item ID</string>
|
99 | 116 | </property>
|
100 | 117 | </widget>
|
101 | 118 | </item>
|
102 |
| - <item row="6" column="1" colspan="2"> |
| 119 | + <item row="7" column="1"> |
103 | 120 | <widget class="QLineEdit" name="mItemIdLineEdit"/>
|
104 | 121 | </item>
|
105 |
| - <item row="7" column="0" colspan="2"> |
| 122 | + <item row="8" column="0" colspan="2"> |
106 | 123 | <spacer name="verticalSpacer">
|
107 | 124 | <property name="orientation">
|
108 | 125 | <enum>Qt::Vertical</enum>
|
|
115 | 132 | </property>
|
116 | 133 | </spacer>
|
117 | 134 | </item>
|
| 135 | + <item row="0" column="0" colspan="2"> |
| 136 | + <widget class="QPushButton" name="mPositionButton"> |
| 137 | + <property name="text"> |
| 138 | + <string>Position and size...</string> |
| 139 | + </property> |
| 140 | + </widget> |
| 141 | + </item> |
118 | 142 | </layout>
|
119 | 143 | </widget>
|
120 | 144 | <resources/>
|
|
0 commit comments