|
6 | 6 | <rect>
|
7 | 7 | <x>0</x>
|
8 | 8 | <y>0</y>
|
9 |
| - <width>341</width> |
| 9 | + <width>356</width> |
10 | 10 | <height>616</height>
|
11 | 11 | </rect>
|
12 | 12 | </property>
|
13 | 13 | <property name="windowTitle">
|
14 | 14 | <string>Form</string>
|
15 | 15 | </property>
|
16 |
| - <layout class="QVBoxLayout" name="verticalLayout"> |
| 16 | + <layout class="QGridLayout" name="gridLayout_2"> |
17 | 17 | <property name="margin">
|
18 |
| - <number>0</number> |
| 18 | + <number>9</number> |
19 | 19 | </property>
|
20 |
| - <item> |
21 |
| - <widget class="QScrollArea" name="scrollArea"> |
| 20 | + <item row="1" column="0"> |
| 21 | + <layout class="QHBoxLayout" name="pushBtnBox"> |
| 22 | + <property name="spacing"> |
| 23 | + <number>6</number> |
| 24 | + </property> |
| 25 | + <item> |
| 26 | + <widget class="QPushButton" name="btnAddLayer"> |
| 27 | + <property name="maximumSize"> |
| 28 | + <size> |
| 29 | + <width>50</width> |
| 30 | + <height>16777215</height> |
| 31 | + </size> |
| 32 | + </property> |
| 33 | + <property name="toolTip"> |
| 34 | + <string>Add symbol layer</string> |
| 35 | + </property> |
| 36 | + </widget> |
| 37 | + </item> |
| 38 | + <item> |
| 39 | + <widget class="QPushButton" name="btnRemoveLayer"> |
| 40 | + <property name="maximumSize"> |
| 41 | + <size> |
| 42 | + <width>50</width> |
| 43 | + <height>16777215</height> |
| 44 | + </size> |
| 45 | + </property> |
| 46 | + <property name="toolTip"> |
| 47 | + <string>Remove symbol layer</string> |
| 48 | + </property> |
| 49 | + </widget> |
| 50 | + </item> |
| 51 | + <item> |
| 52 | + <widget class="QPushButton" name="btnLock"> |
| 53 | + <property name="maximumSize"> |
| 54 | + <size> |
| 55 | + <width>50</width> |
| 56 | + <height>16777215</height> |
| 57 | + </size> |
| 58 | + </property> |
| 59 | + <property name="toolTip"> |
| 60 | + <string>Lock layer's color</string> |
| 61 | + </property> |
| 62 | + <property name="checkable"> |
| 63 | + <bool>true</bool> |
| 64 | + </property> |
| 65 | + </widget> |
| 66 | + </item> |
| 67 | + <item> |
| 68 | + <widget class="QPushButton" name="btnDuplicate"> |
| 69 | + <property name="maximumSize"> |
| 70 | + <size> |
| 71 | + <width>50</width> |
| 72 | + <height>16777215</height> |
| 73 | + </size> |
| 74 | + </property> |
| 75 | + <property name="toolTip"> |
| 76 | + <string>Duplicates the current layer</string> |
| 77 | + </property> |
| 78 | + <property name="text"> |
| 79 | + <string/> |
| 80 | + </property> |
| 81 | + </widget> |
| 82 | + </item> |
| 83 | + <item> |
| 84 | + <widget class="QPushButton" name="btnUp"> |
| 85 | + <property name="maximumSize"> |
| 86 | + <size> |
| 87 | + <width>50</width> |
| 88 | + <height>16777215</height> |
| 89 | + </size> |
| 90 | + </property> |
| 91 | + <property name="toolTip"> |
| 92 | + <string>Move up</string> |
| 93 | + </property> |
| 94 | + </widget> |
| 95 | + </item> |
| 96 | + <item> |
| 97 | + <widget class="QPushButton" name="btnDown"> |
| 98 | + <property name="maximumSize"> |
| 99 | + <size> |
| 100 | + <width>50</width> |
| 101 | + <height>16777215</height> |
| 102 | + </size> |
| 103 | + </property> |
| 104 | + <property name="toolTip"> |
| 105 | + <string>Move down</string> |
| 106 | + </property> |
| 107 | + </widget> |
| 108 | + </item> |
| 109 | + <item> |
| 110 | + <spacer name="horizontalSpacer"> |
| 111 | + <property name="orientation"> |
| 112 | + <enum>Qt::Horizontal</enum> |
| 113 | + </property> |
| 114 | + <property name="sizeHint" stdset="0"> |
| 115 | + <size> |
| 116 | + <width>20</width> |
| 117 | + <height>20</height> |
| 118 | + </size> |
| 119 | + </property> |
| 120 | + </spacer> |
| 121 | + </item> |
| 122 | + </layout> |
| 123 | + </item> |
| 124 | + <item row="3" column="0"> |
| 125 | + <widget class="QFrame" name="frame"> |
| 126 | + <property name="sizePolicy"> |
| 127 | + <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
| 128 | + <horstretch>4</horstretch> |
| 129 | + <verstretch>0</verstretch> |
| 130 | + </sizepolicy> |
| 131 | + </property> |
22 | 132 | <property name="frameShape">
|
23 | 133 | <enum>QFrame::NoFrame</enum>
|
24 | 134 | </property>
|
25 |
| - <property name="widgetResizable"> |
26 |
| - <bool>true</bool> |
| 135 | + <property name="frameShadow"> |
| 136 | + <enum>QFrame::Sunken</enum> |
27 | 137 | </property>
|
28 |
| - <widget class="QWidget" name="scrollAreaWidgetContents"> |
29 |
| - <property name="geometry"> |
30 |
| - <rect> |
31 |
| - <x>0</x> |
32 |
| - <y>0</y> |
33 |
| - <width>341</width> |
34 |
| - <height>616</height> |
35 |
| - </rect> |
| 138 | + <layout class="QVBoxLayout" name="verticalLayout_2"> |
| 139 | + <property name="spacing"> |
| 140 | + <number>0</number> |
36 | 141 | </property>
|
37 |
| - <layout class="QGridLayout" name="gridLayout"> |
38 |
| - <property name="margin"> |
39 |
| - <number>0</number> |
40 |
| - </property> |
41 |
| - <item row="1" column="0"> |
42 |
| - <layout class="QHBoxLayout" name="pushBtnBox"> |
43 |
| - <property name="spacing"> |
44 |
| - <number>6</number> |
45 |
| - </property> |
46 |
| - <item> |
47 |
| - <widget class="QPushButton" name="btnAddLayer"> |
48 |
| - <property name="maximumSize"> |
49 |
| - <size> |
50 |
| - <width>50</width> |
51 |
| - <height>16777215</height> |
52 |
| - </size> |
53 |
| - </property> |
54 |
| - <property name="toolTip"> |
55 |
| - <string>Add symbol layer</string> |
56 |
| - </property> |
57 |
| - </widget> |
58 |
| - </item> |
59 |
| - <item> |
60 |
| - <widget class="QPushButton" name="btnRemoveLayer"> |
61 |
| - <property name="maximumSize"> |
62 |
| - <size> |
63 |
| - <width>50</width> |
64 |
| - <height>16777215</height> |
65 |
| - </size> |
66 |
| - </property> |
67 |
| - <property name="toolTip"> |
68 |
| - <string>Remove symbol layer</string> |
69 |
| - </property> |
70 |
| - </widget> |
71 |
| - </item> |
72 |
| - <item> |
73 |
| - <widget class="QPushButton" name="btnLock"> |
74 |
| - <property name="maximumSize"> |
75 |
| - <size> |
76 |
| - <width>50</width> |
77 |
| - <height>16777215</height> |
78 |
| - </size> |
79 |
| - </property> |
80 |
| - <property name="toolTip"> |
81 |
| - <string>Lock layer's color</string> |
82 |
| - </property> |
83 |
| - <property name="checkable"> |
84 |
| - <bool>true</bool> |
85 |
| - </property> |
86 |
| - </widget> |
87 |
| - </item> |
88 |
| - <item> |
89 |
| - <widget class="QPushButton" name="btnDuplicate"> |
90 |
| - <property name="maximumSize"> |
91 |
| - <size> |
92 |
| - <width>50</width> |
93 |
| - <height>16777215</height> |
94 |
| - </size> |
95 |
| - </property> |
96 |
| - <property name="toolTip"> |
97 |
| - <string>Duplicates the current layer</string> |
98 |
| - </property> |
99 |
| - <property name="text"> |
100 |
| - <string/> |
101 |
| - </property> |
102 |
| - </widget> |
103 |
| - </item> |
104 |
| - <item> |
105 |
| - <widget class="QPushButton" name="btnUp"> |
106 |
| - <property name="maximumSize"> |
107 |
| - <size> |
108 |
| - <width>50</width> |
109 |
| - <height>16777215</height> |
110 |
| - </size> |
111 |
| - </property> |
112 |
| - <property name="toolTip"> |
113 |
| - <string>Move up</string> |
114 |
| - </property> |
115 |
| - </widget> |
116 |
| - </item> |
117 |
| - <item> |
118 |
| - <widget class="QPushButton" name="btnDown"> |
119 |
| - <property name="maximumSize"> |
120 |
| - <size> |
121 |
| - <width>50</width> |
122 |
| - <height>16777215</height> |
123 |
| - </size> |
124 |
| - </property> |
125 |
| - <property name="toolTip"> |
126 |
| - <string>Move down</string> |
127 |
| - </property> |
128 |
| - </widget> |
129 |
| - </item> |
130 |
| - <item> |
131 |
| - <spacer name="horizontalSpacer"> |
132 |
| - <property name="orientation"> |
133 |
| - <enum>Qt::Horizontal</enum> |
134 |
| - </property> |
135 |
| - <property name="sizeHint" stdset="0"> |
136 |
| - <size> |
137 |
| - <width>20</width> |
138 |
| - <height>20</height> |
139 |
| - </size> |
140 |
| - </property> |
141 |
| - </spacer> |
142 |
| - </item> |
143 |
| - </layout> |
144 |
| - </item> |
145 |
| - <item row="2" column="0"> |
146 |
| - <widget class="Line" name="line"> |
147 |
| - <property name="orientation"> |
148 |
| - <enum>Qt::Horizontal</enum> |
149 |
| - </property> |
150 |
| - </widget> |
151 |
| - </item> |
152 |
| - <item row="3" column="0"> |
153 |
| - <widget class="QFrame" name="frame"> |
154 |
| - <property name="sizePolicy"> |
155 |
| - <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
156 |
| - <horstretch>4</horstretch> |
157 |
| - <verstretch>0</verstretch> |
158 |
| - </sizepolicy> |
159 |
| - </property> |
160 |
| - <property name="frameShape"> |
161 |
| - <enum>QFrame::NoFrame</enum> |
162 |
| - </property> |
163 |
| - <property name="frameShadow"> |
164 |
| - <enum>QFrame::Sunken</enum> |
165 |
| - </property> |
166 |
| - <layout class="QVBoxLayout" name="verticalLayout_2"> |
167 |
| - <property name="spacing"> |
168 |
| - <number>0</number> |
169 |
| - </property> |
170 |
| - <property name="margin"> |
171 |
| - <number>0</number> |
172 |
| - </property> |
173 |
| - <item> |
174 |
| - <widget class="QStackedWidget" name="stackedWidget"> |
175 |
| - <property name="sizePolicy"> |
176 |
| - <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> |
177 |
| - <horstretch>2</horstretch> |
178 |
| - <verstretch>0</verstretch> |
179 |
| - </sizepolicy> |
180 |
| - </property> |
181 |
| - <widget class="QWidget" name="page_2"/> |
182 |
| - </widget> |
183 |
| - </item> |
184 |
| - </layout> |
| 142 | + <property name="margin"> |
| 143 | + <number>0</number> |
| 144 | + </property> |
| 145 | + <item> |
| 146 | + <widget class="QStackedWidget" name="stackedWidget"> |
| 147 | + <property name="sizePolicy"> |
| 148 | + <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> |
| 149 | + <horstretch>2</horstretch> |
| 150 | + <verstretch>0</verstretch> |
| 151 | + </sizepolicy> |
| 152 | + </property> |
| 153 | + <widget class="QWidget" name="page_2"> |
185 | 154 | </widget>
|
186 |
| - </item> |
187 |
| - <item row="0" column="0"> |
188 |
| - <layout class="QHBoxLayout" name="horizontalLayout"> |
189 |
| - <item> |
190 |
| - <widget class="QTreeView" name="layersTree"> |
191 |
| - <property name="sizePolicy"> |
192 |
| - <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
193 |
| - <horstretch>0</horstretch> |
194 |
| - <verstretch>0</verstretch> |
195 |
| - </sizepolicy> |
196 |
| - </property> |
197 |
| - <property name="maximumSize"> |
198 |
| - <size> |
199 |
| - <width>16777215</width> |
200 |
| - <height>100</height> |
201 |
| - </size> |
202 |
| - </property> |
203 |
| - <property name="editTriggers"> |
204 |
| - <set>QAbstractItemView::NoEditTriggers</set> |
205 |
| - </property> |
206 |
| - </widget> |
207 |
| - </item> |
208 |
| - <item> |
209 |
| - <widget class="QLabel" name="lblPreview"> |
210 |
| - <property name="sizePolicy"> |
211 |
| - <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
212 |
| - <horstretch>0</horstretch> |
213 |
| - <verstretch>0</verstretch> |
214 |
| - </sizepolicy> |
215 |
| - </property> |
216 |
| - <property name="minimumSize"> |
217 |
| - <size> |
218 |
| - <width>100</width> |
219 |
| - <height>100</height> |
220 |
| - </size> |
221 |
| - </property> |
222 |
| - <property name="frameShape"> |
223 |
| - <enum>QFrame::NoFrame</enum> |
224 |
| - </property> |
225 |
| - <property name="frameShadow"> |
226 |
| - <enum>QFrame::Sunken</enum> |
227 |
| - </property> |
228 |
| - <property name="text"> |
229 |
| - <string/> |
230 |
| - </property> |
231 |
| - <property name="alignment"> |
232 |
| - <set>Qt::AlignCenter</set> |
233 |
| - </property> |
234 |
| - </widget> |
235 |
| - </item> |
236 |
| - </layout> |
237 |
| - </item> |
238 |
| - </layout> |
239 |
| - <zorder>frame</zorder> |
240 |
| - <zorder>line</zorder> |
241 |
| - </widget> |
| 155 | + </widget> |
| 156 | + </item> |
| 157 | + </layout> |
| 158 | + </widget> |
| 159 | + </item> |
| 160 | + <item row="0" column="0"> |
| 161 | + <layout class="QHBoxLayout" name="horizontalLayout"> |
| 162 | + <item> |
| 163 | + <widget class="QTreeView" name="layersTree"> |
| 164 | + <property name="sizePolicy"> |
| 165 | + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
| 166 | + <horstretch>0</horstretch> |
| 167 | + <verstretch>0</verstretch> |
| 168 | + </sizepolicy> |
| 169 | + </property> |
| 170 | + <property name="maximumSize"> |
| 171 | + <size> |
| 172 | + <width>16777215</width> |
| 173 | + <height>100</height> |
| 174 | + </size> |
| 175 | + </property> |
| 176 | + <property name="editTriggers"> |
| 177 | + <set>QAbstractItemView::NoEditTriggers</set> |
| 178 | + </property> |
| 179 | + </widget> |
| 180 | + </item> |
| 181 | + <item> |
| 182 | + <widget class="QLabel" name="lblPreview"> |
| 183 | + <property name="sizePolicy"> |
| 184 | + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
| 185 | + <horstretch>0</horstretch> |
| 186 | + <verstretch>0</verstretch> |
| 187 | + </sizepolicy> |
| 188 | + </property> |
| 189 | + <property name="minimumSize"> |
| 190 | + <size> |
| 191 | + <width>100</width> |
| 192 | + <height>100</height> |
| 193 | + </size> |
| 194 | + </property> |
| 195 | + <property name="frameShape"> |
| 196 | + <enum>QFrame::NoFrame</enum> |
| 197 | + </property> |
| 198 | + <property name="frameShadow"> |
| 199 | + <enum>QFrame::Sunken</enum> |
| 200 | + </property> |
| 201 | + <property name="text"> |
| 202 | + <string/> |
| 203 | + </property> |
| 204 | + <property name="alignment"> |
| 205 | + <set>Qt::AlignCenter</set> |
| 206 | + </property> |
| 207 | + </widget> |
| 208 | + </item> |
| 209 | + </layout> |
| 210 | + </item> |
| 211 | + <item row="2" column="0"> |
| 212 | + <widget class="Line" name="line"> |
| 213 | + <property name="orientation"> |
| 214 | + <enum>Qt::Horizontal</enum> |
| 215 | + </property> |
242 | 216 | </widget>
|
243 | 217 | </item>
|
244 | 218 | </layout>
|
|
0 commit comments