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

# Form implementation generated from reading ui file 'LDMP/gui\DlgSettingsLogin.ui'
#
# Created: Sat Apr 07 22:23:42 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_DlgSettingsLogin(object):
    def setupUi(self, DlgSettingsLogin):
        DlgSettingsLogin.setObjectName(_fromUtf8("DlgSettingsLogin"))
        DlgSettingsLogin.resize(346, 151)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(DlgSettingsLogin.sizePolicy().hasHeightForWidth())
        DlgSettingsLogin.setSizePolicy(sizePolicy)
        self.verticalLayout = QtGui.QVBoxLayout(DlgSettingsLogin)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.label_2 = QtGui.QLabel(DlgSettingsLogin)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth())
        self.label_2.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_2.setFont(font)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.verticalLayout.addWidget(self.label_2)
        self.email = QtGui.QLineEdit(DlgSettingsLogin)
        self.email.setMinimumSize(QtCore.QSize(0, 30))
        self.email.setInputMethodHints(QtCore.Qt.ImhEmailCharactersOnly)
        self.email.setObjectName(_fromUtf8("email"))
        self.verticalLayout.addWidget(self.email)
        self.label = QtGui.QLabel(DlgSettingsLogin)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label.setFont(font)
        self.label.setObjectName(_fromUtf8("label"))
        self.verticalLayout.addWidget(self.label)
        self.password = QtGui.QLineEdit(DlgSettingsLogin)
        self.password.setMinimumSize(QtCore.QSize(0, 30))
        self.password.setEchoMode(QtGui.QLineEdit.Password)
        self.password.setObjectName(_fromUtf8("password"))
        self.verticalLayout.addWidget(self.password)
        self.buttonBox = QtGui.QDialogButtonBox(DlgSettingsLogin)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout.addWidget(self.buttonBox)

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

    def retranslateUi(self, DlgSettingsLogin):
        DlgSettingsLogin.setWindowTitle(_translate("DlgSettingsLogin", "Login to Trends.Earth", None))
        self.label_2.setText(_translate("DlgSettingsLogin", "Email:", None))
        self.label.setText(_translate("DlgSettingsLogin", "Password:", None))


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

