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

# Form implementation generated from reading ui file 'connexion.ui'
#
# Created: Sat Mar 29 14:45:54 2014
#      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_ecranConnexion(object):
    def setupUi(self, ecranConnexion):
        ecranConnexion.setObjectName(_fromUtf8("ecranConnexion"))
        ecranConnexion.resize(409, 215)
        self.creerServeur = QtGui.QPushButton(ecranConnexion)
        self.creerServeur.setGeometry(QtCore.QRect(240, 40, 141, 31))
        self.creerServeur.setAutoDefault(False)
        self.creerServeur.setObjectName(_fromUtf8("creerServeur"))
        self.seConnecter = QtGui.QPushButton(ecranConnexion)
        self.seConnecter.setGeometry(QtCore.QRect(240, 80, 141, 31))
        self.seConnecter.setObjectName(_fromUtf8("seConnecter"))
        self.in_ip = QtGui.QLineEdit(ecranConnexion)
        self.in_ip.setGeometry(QtCore.QRect(20, 90, 151, 20))
        self.in_ip.setText(_fromUtf8(""))
        self.in_ip.setMaxLength(15)
        self.in_ip.setObjectName(_fromUtf8("in_ip"))
        self.in_port = QtGui.QLineEdit(ecranConnexion)
        self.in_port.setGeometry(QtCore.QRect(20, 140, 151, 20))
        self.in_port.setMaxLength(5)
        self.in_port.setObjectName(_fromUtf8("in_port"))
        self.fermer = QtGui.QPushButton(ecranConnexion)
        self.fermer.setGeometry(QtCore.QRect(240, 140, 141, 21))
        self.fermer.setObjectName(_fromUtf8("fermer"))
        self.in_pseudo = QtGui.QLineEdit(ecranConnexion)
        self.in_pseudo.setGeometry(QtCore.QRect(20, 40, 151, 20))
        self.in_pseudo.setText(_fromUtf8(""))
        self.in_pseudo.setMaxLength(15)
        self.in_pseudo.setObjectName(_fromUtf8("in_pseudo"))
        self.label_ip = QtGui.QLabel(ecranConnexion)
        self.label_ip.setGeometry(QtCore.QRect(20, 70, 111, 16))
        self.label_ip.setObjectName(_fromUtf8("label_ip"))
        self.label_port = QtGui.QLabel(ecranConnexion)
        self.label_port.setGeometry(QtCore.QRect(20, 120, 111, 16))
        self.label_port.setObjectName(_fromUtf8("label_port"))
        self.label_pseudo = QtGui.QLabel(ecranConnexion)
        self.label_pseudo.setGeometry(QtCore.QRect(20, 20, 111, 16))
        self.label_pseudo.setObjectName(_fromUtf8("label_pseudo"))
        self.txt_msg = QtGui.QLabel(ecranConnexion)
        self.txt_msg.setGeometry(QtCore.QRect(20, 180, 361, 20))
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Arial Rounded MT Bold"))
        self.txt_msg.setFont(font)
        self.txt_msg.setText(_fromUtf8(""))
        self.txt_msg.setAlignment(QtCore.Qt.AlignCenter)
        self.txt_msg.setObjectName(_fromUtf8("txt_msg"))

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

    def retranslateUi(self, ecranConnexion):
        ecranConnexion.setWindowTitle(_translate("ecranConnexion", "D-Monde", None))
        ecranConnexion.setTitle(_translate("ecranConnexion", "Ecran de connexion", None))
        self.creerServeur.setText(_translate("ecranConnexion", "Créer un serveur", None))
        self.seConnecter.setText(_translate("ecranConnexion", "Se connecter", None))
        self.in_port.setText(_translate("ecranConnexion", "6660", None))
        self.fermer.setText(_translate("ecranConnexion", "Fermer", None))
        self.label_ip.setText(_translate("ecranConnexion", "Adresse ip du serveur :", None))
        self.label_port.setText(_translate("ecranConnexion", "Port :", None))
        self.label_pseudo.setText(_translate("ecranConnexion", "Votre pseudo :", None))


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    ecranConnexion = QtGui.QGroupBox()
    ui = Ui_ecranConnexion()
    ui.setupUi(ecranConnexion)
    ecranConnexion.show()
    sys.exit(app.exec_())

