|
7 | 7 | <x>0</x>
|
8 | 8 | <y>0</y>
|
9 | 9 | <width>505</width>
|
10 |
| - <height>460</height> |
| 10 | + <height>393</height> |
11 | 11 | </rect>
|
12 | 12 | </property>
|
13 | 13 | <property name="windowTitle">
|
14 | 14 | <string>Add vector join</string>
|
15 | 15 | </property>
|
16 |
| - <layout class="QFormLayout" name="formLayout"> |
17 |
| - <item row="1" column="0"> |
| 16 | + <layout class="QGridLayout" name="gridLayout"> |
| 17 | + <item row="0" column="0"> |
18 | 18 | <widget class="QLabel" name="mJoinLayerLabel">
|
19 | 19 | <property name="text">
|
20 | 20 | <string>Join layer</string>
|
21 | 21 | </property>
|
22 | 22 | </widget>
|
23 | 23 | </item>
|
24 |
| - <item row="2" column="0"> |
| 24 | + <item row="0" column="1"> |
| 25 | + <widget class="QgsMapLayerComboBox" name="mJoinLayerComboBox"> |
| 26 | + <property name="filters"> |
| 27 | + <set>QgsMapLayerProxyModel::VectorLayer</set> |
| 28 | + </property> |
| 29 | + </widget> |
| 30 | + </item> |
| 31 | + <item row="1" column="0"> |
25 | 32 | <widget class="QLabel" name="mJoinFieldLabel">
|
26 | 33 | <property name="text">
|
27 | 34 | <string>Join field</string>
|
28 | 35 | </property>
|
29 | 36 | </widget>
|
30 | 37 | </item>
|
31 |
| - <item row="3" column="0"> |
| 38 | + <item row="1" column="1"> |
| 39 | + <widget class="QgsFieldComboBox" name="mJoinFieldComboBox"/> |
| 40 | + </item> |
| 41 | + <item row="2" column="0"> |
32 | 42 | <widget class="QLabel" name="mTargetFieldLabel">
|
33 | 43 | <property name="text">
|
34 | 44 | <string>Target field</string>
|
35 | 45 | </property>
|
36 | 46 | </widget>
|
37 | 47 | </item>
|
38 |
| - <item row="4" column="0"> |
39 |
| - <widget class="QCheckBox" name="mCacheInMemoryCheckBox"> |
40 |
| - <property name="text"> |
41 |
| - <string>Cache join layer in virtual memory</string> |
42 |
| - </property> |
43 |
| - </widget> |
| 48 | + <item row="2" column="1"> |
| 49 | + <widget class="QgsFieldComboBox" name="mTargetFieldComboBox"/> |
44 | 50 | </item>
|
45 | 51 | <item row="5" column="0" colspan="2">
|
46 |
| - <widget class="QCheckBox" name="mCreateIndexCheckBox"> |
47 |
| - <property name="text"> |
48 |
| - <string>Create attribute index on join field</string> |
49 |
| - </property> |
50 |
| - </widget> |
51 |
| - </item> |
52 |
| - <item row="6" column="0" colspan="2"> |
53 | 52 | <widget class="QgsCollapsibleGroupBox" name="mUseJoinFieldsSubset">
|
54 | 53 | <property name="title">
|
55 | 54 | <string>Choose which fields are joined</string>
|
|
70 | 69 | </layout>
|
71 | 70 | </widget>
|
72 | 71 | </item>
|
73 |
| - <item row="7" column="0" colspan="2"> |
| 72 | + <item row="6" column="0" colspan="2"> |
74 | 73 | <widget class="QgsCollapsibleGroupBox" name="mUseCustomPrefix">
|
75 | 74 | <property name="title">
|
76 | 75 | <string>Custom field name prefix</string>
|
|
91 | 90 | </layout>
|
92 | 91 | </widget>
|
93 | 92 | </item>
|
94 |
| - <item row="9" column="0" colspan="2"> |
95 |
| - <widget class="QDialogButtonBox" name="buttonBox"> |
96 |
| - <property name="orientation"> |
97 |
| - <enum>Qt::Horizontal</enum> |
98 |
| - </property> |
99 |
| - <property name="standardButtons"> |
100 |
| - <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
101 |
| - </property> |
102 |
| - </widget> |
103 |
| - </item> |
104 |
| - <item row="8" column="0"> |
| 93 | + <item row="7" column="0"> |
105 | 94 | <spacer name="verticalSpacer">
|
106 | 95 | <property name="orientation">
|
107 | 96 | <enum>Qt::Vertical</enum>
|
108 | 97 | </property>
|
| 98 | + <property name="sizeType"> |
| 99 | + <enum>QSizePolicy::Expanding</enum> |
| 100 | + </property> |
109 | 101 | <property name="sizeHint" stdset="0">
|
110 | 102 | <size>
|
111 | 103 | <width>20</width>
|
|
114 | 106 | </property>
|
115 | 107 | </spacer>
|
116 | 108 | </item>
|
117 |
| - <item row="1" column="1"> |
118 |
| - <widget class="QgsMapLayerComboBox" name="mJoinLayerComboBox"> |
119 |
| - <property name="filters"> |
120 |
| - <set>QgsMapLayerProxyModel::VectorLayer</set> |
| 109 | + <item row="3" column="0" colspan="2"> |
| 110 | + <widget class="QCheckBox" name="mCacheInMemoryCheckBox"> |
| 111 | + <property name="text"> |
| 112 | + <string>Cache join layer in virtual memory</string> |
121 | 113 | </property>
|
122 | 114 | </widget>
|
123 | 115 | </item>
|
124 |
| - <item row="2" column="1"> |
125 |
| - <widget class="QgsFieldComboBox" name="mJoinFieldComboBox"/> |
| 116 | + <item row="4" column="0" colspan="2"> |
| 117 | + <widget class="QCheckBox" name="mCreateIndexCheckBox"> |
| 118 | + <property name="text"> |
| 119 | + <string>Create attribute index on join field</string> |
| 120 | + </property> |
| 121 | + </widget> |
126 | 122 | </item>
|
127 |
| - <item row="3" column="1"> |
128 |
| - <widget class="QgsFieldComboBox" name="mTargetFieldComboBox"/> |
| 123 | + <item row="8" column="0" colspan="2"> |
| 124 | + <widget class="QDialogButtonBox" name="buttonBox"> |
| 125 | + <property name="orientation"> |
| 126 | + <enum>Qt::Horizontal</enum> |
| 127 | + </property> |
| 128 | + <property name="standardButtons"> |
| 129 | + <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
| 130 | + </property> |
| 131 | + </widget> |
129 | 132 | </item>
|
130 | 133 | </layout>
|
131 | 134 | </widget>
|
|
0 commit comments