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

# Form implementation generated from reading ui file 'LDMP/gui\DlgSettings.ui'
#
# Created: Sat Apr 07 22:23:41 2018
#      by: PyQt4 UI code generator 4.10.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)

class Ui_DlgSettings(object):
    def setupUi(self, DlgSettings):
        DlgSettings.setObjectName(_fromUtf8("DlgSettings"))
        DlgSettings.setWindowModality(QtCore.Qt.ApplicationModal)
        DlgSettings.resize(291, 360)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(DlgSettings.sizePolicy().hasHeightForWidth())
        DlgSettings.setSizePolicy(sizePolicy)
        self.verticalLayout_3 = QtGui.QVBoxLayout(DlgSettings)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.groupBox = QtGui.QGroupBox(DlgSettings)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.groupBox.setFont(font)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.label = QtGui.QLabel(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setMaximumSize(QtCore.QSize(16777215, 16777215))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label.setFont(font)
        self.label.setWordWrap(True)
        self.label.setObjectName(_fromUtf8("label"))
        self.verticalLayout.addWidget(self.label)
        self.pushButton_register = QtGui.QPushButton(self.groupBox)
        self.pushButton_register.setMinimumSize(QtCore.QSize(0, 30))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.pushButton_register.setFont(font)
        self.pushButton_register.setObjectName(_fromUtf8("pushButton_register"))
        self.verticalLayout.addWidget(self.pushButton_register)
        self.label_2 = QtGui.QLabel(self.groupBox)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_2.setFont(font)
        self.label_2.setWordWrap(True)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.verticalLayout.addWidget(self.label_2)
        self.pushButton_login = QtGui.QPushButton(self.groupBox)
        self.pushButton_login.setMinimumSize(QtCore.QSize(0, 30))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.pushButton_login.setFont(font)
        self.pushButton_login.setObjectName(_fromUtf8("pushButton_login"))
        self.verticalLayout.addWidget(self.pushButton_login)
        self.verticalLayout_3.addWidget(self.groupBox)
        spacerItem = QtGui.QSpacerItem(20, 0, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        self.verticalLayout_3.addItem(spacerItem)
        self.groupBox_2 = QtGui.QGroupBox(DlgSettings)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.groupBox_2.setFont(font)
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox_2)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.pushButton_edit = QtGui.QPushButton(self.groupBox_2)
        self.pushButton_edit.setMinimumSize(QtCore.QSize(0, 30))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.pushButton_edit.setFont(font)
        self.pushButton_edit.setObjectName(_fromUtf8("pushButton_edit"))
        self.verticalLayout_2.addWidget(self.pushButton_edit)
        self.pushButton_forgot_pwd = QtGui.QPushButton(self.groupBox_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        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(0, 30))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.pushButton_forgot_pwd.setFont(font)
        self.pushButton_forgot_pwd.setObjectName(_fromUtf8("pushButton_forgot_pwd"))
        self.verticalLayout_2.addWidget(self.pushButton_forgot_pwd)
        self.verticalLayout_3.addWidget(self.groupBox_2)
        self.buttonBox = QtGui.QDialogButtonBox(DlgSettings)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout_3.addWidget(self.buttonBox)

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

    def retranslateUi(self, DlgSettings):
        DlgSettings.setWindowTitle(_translate("DlgSettings", "Settings", None))
        self.groupBox.setTitle(_translate("DlgSettings", "New users", None))
        self.label.setText(_translate("DlgSettings", "Click the below button to register with Trends.Earth.", None))
        self.pushButton_register.setText(_translate("DlgSettings", "Step 1: Register", None))
        self.label_2.setText(_translate("DlgSettings", "After registering, you will receive an email with your password from api@trends.earth. Once you receive that email, click below to enter that password to login to Trends.Earth.", None))
        self.pushButton_login.setText(_translate("DlgSettings", "Step 2: Enter login", None))
        self.groupBox_2.setTitle(_translate("DlgSettings", "Existing users", None))
        self.pushButton_edit.setText(_translate("DlgSettings", "Update account", None))
        self.pushButton_forgot_pwd.setText(_translate("DlgSettings", "Reset password", None))


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

