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

# Form implementation generated from reading ui file 'LDMP/gui\DlgSettingsRegister.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_DlgSettingsRegister(object):
    def setupUi(self, DlgSettingsRegister):
        DlgSettingsRegister.setObjectName(_fromUtf8("DlgSettingsRegister"))
        DlgSettingsRegister.resize(399, 261)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(DlgSettingsRegister.sizePolicy().hasHeightForWidth())
        DlgSettingsRegister.setSizePolicy(sizePolicy)
        self.gridLayout = QtGui.QGridLayout(DlgSettingsRegister)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.buttonBox = QtGui.QDialogButtonBox(DlgSettingsRegister)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 8, 0, 1, 1)
        self.label_2 = QtGui.QLabel(DlgSettingsRegister)
        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)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 0, 0, 1, 1)
        self.email = QtGui.QLineEdit(DlgSettingsRegister)
        self.email.setMinimumSize(QtCore.QSize(0, 30))
        self.email.setInputMethodHints(QtCore.Qt.ImhEmailCharactersOnly)
        self.email.setObjectName(_fromUtf8("email"))
        self.gridLayout.addWidget(self.email, 1, 0, 1, 1)
        self.label_5 = QtGui.QLabel(DlgSettingsRegister)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_5.sizePolicy().hasHeightForWidth())
        self.label_5.setSizePolicy(sizePolicy)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout.addWidget(self.label_5, 2, 0, 1, 1)
        self.name = QtGui.QLineEdit(DlgSettingsRegister)
        self.name.setMinimumSize(QtCore.QSize(0, 30))
        self.name.setInputMethodHints(QtCore.Qt.ImhNoAutoUppercase)
        self.name.setObjectName(_fromUtf8("name"))
        self.gridLayout.addWidget(self.name, 3, 0, 1, 1)
        self.country = QtGui.QComboBox(DlgSettingsRegister)
        self.country.setMinimumSize(QtCore.QSize(0, 30))
        self.country.setObjectName(_fromUtf8("country"))
        self.gridLayout.addWidget(self.country, 7, 0, 1, 1)
        self.organization = QtGui.QLineEdit(DlgSettingsRegister)
        self.organization.setMinimumSize(QtCore.QSize(0, 30))
        self.organization.setInputMethodHints(QtCore.Qt.ImhNone)
        self.organization.setEchoMode(QtGui.QLineEdit.Normal)
        self.organization.setObjectName(_fromUtf8("organization"))
        self.gridLayout.addWidget(self.organization, 5, 0, 1, 1)
        self.label_4 = QtGui.QLabel(DlgSettingsRegister)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_4.sizePolicy().hasHeightForWidth())
        self.label_4.setSizePolicy(sizePolicy)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout.addWidget(self.label_4, 6, 0, 1, 1)
        self.label_3 = QtGui.QLabel(DlgSettingsRegister)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_3.sizePolicy().hasHeightForWidth())
        self.label_3.setSizePolicy(sizePolicy)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 4, 0, 1, 1)

        self.retranslateUi(DlgSettingsRegister)
        QtCore.QMetaObject.connectSlotsByName(DlgSettingsRegister)
        DlgSettingsRegister.setTabOrder(self.email, self.name)
        DlgSettingsRegister.setTabOrder(self.name, self.organization)
        DlgSettingsRegister.setTabOrder(self.organization, self.country)

    def retranslateUi(self, DlgSettingsRegister):
        DlgSettingsRegister.setWindowTitle(_translate("DlgSettingsRegister", "Register new user", None))
        self.label_2.setText(_translate("DlgSettingsRegister", "Email:", None))
        self.label_5.setText(_translate("DlgSettingsRegister", "Name:", None))
        self.label_4.setText(_translate("DlgSettingsRegister", "Country:", None))
        self.label_3.setText(_translate("DlgSettingsRegister", "Organization:", None))


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

