|
1 |
| -<ui version="4.0" > |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<ui version="4.0"> |
2 | 3 | <class>QgsGeomTypeDialogBase</class>
|
3 |
| - <widget class="QDialog" name="QgsGeomTypeDialogBase" > |
4 |
| - <property name="geometry" > |
| 4 | + <widget class="QDialog" name="QgsGeomTypeDialogBase"> |
| 5 | + <property name="geometry"> |
5 | 6 | <rect>
|
6 | 7 | <x>0</x>
|
7 | 8 | <y>0</y>
|
8 |
| - <width>395</width> |
9 |
| - <height>422</height> |
| 9 | + <width>353</width> |
| 10 | + <height>397</height> |
10 | 11 | </rect>
|
11 | 12 | </property>
|
12 |
| - <property name="windowTitle" > |
| 13 | + <property name="windowTitle"> |
13 | 14 | <string>New Vector Layer</string>
|
14 | 15 | </property>
|
15 |
| - <property name="modal" > |
| 16 | + <property name="modal"> |
16 | 17 | <bool>true</bool>
|
17 | 18 | </property>
|
18 |
| - <layout class="QGridLayout" > |
19 |
| - <item row="0" column="0" > |
20 |
| - <widget class="QLabel" name="mFileFormatLabel" > |
21 |
| - <property name="text" > |
| 19 | + <layout class="QGridLayout"> |
| 20 | + <item row="0" column="0"> |
| 21 | + <widget class="QLabel" name="mFileFormatLabel"> |
| 22 | + <property name="text"> |
22 | 23 | <string>File format</string>
|
23 | 24 | </property>
|
24 |
| - <property name="buddy" > |
| 25 | + <property name="buddy"> |
25 | 26 | <cstring>mFileFormatComboBox</cstring>
|
26 | 27 | </property>
|
27 | 28 | </widget>
|
28 | 29 | </item>
|
29 |
| - <item row="0" column="1" colspan="3" > |
30 |
| - <widget class="QComboBox" name="mFileFormatComboBox" /> |
| 30 | + <item row="0" column="1" colspan="3"> |
| 31 | + <widget class="QComboBox" name="mFileFormatComboBox"/> |
31 | 32 | </item>
|
32 |
| - <item row="1" column="0" colspan="4" > |
33 |
| - <widget class="QGroupBox" name="buttonGroup1" > |
34 |
| - <property name="title" > |
| 33 | + <item row="1" column="0" colspan="4"> |
| 34 | + <widget class="QGroupBox" name="buttonGroup1"> |
| 35 | + <property name="title"> |
35 | 36 | <string>Type</string>
|
36 | 37 | </property>
|
37 |
| - <layout class="QGridLayout" > |
38 |
| - <item row="0" column="0" > |
39 |
| - <widget class="QRadioButton" name="mPointRadioButton" > |
40 |
| - <property name="text" > |
| 38 | + <layout class="QGridLayout"> |
| 39 | + <item row="0" column="0"> |
| 40 | + <widget class="QRadioButton" name="mPointRadioButton"> |
| 41 | + <property name="text"> |
41 | 42 | <string>Point</string>
|
42 | 43 | </property>
|
43 | 44 | </widget>
|
44 | 45 | </item>
|
45 |
| - <item row="0" column="1" > |
46 |
| - <widget class="QRadioButton" name="mLineRadioButton" > |
47 |
| - <property name="text" > |
| 46 | + <item row="0" column="1"> |
| 47 | + <widget class="QRadioButton" name="mLineRadioButton"> |
| 48 | + <property name="text"> |
48 | 49 | <string>Line</string>
|
49 | 50 | </property>
|
50 | 51 | </widget>
|
51 | 52 | </item>
|
52 |
| - <item row="0" column="2" > |
53 |
| - <widget class="QRadioButton" name="mPolygonRadioButton" > |
54 |
| - <property name="text" > |
| 53 | + <item row="0" column="2"> |
| 54 | + <widget class="QRadioButton" name="mPolygonRadioButton"> |
| 55 | + <property name="text"> |
55 | 56 | <string>Polygon</string>
|
56 | 57 | </property>
|
57 | 58 | </widget>
|
58 | 59 | </item>
|
59 | 60 | </layout>
|
60 | 61 | </widget>
|
61 | 62 | </item>
|
62 |
| - <item row="2" column="0" colspan="4" > |
63 |
| - <widget class="QLabel" name="mAttributeLabel" > |
64 |
| - <property name="text" > |
| 63 | + <item row="2" column="0" colspan="4"> |
| 64 | + <widget class="QLabel" name="mAttributeLabel"> |
| 65 | + <property name="text"> |
65 | 66 | <string>Attributes</string>
|
66 | 67 | </property>
|
67 | 68 | </widget>
|
68 | 69 | </item>
|
69 |
| - <item row="3" column="0" > |
70 |
| - <widget class="QLabel" name="textLabel1" > |
71 |
| - <property name="text" > |
| 70 | + <item row="3" column="0"> |
| 71 | + <widget class="QLabel" name="textLabel1"> |
| 72 | + <property name="text"> |
72 | 73 | <string>Name</string>
|
73 | 74 | </property>
|
74 |
| - <property name="buddy" > |
| 75 | + <property name="buddy"> |
75 | 76 | <cstring>mNameEdit</cstring>
|
76 | 77 | </property>
|
77 | 78 | </widget>
|
78 | 79 | </item>
|
79 |
| - <item row="3" column="1" colspan="3" > |
80 |
| - <widget class="QLineEdit" name="mNameEdit" /> |
| 80 | + <item row="3" column="1" colspan="3"> |
| 81 | + <widget class="QLineEdit" name="mNameEdit"/> |
81 | 82 | </item>
|
82 |
| - <item row="4" column="0" > |
83 |
| - <widget class="QLabel" name="textLabel2" > |
84 |
| - <property name="text" > |
| 83 | + <item row="4" column="0"> |
| 84 | + <widget class="QLabel" name="textLabel2"> |
| 85 | + <property name="text"> |
85 | 86 | <string>Type</string>
|
86 | 87 | </property>
|
87 |
| - <property name="buddy" > |
| 88 | + <property name="buddy"> |
88 | 89 | <cstring>mTypeBox</cstring>
|
89 | 90 | </property>
|
90 | 91 | </widget>
|
91 | 92 | </item>
|
92 |
| - <item row="4" column="1" colspan="3" > |
93 |
| - <widget class="QComboBox" name="mTypeBox" /> |
| 93 | + <item row="4" column="1" colspan="3"> |
| 94 | + <widget class="QComboBox" name="mTypeBox"/> |
94 | 95 | </item>
|
95 |
| - <item row="5" column="0" colspan="2" > |
96 |
| - <spacer> |
97 |
| - <property name="orientation" > |
| 96 | + <item row="6" column="0"> |
| 97 | + <widget class="QLabel" name="label"> |
| 98 | + <property name="text"> |
| 99 | + <string>Width</string> |
| 100 | + </property> |
| 101 | + </widget> |
| 102 | + </item> |
| 103 | + <item row="6" column="1"> |
| 104 | + <widget class="QLineEdit" name="mWidth"/> |
| 105 | + </item> |
| 106 | + <item row="6" column="2"> |
| 107 | + <widget class="QLabel" name="label_2"> |
| 108 | + <property name="text"> |
| 109 | + <string>Precision</string> |
| 110 | + </property> |
| 111 | + </widget> |
| 112 | + </item> |
| 113 | + <item row="6" column="3"> |
| 114 | + <widget class="QLineEdit" name="mPrecision"> |
| 115 | + <property name="sizePolicy"> |
| 116 | + <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> |
| 117 | + <horstretch>0</horstretch> |
| 118 | + <verstretch>0</verstretch> |
| 119 | + </sizepolicy> |
| 120 | + </property> |
| 121 | + </widget> |
| 122 | + </item> |
| 123 | + <item row="13" column="0" colspan="4"> |
| 124 | + <widget class="QDialogButtonBox" name="buttonBox"> |
| 125 | + <property name="orientation"> |
98 | 126 | <enum>Qt::Horizontal</enum>
|
99 | 127 | </property>
|
100 |
| - <property name="sizeHint" > |
101 |
| - <size> |
102 |
| - <width>291</width> |
103 |
| - <height>20</height> |
104 |
| - </size> |
| 128 | + <property name="standardButtons"> |
| 129 | + <set>QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok</set> |
105 | 130 | </property>
|
106 |
| - </spacer> |
| 131 | + </widget> |
107 | 132 | </item>
|
108 |
| - <item row="5" column="2" > |
109 |
| - <widget class="QToolButton" name="mRemoveAttributeButton" > |
110 |
| - <property name="toolTip" > |
| 133 | + <item row="7" column="0"> |
| 134 | + <widget class="QToolButton" name="mRemoveAttributeButton"> |
| 135 | + <property name="toolTip"> |
111 | 136 | <string>Delete selected attribute</string>
|
112 | 137 | </property>
|
113 |
| - <property name="text" > |
| 138 | + <property name="text"> |
114 | 139 | <string>...</string>
|
115 | 140 | </property>
|
116 |
| - <property name="icon" > |
117 |
| - <iconset>../../images/themes/default/mActionDeleteAttribute.png</iconset> |
| 141 | + <property name="icon"> |
| 142 | + <iconset> |
| 143 | + <normaloff>../../images/themes/default/mActionDeleteAttribute.png</normaloff>../../images/themes/default/mActionDeleteAttribute.png</iconset> |
118 | 144 | </property>
|
119 | 145 | </widget>
|
120 | 146 | </item>
|
121 |
| - <item row="5" column="3" > |
122 |
| - <widget class="QToolButton" name="mAddAttributeButton" > |
123 |
| - <property name="toolTip" > |
| 147 | + <item row="7" column="3"> |
| 148 | + <widget class="QToolButton" name="mAddAttributeButton"> |
| 149 | + <property name="toolTip"> |
124 | 150 | <string>Add attribute</string>
|
125 | 151 | </property>
|
126 |
| - <property name="text" > |
| 152 | + <property name="layoutDirection"> |
| 153 | + <enum>Qt::RightToLeft</enum> |
| 154 | + </property> |
| 155 | + <property name="text"> |
127 | 156 | <string>...</string>
|
128 | 157 | </property>
|
129 |
| - <property name="icon" > |
130 |
| - <iconset>../../images/themes/default/mActionNewAttribute.png</iconset> |
| 158 | + <property name="icon"> |
| 159 | + <iconset> |
| 160 | + <normaloff>../../images/themes/default/mActionNewAttribute.png</normaloff>../../images/themes/default/mActionNewAttribute.png</iconset> |
131 | 161 | </property>
|
132 | 162 | </widget>
|
133 | 163 | </item>
|
134 |
| - <item row="6" column="0" colspan="4" > |
135 |
| - <widget class="QTreeWidget" name="mAttributeView" > |
136 |
| - <property name="sizePolicy" > |
137 |
| - <sizepolicy vsizetype="Expanding" hsizetype="Expanding" > |
| 164 | + <item row="12" column="0" colspan="4"> |
| 165 | + <widget class="QTreeWidget" name="mAttributeView"> |
| 166 | + <property name="sizePolicy"> |
| 167 | + <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> |
138 | 168 | <horstretch>0</horstretch>
|
139 | 169 | <verstretch>0</verstretch>
|
140 | 170 | </sizepolicy>
|
141 | 171 | </property>
|
142 |
| - <property name="alternatingRowColors" > |
| 172 | + <property name="alternatingRowColors"> |
143 | 173 | <bool>true</bool>
|
144 | 174 | </property>
|
145 |
| - <property name="rootIsDecorated" > |
| 175 | + <property name="rootIsDecorated"> |
146 | 176 | <bool>false</bool>
|
147 | 177 | </property>
|
| 178 | + <property name="columnCount"> |
| 179 | + <number>4</number> |
| 180 | + </property> |
148 | 181 | <column>
|
149 |
| - <property name="text" > |
| 182 | + <property name="text"> |
150 | 183 | <string>Name</string>
|
151 | 184 | </property>
|
152 | 185 | </column>
|
153 | 186 | <column>
|
154 |
| - <property name="text" > |
| 187 | + <property name="text"> |
155 | 188 | <string>Type</string>
|
156 | 189 | </property>
|
157 | 190 | </column>
|
158 |
| - </widget> |
159 |
| - </item> |
160 |
| - <item row="7" column="0" colspan="4" > |
161 |
| - <widget class="QDialogButtonBox" name="buttonBox" > |
162 |
| - <property name="orientation" > |
163 |
| - <enum>Qt::Horizontal</enum> |
164 |
| - </property> |
165 |
| - <property name="standardButtons" > |
166 |
| - <set>QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set> |
167 |
| - </property> |
| 191 | + <column> |
| 192 | + <property name="text"> |
| 193 | + <string>Width</string> |
| 194 | + </property> |
| 195 | + </column> |
| 196 | + <column> |
| 197 | + <property name="text"> |
| 198 | + <string>Precision</string> |
| 199 | + </property> |
| 200 | + </column> |
168 | 201 | </widget>
|
169 | 202 | </item>
|
170 | 203 | </layout>
|
171 | 204 | </widget>
|
172 |
| - <layoutdefault spacing="6" margin="11" /> |
| 205 | + <layoutdefault spacing="6" margin="11"/> |
173 | 206 | <tabstops>
|
174 | 207 | <tabstop>mFileFormatComboBox</tabstop>
|
175 | 208 | <tabstop>mPointRadioButton</tabstop>
|
176 | 209 | <tabstop>mLineRadioButton</tabstop>
|
177 | 210 | <tabstop>mPolygonRadioButton</tabstop>
|
178 | 211 | <tabstop>mNameEdit</tabstop>
|
179 | 212 | <tabstop>mTypeBox</tabstop>
|
180 |
| - <tabstop>mRemoveAttributeButton</tabstop> |
181 |
| - <tabstop>mAddAttributeButton</tabstop> |
182 | 213 | <tabstop>mAttributeView</tabstop>
|
183 | 214 | <tabstop>buttonBox</tabstop>
|
184 | 215 | </tabstops>
|
|
190 | 221 | <receiver>QgsGeomTypeDialogBase</receiver>
|
191 | 222 | <slot>accept()</slot>
|
192 | 223 | <hints>
|
193 |
| - <hint type="sourcelabel" > |
| 224 | + <hint type="sourcelabel"> |
194 | 225 | <x>349</x>
|
195 | 226 | <y>400</y>
|
196 | 227 | </hint>
|
197 |
| - <hint type="destinationlabel" > |
| 228 | + <hint type="destinationlabel"> |
198 | 229 | <x>387</x>
|
199 | 230 | <y>304</y>
|
200 | 231 | </hint>
|
|
206 | 237 | <receiver>QgsGeomTypeDialogBase</receiver>
|
207 | 238 | <slot>reject()</slot>
|
208 | 239 | <hints>
|
209 |
| - <hint type="sourcelabel" > |
| 240 | + <hint type="sourcelabel"> |
210 | 241 | <x>275</x>
|
211 | 242 | <y>400</y>
|
212 | 243 | </hint>
|
213 |
| - <hint type="destinationlabel" > |
| 244 | + <hint type="destinationlabel"> |
214 | 245 | <x>242</x>
|
215 | 246 | <y>308</y>
|
216 | 247 | </hint>
|
|
0 commit comments