|
14 | 14 | <string>Form</string> |
15 | 15 | </property> |
16 | 16 | <layout class="QFormLayout" name="formLayout_2"> |
17 | | - <item row="1" column="0"> |
18 | | - <widget class="QCheckBox" name="mFrameCheckBox"> |
| 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>Show frame</string> |
| 23 | + <string>Position and size...</string> |
21 | 24 | </property> |
22 | 25 | </widget> |
23 | 26 | </item> |
24 | | - <item row="2" column="0" colspan="2"> |
25 | | - <widget class="QGroupBox" name="mFrameBox"> |
| 27 | + <item row="1" column="0" colspan="2"> |
| 28 | + <widget class="QgsCollapsibleGroupBox" name="mFrameGroupBox"> |
26 | 29 | <property name="title"> |
27 | | - <string>Frame settings</string> |
| 30 | + <string>Show frame</string> |
| 31 | + </property> |
| 32 | + <property name="checkable"> |
| 33 | + <bool>true</bool> |
28 | 34 | </property> |
29 | 35 | <layout class="QGridLayout" name="gridLayout_2"> |
30 | 36 | <item row="0" column="0" colspan="2"> |
|
53 | 59 | </layout> |
54 | 60 | </widget> |
55 | 61 | </item> |
56 | | - <item row="3" column="0"> |
57 | | - <widget class="QCheckBox" name="mBackgroundCheckBox"> |
58 | | - <property name="text"> |
| 62 | + <item row="2" column="0" colspan="2"> |
| 63 | + <widget class="QgsCollapsibleGroupBox" name="mBackgroundGroupBox"> |
| 64 | + <property name="title"> |
59 | 65 | <string>Show background</string> |
60 | 66 | </property> |
61 | | - </widget> |
62 | | - </item> |
63 | | - <item row="4" column="0" colspan="2"> |
64 | | - <widget class="QGroupBox" name="mBackgroundBox"> |
65 | | - <property name="title"> |
66 | | - <string>Background settings</string> |
| 67 | + <property name="flat"> |
| 68 | + <bool>false</bool> |
| 69 | + </property> |
| 70 | + <property name="checkable"> |
| 71 | + <bool>true</bool> |
| 72 | + </property> |
| 73 | + <property name="checked"> |
| 74 | + <bool>true</bool> |
67 | 75 | </property> |
68 | 76 | <layout class="QGridLayout" name="gridLayout"> |
69 | 77 | <item row="0" column="0" colspan="3"> |
|
106 | 114 | </layout> |
107 | 115 | </widget> |
108 | 116 | </item> |
109 | | - <item row="5" column="0" colspan="2"> |
| 117 | + <item row="3" column="0" colspan="2"> |
110 | 118 | <layout class="QHBoxLayout" name="horizontalLayout"/> |
111 | 119 | </item> |
112 | | - <item row="7" column="0"> |
| 120 | + <item row="5" column="0"> |
113 | 121 | <widget class="QLabel" name="mIdLabel"> |
114 | 122 | <property name="text"> |
115 | 123 | <string>Item ID</string> |
116 | 124 | </property> |
117 | 125 | </widget> |
118 | 126 | </item> |
119 | | - <item row="7" column="1"> |
| 127 | + <item row="5" column="1"> |
120 | 128 | <widget class="QLineEdit" name="mItemIdLineEdit"/> |
121 | 129 | </item> |
122 | | - <item row="8" column="0" colspan="2"> |
| 130 | + <item row="6" column="0" colspan="2"> |
123 | 131 | <spacer name="verticalSpacer"> |
124 | 132 | <property name="orientation"> |
125 | 133 | <enum>Qt::Vertical</enum> |
|
132 | 140 | </property> |
133 | 141 | </spacer> |
134 | 142 | </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> |
142 | 143 | </layout> |
143 | 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> |
144 | 153 | <resources/> |
145 | 154 | <connections> |
146 | 155 | <connection> |
|
0 commit comments