|
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 | + <property name="fieldGrowthPolicy"> |
| 18 | + <enum>QFormLayout::AllNonFixedFieldsGrow</enum> |
| 19 | + </property> |
| 20 | + <item row="0" column="0" colspan="2"> |
| 21 | + <widget class="QPushButton" name="mPositionButton"> |
19 | 22 | <property name="text">
|
20 |
| - <string>Frame color...</string> |
| 23 | + <string>Position and size...</string> |
21 | 24 | </property>
|
22 | 25 | </widget>
|
23 | 26 | </item>
|
24 |
| - <item row="1" column="0" colspan="3"> |
25 |
| - <widget class="QPushButton" name="mBackgroundColorButton"> |
26 |
| - <property name="text"> |
27 |
| - <string>Background color...</string> |
| 27 | + <item row="1" column="0" colspan="2"> |
| 28 | + <widget class="QgsCollapsibleGroupBox" name="mFrameGroupBox"> |
| 29 | + <property name="title"> |
| 30 | + <string>Show frame</string> |
| 31 | + </property> |
| 32 | + <property name="checkable"> |
| 33 | + <bool>true</bool> |
28 | 34 | </property>
|
| 35 | + <layout class="QGridLayout" name="gridLayout_2"> |
| 36 | + <item row="0" column="0" colspan="2"> |
| 37 | + <widget class="QPushButton" name="mFrameColorButton"> |
| 38 | + <property name="text"> |
| 39 | + <string>Frame color...</string> |
| 40 | + </property> |
| 41 | + </widget> |
| 42 | + </item> |
| 43 | + <item row="1" column="0"> |
| 44 | + <widget class="QLabel" name="mOutlineWidthLabel"> |
| 45 | + <property name="text"> |
| 46 | + <string>Thickness</string> |
| 47 | + </property> |
| 48 | + <property name="wordWrap"> |
| 49 | + <bool>true</bool> |
| 50 | + </property> |
| 51 | + <property name="buddy"> |
| 52 | + <cstring>mOutlineWidthSpinBox</cstring> |
| 53 | + </property> |
| 54 | + </widget> |
| 55 | + </item> |
| 56 | + <item row="1" column="1"> |
| 57 | + <widget class="QDoubleSpinBox" name="mOutlineWidthSpinBox"/> |
| 58 | + </item> |
| 59 | + </layout> |
29 | 60 | </widget>
|
30 | 61 | </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 |
| - <item row="3" column="0"> |
66 |
| - <widget class="QLabel" name="mOutlineWidthLabel"> |
67 |
| - <property name="text"> |
68 |
| - <string>Outline width</string> |
| 62 | + <item row="2" column="0" colspan="2"> |
| 63 | + <widget class="QgsCollapsibleGroupBox" name="mBackgroundGroupBox"> |
| 64 | + <property name="title"> |
| 65 | + <string>Show background</string> |
69 | 66 | </property>
|
70 |
| - <property name="wordWrap"> |
71 |
| - <bool>true</bool> |
| 67 | + <property name="flat"> |
| 68 | + <bool>false</bool> |
72 | 69 | </property>
|
73 |
| - <property name="buddy"> |
74 |
| - <cstring>mOutlineWidthSpinBox</cstring> |
| 70 | + <property name="checkable"> |
| 71 | + <bool>true</bool> |
75 | 72 | </property>
|
76 |
| - </widget> |
77 |
| - </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> |
| 73 | + <property name="checked"> |
| 74 | + <bool>true</bool> |
85 | 75 | </property>
|
| 76 | + <layout class="QGridLayout" name="gridLayout"> |
| 77 | + <item row="0" column="0" colspan="3"> |
| 78 | + <widget class="QPushButton" name="mBackgroundColorButton"> |
| 79 | + <property name="text"> |
| 80 | + <string>Background color...</string> |
| 81 | + </property> |
| 82 | + </widget> |
| 83 | + </item> |
| 84 | + <item row="1" column="0"> |
| 85 | + <widget class="QLabel" name="mOpacityLabel"> |
| 86 | + <property name="text"> |
| 87 | + <string>Opacity</string> |
| 88 | + </property> |
| 89 | + <property name="wordWrap"> |
| 90 | + <bool>true</bool> |
| 91 | + </property> |
| 92 | + <property name="buddy"> |
| 93 | + <cstring>mOpacitySlider</cstring> |
| 94 | + </property> |
| 95 | + </widget> |
| 96 | + </item> |
| 97 | + <item row="1" column="1"> |
| 98 | + <widget class="QSlider" name="mOpacitySlider"> |
| 99 | + <property name="maximum"> |
| 100 | + <number>255</number> |
| 101 | + </property> |
| 102 | + <property name="orientation"> |
| 103 | + <enum>Qt::Horizontal</enum> |
| 104 | + </property> |
| 105 | + </widget> |
| 106 | + </item> |
| 107 | + <item row="1" column="2"> |
| 108 | + <widget class="QSpinBox" name="mOpacitySpinBox"> |
| 109 | + <property name="maximum"> |
| 110 | + <number>255</number> |
| 111 | + </property> |
| 112 | + </widget> |
| 113 | + </item> |
| 114 | + </layout> |
86 | 115 | </widget>
|
87 | 116 | </item>
|
88 |
| - <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> |
| 117 | + <item row="3" column="0" colspan="2"> |
| 118 | + <layout class="QHBoxLayout" name="horizontalLayout"/> |
94 | 119 | </item>
|
95 |
| - <item row="6" column="0"> |
| 120 | + <item row="5" column="0"> |
96 | 121 | <widget class="QLabel" name="mIdLabel">
|
97 | 122 | <property name="text">
|
98 | 123 | <string>Item ID</string>
|
99 | 124 | </property>
|
100 | 125 | </widget>
|
101 | 126 | </item>
|
102 |
| - <item row="6" column="1" colspan="2"> |
| 127 | + <item row="5" column="1"> |
103 | 128 | <widget class="QLineEdit" name="mItemIdLineEdit"/>
|
104 | 129 | </item>
|
105 |
| - <item row="7" column="0" colspan="2"> |
| 130 | + <item row="6" column="0" colspan="2"> |
106 | 131 | <spacer name="verticalSpacer">
|
107 | 132 | <property name="orientation">
|
108 | 133 | <enum>Qt::Vertical</enum>
|
|
117 | 142 | </item>
|
118 | 143 | </layout>
|
119 | 144 | </widget>
|
| 145 | + <customwidgets> |
| 146 | + <customwidget> |
| 147 | + <class>QgsCollapsibleGroupBox</class> |
| 148 | + <extends>QGroupBox</extends> |
| 149 | + <header>qgscollapsiblegroupbox.h</header> |
| 150 | + <container>1</container> |
| 151 | + </customwidget> |
| 152 | + </customwidgets> |
120 | 153 | <resources/>
|
121 | 154 | <connections>
|
122 | 155 | <connection>
|
|
0 commit comments