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

# Form implementation generated from reading ui file 'PlotWidget.ui'
#
# Created by: PyQt5 UI code generator 5.15.10
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt5 import QtCore, QtGui, QtWidgets
from ..FigureWidget import FigureWidget


class Ui_PlotWidget(object):
    def setupUi(self, PlotWidget):
        PlotWidget.setObjectName("PlotWidget")
        PlotWidget.resize(650, 701)
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(PlotWidget)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.tabWidget = QtWidgets.QTabWidget(PlotWidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tabWidget.sizePolicy().hasHeightForWidth())
        self.tabWidget.setSizePolicy(sizePolicy)
        self.tabWidget.setObjectName("tabWidget")
        self.tab = QtWidgets.QWidget()
        self.tab.setObjectName("tab")
        self.gridLayout = QtWidgets.QGridLayout(self.tab)
        self.gridLayout.setObjectName("gridLayout")
        self.label_2 = QtWidgets.QLabel(self.tab)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth())
        self.label_2.setSizePolicy(sizePolicy)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 0, 0, 1, 1)
        self.comboBox_reachSelection = QtWidgets.QComboBox(self.tab)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox_reachSelection.sizePolicy().hasHeightForWidth())
        self.comboBox_reachSelection.setSizePolicy(sizePolicy)
        self.comboBox_reachSelection.setObjectName("comboBox_reachSelection")
        self.comboBox_reachSelection.addItem("")
        self.gridLayout.addWidget(self.comboBox_reachSelection, 0, 1, 1, 1)
        self.comboBox_fieldSelection = QtWidgets.QComboBox(self.tab)
        self.comboBox_fieldSelection.setEnabled(False)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox_fieldSelection.sizePolicy().hasHeightForWidth())
        self.comboBox_fieldSelection.setSizePolicy(sizePolicy)
        self.comboBox_fieldSelection.setObjectName("comboBox_fieldSelection")
        self.comboBox_fieldSelection.addItem("")
        self.comboBox_fieldSelection.addItem("")
        self.comboBox_fieldSelection.addItem("")
        self.gridLayout.addWidget(self.comboBox_fieldSelection, 1, 1, 1, 1)
        self.lineEdit_XS_cephee = QtWidgets.QLineEdit(self.tab)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEdit_XS_cephee.sizePolicy().hasHeightForWidth())
        self.lineEdit_XS_cephee.setSizePolicy(sizePolicy)
        self.lineEdit_XS_cephee.setFrame(True)
        self.lineEdit_XS_cephee.setReadOnly(False)
        self.lineEdit_XS_cephee.setObjectName("lineEdit_XS_cephee")
        self.gridLayout.addWidget(self.lineEdit_XS_cephee, 0, 3, 1, 1)
        self.pushButton_plot_cephee = QtWidgets.QPushButton(self.tab)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_plot_cephee.sizePolicy().hasHeightForWidth())
        self.pushButton_plot_cephee.setSizePolicy(sizePolicy)
        self.pushButton_plot_cephee.setObjectName("pushButton_plot_cephee")
        self.gridLayout.addWidget(self.pushButton_plot_cephee, 1, 3, 1, 3)
        self.label_nSections = QtWidgets.QLabel(self.tab)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_nSections.sizePolicy().hasHeightForWidth())
        self.label_nSections.setSizePolicy(sizePolicy)
        self.label_nSections.setObjectName("label_nSections")
        self.gridLayout.addWidget(self.label_nSections, 0, 4, 1, 1)
        self.checkBox_plotXS = QtWidgets.QCheckBox(self.tab)
        self.checkBox_plotXS.setChecked(False)
        self.checkBox_plotXS.setObjectName("checkBox_plotXS")
        self.gridLayout.addWidget(self.checkBox_plotXS, 0, 2, 1, 1)
        self.checkBox_zCenterline = QtWidgets.QCheckBox(self.tab)
        self.checkBox_zCenterline.setObjectName("checkBox_zCenterline")
        self.gridLayout.addWidget(self.checkBox_zCenterline, 1, 2, 1, 1)
        self.tabWidget.addTab(self.tab, "")
        self.tab_2 = QtWidgets.QWidget()
        self.tab_2.setObjectName("tab_2")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.tab_2)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.comboBox_layerSelection = gui.QgsMapLayerComboBox(self.tab_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox_layerSelection.sizePolicy().hasHeightForWidth())
        self.comboBox_layerSelection.setSizePolicy(sizePolicy)
        self.comboBox_layerSelection.setObjectName("comboBox_layerSelection")
        self.horizontalLayout.addWidget(self.comboBox_layerSelection)
        self.label = QtWidgets.QLabel(self.tab_2)
        self.label.setObjectName("label")
        self.horizontalLayout.addWidget(self.label)
        self.lineEdit_XS_qgis = QtWidgets.QLineEdit(self.tab_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEdit_XS_qgis.sizePolicy().hasHeightForWidth())
        self.lineEdit_XS_qgis.setSizePolicy(sizePolicy)
        self.lineEdit_XS_qgis.setObjectName("lineEdit_XS_qgis")
        self.horizontalLayout.addWidget(self.lineEdit_XS_qgis)
        self.label_nID = QtWidgets.QLabel(self.tab_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_nID.sizePolicy().hasHeightForWidth())
        self.label_nID.setSizePolicy(sizePolicy)
        self.label_nID.setObjectName("label_nID")
        self.horizontalLayout.addWidget(self.label_nID)
        self.pushButton_plot_qgis = QtWidgets.QPushButton(self.tab_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_plot_qgis.sizePolicy().hasHeightForWidth())
        self.pushButton_plot_qgis.setSizePolicy(sizePolicy)
        self.pushButton_plot_qgis.setObjectName("pushButton_plot_qgis")
        self.horizontalLayout.addWidget(self.pushButton_plot_qgis)
        self.tabWidget.addTab(self.tab_2, "")
        self.verticalLayout_3.addWidget(self.tabWidget)
        self.figureFrame = QtWidgets.QFrame(PlotWidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.figureFrame.sizePolicy().hasHeightForWidth())
        self.figureFrame.setSizePolicy(sizePolicy)
        self.figureFrame.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.figureFrame.setFrameShadow(QtWidgets.QFrame.Raised)
        self.figureFrame.setObjectName("figureFrame")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.figureFrame)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.figureWidget = FigureWidget(self.figureFrame)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.figureWidget.sizePolicy().hasHeightForWidth())
        self.figureWidget.setSizePolicy(sizePolicy)
        self.figureWidget.setObjectName("figureWidget")
        self.verticalLayout.addWidget(self.figureWidget)
        self.verticalLayout_2.addLayout(self.verticalLayout)
        self.verticalLayout_3.addWidget(self.figureFrame)

        self.retranslateUi(PlotWidget)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(PlotWidget)

    def retranslateUi(self, PlotWidget):
        _translate = QtCore.QCoreApplication.translate
        PlotWidget.setWindowTitle(_translate("PlotWidget", "Plot Widget"))
        self.label_2.setText(_translate("PlotWidget", "Reach:"))
        self.comboBox_reachSelection.setItemText(0, _translate("PlotWidget", "no reach available"))
        self.comboBox_fieldSelection.setItemText(0, _translate("PlotWidget", "Water level"))
        self.comboBox_fieldSelection.setItemText(1, _translate("PlotWidget", "Water velocity"))
        self.comboBox_fieldSelection.setItemText(2, _translate("PlotWidget", "Water depth"))
        self.pushButton_plot_cephee.setText(_translate("PlotWidget", "Plot"))
        self.label_nSections.setText(_translate("PlotWidget", "/0"))
        self.checkBox_plotXS.setText(_translate("PlotWidget", "cross section:"))
        self.checkBox_zCenterline.setText(_translate("PlotWidget", "Z centerline"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("PlotWidget", "CEPHEE data"))
        self.label.setText(_translate("PlotWidget", "ID"))
        self.label_nID.setText(_translate("PlotWidget", "/0"))
        self.pushButton_plot_qgis.setText(_translate("PlotWidget", "Plot Z-profile"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("PlotWidget", "QGIS vector layer plot"))
from qgis import gui
