-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathui_form3.py
373 lines (356 loc) · 24.9 KB
/
ui_form3.py
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
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui_form3.ui'
#
# Created: Sat Dec 28 23:33:02 2013
# by: PyQt4 UI code generator 4.8.3
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
_fromUtf8 = lambda s: s
class Ui_Form(object):
def setupUi(self, Form):
Form.setObjectName(_fromUtf8("Form"))
Form.resize(600, 400)
Form.setMinimumSize(QtCore.QSize(600, 400))
Form.setMaximumSize(QtCore.QSize(600, 400))
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/flowmapper/icon4.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
Form.setWindowIcon(icon)
Form.setModal(True)
self.buttonBox = QtGui.QDialogButtonBox(Form)
self.buttonBox.setGeometry(QtCore.QRect(420, 360, 160, 24))
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.buttonBox.sizePolicy().hasHeightForWidth())
self.buttonBox.setSizePolicy(sizePolicy)
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
self.BrowseShapeInputFilterLength = QtGui.QPushButton(Form)
self.BrowseShapeInputFilterLength.setGeometry(QtCore.QRect(510, 10, 80, 24))
self.BrowseShapeInputFilterLength.setObjectName(_fromUtf8("BrowseShapeInputFilterLength"))
self.label_4 = QtGui.QLabel(Form)
self.label_4.setGeometry(QtCore.QRect(10, 250, 101, 20))
font = QtGui.QFont()
font.setWeight(75)
font.setBold(True)
self.label_4.setFont(font)
self.label_4.setObjectName(_fromUtf8("label_4"))
self.label_3 = QtGui.QLabel(Form)
self.label_3.setGeometry(QtCore.QRect(10, 210, 180, 20))
self.label_3.setObjectName(_fromUtf8("label_3"))
self.BrowseShapeLineEdit = QtGui.QLineEdit(Form)
self.BrowseShapeLineEdit.setEnabled(False)
self.BrowseShapeLineEdit.setGeometry(QtCore.QRect(198, 10, 301, 20))
self.BrowseShapeLineEdit.setText(_fromUtf8(""))
self.BrowseShapeLineEdit.setObjectName(_fromUtf8("BrowseShapeLineEdit"))
self.label_5 = QtGui.QLabel(Form)
self.label_5.setGeometry(QtCore.QRect(10, 110, 141, 20))
self.label_5.setObjectName(_fromUtf8("label_5"))
self.BrowseShapeOutputFilterLength = QtGui.QPushButton(Form)
self.BrowseShapeOutputFilterLength.setGeometry(QtCore.QRect(510, 210, 80, 24))
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.BrowseShapeOutputFilterLength.sizePolicy().hasHeightForWidth())
self.BrowseShapeOutputFilterLength.setSizePolicy(sizePolicy)
self.BrowseShapeOutputFilterLength.setObjectName(_fromUtf8("BrowseShapeOutputFilterLength"))
self.MeanLength_LineEdit = QtGui.QLineEdit(Form)
self.MeanLength_LineEdit.setGeometry(QtCore.QRect(160, 110, 65, 20))
self.MeanLength_LineEdit.setText(_fromUtf8(""))
self.MeanLength_LineEdit.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
self.MeanLength_LineEdit.setReadOnly(True)
self.MeanLength_LineEdit.setObjectName(_fromUtf8("MeanLength_LineEdit"))
self.FilterLength_LineEdit = QtGui.QLineEdit(Form)
self.FilterLength_LineEdit.setEnabled(True)
self.FilterLength_LineEdit.setGeometry(QtCore.QRect(220, 250, 60, 20))
self.FilterLength_LineEdit.setObjectName(_fromUtf8("FilterLength_LineEdit"))
self.label_01 = QtGui.QLabel(Form)
self.label_01.setGeometry(QtCore.QRect(10, 10, 180, 20))
self.label_01.setObjectName(_fromUtf8("label_01"))
self.CalStatLength = QtGui.QPushButton(Form)
self.CalStatLength.setEnabled(True)
self.CalStatLength.setGeometry(QtCore.QRect(270, 70, 321, 24))
font = QtGui.QFont()
font.setWeight(50)
font.setBold(False)
self.CalStatLength.setFont(font)
self.CalStatLength.setObjectName(_fromUtf8("CalStatLength"))
self.BrowseShapeLineEdit_2 = QtGui.QLineEdit(Form)
self.BrowseShapeLineEdit_2.setEnabled(False)
self.BrowseShapeLineEdit_2.setGeometry(QtCore.QRect(200, 210, 301, 20))
self.BrowseShapeLineEdit_2.setText(_fromUtf8(""))
self.BrowseShapeLineEdit_2.setObjectName(_fromUtf8("BrowseShapeLineEdit_2"))
self.label_6 = QtGui.QLabel(Form)
self.label_6.setGeometry(QtCore.QRect(10, 140, 101, 20))
self.label_6.setObjectName(_fromUtf8("label_6"))
self.StdDevLength_LineEdit = QtGui.QLineEdit(Form)
self.StdDevLength_LineEdit.setGeometry(QtCore.QRect(160, 140, 65, 20))
self.StdDevLength_LineEdit.setText(_fromUtf8(""))
self.StdDevLength_LineEdit.setReadOnly(True)
self.StdDevLength_LineEdit.setObjectName(_fromUtf8("StdDevLength_LineEdit"))
self.MeanNotZeroLength_LineEdit = QtGui.QLineEdit(Form)
self.MeanNotZeroLength_LineEdit.setGeometry(QtCore.QRect(500, 110, 65, 20))
self.MeanNotZeroLength_LineEdit.setText(_fromUtf8(""))
self.MeanNotZeroLength_LineEdit.setReadOnly(True)
self.MeanNotZeroLength_LineEdit.setObjectName(_fromUtf8("MeanNotZeroLength_LineEdit"))
self.label_9 = QtGui.QLabel(Form)
self.label_9.setGeometry(QtCore.QRect(270, 110, 221, 20))
self.label_9.setObjectName(_fromUtf8("label_9"))
self.StdDevNotZeroLength_LineEdit = QtGui.QLineEdit(Form)
self.StdDevNotZeroLength_LineEdit.setGeometry(QtCore.QRect(500, 140, 65, 20))
self.StdDevNotZeroLength_LineEdit.setText(_fromUtf8(""))
self.StdDevNotZeroLength_LineEdit.setReadOnly(True)
self.StdDevNotZeroLength_LineEdit.setObjectName(_fromUtf8("StdDevNotZeroLength_LineEdit"))
self.label_10 = QtGui.QLabel(Form)
self.label_10.setGeometry(QtCore.QRect(270, 140, 161, 20))
self.label_10.setObjectName(_fromUtf8("label_10"))
self.MaxFlowLength_LineEdit = QtGui.QLineEdit(Form)
self.MaxFlowLength_LineEdit.setGeometry(QtCore.QRect(160, 170, 65, 20))
self.MaxFlowLength_LineEdit.setText(_fromUtf8(""))
self.MaxFlowLength_LineEdit.setReadOnly(True)
self.MaxFlowLength_LineEdit.setObjectName(_fromUtf8("MaxFlowLength_LineEdit"))
self.label_11 = QtGui.QLabel(Form)
self.label_11.setGeometry(QtCore.QRect(10, 170, 131, 20))
self.label_11.setObjectName(_fromUtf8("label_11"))
self.label_12 = QtGui.QLabel(Form)
self.label_12.setGeometry(QtCore.QRect(290, 250, 71, 20))
font = QtGui.QFont()
font.setWeight(75)
font.setBold(True)
self.label_12.setFont(font)
self.label_12.setObjectName(_fromUtf8("label_12"))
self.MinFlowLength_LineEdit = QtGui.QLineEdit(Form)
self.MinFlowLength_LineEdit.setGeometry(QtCore.QRect(500, 170, 65, 20))
self.MinFlowLength_LineEdit.setText(_fromUtf8(""))
self.MinFlowLength_LineEdit.setReadOnly(True)
self.MinFlowLength_LineEdit.setObjectName(_fromUtf8("MinFlowLength_LineEdit"))
self.label_13 = QtGui.QLabel(Form)
self.label_13.setGeometry(QtCore.QRect(270, 170, 221, 20))
self.label_13.setObjectName(_fromUtf8("label_13"))
self.label_7 = QtGui.QLabel(Form)
self.label_7.setGeometry(QtCore.QRect(230, 110, 16, 20))
self.label_7.setObjectName(_fromUtf8("label_7"))
self.Length_comboBox = QtGui.QComboBox(Form)
self.Length_comboBox.setGeometry(QtCore.QRect(110, 250, 101, 22))
self.Length_comboBox.setObjectName(_fromUtf8("Length_comboBox"))
self.Length_comboBox.addItem(_fromUtf8(""))
self.Length_comboBox.addItem(_fromUtf8(""))
self.Length_comboBox.addItem(_fromUtf8(""))
self.Length_comboBox.addItem(_fromUtf8(""))
self.Length_comboBox.addItem(_fromUtf8(""))
self.label_8 = QtGui.QLabel(Form)
self.label_8.setGeometry(QtCore.QRect(230, 140, 16, 20))
self.label_8.setObjectName(_fromUtf8("label_8"))
self.label_14 = QtGui.QLabel(Form)
self.label_14.setGeometry(QtCore.QRect(230, 170, 16, 20))
self.label_14.setObjectName(_fromUtf8("label_14"))
self.label_15 = QtGui.QLabel(Form)
self.label_15.setGeometry(QtCore.QRect(570, 170, 16, 20))
self.label_15.setObjectName(_fromUtf8("label_15"))
self.label_16 = QtGui.QLabel(Form)
self.label_16.setGeometry(QtCore.QRect(570, 140, 16, 20))
self.label_16.setObjectName(_fromUtf8("label_16"))
self.label_17 = QtGui.QLabel(Form)
self.label_17.setGeometry(QtCore.QRect(570, 110, 16, 20))
self.label_17.setObjectName(_fromUtf8("label_17"))
self.label_2 = QtGui.QLabel(Form)
self.label_2.setGeometry(QtCore.QRect(200, 40, 391, 20))
font = QtGui.QFont()
font.setItalic(False)
self.label_2.setFont(font)
self.label_2.setObjectName(_fromUtf8("label_2"))
self.comboBoxSelectSymbology = QtGui.QComboBox(Form)
self.comboBoxSelectSymbology.setEnabled(True)
self.comboBoxSelectSymbology.setGeometry(QtCore.QRect(460, 290, 120, 22))
self.comboBoxSelectSymbology.setObjectName(_fromUtf8("comboBoxSelectSymbology"))
self.comboBoxSelectSymbology.addItem(_fromUtf8(""))
self.comboBoxSelectSymbology.addItem(_fromUtf8(""))
self.comboBoxSelectSymbology.addItem(_fromUtf8(""))
self.comboBoxSelectSymbology.addItem(_fromUtf8(""))
self.comboBoxSelectSymbology.addItem(_fromUtf8(""))
self.label_19 = QtGui.QLabel(Form)
self.label_19.setGeometry(QtCore.QRect(10, 320, 81, 20))
self.label_19.setObjectName(_fromUtf8("label_19"))
self.Add2MapcheckBox = QtGui.QCheckBox(Form)
self.Add2MapcheckBox.setEnabled(True)
self.Add2MapcheckBox.setGeometry(QtCore.QRect(10, 290, 231, 17))
self.Add2MapcheckBox.setChecked(True)
self.Add2MapcheckBox.setObjectName(_fromUtf8("Add2MapcheckBox"))
self.lineEditInterval = QtGui.QLineEdit(Form)
self.lineEditInterval.setEnabled(False)
self.lineEditInterval.setGeometry(QtCore.QRect(280, 320, 51, 20))
self.lineEditInterval.setLayoutDirection(QtCore.Qt.LeftToRight)
self.lineEditInterval.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
self.lineEditInterval.setObjectName(_fromUtf8("lineEditInterval"))
self.comboBoxSelectStdDev = QtGui.QComboBox(Form)
self.comboBoxSelectStdDev.setEnabled(False)
self.comboBoxSelectStdDev.setGeometry(QtCore.QRect(460, 320, 120, 22))
self.comboBoxSelectStdDev.setObjectName(_fromUtf8("comboBoxSelectStdDev"))
self.comboBoxSelectStdDev.addItem(_fromUtf8(""))
self.comboBoxSelectStdDev.addItem(_fromUtf8(""))
self.comboBoxSelectStdDev.addItem(_fromUtf8(""))
self.comboBoxSelectStdDev.addItem(_fromUtf8(""))
self.label_20 = QtGui.QLabel(Form)
self.label_20.setGeometry(QtCore.QRect(380, 320, 81, 20))
self.label_20.setObjectName(_fromUtf8("label_20"))
self.label_21 = QtGui.QLabel(Form)
self.label_21.setGeometry(QtCore.QRect(200, 320, 81, 20))
self.label_21.setObjectName(_fromUtf8("label_21"))
self.spinBoxClasses = QtGui.QSpinBox(Form)
self.spinBoxClasses.setEnabled(False)
self.spinBoxClasses.setGeometry(QtCore.QRect(90, 320, 51, 22))
self.spinBoxClasses.setMinimum(2)
self.spinBoxClasses.setProperty(_fromUtf8("value"), 2)
self.spinBoxClasses.setObjectName(_fromUtf8("spinBoxClasses"))
self.ShowDirectioncheckBox = QtGui.QCheckBox(Form)
self.ShowDirectioncheckBox.setEnabled(True)
self.ShowDirectioncheckBox.setGeometry(QtCore.QRect(280, 290, 121, 17))
self.ShowDirectioncheckBox.setChecked(True)
self.ShowDirectioncheckBox.setObjectName(_fromUtf8("ShowDirectioncheckBox"))
self.retranslateUi(Form)
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), Form.accept)
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), Form.reject)
##-----------------------------------------------------------------------------------------------##
##-----------------------------------------------------------------------------------------------##
QtCore.QObject.connect(self.Add2MapcheckBox, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.comboBoxSelectSymbology.setEnabled)
QtCore.QObject.connect(self.Add2MapcheckBox, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.reset_enable_disable_state)
QtCore.QObject.connect(self.comboBoxSelectSymbology, QtCore.SIGNAL(_fromUtf8("currentIndexChanged(int)")), self.enable_disable)
##-----------------------------------------------------------------------------------------------##
##-----------------------------------------------------------------------------------------------##
QtCore.QMetaObject.connectSlotsByName(Form)
Form.setTabOrder(self.BrowseShapeLineEdit, self.BrowseShapeInputFilterLength)
Form.setTabOrder(self.BrowseShapeInputFilterLength, self.CalStatLength)
Form.setTabOrder(self.CalStatLength, self.MeanLength_LineEdit)
Form.setTabOrder(self.MeanLength_LineEdit, self.StdDevLength_LineEdit)
Form.setTabOrder(self.StdDevLength_LineEdit, self.MaxFlowLength_LineEdit)
Form.setTabOrder(self.MaxFlowLength_LineEdit, self.MeanNotZeroLength_LineEdit)
Form.setTabOrder(self.MeanNotZeroLength_LineEdit, self.StdDevNotZeroLength_LineEdit)
Form.setTabOrder(self.StdDevNotZeroLength_LineEdit, self.MinFlowLength_LineEdit)
Form.setTabOrder(self.MinFlowLength_LineEdit, self.BrowseShapeLineEdit_2)
Form.setTabOrder(self.BrowseShapeLineEdit_2, self.BrowseShapeOutputFilterLength)
Form.setTabOrder(self.BrowseShapeOutputFilterLength, self.Length_comboBox)
Form.setTabOrder(self.Length_comboBox, self.FilterLength_LineEdit)
Form.setTabOrder(self.FilterLength_LineEdit, self.Add2MapcheckBox)
Form.setTabOrder(self.Add2MapcheckBox, self.ShowDirectioncheckBox)
Form.setTabOrder(self.ShowDirectioncheckBox, self.comboBoxSelectSymbology)
Form.setTabOrder(self.comboBoxSelectSymbology, self.spinBoxClasses)
Form.setTabOrder(self.spinBoxClasses, self.lineEditInterval)
Form.setTabOrder(self.lineEditInterval, self.comboBoxSelectStdDev)
Form.setTabOrder(self.comboBoxSelectStdDev, self.buttonBox)
##-----------------------------------------------------------------------------------------------##
##-----------------------------------------------------------------------------------------------##
def reset_enable_disable_state(self):
self.comboBoxSelectSymbology.setCurrentIndex(0)
self.spinBoxClasses.setEnabled(False)
self.lineEditInterval.setEnabled(False)
self.comboBoxSelectStdDev.setEnabled(False)
if self.Add2MapcheckBox.isChecked() == True:
self.ShowDirectioncheckBox.setEnabled(True)
self.ShowDirectioncheckBox.setChecked(True)
elif self.Add2MapcheckBox.isChecked() == False:
self.ShowDirectioncheckBox.setEnabled(False)
self.ShowDirectioncheckBox.setChecked(False)
def enable_disable(self):
if self.comboBoxSelectSymbology.currentText() == "Single Symbol":
self.spinBoxClasses.setEnabled(False)
self.lineEditInterval.setEnabled(False)
self.comboBoxSelectStdDev.setEnabled(False)
if self.Add2MapcheckBox.isChecked() == True:
self.ShowDirectioncheckBox.setEnabled(True)
self.ShowDirectioncheckBox.setChecked(True)
elif self.Add2MapcheckBox.isChecked() == False:
self.ShowDirectioncheckBox.setEnabled(False)
self.ShowDirectioncheckBox.setChecked(False)
elif self.comboBoxSelectSymbology.currentText() == "Equal Size Classes":
self.spinBoxClasses.setEnabled(True)
self.lineEditInterval.setEnabled(False)
self.comboBoxSelectStdDev.setEnabled(False)
if self.Add2MapcheckBox.isChecked() == True:
self.ShowDirectioncheckBox.setEnabled(True)
self.ShowDirectioncheckBox.setChecked(True)
elif self.Add2MapcheckBox.isChecked() == False:
self.ShowDirectioncheckBox.setEnabled(False)
self.ShowDirectioncheckBox.setChecked(False)
elif self.comboBoxSelectSymbology.currentText() == "Equal Interval":
self.spinBoxClasses.setEnabled(True)
self.lineEditInterval.setEnabled(False)
self.comboBoxSelectStdDev.setEnabled(False)
if self.Add2MapcheckBox.isChecked() == True:
self.ShowDirectioncheckBox.setEnabled(True)
self.ShowDirectioncheckBox.setChecked(True)
elif self.Add2MapcheckBox.isChecked() == False:
self.ShowDirectioncheckBox.setEnabled(False)
self.ShowDirectioncheckBox.setChecked(False)
elif self.comboBoxSelectSymbology.currentText() == "Defined Interval":
self.spinBoxClasses.setEnabled(False)
self.lineEditInterval.setEnabled(True)
self.comboBoxSelectStdDev.setEnabled(False)
if self.Add2MapcheckBox.isChecked() == True:
self.ShowDirectioncheckBox.setEnabled(True)
self.ShowDirectioncheckBox.setChecked(True)
elif self.Add2MapcheckBox.isChecked() == False:
self.ShowDirectioncheckBox.setEnabled(False)
self.ShowDirectioncheckBox.setChecked(False)
elif self.comboBoxSelectSymbology.currentText() == "Standard Deviation":
self.spinBoxClasses.setEnabled(False)
self.lineEditInterval.setEnabled(False)
self.comboBoxSelectStdDev.setEnabled(True)
if self.Add2MapcheckBox.isChecked() == True:
self.ShowDirectioncheckBox.setEnabled(True)
self.ShowDirectioncheckBox.setChecked(True)
elif self.Add2MapcheckBox.isChecked() == False:
self.ShowDirectioncheckBox.setEnabled(False)
self.ShowDirectioncheckBox.setChecked(False)
def uncheck_ShowDirectioncheckBox(self):
self.ShowDirectioncheckBox.setChecked(False)
##-----------------------------------------------------------------------------------------------##
##-----------------------------------------------------------------------------------------------##
def retranslateUi(self, Form):
Form.setWindowTitle(QtGui.QApplication.translate("Form", "Filter flow lines by length", None, QtGui.QApplication.UnicodeUTF8))
self.BrowseShapeInputFilterLength.setText(QtGui.QApplication.translate("Form", "Browse...", None, QtGui.QApplication.UnicodeUTF8))
self.label_4.setText(QtGui.QApplication.translate("Form", "Delete flow lines", None, QtGui.QApplication.UnicodeUTF8))
self.label_3.setText(QtGui.QApplication.translate("Form", "Output location for filtered shapefile :", None, QtGui.QApplication.UnicodeUTF8))
self.label_5.setText(QtGui.QApplication.translate("Form", "Average length of flow lines :", None, QtGui.QApplication.UnicodeUTF8))
self.BrowseShapeOutputFilterLength.setText(QtGui.QApplication.translate("Form", "Browse...", None, QtGui.QApplication.UnicodeUTF8))
self.FilterLength_LineEdit.setText(QtGui.QApplication.translate("Form", "0", None, QtGui.QApplication.UnicodeUTF8))
self.label_01.setText(QtGui.QApplication.translate("Form", "Select shapefile storing flow lines :", None, QtGui.QApplication.UnicodeUTF8))
self.CalStatLength.setText(QtGui.QApplication.translate("Form", "Calculate Statistics...", None, QtGui.QApplication.UnicodeUTF8))
self.label_6.setText(QtGui.QApplication.translate("Form", "Standard deviation :", None, QtGui.QApplication.UnicodeUTF8))
self.label_9.setText(QtGui.QApplication.translate("Form", "Avg. length of flow lines excluding zero flows :", None, QtGui.QApplication.UnicodeUTF8))
self.label_10.setText(QtGui.QApplication.translate("Form", "Std. Dev. excluding zero flows :", None, QtGui.QApplication.UnicodeUTF8))
self.label_11.setText(QtGui.QApplication.translate("Form", "Maximum flow line length :", None, QtGui.QApplication.UnicodeUTF8))
self.label_12.setText(QtGui.QApplication.translate("Form", "kilometers", None, QtGui.QApplication.UnicodeUTF8))
self.label_13.setText(QtGui.QApplication.translate("Form", "Minimum flow line length excluding zero flows :", None, QtGui.QApplication.UnicodeUTF8))
self.label_7.setText(QtGui.QApplication.translate("Form", "km.", None, QtGui.QApplication.UnicodeUTF8))
self.Length_comboBox.setItemText(0, QtGui.QApplication.translate("Form", "shorter than <", None, QtGui.QApplication.UnicodeUTF8))
self.Length_comboBox.setItemText(1, QtGui.QApplication.translate("Form", "<=", None, QtGui.QApplication.UnicodeUTF8))
self.Length_comboBox.setItemText(2, QtGui.QApplication.translate("Form", "equal to =", None, QtGui.QApplication.UnicodeUTF8))
self.Length_comboBox.setItemText(3, QtGui.QApplication.translate("Form", ">=", None, QtGui.QApplication.UnicodeUTF8))
self.Length_comboBox.setItemText(4, QtGui.QApplication.translate("Form", "longer than >", None, QtGui.QApplication.UnicodeUTF8))
self.label_8.setText(QtGui.QApplication.translate("Form", "km.", None, QtGui.QApplication.UnicodeUTF8))
self.label_14.setText(QtGui.QApplication.translate("Form", "km.", None, QtGui.QApplication.UnicodeUTF8))
self.label_15.setText(QtGui.QApplication.translate("Form", "km.", None, QtGui.QApplication.UnicodeUTF8))
self.label_16.setText(QtGui.QApplication.translate("Form", "km.", None, QtGui.QApplication.UnicodeUTF8))
self.label_17.setText(QtGui.QApplication.translate("Form", "km.", None, QtGui.QApplication.UnicodeUTF8))
self.label_2.setText(QtGui.QApplication.translate("Form", "* Input shapefile must be created with Flow Mapper or include \"length_km\" field.", None, QtGui.QApplication.UnicodeUTF8))
self.comboBoxSelectSymbology.setItemText(0, QtGui.QApplication.translate("Form", "Single Symbol", None, QtGui.QApplication.UnicodeUTF8))
self.comboBoxSelectSymbology.setItemText(1, QtGui.QApplication.translate("Form", "Equal Size Classes", None, QtGui.QApplication.UnicodeUTF8))
self.comboBoxSelectSymbology.setItemText(2, QtGui.QApplication.translate("Form", "Equal Interval", None, QtGui.QApplication.UnicodeUTF8))
self.comboBoxSelectSymbology.setItemText(3, QtGui.QApplication.translate("Form", "Defined Interval", None, QtGui.QApplication.UnicodeUTF8))
self.comboBoxSelectSymbology.setItemText(4, QtGui.QApplication.translate("Form", "Standard Deviation", None, QtGui.QApplication.UnicodeUTF8))
self.label_19.setText(QtGui.QApplication.translate("Form", "No. of classes :", None, QtGui.QApplication.UnicodeUTF8))
self.Add2MapcheckBox.setText(QtGui.QApplication.translate("Form", "Add shapefile to map canvas after filtering", None, QtGui.QApplication.UnicodeUTF8))
self.lineEditInterval.setText(QtGui.QApplication.translate("Form", "100", None, QtGui.QApplication.UnicodeUTF8))
self.comboBoxSelectStdDev.setItemText(0, QtGui.QApplication.translate("Form", "1/4 Std. Dev.", None, QtGui.QApplication.UnicodeUTF8))
self.comboBoxSelectStdDev.setItemText(1, QtGui.QApplication.translate("Form", "1/2 Std. Dev.", None, QtGui.QApplication.UnicodeUTF8))
self.comboBoxSelectStdDev.setItemText(2, QtGui.QApplication.translate("Form", "1 Std. Dev.", None, QtGui.QApplication.UnicodeUTF8))
self.comboBoxSelectStdDev.setItemText(3, QtGui.QApplication.translate("Form", "2 Std. Dev.", None, QtGui.QApplication.UnicodeUTF8))
self.label_20.setText(QtGui.QApplication.translate("Form", "Class interval :", None, QtGui.QApplication.UnicodeUTF8))
self.label_21.setText(QtGui.QApplication.translate("Form", "Class interval :", None, QtGui.QApplication.UnicodeUTF8))
self.ShowDirectioncheckBox.setText(QtGui.QApplication.translate("Form", "Show flow direction", None, QtGui.QApplication.UnicodeUTF8))
import resources