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

# Form implementation generated from reading ui file 'LDMP/gui\DlgSettingsRegister.ui'
#
# Created by: PyQt4 UI code generator 4.11.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(344, 399)
        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.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, 35))
        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, 35))
        self.name.setInputMethodHints(QtCore.Qt.ImhNoAutoUppercase)
        self.name.setObjectName(_fromUtf8("name"))
        self.gridLayout.addWidget(self.name, 3, 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.organization = QtGui.QLineEdit(DlgSettingsRegister)
        self.organization.setMinimumSize(QtCore.QSize(0, 35))
        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.country = QtGui.QComboBox(DlgSettingsRegister)
        self.country.setMinimumSize(QtCore.QSize(0, 35))
        self.country.setObjectName(_fromUtf8("country"))
        self.gridLayout.addWidget(self.country, 7, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 20, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        self.gridLayout.addItem(spacerItem, 8, 0, 1, 1)
        self.save = QtGui.QPushButton(DlgSettingsRegister)
        self.save.setMinimumSize(QtCore.QSize(0, 35))
        self.save.setObjectName(_fromUtf8("save"))
        self.gridLayout.addWidget(self.save, 9, 0, 1, 1)
        self.cancel = QtGui.QPushButton(DlgSettingsRegister)
        self.cancel.setMinimumSize(QtCore.QSize(0, 35))
        self.cancel.setObjectName(_fromUtf8("cancel"))
        self.gridLayout.addWidget(self.cancel, 10, 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)
        DlgSettingsRegister.setTabOrder(self.country, self.save)
        DlgSettingsRegister.setTabOrder(self.save, self.cancel)

    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_3.setText(_translate("DlgSettingsRegister", "Organization:", None))
        self.label_4.setText(_translate("DlgSettingsRegister", "Country:", None))
        self.save.setText(_translate("DlgSettingsRegister", "Register user", None))
        self.cancel.setText(_translate("DlgSettingsRegister", "Cancel", None))

