1# -*- coding: utf-8 -*-

2

3# Form implementation generated from reading ui file 'Climate_data.ui'

4#

5# Created by: PyQt5 UI code generator 5.11.3

6#

7# WARNING! All changes made in this file will be lost!

8

9 from PyQt5 import QtCore, QtGui, QtWidgets

10

11 class Ui_Dialog(object):

12 def setupUi(self, Dialog):

13 Dialog.setObjectName("Dialog")

14 Dialog.resize(971, 599)

15 Dialog.setMinimumSize(QtCore.QSize(971, 599))

16 self.gridLayout_7 = QtWidgets.QGridLayout(Dialog)

17 self.gridLayout_7.setObjectName("gridLayout_7")

18 self.gridLayout = QtWidgets.QGridLayout()

19 self.gridLayout.setObjectName("gridLayout")

20 self.gridLayout_5 = QtWidgets.QGridLayout()

21 self.gridLayout_5.setObjectName("gridLayout_5")

22 self.groupBox_2 = QtWidgets.QGroupBox(Dialog)

23 self.groupBox_2.setObjectName("groupBox_2")

24 self.groupBox_6 = QtWidgets.QGroupBox(self.groupBox_2)

25 self.groupBox_6.setGeometry(QtCore.QRect(10, 10, 451, 121))

26 self.groupBox_6.setTitle("")

27 self.groupBox_6.setObjectName("groupBox_6")

28 self.label_7 = QtWidgets.QLabel(self.groupBox_6)

29 self.label_7.setGeometry(QtCore.QRect(10, 20, 91, 21))

30 self.label_7.setObjectName("label_7")

31 self.path_PrecipitationDataFile = QtWidgets.QLineEdit(self.groupBox_6)

32 self.path_PrecipitationDataFile.setGeometry(QtCore.QRect(10, 50, 371, 20))

33 self.path_PrecipitationDataFile.setReadOnly(True)

34 self.path_PrecipitationDataFile.setClearButtonEnabled(False)

35 self.path_PrecipitationDataFile.setObjectName("path_PrecipitationDataFile")

36 self.spb_PrecipitationInterval_min = QtWidgets.QSpinBox(self.groupBox_6)

37 self.spb_PrecipitationInterval_min.setGeometry(QtCore.QRect(100, 80, 91, 21))

38 self.spb_PrecipitationInterval_min.setMaximum(1440)

39 self.spb_PrecipitationInterval_min.setObjectName("spb_PrecipitationInterval_min")

40 self.label = QtWidgets.QLabel(self.groupBox_6)

41 self.label.setGeometry(QtCore.QRect(10, 80, 91, 21))

42 self.label.setObjectName("label")

43 self.load_btn_PrecipitationDataFile = QtWidgets.QPushButton(self.groupBox_6)

44 self.load_btn_PrecipitationDataFile.setGeometry(QtCore.QRect(390, 50, 51, 23))

45 self.load_btn_PrecipitationDataFile.setObjectName("load_btn_PrecipitationDataFile")

46 self.gridLayout_5.addWidget(self.groupBox_2, 0, 0, 1, 1)

47 self.groupBox_3 = QtWidgets.QGroupBox(Dialog)

48 self.groupBox_3.setObjectName("groupBox_3")

49 self.groupBox_9 = QtWidgets.QGroupBox(self.groupBox_3)

50 self.groupBox_9.setGeometry(QtCore.QRect(10, 10, 451, 121))

51 self.groupBox_9.setTitle("")

52 self.groupBox_9.setObjectName("groupBox_9")

53 self.label_10 = QtWidgets.QLabel(self.groupBox_9)

54 self.label_10.setGeometry(QtCore.QRect(10, 20, 91, 21))

55 self.label_10.setObjectName("label_10")

56 self.path_SolarRadiationDataFile = QtWidgets.QLineEdit(self.groupBox_9)

57 self.path_SolarRadiationDataFile.setGeometry(QtCore.QRect(10, 50, 371, 20))

58 self.path_SolarRadiationDataFile.setReadOnly(True)

59 self.path_SolarRadiationDataFile.setClearButtonEnabled(False)

60 self.path_SolarRadiationDataFile.setObjectName("path_SolarRadiationDataFile")

61 self.load_btn_SolarRadiationDataFile = QtWidgets.QPushButton(self.groupBox_9)

62 self.load_btn_SolarRadiationDataFile.setGeometry(QtCore.QRect(390, 50, 51, 23))

63 self.load_btn_SolarRadiationDataFile.setObjectName("load_btn_SolarRadiationDataFile")

64 self.label_4 = QtWidgets.QLabel(self.groupBox_9)

65 self.label_4.setGeometry(QtCore.QRect(10, 80, 91, 21))

66 self.label_4.setObjectName("label_4")

67 self.spb_SolarRadiationInterval_min = QtWidgets.QSpinBox(self.groupBox_9)

68 self.spb_SolarRadiationInterval_min.setGeometry(QtCore.QRect(100, 80, 91, 21))

69 self.spb_SolarRadiationInterval_min.setMaximum(1440)

70 self.spb_SolarRadiationInterval_min.setObjectName("spb_SolarRadiationInterval_min")

71 self.gridLayout_5.addWidget(self.groupBox_3, 2, 0, 1, 1)

72 self.groupBox_4 = QtWidgets.QGroupBox(Dialog)

73 self.groupBox_4.setObjectName("groupBox_4")

74 self.groupBox_7 = QtWidgets.QGroupBox(self.groupBox_4)

75 self.groupBox_7.setGeometry(QtCore.QRect(10, 20, 449, 122))

76 self.groupBox_7.setTitle("")

77 self.groupBox_7.setObjectName("groupBox_7")

78 self.path_TemperatureMaxDataFile = QtWidgets.QLineEdit(self.groupBox_7)

79 self.path_TemperatureMaxDataFile.setGeometry(QtCore.QRect(10, 50, 371, 20))

80 self.path_TemperatureMaxDataFile.setReadOnly(True)

81 self.path_TemperatureMaxDataFile.setClearButtonEnabled(False)

82 self.path_TemperatureMaxDataFile.setObjectName("path_TemperatureMaxDataFile")

83 self.spb_TemperatureMaxInterval_min = QtWidgets.QSpinBox(self.groupBox_7)

84 self.spb_TemperatureMaxInterval_min.setGeometry(QtCore.QRect(160, 80, 91, 21))

85 self.spb_TemperatureMaxInterval_min.setMaximum(1440)

86 self.spb_TemperatureMaxInterval_min.setObjectName("spb_TemperatureMaxInterval_min")

87 self.label_2 = QtWidgets.QLabel(self.groupBox_7)

88 self.label_2.setGeometry(QtCore.QRect(10, 80, 151, 21))

89 self.label_2.setObjectName("label_2")

90 self.load_btn_TemperatureMaxDataFile = QtWidgets.QPushButton(self.groupBox_7)

91 self.load_btn_TemperatureMaxDataFile.setGeometry(QtCore.QRect(390, 50, 51, 23))

92 self.load_btn_TemperatureMaxDataFile.setObjectName("load_btn_TemperatureMaxDataFile")

93 self.label_8 = QtWidgets.QLabel(self.groupBox_7)

94 self.label_8.setGeometry(QtCore.QRect(10, 20, 121, 21))

95 self.label_8.setObjectName("label_8")

96 self.groupBox_8 = QtWidgets.QGroupBox(self.groupBox_4)

97 self.groupBox_8.setGeometry(QtCore.QRect(10, 150, 449, 111))

98 self.groupBox_8.setTitle("")

99 self.groupBox_8.setObjectName("groupBox_8")

100 self.load_btn_TemperatureMinDataFile = QtWidgets.QPushButton(self.groupBox_8)

101 self.load_btn_TemperatureMinDataFile.setGeometry(QtCore.QRect(390, 50, 51, 23))

102 self.load_btn_TemperatureMinDataFile.setObjectName("load_btn_TemperatureMinDataFile")

103 self.path_TemperatureMinDataFile = QtWidgets.QLineEdit(self.groupBox_8)

104 self.path_TemperatureMinDataFile.setGeometry(QtCore.QRect(10, 50, 371, 20))

105 self.path_TemperatureMinDataFile.setReadOnly(True)

106 self.path_TemperatureMinDataFile.setClearButtonEnabled(False)

107 self.path_TemperatureMinDataFile.setObjectName("path_TemperatureMinDataFile")

108 self.label_9 = QtWidgets.QLabel(self.groupBox_8)

109 self.label_9.setGeometry(QtCore.QRect(10, 20, 111, 21))

110 self.label_9.setObjectName("label_9")

111 self.spb_TemperatureMinInterval_min = QtWidgets.QSpinBox(self.groupBox_8)

112 self.spb_TemperatureMinInterval_min.setGeometry(QtCore.QRect(160, 80, 91, 21))

113 self.spb_TemperatureMinInterval_min.setMaximum(1440)

114 self.spb_TemperatureMinInterval_min.setObjectName("spb_TemperatureMinInterval_min")

115 self.label_3 = QtWidgets.QLabel(self.groupBox_8)

116 self.label_3.setGeometry(QtCore.QRect(10, 80, 141, 21))

117 self.label_3.setObjectName("label_3")

118 self.gridLayout_5.addWidget(self.groupBox_4, 1, 0, 1, 1)

119 self.gridLayout_5.setRowStretch(0, 1)

120 self.gridLayout_5.setRowStretch(1, 2)

121 self.gridLayout_5.setRowStretch(2, 1)

122 self.gridLayout.addLayout(self.gridLayout_5, 0, 0, 3, 1)

123 self.gridLayout_6 = QtWidgets.QGridLayout()

124 self.gridLayout_6.setObjectName("gridLayout_6")

125 self.btnOK = QtWidgets.QPushButton(Dialog)

126 self.btnOK.setText("OK")

127 self.btnOK.setAutoDefault(True)

128 self.btnOK.setObjectName("btnOK")

129 self.gridLayout_6.addWidget(self.btnOK, 2, 0, 1, 1)

130 self.groupBox_5 = QtWidgets.QGroupBox(Dialog)

131 self.groupBox_5.setObjectName("groupBox_5")

132 self.groupBox_12 = QtWidgets.QGroupBox(self.groupBox_5)

133 self.groupBox_12.setGeometry(QtCore.QRect(10, 20, 451, 111))

134 self.groupBox_12.setTitle("")

135 self.groupBox_12.setObjectName("groupBox_12")

136 self.label_13 = QtWidgets.QLabel(self.groupBox_12)

137 self.label_13.setGeometry(QtCore.QRect(10, 20, 91, 21))

138 self.label_13.setObjectName("label_13")

139 self.path_SnowPackTemperatureDataFile = QtWidgets.QLineEdit(self.groupBox_12)

140 self.path_SnowPackTemperatureDataFile.setGeometry(QtCore.QRect(10, 50, 371, 20))

141 self.path_SnowPackTemperatureDataFile.setReadOnly(True)

142 self.path_SnowPackTemperatureDataFile.setClearButtonEnabled(False)

143 self.path_SnowPackTemperatureDataFile.setObjectName("path_SnowPackTemperatureDataFile")

144 self.load_btn_SnowPackTemperatureDataFile = QtWidgets.QPushButton(self.groupBox_12)

145 self.load_btn_SnowPackTemperatureDataFile.setGeometry(QtCore.QRect(390, 50, 51, 23))

146 self.load_btn_SnowPackTemperatureDataFile.setObjectName("load_btn_SnowPackTemperatureDataFile")

147 self.spb_SnowPackTemperatureInterval_min = QtWidgets.QSpinBox(self.groupBox_12)

148 self.spb_SnowPackTemperatureInterval_min.setGeometry(QtCore.QRect(100, 80, 91, 21))

149 self.spb_SnowPackTemperatureInterval_min.setMaximum(1440)

150 self.spb_SnowPackTemperatureInterval_min.setObjectName("spb_SnowPackTemperatureInterval_min")

151 self.label_6 = QtWidgets.QLabel(self.groupBox_12)

152 self.label_6.setGeometry(QtCore.QRect(10, 80, 91, 21))

153 self.label_6.setObjectName("label_6")

154 self.gridLayout_6.addWidget(self.groupBox_5, 1, 0, 1, 2)

155 self.groupBox = QtWidgets.QGroupBox(Dialog)

156 self.groupBox.setObjectName("groupBox")

157 self.groupBox_10 = QtWidgets.QGroupBox(self.groupBox)

158 self.groupBox_10.setGeometry(QtCore.QRect(10, 10, 451, 121))

159 self.groupBox_10.setTitle("")

160 self.groupBox_10.setObjectName("groupBox_10")

161 self.label_12 = QtWidgets.QLabel(self.groupBox_10)

162 self.label_12.setGeometry(QtCore.QRect(10, 20, 91, 21))

163 self.label_12.setObjectName("label_12")

164 self.path_DaytimeLengthDataFile = QtWidgets.QLineEdit(self.groupBox_10)

165 self.path_DaytimeLengthDataFile.setGeometry(QtCore.QRect(10, 50, 371, 20))

166 self.path_DaytimeLengthDataFile.setReadOnly(True)

167 self.path_DaytimeLengthDataFile.setClearButtonEnabled(False)

168 self.path_DaytimeLengthDataFile.setObjectName("path_DaytimeLengthDataFile")

169 self.load_btn_DaytimeLengthDataFile = QtWidgets.QPushButton(self.groupBox_10)

170 self.load_btn_DaytimeLengthDataFile.setGeometry(QtCore.QRect(390, 50, 51, 23))

171 self.load_btn_DaytimeLengthDataFile.setObjectName("load_btn_DaytimeLengthDataFile")

172 self.label_5 = QtWidgets.QLabel(self.groupBox_10)

173 self.label_5.setGeometry(QtCore.QRect(10, 80, 141, 21))

174 self.label_5.setObjectName("label_5")

175 self.spb_DaytimeLengthInterval_min = QtWidgets.QSpinBox(self.groupBox_10)

176 self.spb_DaytimeLengthInterval_min.setGeometry(QtCore.QRect(140, 80, 91, 21))

177 self.spb_DaytimeLengthInterval_min.setMaximum(1440)

178 self.spb_DaytimeLengthInterval_min.setObjectName("spb_DaytimeLengthInterval_min")

179 self.groupBox_11 = QtWidgets.QGroupBox(self.groupBox)

180 self.groupBox_11.setGeometry(QtCore.QRect(10, 140, 451, 91))

181 self.groupBox_11.setTitle("")

182 self.groupBox_11.setObjectName("groupBox_11")

183 self.label_11 = QtWidgets.QLabel(self.groupBox_11)

184 self.label_11.setGeometry(QtCore.QRect(10, 20, 91, 21))

185 self.label_11.setObjectName("label_11")

186 self.path_DaytimeHoursRatioDataFile = QtWidgets.QLineEdit(self.groupBox_11)

187 self.path_DaytimeHoursRatioDataFile.setGeometry(QtCore.QRect(10, 50, 371, 20))

188 self.path_DaytimeHoursRatioDataFile.setReadOnly(True)

189 self.path_DaytimeHoursRatioDataFile.setClearButtonEnabled(False)

190 self.path_DaytimeHoursRatioDataFile.setObjectName("path_DaytimeHoursRatioDataFile")

191 self.load_btn_DaytimeHoursRatioDataFile = QtWidgets.QPushButton(self.groupBox_11)

192 self.load_btn_DaytimeHoursRatioDataFile.setGeometry(QtCore.QRect(390, 50, 51, 23))

193 self.load_btn_DaytimeHoursRatioDataFile.setObjectName("load_btn_DaytimeHoursRatioDataFile")

194 self.gridLayout_6.addWidget(self.groupBox, 0, 0, 1, 2)

195 self.btnCancel = QtWidgets.QPushButton(Dialog)

196 self.btnCancel.setText("Cancel")

197 self.btnCancel.setAutoDefault(True)

198 self.btnCancel.setObjectName("btnCancel")

199 self.gridLayout_6.addWidget(self.btnCancel, 2, 1, 1, 1)

200 self.gridLayout.addLayout(self.gridLayout_6, 0, 1, 3, 1)

201 self.gridLayout_7.addLayout(self.gridLayout, 0, 0, 1, 1)

202

203 self.retranslateUi(Dialog)

204 QtCore.QMetaObject.connectSlotsByName(Dialog)

205

206 def retranslateUi(self, Dialog):

207 _translate = QtCore.QCoreApplication.translate

208 Dialog.setWindowTitle(_translate("Dialog", "Setup Climate Data"))

209 self.groupBox_2.setTitle(_translate("Dialog", "Precipitation"))

210 self.label_7.setText(_translate("Dialog", "Data file"))

211 self.label.setText(_translate("Dialog", "Interval (min) :"))

212 self.load_btn_PrecipitationDataFile.setText(_translate("Dialog", "Load"))

213 self.groupBox_3.setTitle(_translate("Dialog", "Solar radiation"))

214 self.label_10.setText(_translate("Dialog", "Data file"))

215 self.load_btn_SolarRadiationDataFile.setText(_translate("Dialog", "Load"))

216 self.label_4.setText(_translate("Dialog", "Interval (min) :"))

217 self.groupBox_4.setTitle(_translate("Dialog", "Temperature"))

218 self.label_2.setText(_translate("Dialog", "Maximum interval (min) :"))

219 self.load_btn_TemperatureMaxDataFile.setText(_translate("Dialog", "Load"))

220 self.label_8.setText(_translate("Dialog", "Maximum data file"))

221 self.load_btn_TemperatureMinDataFile.setText(_translate("Dialog", "Load"))

222 self.label_9.setText(_translate("Dialog", "Minimum data file"))

223 self.label_3.setText(_translate("Dialog", "Minimum interval (min) :"))

224 self.groupBox_5.setTitle(_translate("Dialog", "Snow pack temperature"))

225 self.label_13.setText(_translate("Dialog", "Data file"))

226 self.load_btn_SnowPackTemperatureDataFile.setText(_translate("Dialog", "Load"))

227 self.label_6.setText(_translate("Dialog", "Interval (min) :"))

228 self.groupBox.setTitle(_translate("Dialog", "Daytime"))

229 self.label_12.setText(_translate("Dialog", "Length data file"))

230 self.load_btn_DaytimeLengthDataFile.setText(_translate("Dialog", "Load"))

231 self.label_5.setText(_translate("Dialog", "Length interval (min) :"))

232 self.label_11.setText(_translate("Dialog", "Hours data file"))

233 self.load_btn_DaytimeHoursRatioDataFile.setText(_translate("Dialog", "Load"))

234