- 270
- 136
+ 84
+ 162
342
@@ -5475,8 +5458,8 @@ p, li { white-space: pre-wrap; }
setProjectModified()
- 280
- 171
+ 91
+ 222
494
@@ -5491,8 +5474,8 @@ p, li { white-space: pre-wrap; }
setProjectModified()
- 62
- 281
+ 370
+ 188
23
@@ -5507,8 +5490,8 @@ p, li { white-space: pre-wrap; }
setProjectModified()
- 77
- 305
+ 374
+ 239
502
@@ -5523,8 +5506,8 @@ p, li { white-space: pre-wrap; }
setProjectModified()
- 82
- 344
+ 374
+ 290
637
@@ -5539,8 +5522,8 @@ p, li { white-space: pre-wrap; }
setProjectModified()
- 47
- 137
+ 59
+ 158
716
@@ -5555,8 +5538,8 @@ p, li { white-space: pre-wrap; }
setProjectModified()
- 152
- 161
+ 131
+ 184
881
@@ -5571,8 +5554,8 @@ p, li { white-space: pre-wrap; }
setProjectModified()
- 124
- 188
+ 131
+ 210
908
@@ -5587,8 +5570,8 @@ p, li { white-space: pre-wrap; }
setProjectModified()
- 143
- 214
+ 131
+ 236
955
@@ -5603,8 +5586,8 @@ p, li { white-space: pre-wrap; }
setProjectModified()
- 357
- 136
+ 396
+ 158
741
@@ -5619,8 +5602,8 @@ p, li { white-space: pre-wrap; }
setProjectModified()
- 430
- 160
+ 396
+ 184
773
@@ -5635,8 +5618,8 @@ p, li { white-space: pre-wrap; }
setProjectModified()
- 398
- 190
+ 396
+ 210
575
@@ -5651,8 +5634,8 @@ p, li { white-space: pre-wrap; }
setProjectModified()
- 306
- 216
+ 396
+ 236
650
@@ -5660,6 +5643,38 @@ p, li { white-space: pre-wrap; }
+
+ treeView_TimeSeriesData
+ doubleClicked(QModelIndex)
+ RUBEMHydrological
+ plotWrapper()
+
+
+ 448
+ 422
+
+
+ 584
+ 447
+
+
+
+
+ treeView_MapSeriesData
+ doubleClicked(QModelIndex)
+ RUBEMHydrological
+ canvasHandler()
+
+
+ 334
+ 222
+
+
+ 582
+ 294
+
+
+
setInputDirectoryPath()
@@ -5729,5 +5744,7 @@ p, li { white-space: pre-wrap; }
newProject()
saveAsProject()
setProjectModified()
+ plotWrapper()
+ canvasHandler()
diff --git a/rubem_hydrological_dialog_base_ui.py b/rubem_hydrological_dialog_base_ui.py
index 6d047f8..c3d4cf6 100644
--- a/rubem_hydrological_dialog_base_ui.py
+++ b/rubem_hydrological_dialog_base_ui.py
@@ -2,7 +2,7 @@
# Form implementation generated from reading ui file '..\rubem_hydrological_dialog_base.ui'
#
-# Created by: PyQt5 UI code generator 5.11.3
+# Created by: PyQt5 UI code generator 5.11.2
#
# WARNING! All changes made in this file will be lost!
@@ -11,14 +11,14 @@
class Ui_RUBEMHydrological(object):
def setupUi(self, RUBEMHydrological):
RUBEMHydrological.setObjectName("RUBEMHydrological")
- RUBEMHydrological.resize(490, 580)
+ RUBEMHydrological.resize(590, 580)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(RUBEMHydrological.sizePolicy().hasHeightForWidth())
RUBEMHydrological.setSizePolicy(sizePolicy)
- RUBEMHydrological.setMinimumSize(QtCore.QSize(480, 580))
- RUBEMHydrological.setMaximumSize(QtCore.QSize(490, 580))
+ RUBEMHydrological.setMinimumSize(QtCore.QSize(500, 580))
+ RUBEMHydrological.setMaximumSize(QtCore.QSize(1000, 580))
RUBEMHydrological.setBaseSize(QtCore.QSize(500, 580))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
@@ -54,23 +54,9 @@ def setupUi(self, RUBEMHydrological):
RUBEMHydrological.setAutoFillBackground(True)
RUBEMHydrological.setStyleSheet("")
RUBEMHydrological.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates))
- self.line = QtWidgets.QFrame(RUBEMHydrological)
- self.line.setGeometry(QtCore.QRect(0, 550, 491, 16))
- self.line.setFrameShape(QtWidgets.QFrame.HLine)
- self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
- self.line.setObjectName("line")
- self.label_27 = QtWidgets.QLabel(RUBEMHydrological)
- self.label_27.setGeometry(QtCore.QRect(0, 560, 479, 16))
- self.label_27.setAlignment(QtCore.Qt.AlignCenter)
- self.label_27.setOpenExternalLinks(True)
- self.label_27.setObjectName("label_27")
- self.layoutWidget = QtWidgets.QWidget(RUBEMHydrological)
- self.layoutWidget.setGeometry(QtCore.QRect(10, 0, 471, 551))
- self.layoutWidget.setObjectName("layoutWidget")
- self.verticalLayout_25 = QtWidgets.QVBoxLayout(self.layoutWidget)
- self.verticalLayout_25.setContentsMargins(0, 0, 0, 0)
- self.verticalLayout_25.setObjectName("verticalLayout_25")
- self.groupBox_8 = QtWidgets.QGroupBox(self.layoutWidget)
+ self.verticalLayout_31 = QtWidgets.QVBoxLayout(RUBEMHydrological)
+ self.verticalLayout_31.setObjectName("verticalLayout_31")
+ self.groupBox_8 = QtWidgets.QGroupBox(RUBEMHydrological)
self.groupBox_8.setObjectName("groupBox_8")
self.verticalLayout_24 = QtWidgets.QVBoxLayout(self.groupBox_8)
self.verticalLayout_24.setObjectName("verticalLayout_24")
@@ -106,8 +92,8 @@ def setupUi(self, RUBEMHydrological):
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_38.addItem(spacerItem)
self.verticalLayout_24.addLayout(self.horizontalLayout_38)
- self.verticalLayout_25.addWidget(self.groupBox_8)
- self.tabWidget = QtWidgets.QTabWidget(self.layoutWidget)
+ self.verticalLayout_31.addWidget(self.groupBox_8)
+ self.tabWidget = QtWidgets.QTabWidget(RUBEMHydrological)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
@@ -119,7 +105,7 @@ def setupUi(self, RUBEMHydrological):
self.tab_Settings = QtWidgets.QWidget()
self.tab_Settings.setObjectName("tab_Settings")
self.scrollArea_3 = QtWidgets.QScrollArea(self.tab_Settings)
- self.scrollArea_3.setGeometry(QtCore.QRect(0, 0, 466, 458))
+ self.scrollArea_3.setGeometry(QtCore.QRect(0, 0, 561, 421))
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
@@ -129,10 +115,10 @@ def setupUi(self, RUBEMHydrological):
self.scrollArea_3.setWidgetResizable(True)
self.scrollArea_3.setObjectName("scrollArea_3")
self.scrollAreaWidgetContents_3 = QtWidgets.QWidget()
- self.scrollAreaWidgetContents_3.setGeometry(QtCore.QRect(0, 0, 450, 504))
+ self.scrollAreaWidgetContents_3.setGeometry(QtCore.QRect(0, 0, 436, 490))
self.scrollAreaWidgetContents_3.setObjectName("scrollAreaWidgetContents_3")
- self.verticalLayout_23 = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents_3)
- self.verticalLayout_23.setObjectName("verticalLayout_23")
+ self.verticalLayout_25 = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents_3)
+ self.verticalLayout_25.setObjectName("verticalLayout_25")
self.groupBox_9 = QtWidgets.QGroupBox(self.scrollAreaWidgetContents_3)
self.groupBox_9.setObjectName("groupBox_9")
self.verticalLayout_21 = QtWidgets.QVBoxLayout(self.groupBox_9)
@@ -169,7 +155,7 @@ def setupUi(self, RUBEMHydrological):
self.horizontalLayout_39.addWidget(self.toolButton_OutputFolder)
self.gridLayout_15.addLayout(self.horizontalLayout_39, 1, 0, 1, 1)
self.verticalLayout_21.addLayout(self.gridLayout_15)
- self.verticalLayout_23.addWidget(self.groupBox_9)
+ self.verticalLayout_25.addWidget(self.groupBox_9)
self.groupBox_ModelGeneralConf = QtWidgets.QGroupBox(self.scrollAreaWidgetContents_3)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
@@ -272,7 +258,7 @@ def setupUi(self, RUBEMHydrological):
self.horizontalLayout_34.addWidget(self.btn_Sample)
self.gridLayout_9.addLayout(self.horizontalLayout_34, 1, 0, 1, 1)
self.verticalLayout_22.addLayout(self.gridLayout_9)
- self.verticalLayout_23.addWidget(self.groupBox_ModelGeneralConf)
+ self.verticalLayout_25.addWidget(self.groupBox_ModelGeneralConf)
self.horizontalLayout_41 = QtWidgets.QHBoxLayout()
self.horizontalLayout_41.setObjectName("horizontalLayout_41")
self.groupBox_SimulationPeriod = QtWidgets.QGroupBox(self.scrollAreaWidgetContents_3)
@@ -399,13 +385,13 @@ def setupUi(self, RUBEMHydrological):
self.horizontalLayout_35.addWidget(self.doubleSpinBox_GridSize)
self.horizontalLayout_36.addLayout(self.horizontalLayout_35)
self.horizontalLayout_41.addWidget(self.groupBox_10)
- self.verticalLayout_23.addLayout(self.horizontalLayout_41)
+ self.verticalLayout_25.addLayout(self.horizontalLayout_41)
self.scrollArea_3.setWidget(self.scrollAreaWidgetContents_3)
self.tabWidget.addTab(self.tab_Settings, "")
self.tab_Soil = QtWidgets.QWidget()
self.tab_Soil.setObjectName("tab_Soil")
self.scrollArea_2 = QtWidgets.QScrollArea(self.tab_Soil)
- self.scrollArea_2.setGeometry(QtCore.QRect(0, 0, 466, 458))
+ self.scrollArea_2.setGeometry(QtCore.QRect(0, 0, 561, 421))
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
@@ -419,7 +405,7 @@ def setupUi(self, RUBEMHydrological):
self.scrollArea_2.setWidgetResizable(True)
self.scrollArea_2.setObjectName("scrollArea_2")
self.scrollAreaWidgetContents_2 = QtWidgets.QWidget()
- self.scrollAreaWidgetContents_2.setGeometry(QtCore.QRect(0, 0, 450, 574))
+ self.scrollAreaWidgetContents_2.setGeometry(QtCore.QRect(0, 0, 435, 562))
self.scrollAreaWidgetContents_2.setObjectName("scrollAreaWidgetContents_2")
self.verticalLayout_20 = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents_2)
self.verticalLayout_20.setObjectName("verticalLayout_20")
@@ -720,8 +706,8 @@ def setupUi(self, RUBEMHydrological):
self.tab_LandUse = QtWidgets.QWidget()
self.tab_LandUse.setObjectName("tab_LandUse")
self.scrollArea = QtWidgets.QScrollArea(self.tab_LandUse)
- self.scrollArea.setGeometry(QtCore.QRect(0, 0, 466, 458))
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
+ self.scrollArea.setGeometry(QtCore.QRect(0, 0, 561, 421))
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.scrollArea.sizePolicy().hasHeightForWidth())
@@ -731,7 +717,7 @@ def setupUi(self, RUBEMHydrological):
self.scrollArea.setWidgetResizable(True)
self.scrollArea.setObjectName("scrollArea")
self.scrollAreaWidgetContents = QtWidgets.QWidget()
- self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 450, 814))
+ self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 285, 793))
self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
self.verticalLayout_15 = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents)
self.verticalLayout_15.setObjectName("verticalLayout_15")
@@ -1119,23 +1105,22 @@ def setupUi(self, RUBEMHydrological):
self.tabWidget.addTab(self.tab_LandUse, "")
self.tab_Climate = QtWidgets.QWidget()
self.tab_Climate.setObjectName("tab_Climate")
+ self.verticalLayout_33 = QtWidgets.QVBoxLayout(self.tab_Climate)
+ self.verticalLayout_33.setObjectName("verticalLayout_33")
self.groupBox_Climate = QtWidgets.QGroupBox(self.tab_Climate)
- self.groupBox_Climate.setGeometry(QtCore.QRect(10, 10, 451, 261))
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.groupBox_Climate.sizePolicy().hasHeightForWidth())
self.groupBox_Climate.setSizePolicy(sizePolicy)
self.groupBox_Climate.setObjectName("groupBox_Climate")
- self.layoutWidget1 = QtWidgets.QWidget(self.groupBox_Climate)
- self.layoutWidget1.setGeometry(QtCore.QRect(10, 25, 431, 211))
- self.layoutWidget1.setObjectName("layoutWidget1")
- self.verticalLayout_11 = QtWidgets.QVBoxLayout(self.layoutWidget1)
- self.verticalLayout_11.setContentsMargins(0, 0, 0, 0)
+ self.verticalLayout_32 = QtWidgets.QVBoxLayout(self.groupBox_Climate)
+ self.verticalLayout_32.setObjectName("verticalLayout_32")
+ self.verticalLayout_11 = QtWidgets.QVBoxLayout()
self.verticalLayout_11.setObjectName("verticalLayout_11")
self.gridLayout_29 = QtWidgets.QGridLayout()
self.gridLayout_29.setObjectName("gridLayout_29")
- self.label_Precipitation = QtWidgets.QLabel(self.layoutWidget1)
+ self.label_Precipitation = QtWidgets.QLabel(self.groupBox_Climate)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
@@ -1145,19 +1130,19 @@ def setupUi(self, RUBEMHydrological):
self.gridLayout_29.addWidget(self.label_Precipitation, 0, 0, 1, 1)
self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
self.horizontalLayout_4.setObjectName("horizontalLayout_4")
- self.lineEdt_Precipitation = QtWidgets.QLineEdit(self.layoutWidget1)
+ self.lineEdt_Precipitation = QtWidgets.QLineEdit(self.groupBox_Climate)
self.lineEdt_Precipitation.setText("")
self.lineEdt_Precipitation.setClearButtonEnabled(True)
self.lineEdt_Precipitation.setObjectName("lineEdt_Precipitation")
self.horizontalLayout_4.addWidget(self.lineEdt_Precipitation)
- self.btn_Precipitation = QtWidgets.QToolButton(self.layoutWidget1)
+ self.btn_Precipitation = QtWidgets.QToolButton(self.groupBox_Climate)
self.btn_Precipitation.setObjectName("btn_Precipitation")
self.horizontalLayout_4.addWidget(self.btn_Precipitation)
self.gridLayout_29.addLayout(self.horizontalLayout_4, 1, 0, 1, 1)
self.verticalLayout_11.addLayout(self.gridLayout_29)
self.gridLayout_28 = QtWidgets.QGridLayout()
self.gridLayout_28.setObjectName("gridLayout_28")
- self.label_Evapotranspiration = QtWidgets.QLabel(self.layoutWidget1)
+ self.label_Evapotranspiration = QtWidgets.QLabel(self.groupBox_Climate)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
@@ -1167,19 +1152,19 @@ def setupUi(self, RUBEMHydrological):
self.gridLayout_28.addWidget(self.label_Evapotranspiration, 0, 0, 1, 1)
self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
- self.lineEdt_EvapoTranspiration = QtWidgets.QLineEdit(self.layoutWidget1)
+ self.lineEdt_EvapoTranspiration = QtWidgets.QLineEdit(self.groupBox_Climate)
self.lineEdt_EvapoTranspiration.setText("")
self.lineEdt_EvapoTranspiration.setClearButtonEnabled(True)
self.lineEdt_EvapoTranspiration.setObjectName("lineEdt_EvapoTranspiration")
self.horizontalLayout_3.addWidget(self.lineEdt_EvapoTranspiration)
- self.btn_Evapotranspiration = QtWidgets.QToolButton(self.layoutWidget1)
+ self.btn_Evapotranspiration = QtWidgets.QToolButton(self.groupBox_Climate)
self.btn_Evapotranspiration.setObjectName("btn_Evapotranspiration")
self.horizontalLayout_3.addWidget(self.btn_Evapotranspiration)
self.gridLayout_28.addLayout(self.horizontalLayout_3, 1, 0, 1, 1)
self.verticalLayout_11.addLayout(self.gridLayout_28)
self.gridLayout_27 = QtWidgets.QGridLayout()
self.gridLayout_27.setObjectName("gridLayout_27")
- self.label_PanCoefficientKp = QtWidgets.QLabel(self.layoutWidget1)
+ self.label_PanCoefficientKp = QtWidgets.QLabel(self.groupBox_Climate)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
@@ -1189,19 +1174,19 @@ def setupUi(self, RUBEMHydrological):
self.gridLayout_27.addWidget(self.label_PanCoefficientKp, 0, 0, 1, 1)
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
- self.lineEdt_PanCoefficientKp = QtWidgets.QLineEdit(self.layoutWidget1)
+ self.lineEdt_PanCoefficientKp = QtWidgets.QLineEdit(self.groupBox_Climate)
self.lineEdt_PanCoefficientKp.setText("")
self.lineEdt_PanCoefficientKp.setClearButtonEnabled(True)
self.lineEdt_PanCoefficientKp.setObjectName("lineEdt_PanCoefficientKp")
self.horizontalLayout_2.addWidget(self.lineEdt_PanCoefficientKp)
- self.btn_PanCoefficientKp = QtWidgets.QToolButton(self.layoutWidget1)
+ self.btn_PanCoefficientKp = QtWidgets.QToolButton(self.groupBox_Climate)
self.btn_PanCoefficientKp.setObjectName("btn_PanCoefficientKp")
self.horizontalLayout_2.addWidget(self.btn_PanCoefficientKp)
self.gridLayout_27.addLayout(self.horizontalLayout_2, 1, 0, 1, 1)
self.verticalLayout_11.addLayout(self.gridLayout_27)
self.gridLayout_26 = QtWidgets.QGridLayout()
self.gridLayout_26.setObjectName("gridLayout_26")
- self.label_RainyDays = QtWidgets.QLabel(self.layoutWidget1)
+ self.label_RainyDays = QtWidgets.QLabel(self.groupBox_Climate)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
@@ -1211,35 +1196,58 @@ def setupUi(self, RUBEMHydrological):
self.gridLayout_26.addWidget(self.label_RainyDays, 0, 0, 1, 1)
self.horizontalLayout = QtWidgets.QHBoxLayout()
self.horizontalLayout.setObjectName("horizontalLayout")
- self.lineEdt_RainyDays = QtWidgets.QLineEdit(self.layoutWidget1)
+ self.lineEdt_RainyDays = QtWidgets.QLineEdit(self.groupBox_Climate)
self.lineEdt_RainyDays.setText("")
self.lineEdt_RainyDays.setClearButtonEnabled(True)
self.lineEdt_RainyDays.setObjectName("lineEdt_RainyDays")
self.horizontalLayout.addWidget(self.lineEdt_RainyDays)
- self.btn_RainyDays = QtWidgets.QToolButton(self.layoutWidget1)
+ self.btn_RainyDays = QtWidgets.QToolButton(self.groupBox_Climate)
self.btn_RainyDays.setObjectName("btn_RainyDays")
self.horizontalLayout.addWidget(self.btn_RainyDays)
self.gridLayout_26.addLayout(self.horizontalLayout, 1, 0, 1, 1)
self.verticalLayout_11.addLayout(self.gridLayout_26)
+ self.verticalLayout_32.addLayout(self.verticalLayout_11)
+ self.verticalLayout_33.addWidget(self.groupBox_Climate)
+ spacerItem2 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
+ self.verticalLayout_33.addItem(spacerItem2)
self.tabWidget.addTab(self.tab_Climate, "")
self.tab_ModelParam = QtWidgets.QWidget()
self.tab_ModelParam.setObjectName("tab_ModelParam")
+ self.verticalLayout_35 = QtWidgets.QVBoxLayout(self.tab_ModelParam)
+ self.verticalLayout_35.setObjectName("verticalLayout_35")
self.groupBox_InitialConditions = QtWidgets.QGroupBox(self.tab_ModelParam)
- self.groupBox_InitialConditions.setGeometry(QtCore.QRect(10, 10, 447, 270))
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.groupBox_InitialConditions.sizePolicy().hasHeightForWidth())
self.groupBox_InitialConditions.setSizePolicy(sizePolicy)
self.groupBox_InitialConditions.setObjectName("groupBox_InitialConditions")
- self.verticalLayout_9 = QtWidgets.QVBoxLayout(self.groupBox_InitialConditions)
+ self.verticalLayout_34 = QtWidgets.QVBoxLayout(self.groupBox_InitialConditions)
+ self.verticalLayout_34.setObjectName("verticalLayout_34")
+ self.horizontalLayout_26 = QtWidgets.QHBoxLayout()
+ self.horizontalLayout_26.setObjectName("horizontalLayout_26")
+ self.verticalLayout_9 = QtWidgets.QVBoxLayout()
self.verticalLayout_9.setObjectName("verticalLayout_9")
- self.verticalLayout_8 = QtWidgets.QVBoxLayout()
- self.verticalLayout_8.setObjectName("verticalLayout_8")
self.verticalLayout_7 = QtWidgets.QVBoxLayout()
self.verticalLayout_7.setObjectName("verticalLayout_7")
- self.horizontalLayout_26 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_26.setObjectName("horizontalLayout_26")
+ self.formLayout_6 = QtWidgets.QFormLayout()
+ self.formLayout_6.setObjectName("formLayout_6")
+ self.doubleSpinBox_PartitioningCoefficientRelatedSoil = QtWidgets.QDoubleSpinBox(self.groupBox_InitialConditions)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.doubleSpinBox_PartitioningCoefficientRelatedSoil.sizePolicy().hasHeightForWidth())
+ self.doubleSpinBox_PartitioningCoefficientRelatedSoil.setSizePolicy(sizePolicy)
+ self.doubleSpinBox_PartitioningCoefficientRelatedSoil.setDecimals(2)
+ self.doubleSpinBox_PartitioningCoefficientRelatedSoil.setMinimum(0.01)
+ self.doubleSpinBox_PartitioningCoefficientRelatedSoil.setMaximum(1.0)
+ self.doubleSpinBox_PartitioningCoefficientRelatedSoil.setSingleStep(0.01)
+ self.doubleSpinBox_PartitioningCoefficientRelatedSoil.setObjectName("doubleSpinBox_PartitioningCoefficientRelatedSoil")
+ self.formLayout_6.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.doubleSpinBox_PartitioningCoefficientRelatedSoil)
+ self.label_PartitioningCoefficientRelatedSoil = QtWidgets.QLabel(self.groupBox_InitialConditions)
+ self.label_PartitioningCoefficientRelatedSoil.setObjectName("label_PartitioningCoefficientRelatedSoil")
+ self.formLayout_6.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.label_PartitioningCoefficientRelatedSoil)
+ self.verticalLayout_7.addLayout(self.formLayout_6)
self.formLayout_4 = QtWidgets.QFormLayout()
self.formLayout_4.setObjectName("formLayout_4")
self.doubleSpinBox_InterceptionCalibrationAlpha = QtWidgets.QDoubleSpinBox(self.groupBox_InitialConditions)
@@ -1255,28 +1263,24 @@ def setupUi(self, RUBEMHydrological):
self.label_InterceptionCalibrationAlpha = QtWidgets.QLabel(self.groupBox_InitialConditions)
self.label_InterceptionCalibrationAlpha.setObjectName("label_InterceptionCalibrationAlpha")
self.formLayout_4.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.label_InterceptionCalibrationAlpha)
- self.horizontalLayout_26.addLayout(self.formLayout_4)
- self.formLayout_6 = QtWidgets.QFormLayout()
- self.formLayout_6.setObjectName("formLayout_6")
- self.doubleSpinBox_PartitioningCoefficientRelatedSoil = QtWidgets.QDoubleSpinBox(self.groupBox_InitialConditions)
+ self.verticalLayout_7.addLayout(self.formLayout_4)
+ self.formLayout_2 = QtWidgets.QFormLayout()
+ self.formLayout_2.setObjectName("formLayout_2")
+ self.doubleSpinBox_DelayFactor = QtWidgets.QDoubleSpinBox(self.groupBox_InitialConditions)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.doubleSpinBox_PartitioningCoefficientRelatedSoil.sizePolicy().hasHeightForWidth())
- self.doubleSpinBox_PartitioningCoefficientRelatedSoil.setSizePolicy(sizePolicy)
- self.doubleSpinBox_PartitioningCoefficientRelatedSoil.setDecimals(2)
- self.doubleSpinBox_PartitioningCoefficientRelatedSoil.setMinimum(0.01)
- self.doubleSpinBox_PartitioningCoefficientRelatedSoil.setMaximum(1.0)
- self.doubleSpinBox_PartitioningCoefficientRelatedSoil.setSingleStep(0.01)
- self.doubleSpinBox_PartitioningCoefficientRelatedSoil.setObjectName("doubleSpinBox_PartitioningCoefficientRelatedSoil")
- self.formLayout_6.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.doubleSpinBox_PartitioningCoefficientRelatedSoil)
- self.label_PartitioningCoefficientRelatedSoil = QtWidgets.QLabel(self.groupBox_InitialConditions)
- self.label_PartitioningCoefficientRelatedSoil.setObjectName("label_PartitioningCoefficientRelatedSoil")
- self.formLayout_6.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.label_PartitioningCoefficientRelatedSoil)
- self.horizontalLayout_26.addLayout(self.formLayout_6)
- self.verticalLayout_7.addLayout(self.horizontalLayout_26)
- self.horizontalLayout_27 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_27.setObjectName("horizontalLayout_27")
+ sizePolicy.setHeightForWidth(self.doubleSpinBox_DelayFactor.sizePolicy().hasHeightForWidth())
+ self.doubleSpinBox_DelayFactor.setSizePolicy(sizePolicy)
+ self.doubleSpinBox_DelayFactor.setDecimals(3)
+ self.doubleSpinBox_DelayFactor.setMaximum(1.0)
+ self.doubleSpinBox_DelayFactor.setSingleStep(0.001)
+ self.doubleSpinBox_DelayFactor.setObjectName("doubleSpinBox_DelayFactor")
+ self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.doubleSpinBox_DelayFactor)
+ self.label_DelayFactor = QtWidgets.QLabel(self.groupBox_InitialConditions)
+ self.label_DelayFactor.setObjectName("label_DelayFactor")
+ self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.label_DelayFactor)
+ self.verticalLayout_7.addLayout(self.formLayout_2)
self.formLayout = QtWidgets.QFormLayout()
self.formLayout.setObjectName("formLayout")
self.doubleSpinBox_ExponentCh = QtWidgets.QDoubleSpinBox(self.groupBox_InitialConditions)
@@ -1294,25 +1298,7 @@ def setupUi(self, RUBEMHydrological):
self.label_ExponentCh = QtWidgets.QLabel(self.groupBox_InitialConditions)
self.label_ExponentCh.setObjectName("label_ExponentCh")
self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.label_ExponentCh)
- self.horizontalLayout_27.addLayout(self.formLayout)
- self.formLayout_2 = QtWidgets.QFormLayout()
- self.formLayout_2.setObjectName("formLayout_2")
- self.doubleSpinBox_DelayFactor = QtWidgets.QDoubleSpinBox(self.groupBox_InitialConditions)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.doubleSpinBox_DelayFactor.sizePolicy().hasHeightForWidth())
- self.doubleSpinBox_DelayFactor.setSizePolicy(sizePolicy)
- self.doubleSpinBox_DelayFactor.setDecimals(3)
- self.doubleSpinBox_DelayFactor.setMaximum(1.0)
- self.doubleSpinBox_DelayFactor.setSingleStep(0.001)
- self.doubleSpinBox_DelayFactor.setObjectName("doubleSpinBox_DelayFactor")
- self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.doubleSpinBox_DelayFactor)
- self.label_DelayFactor = QtWidgets.QLabel(self.groupBox_InitialConditions)
- self.label_DelayFactor.setObjectName("label_DelayFactor")
- self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.label_DelayFactor)
- self.horizontalLayout_27.addLayout(self.formLayout_2)
- self.verticalLayout_7.addLayout(self.horizontalLayout_27)
+ self.verticalLayout_7.addLayout(self.formLayout)
self.formLayout_5 = QtWidgets.QFormLayout()
self.formLayout_5.setObjectName("formLayout_5")
self.doubleSpinBox_DelayCoefficientBaseFlow = QtWidgets.QDoubleSpinBox(self.groupBox_InitialConditions)
@@ -1350,9 +1336,14 @@ def setupUi(self, RUBEMHydrological):
self.label_RegionalConsecutiveDrynessLevel.setObjectName("label_RegionalConsecutiveDrynessLevel")
self.formLayout_3.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.label_RegionalConsecutiveDrynessLevel)
self.verticalLayout_7.addLayout(self.formLayout_3)
- self.verticalLayout_8.addLayout(self.verticalLayout_7)
+ self.verticalLayout_9.addLayout(self.verticalLayout_7)
+ spacerItem3 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
+ self.verticalLayout_9.addItem(spacerItem3)
+ self.horizontalLayout_26.addLayout(self.verticalLayout_9)
+ self.verticalLayout_8 = QtWidgets.QVBoxLayout()
+ self.verticalLayout_8.setObjectName("verticalLayout_8")
self.groupBox_5 = QtWidgets.QGroupBox(self.groupBox_InitialConditions)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Expanding)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.groupBox_5.sizePolicy().hasHeightForWidth())
@@ -1415,17 +1406,19 @@ def setupUi(self, RUBEMHydrological):
self.verticalLayout_6.addLayout(self.formLayout_9)
self.verticalLayout_10.addLayout(self.verticalLayout_6)
self.verticalLayout_8.addWidget(self.groupBox_5)
- self.verticalLayout_9.addLayout(self.verticalLayout_8)
+ spacerItem4 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
+ self.verticalLayout_8.addItem(spacerItem4)
+ self.horizontalLayout_26.addLayout(self.verticalLayout_8)
+ self.verticalLayout_34.addLayout(self.horizontalLayout_26)
+ self.verticalLayout_35.addWidget(self.groupBox_InitialConditions)
self.tabWidget.addTab(self.tab_ModelParam, "")
self.tab_Run = QtWidgets.QWidget()
self.tab_Run.setObjectName("tab_Run")
- self.layoutWidget2 = QtWidgets.QWidget(self.tab_Run)
- self.layoutWidget2.setGeometry(QtCore.QRect(10, 10, 451, 381))
- self.layoutWidget2.setObjectName("layoutWidget2")
- self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.layoutWidget2)
- self.verticalLayout_5.setContentsMargins(0, 0, 0, 0)
+ self.verticalLayout_23 = QtWidgets.QVBoxLayout(self.tab_Run)
+ self.verticalLayout_23.setObjectName("verticalLayout_23")
+ self.verticalLayout_5 = QtWidgets.QVBoxLayout()
self.verticalLayout_5.setObjectName("verticalLayout_5")
- self.groupBox_GenerateFiles = QtWidgets.QGroupBox(self.layoutWidget2)
+ self.groupBox_GenerateFiles = QtWidgets.QGroupBox(self.tab_Run)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
@@ -1505,7 +1498,7 @@ def setupUi(self, RUBEMHydrological):
self.verticalLayout_5.addWidget(self.groupBox_GenerateFiles)
self.gridLayout_37 = QtWidgets.QGridLayout()
self.gridLayout_37.setObjectName("gridLayout_37")
- self.textBrowser_log = QtWidgets.QTextBrowser(self.layoutWidget2)
+ self.textBrowser_log = QtWidgets.QTextBrowser(self.tab_Run)
self.textBrowser_log.setFrameShape(QtWidgets.QFrame.Box)
self.textBrowser_log.setFrameShadow(QtWidgets.QFrame.Sunken)
self.textBrowser_log.setAcceptRichText(True)
@@ -1514,13 +1507,13 @@ def setupUi(self, RUBEMHydrological):
self.gridLayout_37.addWidget(self.textBrowser_log, 0, 0, 1, 1)
self.gridLayout_36 = QtWidgets.QGridLayout()
self.gridLayout_36.setObjectName("gridLayout_36")
- self.btn_Run = QtWidgets.QPushButton(self.layoutWidget2)
+ self.btn_Run = QtWidgets.QPushButton(self.tab_Run)
self.btn_Run.setObjectName("btn_Run")
self.gridLayout_36.addWidget(self.btn_Run, 0, 0, 1, 1)
- self.btn_Cancel = QtWidgets.QPushButton(self.layoutWidget2)
+ self.btn_Cancel = QtWidgets.QPushButton(self.tab_Run)
self.btn_Cancel.setObjectName("btn_Cancel")
self.gridLayout_36.addWidget(self.btn_Cancel, 0, 1, 1, 1)
- self.progressBar = QtWidgets.QProgressBar(self.layoutWidget2)
+ self.progressBar = QtWidgets.QProgressBar(self.tab_Run)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
@@ -1533,22 +1526,73 @@ def setupUi(self, RUBEMHydrological):
self.gridLayout_36.addWidget(self.progressBar, 0, 2, 1, 1)
self.gridLayout_37.addLayout(self.gridLayout_36, 1, 0, 1, 1)
self.verticalLayout_5.addLayout(self.gridLayout_37)
+ self.verticalLayout_23.addLayout(self.verticalLayout_5)
self.tabWidget.addTab(self.tab_Run, "")
+ self.tab_Results = QtWidgets.QWidget()
+ self.tab_Results.setObjectName("tab_Results")
+ self.verticalLayout_30 = QtWidgets.QVBoxLayout(self.tab_Results)
+ self.verticalLayout_30.setObjectName("verticalLayout_30")
+ self.groupBox_MapSeriesData = QtWidgets.QGroupBox(self.tab_Results)
+ self.groupBox_MapSeriesData.setObjectName("groupBox_MapSeriesData")
+ self.verticalLayout_29 = QtWidgets.QVBoxLayout(self.groupBox_MapSeriesData)
+ self.verticalLayout_29.setObjectName("verticalLayout_29")
+ self.verticalLayout_28 = QtWidgets.QVBoxLayout()
+ self.verticalLayout_28.setObjectName("verticalLayout_28")
+ self.label_MapSeriesData = QtWidgets.QLabel(self.groupBox_MapSeriesData)
+ self.label_MapSeriesData.setObjectName("label_MapSeriesData")
+ self.verticalLayout_28.addWidget(self.label_MapSeriesData)
+ self.treeView_MapSeriesData = QtWidgets.QTreeView(self.groupBox_MapSeriesData)
+ self.treeView_MapSeriesData.setObjectName("treeView_MapSeriesData")
+ self.verticalLayout_28.addWidget(self.treeView_MapSeriesData)
+ self.verticalLayout_29.addLayout(self.verticalLayout_28)
+ self.verticalLayout_30.addWidget(self.groupBox_MapSeriesData)
+ self.groupBox_TimeSeriesData = QtWidgets.QGroupBox(self.tab_Results)
+ self.groupBox_TimeSeriesData.setObjectName("groupBox_TimeSeriesData")
+ self.verticalLayout_27 = QtWidgets.QVBoxLayout(self.groupBox_TimeSeriesData)
+ self.verticalLayout_27.setObjectName("verticalLayout_27")
+ self.verticalLayout_26 = QtWidgets.QVBoxLayout()
+ self.verticalLayout_26.setObjectName("verticalLayout_26")
+ self.label_TimeSeriesData = QtWidgets.QLabel(self.groupBox_TimeSeriesData)
+ self.label_TimeSeriesData.setObjectName("label_TimeSeriesData")
+ self.verticalLayout_26.addWidget(self.label_TimeSeriesData)
+ self.treeView_TimeSeriesData = QtWidgets.QTreeView(self.groupBox_TimeSeriesData)
+ self.treeView_TimeSeriesData.setObjectName("treeView_TimeSeriesData")
+ self.verticalLayout_26.addWidget(self.treeView_TimeSeriesData)
+ self.verticalLayout_27.addLayout(self.verticalLayout_26)
+ self.verticalLayout_30.addWidget(self.groupBox_TimeSeriesData)
+ self.tabWidget.addTab(self.tab_Results, "")
self.tab_Info = QtWidgets.QWidget()
self.tab_Info.setObjectName("tab_Info")
+ self.verticalLayout_36 = QtWidgets.QVBoxLayout(self.tab_Info)
+ self.verticalLayout_36.setObjectName("verticalLayout_36")
self.textBrowser_Info = QtWidgets.QTextBrowser(self.tab_Info)
- self.textBrowser_Info.setGeometry(QtCore.QRect(0, 0, 466, 458))
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.textBrowser_Info.sizePolicy().hasHeightForWidth())
+ self.textBrowser_Info.setSizePolicy(sizePolicy)
self.textBrowser_Info.setFrameShape(QtWidgets.QFrame.HLine)
self.textBrowser_Info.setFrameShadow(QtWidgets.QFrame.Plain)
self.textBrowser_Info.setLineWidth(0)
self.textBrowser_Info.setLineWrapMode(QtWidgets.QTextEdit.WidgetWidth)
self.textBrowser_Info.setLineWrapColumnOrWidth(0)
+ self.textBrowser_Info.setTabStopWidth(80)
self.textBrowser_Info.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByKeyboard|QtCore.Qt.LinksAccessibleByMouse)
self.textBrowser_Info.setPlaceholderText("")
- self.textBrowser_Info.setProperty("tabStopWidth", 80)
self.textBrowser_Info.setObjectName("textBrowser_Info")
+ self.verticalLayout_36.addWidget(self.textBrowser_Info)
self.tabWidget.addTab(self.tab_Info, "")
- self.verticalLayout_25.addWidget(self.tabWidget)
+ self.verticalLayout_31.addWidget(self.tabWidget)
+ self.line = QtWidgets.QFrame(RUBEMHydrological)
+ self.line.setFrameShape(QtWidgets.QFrame.HLine)
+ self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
+ self.line.setObjectName("line")
+ self.verticalLayout_31.addWidget(self.line)
+ self.label_27 = QtWidgets.QLabel(RUBEMHydrological)
+ self.label_27.setAlignment(QtCore.Qt.AlignCenter)
+ self.label_27.setOpenExternalLinks(True)
+ self.label_27.setObjectName("label_27")
+ self.verticalLayout_31.addWidget(self.label_27)
self.label_InputFolder.setBuddy(self.toolButton_InputFolder)
self.label_OutputFolder.setBuddy(self.toolButton_OutputFolder)
self.label_Dem.setBuddy(self.btn_Dem)
@@ -1588,10 +1632,10 @@ def setupUi(self, RUBEMHydrological):
self.label_Evapotranspiration.setBuddy(self.btn_Evapotranspiration)
self.label_PanCoefficientKp.setBuddy(self.btn_PanCoefficientKp)
self.label_RainyDays.setBuddy(self.btn_RainyDays)
- self.label_InterceptionCalibrationAlpha.setBuddy(self.doubleSpinBox_InterceptionCalibrationAlpha)
self.label_PartitioningCoefficientRelatedSoil.setBuddy(self.doubleSpinBox_PartitioningCoefficientRelatedSoil)
- self.label_ExponentCh.setBuddy(self.doubleSpinBox_ExponentCh)
+ self.label_InterceptionCalibrationAlpha.setBuddy(self.doubleSpinBox_InterceptionCalibrationAlpha)
self.label_DelayFactor.setBuddy(self.doubleSpinBox_DelayFactor)
+ self.label_ExponentCh.setBuddy(self.doubleSpinBox_ExponentCh)
self.label_DelayCoefficientBaseFlow.setBuddy(self.doubleSpinBox_DelayCoefficientBaseFlow)
self.label_RegionalConsecutiveDrynessLevel.setBuddy(self.doubleSpinBox_RegionalConsecutiveDrynessLevel)
self.label_ManningRelatedWeightFactor.setBuddy(self.doubleSpinBox_ManningRelatedWeightFactor)
@@ -1599,7 +1643,7 @@ def setupUi(self, RUBEMHydrological):
self.label_SlopeRelatedWeightFactor.setBuddy(self.doubleSpinBox_SlopeRelatedWeightFactor)
self.retranslateUi(RUBEMHydrological)
- self.tabWidget.setCurrentIndex(0)
+ self.tabWidget.setCurrentIndex(6)
self.comboBox.setCurrentIndex(2)
self.btn_Dem.clicked.connect(RUBEMHydrological.setDEMFilePath)
self.btn_Clone.clicked.connect(RUBEMHydrological.setCloneFilePath)
@@ -1722,13 +1766,14 @@ def setupUi(self, RUBEMHydrological):
self.checkBox_RunoffEsd.stateChanged['int'].connect(RUBEMHydrological.setProjectModified)
self.checkBox_RunoffVazao.stateChanged['int'].connect(RUBEMHydrological.setProjectModified)
self.checkBox_SoilMoistureTur.stateChanged['int'].connect(RUBEMHydrological.setProjectModified)
+ self.treeView_TimeSeriesData.doubleClicked['QModelIndex'].connect(RUBEMHydrological.plotWrapper)
+ self.treeView_MapSeriesData.doubleClicked['QModelIndex'].connect(RUBEMHydrological.canvasHandler)
QtCore.QMetaObject.connectSlotsByName(RUBEMHydrological)
RUBEMHydrological.setTabOrder(self.pushButton_NewProject, self.pushButton_OpenProject)
RUBEMHydrological.setTabOrder(self.pushButton_OpenProject, self.pushButton_SaveProject)
RUBEMHydrological.setTabOrder(self.pushButton_SaveProject, self.pushButton_SaveAsProject)
RUBEMHydrological.setTabOrder(self.pushButton_SaveAsProject, self.tabWidget)
- RUBEMHydrological.setTabOrder(self.tabWidget, self.scrollArea_3)
- RUBEMHydrological.setTabOrder(self.scrollArea_3, self.lineEdit_InputFolder)
+ RUBEMHydrological.setTabOrder(self.tabWidget, self.lineEdit_InputFolder)
RUBEMHydrological.setTabOrder(self.lineEdit_InputFolder, self.toolButton_InputFolder)
RUBEMHydrological.setTabOrder(self.toolButton_InputFolder, self.lineEdit_OutputFolder)
RUBEMHydrological.setTabOrder(self.lineEdit_OutputFolder, self.toolButton_OutputFolder)
@@ -1826,7 +1871,6 @@ def setupUi(self, RUBEMHydrological):
def retranslateUi(self, RUBEMHydrological):
_translate = QtCore.QCoreApplication.translate
RUBEMHydrological.setWindowTitle(_translate("RUBEMHydrological", "RUBEM Hydrological"))
- self.label_27.setText(_translate("RUBEMHydrological", "RUBEM Hydrological © Developed by LabSid PHA EPUSP
"))
self.groupBox_8.setTitle(_translate("RUBEMHydrological", "Project"))
self.pushButton_NewProject.setToolTip(_translate("RUBEMHydrological", "Create a new project."))
self.pushButton_NewProject.setText(_translate("RUBEMHydrological", "&New"))
@@ -2061,22 +2105,22 @@ def retranslateUi(self, RUBEMHydrological):
self.btn_RainyDays.setText(_translate("RUBEMHydrological", "…"))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_Climate), _translate("RUBEMHydrological", "Climate"))
self.groupBox_InitialConditions.setTitle(_translate("RUBEMHydrological", "Model Parameters"))
- self.doubleSpinBox_InterceptionCalibrationAlpha.setToolTip(_translate("RUBEMHydrological", "Represents the daily interception threshold that depends on land use.
"))
- self.label_InterceptionCalibrationAlpha.setToolTip(_translate("RUBEMHydrological", "Represents the daily interception threshold that depends on land use.
"))
- self.label_InterceptionCalibrationAlpha.setText(_translate("RUBEMHydrological", "Interception parameter (α)"))
self.doubleSpinBox_PartitioningCoefficientRelatedSoil.setToolTip(_translate("RUBEMHydrological", "Used to partition the flow out of the root zone between interflow and flow to the saturated zone."))
self.doubleSpinBox_PartitioningCoefficientRelatedSoil.setWhatsThis(_translate("RUBEMHydrological", "Preferred Flow Direction: 1.0 = 100% horizontal, 0 = 100% vertical flow.
"))
self.label_PartitioningCoefficientRelatedSoil.setToolTip(_translate("RUBEMHydrological", "Used to partition the flow out of the root zone between interflow and flow to the saturated zone."))
self.label_PartitioningCoefficientRelatedSoil.setWhatsThis(_translate("RUBEMHydrological", "Preferred Flow Direction: 1.0 = 100% horizontal, 0 = 100% vertical flow.
"))
self.label_PartitioningCoefficientRelatedSoil.setText(_translate("RUBEMHydrological", "Flow Direction Factor (f)
"))
- self.doubleSpinBox_ExponentCh.setToolTip(_translate("RUBEMHydrological", "Exponent value representing the effect of rainfall intensity in the runoff.
"))
- self.label_ExponentCh.setToolTip(_translate("RUBEMHydrological", "Exponent value representing the effect of rainfall intensity in the runoff.
"))
- self.label_ExponentCh.setText(_translate("RUBEMHydrological", "Rainfall intensity coefficient (b)"))
+ self.doubleSpinBox_InterceptionCalibrationAlpha.setToolTip(_translate("RUBEMHydrological", "Represents the daily interception threshold that depends on land use.
"))
+ self.label_InterceptionCalibrationAlpha.setToolTip(_translate("RUBEMHydrological", "Represents the daily interception threshold that depends on land use.
"))
+ self.label_InterceptionCalibrationAlpha.setText(_translate("RUBEMHydrological", "Interception parameter (α)"))
self.doubleSpinBox_DelayFactor.setToolTip(_translate("RUBEMHydrological", "It incorporates a flow delay in the accumulated amount of water that flows out of the cell into its neighboring downstream cell.
"))
self.doubleSpinBox_DelayFactor.setWhatsThis(_translate("RUBEMHydrological", "0 ≤ x ≤ 1
Values close to 0 correspond to a fast responding catchment.
Values approaching 1 correspond to a slow responding catchment.
"))
self.label_DelayFactor.setToolTip(_translate("RUBEMHydrological", "It incorporates a flow delay in the accumulated amount of water that flows out of the cell into its neighboring downstream cell.
"))
self.label_DelayFactor.setWhatsThis(_translate("RUBEMHydrological", "0 ≤ x ≤ 1
Values close to 0 correspond to a fast responding catchment.
Values approaching 1 correspond to a slow responding catchment.
"))
self.label_DelayFactor.setText(_translate("RUBEMHydrological", "Flow recession coefficient (x)
"))
+ self.doubleSpinBox_ExponentCh.setToolTip(_translate("RUBEMHydrological", "Exponent value representing the effect of rainfall intensity in the runoff.
"))
+ self.label_ExponentCh.setToolTip(_translate("RUBEMHydrological", "Exponent value representing the effect of rainfall intensity in the runoff.
"))
+ self.label_ExponentCh.setText(_translate("RUBEMHydrological", "Rainfall intensity coefficient (b)"))
self.doubleSpinBox_DelayCoefficientBaseFlow.setToolTip(_translate("RUBEMHydrological", "Represents the baseflow recfession coefficient"))
self.doubleSpinBox_DelayCoefficientBaseFlow.setWhatsThis(_translate("RUBEMHydrological", "Restriction: 0.01 ≤ αGW ≤ 1
"))
self.label_DelayCoefficientBaseFlow.setToolTip(_translate("RUBEMHydrological", "Represents the baseflow recfession coefficient"))
@@ -2087,7 +2131,12 @@ def retranslateUi(self, RUBEMHydrological):
self.doubleSpinBox_RegionalConsecutiveDrynessLevel.setSuffix(_translate("RUBEMHydrological", " mm"))
self.label_RegionalConsecutiveDrynessLevel.setToolTip(_translate("RUBEMHydrological", "Incorporates the intensity of rain and the number of consecutive days in runoff calculation.
"))
self.label_RegionalConsecutiveDrynessLevel.setWhatsThis(_translate("RUBEMHydrological", "1 ≤ RCD ≤ 10
RCD = 1 can be used for very heavy or torrential rainfall and more than 10 consecutive rainy days/month.
RCD = 10 for low regional intensity rainfall less than 2 consecutive rainy days per month.
"))
- self.label_RegionalConsecutiveDrynessLevel.setText(_translate("RUBEMHydrological", "Regional consecutive dryness (RCD) level"))
+ self.label_RegionalConsecutiveDrynessLevel.setText(_translate("RUBEMHydrological", "\n"
+"\n"
+"Regional consecutive
\n"
+"dryness (RCD)
"))
self.groupBox_5.setToolTip(_translate("RUBEMHydrological", "w1 + w2 + w3 = 1
"))
self.groupBox_5.setTitle(_translate("RUBEMHydrological", "Weight Factors"))
self.doubleSpinBox_ManningRelatedWeightFactor.setToolTip(_translate("RUBEMHydrological", "Weight of land use factor. It measures the effect of the land use in the potential runoff produced.
"))
@@ -2118,9 +2167,9 @@ def retranslateUi(self, RUBEMHydrological):
self.checkBox_EvapotranspirationEvp.setToolTip(_translate("RUBEMHydrological", "If TRUE, Actual Evapotransporation (ETa) [mm] map-series are reported.
"))
self.checkBox_EvapotranspirationEvp.setText(_translate("RUBEMHydrological", "Actual Evapotransporation [mm]"))
self.textBrowser_log.setHtml(_translate("RUBEMHydrological", "\n"
-"\n"
+"\n"
" ___ __ _____ ______ ___
\n"
" / _ \\/ / / / _ )/ __/ |/ /
\n"
" / , _/ /_/ / _ / _// /|_/ /
\n"
@@ -2129,35 +2178,41 @@ def retranslateUi(self, RUBEMHydrological):
" / _ / // / _ / __/ _ \\/ / _ \\/ _ `/ / __/ _ `/ /
\n"
"/_//_/\\_, /\\_,_/_/ \\___/_/\\___/\\_, /_/\\__/\\_,_/_/
\n"
" /___/ /___/
\n"
-"---
"))
+"---
"))
self.textBrowser_log.setPlaceholderText(_translate("RUBEMHydrological", "RUBEM Hydrological Log"))
self.btn_Run.setToolTip(_translate("RUBEMHydrological", "Run the model with defined configuration"))
self.btn_Run.setText(_translate("RUBEMHydrological", "&Run"))
self.btn_Cancel.setToolTip(_translate("RUBEMHydrological", "Cancel model execution"))
self.btn_Cancel.setText(_translate("RUBEMHydrological", "&Cancel"))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_Run), _translate("RUBEMHydrological", "Run"))
+ self.groupBox_MapSeriesData.setTitle(_translate("RUBEMHydrological", "Map-series Resullts"))
+ self.label_MapSeriesData.setText(_translate("RUBEMHydrological", "Click to expand and double click to visualize in the map canvas"))
+ self.groupBox_TimeSeriesData.setTitle(_translate("RUBEMHydrological", "Time-series Results"))
+ self.label_TimeSeriesData.setText(_translate("RUBEMHydrological", "Click to expand and double click to visualize"))
+ self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_Results), _translate("RUBEMHydrological", "Results"))
self.textBrowser_Info.setDocumentTitle(_translate("RUBEMHydrological", "Info"))
self.textBrowser_Info.setHtml(_translate("RUBEMHydrological", "\n"
-"Info\n"
+"\n"
"\n"
-"RUBEM Hydrological is a QGIS plugin that assists in the configuration of the Rainfall rUnoff Balance Enhanced Model algorithm, which is an improved model of balance between rain and runoff.
\n"
+"RUBEM Hydrological is a QGIS plugin that assists in the configuration of the Rainfall rUnoff Balance Enhanced Model algorithm, which is an improved model of balance between rain and runoff.
\n"
"
\n"
-"Explore the docs »
\n"
+"Explore the docs »
\n"
"
\n"
-"View Demo · Report Bug · Request Feature
\n"
+"View Demo · Report Bug · Request Feature
\n"
"
\n"
" The RUBEM distributed hydrological model for transforming precipitation into total flow is based on equations that represent the physical processes of the hydrological cycle, with spatial distribution defined in a grid and monthly time scale. The model was developed based on classic concepts of hydrological processes and equations based mainly on the formulations of the SPHY (TERINK et al., 2015), WEAP (YATES et al., 2005) and WetSpass-M (ABDOLLAHI et al., 2017).
\n"
-"
\n"
-" The name is a posthumous tribute to Professor Rubem La Laina Porto, dean of the Department of Hydraulic and Environmental Engineering, of the Polytechnic School of USP, who dedicated his professional life to the study, development and practices in hydrological sciences, contributing to the improvement of the state of art and training of students and professionals working in the area.
\n"
+"
\n"
+" The name is a posthumous tribute to Professor Rubem La Laina Porto, dean of the Department of Hydraulic and Environmental Engineering, of the Polytechnic School of USP, who dedicated his professional life to the study, development and practices in hydrological sciences, contributing to the improvement of the state of art and training of students and professionals working in the area.
\n"
"Development /Research team:
\n"
-"Department of Hydraulic and Environmental Engineering at the Escola Politécnica of the University of São Paulo
\n"
+"Department of Hydraulic and Environmental Engineering at the Escola Politécnica of the University of São Paulo
\n"
"
\n"
-"Laboratory of Decision Support Systems Applied to Environmental and Water Resources Engineering
\n"
+"Laboratory of Decision Support Systems Applied to Environmental and Water Resources Engineering
\n"
"
\n"
"
LabSid-PHA-USP thanks the support of the Patrimonial Fund Amigos da Poli for the adaptation of the RUBEM methodology in Plugin format for QGIS.
\n"
"
"))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_Info), _translate("RUBEMHydrological", "Info"))
+ self.label_27.setText(_translate("RUBEMHydrological", "