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

# Form implementation generated from reading ui file 'LDMP/gui\DlgSettings.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_DlgSettings(object):
    def setupUi(self, DlgSettings):
        DlgSettings.setObjectName("DlgSettings")
        DlgSettings.setWindowModality(QtCore.Qt.ApplicationModal)
        DlgSettings.resize(616, 649)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(DlgSettings.sizePolicy().hasHeightForWidth())
        DlgSettings.setSizePolicy(sizePolicy)
        DlgSettings.setMinimumSize(QtCore.QSize(500, 0))
        self.verticalLayout = QtWidgets.QVBoxLayout(DlgSettings)
        self.verticalLayout.setContentsMargins(-1, -1, 0, -1)
        self.verticalLayout.setObjectName("verticalLayout")
        self.scroll_area = QgsScrollArea(DlgSettings)
        self.scroll_area.setFrameShape(QtWidgets.QFrame.Box)
        self.scroll_area.setWidgetResizable(True)
        self.scroll_area.setObjectName("scroll_area")
        self.scroll_area_content = QtWidgets.QWidget()
        self.scroll_area_content.setGeometry(QtCore.QRect(0, 0, 603, 596))
        self.scroll_area_content.setObjectName("scroll_area_content")
        self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.scroll_area_content)
        self.verticalLayout_6.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.region_of_interest = QtWidgets.QFrame(self.scroll_area_content)
        self.region_of_interest.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.region_of_interest.setFrameShadow(QtWidgets.QFrame.Raised)
        self.region_of_interest.setObjectName("region_of_interest")
        self.verticalLayout_6.addWidget(self.region_of_interest)
        self.groupBox = QtWidgets.QGroupBox(self.scroll_area_content)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setMinimumSize(QtCore.QSize(0, 0))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.groupBox.setFont(font)
        self.groupBox.setObjectName("groupBox")
        self.verticalLayout1 = QtWidgets.QVBoxLayout(self.groupBox)
        self.verticalLayout1.setObjectName("verticalLayout1")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.pushButton_register = QtWidgets.QPushButton(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_register.sizePolicy().hasHeightForWidth())
        self.pushButton_register.setSizePolicy(sizePolicy)
        self.pushButton_register.setMinimumSize(QtCore.QSize(80, 30))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.pushButton_register.setFont(font)
        self.pushButton_register.setObjectName("pushButton_register")
        self.horizontalLayout.addWidget(self.pushButton_register)
        self.pushButton_login = QtWidgets.QPushButton(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_login.sizePolicy().hasHeightForWidth())
        self.pushButton_login.setSizePolicy(sizePolicy)
        self.pushButton_login.setMinimumSize(QtCore.QSize(0, 0))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.pushButton_login.setFont(font)
        self.pushButton_login.setObjectName("pushButton_login")
        self.horizontalLayout.addWidget(self.pushButton_login)
        self.verticalLayout1.addLayout(self.horizontalLayout)
        self.horizontalLayout1 = QtWidgets.QHBoxLayout()
        self.horizontalLayout1.setObjectName("horizontalLayout1")
        self.pushButton_update_profile = QtWidgets.QPushButton(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_update_profile.sizePolicy().hasHeightForWidth())
        self.pushButton_update_profile.setSizePolicy(sizePolicy)
        self.pushButton_update_profile.setMinimumSize(QtCore.QSize(120, 0))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.pushButton_update_profile.setFont(font)
        self.pushButton_update_profile.setObjectName("pushButton_update_profile")
        self.horizontalLayout1.addWidget(self.pushButton_update_profile)
        self.pushButton_forgot_pwd = QtWidgets.QPushButton(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_forgot_pwd.sizePolicy().hasHeightForWidth())
        self.pushButton_forgot_pwd.setSizePolicy(sizePolicy)
        self.pushButton_forgot_pwd.setMinimumSize(QtCore.QSize(120, 0))
        self.pushButton_forgot_pwd.setObjectName("pushButton_forgot_pwd")
        self.horizontalLayout1.addWidget(self.pushButton_forgot_pwd)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout1.addItem(spacerItem)
        self.pushButton_delete_user = QtWidgets.QPushButton(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_delete_user.sizePolicy().hasHeightForWidth())
        self.pushButton_delete_user.setSizePolicy(sizePolicy)
        self.pushButton_delete_user.setMinimumSize(QtCore.QSize(100, 0))
        self.pushButton_delete_user.setObjectName("pushButton_delete_user")
        self.horizontalLayout1.addWidget(self.pushButton_delete_user)
        self.verticalLayout1.addLayout(self.horizontalLayout1)
        self.verticalLayout_6.addWidget(self.groupBox)
        self.groupBox_advanced = QgsCollapsibleGroupBox(self.scroll_area_content)
        self.groupBox_advanced.setCollapsed(True)
        self.groupBox_advanced.setObjectName("groupBox_advanced")
        self.verticalLayout_advanced = QtWidgets.QVBoxLayout(self.groupBox_advanced)
        self.verticalLayout_advanced.setObjectName("verticalLayout_advanced")
        self.verticalLayout_6.addWidget(self.groupBox_advanced)
        spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_6.addItem(spacerItem1)
        self.scroll_area.setWidget(self.scroll_area_content)
        self.verticalLayout.addWidget(self.scroll_area)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setContentsMargins(-1, -1, 9, -1)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.buttonBox = QtWidgets.QDialogButtonBox(DlgSettings)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.buttonBox.sizePolicy().hasHeightForWidth())
        self.buttonBox.setSizePolicy(sizePolicy)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.horizontalLayout_3.addWidget(self.buttonBox)
        self.verticalLayout.addLayout(self.horizontalLayout_3)

        self.retranslateUi(DlgSettings)
        self.buttonBox.accepted.connect(DlgSettings.accept)
        QtCore.QMetaObject.connectSlotsByName(DlgSettings)

    def retranslateUi(self, DlgSettings):
        _translate = QtCore.QCoreApplication.translate
        DlgSettings.setWindowTitle(_translate("DlgSettings", "Settings"))
        self.groupBox.setTitle(_translate("DlgSettings", "Trends.Earth login information"))
        self.pushButton_register.setText(_translate("DlgSettings", "Register for Trends.Earth (step 1)"))
        self.pushButton_login.setText(_translate("DlgSettings", "Enter username and password (step 2)"))
        self.pushButton_update_profile.setText(_translate("DlgSettings", "Update profile"))
        self.pushButton_forgot_pwd.setText(_translate("DlgSettings", "Reset password"))
        self.pushButton_delete_user.setText(_translate("DlgSettings", "Delete user"))
        self.groupBox_advanced.setTitle(_translate("DlgSettings", "Advanced"))
from qgis.gui import QgsCollapsibleGroupBox, QgsScrollArea


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