-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathConfigurationDialogBase.ui
More file actions
292 lines (292 loc) · 8.92 KB
/
ConfigurationDialogBase.ui
File metadata and controls
292 lines (292 loc) · 8.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<author>Borys Jurgiel</author>
<class>ConfigurationDialogBase</class>
<widget class="QDialog" name="ConfigurationDialogBase">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>500</width>
<height>450</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>500</width>
<height>500</height>
</size>
</property>
<property name="contextMenuPolicy">
<enum>Qt::DefaultContextMenu</enum>
</property>
<property name="windowTitle">
<string>Configure Plugin reloader</string>
</property>
<property name="whatsThis">
<string/>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="7" column="0">
<layout class="QGridLayout" name="gridLayout_2">
<property name="bottomMargin">
<number>6</number>
</property>
<item row="0" column="0">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>30</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="1">
<widget class="QPlainTextEdit" name="pteExtraCommands">
<property name="enabled">
<bool>false</bool>
</property>
<property name="toolTip">
<string><html><head/><body><p>QGIS will try to execute any commands typed here in a shell before reloading the plugin.</p>
<p>This can be useful, for example, if you need to copy the new source code into the QGIS plugins directory.</p></body></html></string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="lblExtraCommands">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Note: any %PluginName% will be replaced by the plugin's name.</string>
</property>
<property name="buddy">
<cstring>pteExtraCommands</cstring>
</property>
</widget>
</item>
</layout>
</item>
<item row="1" column="0">
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Select &the plugin you want to reload</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string><html><head/><body><p><span style=" font-style:italic;color:red">
This section is deprecated. Use the new drop-down menu in the toolbar instead.
</span></p></body></html></string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboPlugin">
<property name="enabled">
<bool>false</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>220</width>
<height>0</height>
</size>
</property>
<property name="focusPolicy">
<enum>Qt::WheelFocus</enum>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="13" column="0">
<widget class="QDialogButtonBox" name="buttonBox">
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
<property name="centerButtons">
<bool>true</bool>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QCheckBox" name="cbNotifications">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string><html><head/><body><p>Push a notification about the successful reload to the QGIS message bar.</p><p><span style=" font-weight:600;">Check this</span>, if you like to be sure you reloaded the right plugin.</p><p><span style=" font-weight:600;">Uncheck this</span>, if you hate trivial notifications covering error messages from the plugin.</p></body></html></string>
</property>
<property name="text">
<string>Display a notification once the plugin is reloaded</string>
</property>
</widget>
</item>
<item row="2" column="0">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="label">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Maximum number of entries in the drop-down menu</string>
</property>
<property name="text">
<string>Number of recent plugins in the menu</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="sbRecentPluginsCount">
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>32</number>
</property>
<property name="value">
<number>1</number>
</property>
</widget>
</item>
</layout>
</item>
<item row="5" column="0">
<widget class="QCheckBox" name="cbExtraCommands">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string><html><head/><body><p>QGIS will try to execute any commands typed here in a shell before reloading the plugin.</p>
<p>This can be useful, for example, if you need to copy the new source code into the QGIS plugins directory.</p></body></html></string>
</property>
<property name="text">
<string>Run the commands below before reloading</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QCheckBox" name="cbToolButtonText">
<property name="toolTip">
<string>Display description with the current plugin name beside the icon in the Plugin toolbar.</string>
</property>
<property name="text">
<string>Display the plugin name in the toolbar</string>
</property>
</widget>
</item>
</layout>
</widget>
<tabstops>
<tabstop>comboPlugin</tabstop>
<tabstop>sbRecentPluginsCount</tabstop>
<tabstop>cbToolButtonText</tabstop>
<tabstop>cbNotifications</tabstop>
<tabstop>cbExtraCommands</tabstop>
<tabstop>pteExtraCommands</tabstop>
</tabstops>
<resources/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>ConfigurationDialogBase</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>117</x>
<y>192</y>
</hint>
<hint type="destinationlabel">
<x>42</x>
<y>91</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>ConfigurationDialogBase</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>253</x>
<y>192</y>
</hint>
<hint type="destinationlabel">
<x>208</x>
<y>20</y>
</hint>
</hints>
</connection>
<connection>
<sender>cbExtraCommands</sender>
<signal>toggled(bool)</signal>
<receiver>pteExtraCommands</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>249</x>
<y>78</y>
</hint>
<hint type="destinationlabel">
<x>267</x>
<y>127</y>
</hint>
</hints>
</connection>
<connection>
<sender>cbExtraCommands</sender>
<signal>toggled(bool)</signal>
<receiver>lblExtraCommands</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>249</x>
<y>78</y>
</hint>
<hint type="destinationlabel">
<x>267</x>
<y>172</y>
</hint>
</hints>
</connection>
</connections>
</ui>