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

# Form implementation generated from reading ui file 'DlgCarbonStock.ui'
#
# Created by: PyQt5 UI code generator 5.15.11
#
# 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_DlgCarbonStock(object):
    def setupUi(self, DlgCarbonStock):
        DlgCarbonStock.setObjectName("DlgCarbonStock")
        DlgCarbonStock.resize(431, 474)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(DlgCarbonStock.sizePolicy().hasHeightForWidth())
        DlgCarbonStock.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setFamily("MS Reference Sans Serif")
        DlgCarbonStock.setFont(font)
        self.verticalLayout_10 = QtWidgets.QVBoxLayout(DlgCarbonStock)
        self.verticalLayout_10.setObjectName("verticalLayout_10")
        self.groupBox = QtWidgets.QGroupBox(DlgCarbonStock)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setObjectName("groupBox")
        self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.groupBox)
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.verticalLayout_6 = QtWidgets.QVBoxLayout()
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.label_6 = QtWidgets.QLabel(self.groupBox)
        self.label_6.setMaximumSize(QtCore.QSize(16777215, 40))
        font = QtGui.QFont()
        font.setFamily("MS Reference Sans Serif")
        font.setPointSize(9)
        font.setBold(False)
        font.setWeight(50)
        self.label_6.setFont(font)
        self.label_6.setObjectName("label_6")
        self.verticalLayout_6.addWidget(self.label_6)
        self.CountryComboBox = QtWidgets.QComboBox(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.CountryComboBox.sizePolicy().hasHeightForWidth())
        self.CountryComboBox.setSizePolicy(sizePolicy)
        self.CountryComboBox.setMaximumSize(QtCore.QSize(16777215, 40))
        font = QtGui.QFont()
        font.setFamily("MS Reference Sans Serif")
        font.setPointSize(9)
        self.CountryComboBox.setFont(font)
        self.CountryComboBox.setEditable(False)
        self.CountryComboBox.setCurrentText("")
        self.CountryComboBox.setObjectName("CountryComboBox")
        self.verticalLayout_6.addWidget(self.CountryComboBox)
        self.horizontalLayout_3.addLayout(self.verticalLayout_6)
        self.verticalLayout_7 = QtWidgets.QVBoxLayout()
        self.verticalLayout_7.setObjectName("verticalLayout_7")
        self.label_7 = QtWidgets.QLabel(self.groupBox)
        self.label_7.setMaximumSize(QtCore.QSize(16777215, 40))
        font = QtGui.QFont()
        font.setFamily("MS Reference Sans Serif")
        font.setPointSize(9)
        self.label_7.setFont(font)
        self.label_7.setObjectName("label_7")
        self.verticalLayout_7.addWidget(self.label_7)
        self.RegionComboBox = QtWidgets.QComboBox(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.RegionComboBox.sizePolicy().hasHeightForWidth())
        self.RegionComboBox.setSizePolicy(sizePolicy)
        self.RegionComboBox.setMaximumSize(QtCore.QSize(16777215, 40))
        font = QtGui.QFont()
        font.setFamily("MS Reference Sans Serif")
        font.setPointSize(9)
        self.RegionComboBox.setFont(font)
        self.RegionComboBox.setEditable(False)
        self.RegionComboBox.setCurrentText("")
        self.RegionComboBox.setObjectName("RegionComboBox")
        self.verticalLayout_7.addWidget(self.RegionComboBox)
        self.horizontalLayout_3.addLayout(self.verticalLayout_7)
        self.verticalLayout_8 = QtWidgets.QVBoxLayout()
        self.verticalLayout_8.setObjectName("verticalLayout_8")
        self.label_8 = QtWidgets.QLabel(self.groupBox)
        self.label_8.setMaximumSize(QtCore.QSize(16777215, 40))
        font = QtGui.QFont()
        font.setFamily("MS Reference Sans Serif")
        font.setPointSize(9)
        self.label_8.setFont(font)
        self.label_8.setObjectName("label_8")
        self.verticalLayout_8.addWidget(self.label_8)
        self.SubRegionComboBox = QtWidgets.QComboBox(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.SubRegionComboBox.sizePolicy().hasHeightForWidth())
        self.SubRegionComboBox.setSizePolicy(sizePolicy)
        self.SubRegionComboBox.setMaximumSize(QtCore.QSize(16777215, 40))
        font = QtGui.QFont()
        font.setFamily("MS Reference Sans Serif")
        font.setPointSize(9)
        self.SubRegionComboBox.setFont(font)
        self.SubRegionComboBox.setEditable(False)
        self.SubRegionComboBox.setCurrentText("")
        self.SubRegionComboBox.setObjectName("SubRegionComboBox")
        self.verticalLayout_8.addWidget(self.SubRegionComboBox)
        self.horizontalLayout_3.addLayout(self.verticalLayout_8)
        self.verticalLayout_5.addLayout(self.horizontalLayout_3)
        self.CustomGroupBox = QtWidgets.QGroupBox(self.groupBox)
        self.CustomGroupBox.setCheckable(True)
        self.CustomGroupBox.setChecked(False)
        self.CustomGroupBox.setObjectName("CustomGroupBox")
        self.verticalLayout_11 = QtWidgets.QVBoxLayout(self.CustomGroupBox)
        self.verticalLayout_11.setContentsMargins(6, 6, 6, 6)
        self.verticalLayout_11.setSpacing(6)
        self.verticalLayout_11.setObjectName("verticalLayout_11")
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.CustomComboBox = QtWidgets.QComboBox(self.CustomGroupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.CustomComboBox.sizePolicy().hasHeightForWidth())
        self.CustomComboBox.setSizePolicy(sizePolicy)
        self.CustomComboBox.setMaximumSize(QtCore.QSize(16777215, 40))
        font = QtGui.QFont()
        font.setFamily("MS Reference Sans Serif")
        font.setPointSize(9)
        self.CustomComboBox.setFont(font)
        self.CustomComboBox.setEditable(False)
        self.CustomComboBox.setCurrentText("")
        self.CustomComboBox.setObjectName("CustomComboBox")
        self.horizontalLayout_4.addWidget(self.CustomComboBox)
        self.CustomPushButton = QtWidgets.QPushButton(self.CustomGroupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.CustomPushButton.sizePolicy().hasHeightForWidth())
        self.CustomPushButton.setSizePolicy(sizePolicy)
        self.CustomPushButton.setMaximumSize(QtCore.QSize(40, 40))
        self.CustomPushButton.setObjectName("CustomPushButton")
        self.horizontalLayout_4.addWidget(self.CustomPushButton)
        self.refreshPushButton = QtWidgets.QPushButton(self.CustomGroupBox)
        self.refreshPushButton.setMaximumSize(QtCore.QSize(40, 40))
        self.refreshPushButton.setText("")
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/plugins/MISLANDAFRICA/icons/refresh.svg"), QtGui.QIcon.Normal, QtGui.QIcon.On)
        self.refreshPushButton.setIcon(icon)
        self.refreshPushButton.setObjectName("refreshPushButton")
        self.horizontalLayout_4.addWidget(self.refreshPushButton)
        self.verticalLayout_11.addLayout(self.horizontalLayout_4)
        self.verticalLayout_5.addWidget(self.CustomGroupBox)
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.label = QtWidgets.QLabel(self.groupBox)
        self.label.setMaximumSize(QtCore.QSize(16777215, 40))
        font = QtGui.QFont()
        font.setFamily("MS Reference Sans Serif")
        font.setPointSize(9)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.verticalLayout.addWidget(self.label)
        self.SourceComboBox = QtWidgets.QComboBox(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.SourceComboBox.sizePolicy().hasHeightForWidth())
        self.SourceComboBox.setSizePolicy(sizePolicy)
        self.SourceComboBox.setMaximumSize(QtCore.QSize(16777215, 40))
        font = QtGui.QFont()
        font.setFamily("MS Reference Sans Serif")
        font.setPointSize(9)
        self.SourceComboBox.setFont(font)
        self.SourceComboBox.setEditable(False)
        self.SourceComboBox.setCurrentText("")
        self.SourceComboBox.setObjectName("SourceComboBox")
        self.verticalLayout.addWidget(self.SourceComboBox)
        self.verticalLayout_5.addLayout(self.verticalLayout)
        self.mGroupBox = QgsCollapsibleGroupBox(self.groupBox)
        self.mGroupBox.setCollapsed(False)
        self.mGroupBox.setObjectName("mGroupBox")
        self.verticalLayout_9 = QtWidgets.QVBoxLayout(self.mGroupBox)
        self.verticalLayout_9.setObjectName("verticalLayout_9")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.label_2 = QtWidgets.QLabel(self.mGroupBox)
        font = QtGui.QFont()
        font.setFamily("MS Reference Sans Serif")
        font.setPointSize(9)
        self.label_2.setFont(font)
        self.label_2.setObjectName("label_2")
        self.verticalLayout_2.addWidget(self.label_2)
        self.RefComboBox = QtWidgets.QComboBox(self.mGroupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.RefComboBox.sizePolicy().hasHeightForWidth())
        self.RefComboBox.setSizePolicy(sizePolicy)
        self.RefComboBox.setMaximumSize(QtCore.QSize(16777215, 40))
        font = QtGui.QFont()
        font.setFamily("MS Reference Sans Serif")
        font.setPointSize(9)
        self.RefComboBox.setFont(font)
        self.RefComboBox.setEditable(False)
        self.RefComboBox.setCurrentText("")
        self.RefComboBox.setObjectName("RefComboBox")
        self.verticalLayout_2.addWidget(self.RefComboBox)
        self.verticalLayout_9.addLayout(self.verticalLayout_2)
        self.verticalLayout_5.addWidget(self.mGroupBox)
        self.verticalLayout_3 = QtWidgets.QVBoxLayout()
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.label_3 = QtWidgets.QLabel(self.groupBox)
        font = QtGui.QFont()
        font.setFamily("MS Reference Sans Serif")
        font.setPointSize(9)
        self.label_3.setFont(font)
        self.label_3.setObjectName("label_3")
        self.verticalLayout_3.addWidget(self.label_3)
        self.YearComboBox = QtWidgets.QComboBox(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.YearComboBox.sizePolicy().hasHeightForWidth())
        self.YearComboBox.setSizePolicy(sizePolicy)
        self.YearComboBox.setMaximumSize(QtCore.QSize(16777215, 40))
        font = QtGui.QFont()
        font.setFamily("MS Reference Sans Serif")
        font.setPointSize(9)
        self.YearComboBox.setFont(font)
        self.YearComboBox.setObjectName("YearComboBox")
        self.verticalLayout_3.addWidget(self.YearComboBox)
        self.verticalLayout_5.addLayout(self.verticalLayout_3)
        self.verticalLayout_4 = QtWidgets.QVBoxLayout()
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.label_4 = QtWidgets.QLabel(self.groupBox)
        font = QtGui.QFont()
        font.setFamily("MS Reference Sans Serif")
        font.setPointSize(9)
        self.label_4.setFont(font)
        self.label_4.setObjectName("label_4")
        self.verticalLayout_4.addWidget(self.label_4)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.OutputLineEdit = QtWidgets.QLineEdit(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.OutputLineEdit.sizePolicy().hasHeightForWidth())
        self.OutputLineEdit.setSizePolicy(sizePolicy)
        self.OutputLineEdit.setMaximumSize(QtCore.QSize(16777215, 40))
        self.OutputLineEdit.setObjectName("OutputLineEdit")
        self.horizontalLayout_2.addWidget(self.OutputLineEdit)
        self.OutputPushButton = QtWidgets.QPushButton(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.OutputPushButton.sizePolicy().hasHeightForWidth())
        self.OutputPushButton.setSizePolicy(sizePolicy)
        self.OutputPushButton.setMaximumSize(QtCore.QSize(40, 40))
        self.OutputPushButton.setObjectName("OutputPushButton")
        self.horizontalLayout_2.addWidget(self.OutputPushButton)
        self.verticalLayout_4.addLayout(self.horizontalLayout_2)
        self.verticalLayout_5.addLayout(self.verticalLayout_4)
        self.progressBar = QtWidgets.QProgressBar(self.groupBox)
        self.progressBar.setProperty("value", 0)
        self.progressBar.setObjectName("progressBar")
        self.verticalLayout_5.addWidget(self.progressBar)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label_5 = QtWidgets.QLabel(self.groupBox)
        self.label_5.setMaximumSize(QtCore.QSize(70, 40))
        font = QtGui.QFont()
        font.setFamily("MS Reference Sans Serif")
        font.setPointSize(10)
        self.label_5.setFont(font)
        self.label_5.setObjectName("label_5")
        self.horizontalLayout.addWidget(self.label_5)
        self.CacheCheckBox = QtWidgets.QCheckBox(self.groupBox)
        font = QtGui.QFont()
        font.setFamily("MS Reference Sans Serif")
        font.setPointSize(10)
        self.CacheCheckBox.setFont(font)
        self.CacheCheckBox.setText("")
        self.CacheCheckBox.setObjectName("CacheCheckBox")
        self.horizontalLayout.addWidget(self.CacheCheckBox)
        self.SubmitPushButton = QtWidgets.QPushButton(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.SubmitPushButton.sizePolicy().hasHeightForWidth())
        self.SubmitPushButton.setSizePolicy(sizePolicy)
        self.SubmitPushButton.setMaximumSize(QtCore.QSize(100, 40))
        font = QtGui.QFont()
        font.setFamily("MS Reference Sans Serif")
        font.setPointSize(10)
        self.SubmitPushButton.setFont(font)
        self.SubmitPushButton.setObjectName("SubmitPushButton")
        self.horizontalLayout.addWidget(self.SubmitPushButton)
        self.verticalLayout_5.addLayout(self.horizontalLayout)
        self.verticalLayout_10.addWidget(self.groupBox)

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

    def retranslateUi(self, DlgCarbonStock):
        _translate = QtCore.QCoreApplication.translate
        DlgCarbonStock.setWindowTitle(_translate("DlgCarbonStock", "Carbon Stock"))
        self.groupBox.setTitle(_translate("DlgCarbonStock", "Carbon Stock"))
        self.label_6.setText(_translate("DlgCarbonStock", "Country"))
        self.label_7.setText(_translate("DlgCarbonStock", "Region"))
        self.label_8.setText(_translate("DlgCarbonStock", "Sub-Region"))
        self.CustomGroupBox.setTitle(_translate("DlgCarbonStock", "Custom Area"))
        self.CustomPushButton.setText(_translate("DlgCarbonStock", "..."))
        self.label.setText(_translate("DlgCarbonStock", "Select Data Source"))
        self.mGroupBox.setTitle(_translate("DlgCarbonStock", "Advanced Parameters"))
        self.label_2.setText(_translate("DlgCarbonStock", "SOC Reference"))
        self.label_3.setText(_translate("DlgCarbonStock", "Reporting Year"))
        self.label_4.setText(_translate("DlgCarbonStock", "Output File Directory"))
        self.OutputPushButton.setText(_translate("DlgCarbonStock", "..."))
        self.label_5.setText(_translate("DlgCarbonStock", "Cache"))
        self.SubmitPushButton.setText(_translate("DlgCarbonStock", "Submit"))
from qgscollapsiblegroupbox import QgsCollapsibleGroupBox


if __name__ == "__main__":
    import sys
    app = QtWidgets.QApplication(sys.argv)
    DlgCarbonStock = QtWidgets.QDialog()
    ui = Ui_DlgCarbonStock()
    ui.setupUi(DlgCarbonStock)
    DlgCarbonStock.show()
    sys.exit(app.exec_())
