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

# Form implementation generated from reading ui file 'LDMP/gui\land_cover_setup_widget_local.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
# 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


class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(400, 76)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(Form.sizePolicy().hasHeightForWidth())
        Form.setSizePolicy(sizePolicy)
        self.verticalLayout = QtWidgets.QVBoxLayout(Form)
        self.verticalLayout.setContentsMargins(0, -1, 0, -1)
        self.verticalLayout.setSpacing(6)
        self.verticalLayout.setObjectName("verticalLayout")
        self.formLayout = QtWidgets.QFormLayout()
        self.formLayout.setObjectName("formLayout")
        self.initial_layer_la = QtWidgets.QLabel(Form)
        self.initial_layer_la.setObjectName("initial_layer_la")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.initial_layer_la)
        self.initial_year_layer_cb = WidgetDataIOSelectTELayerImport(Form)
        self.initial_year_layer_cb.setObjectName("initial_year_layer_cb")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.initial_year_layer_cb)
        self.target_year_la = QtWidgets.QLabel(Form)
        self.target_year_la.setObjectName("target_year_la")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.target_year_la)
        self.target_year_layer_cb = WidgetDataIOSelectTELayerImport(Form)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.target_year_layer_cb.sizePolicy().hasHeightForWidth())
        self.target_year_layer_cb.setSizePolicy(sizePolicy)
        self.target_year_layer_cb.setObjectName("target_year_layer_cb")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.target_year_layer_cb)
        self.verticalLayout.addLayout(self.formLayout)

        self.retranslateUi(Form)
        QtCore.QMetaObject.connectSlotsByName(Form)

    def retranslateUi(self, Form):
        _translate = QtCore.QCoreApplication.translate
        Form.setWindowTitle(_translate("Form", "Form"))
        self.initial_layer_la.setText(_translate("Form", "Initial year layer"))
        self.initial_year_layer_cb.setToolTip(_translate("Form", "Select initial year from a dataset, make sure the year is not equal or great than the target year"))
        self.initial_year_layer_cb.setProperty("layer_type", _translate("Form", "Land cover (7 class)"))
        self.target_year_la.setText(_translate("Form", "Target year layer"))
        self.target_year_layer_cb.setToolTip(_translate("Form", "Select target year from a dataset, make sure the year is not equal or less than the initial year"))
        self.target_year_layer_cb.setProperty("layer_type", _translate("Form", "Land cover (7 class)"))
from LDMP.data_io import WidgetDataIOSelectTELayerImport


if __name__ == "__main__":
    import sys
    app = QtWidgets.QApplication(sys.argv)
    Form = QtWidgets.QWidget()
    ui = Ui_Form()
    ui.setupUi(Form)
    Form.show()
    sys.exit(app.exec_())
