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

# Form implementation generated from reading ui file 'editionTerrain.ui'
#
# Created: Wed Aug 27 15:23: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_editionTerrain(object):
    def setupUi(self, editionTerrain):
        editionTerrain.setObjectName(_fromUtf8("editionTerrain"))
        editionTerrain.resize(400, 262)
        self.label_2 = QtGui.QLabel(editionTerrain)
        self.label_2.setGeometry(QtCore.QRect(150, 110, 71, 21))
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.annulerTerrain = QtGui.QPushButton(editionTerrain)
        self.annulerTerrain.setGeometry(QtCore.QRect(290, 230, 81, 23))
        self.annulerTerrain.setObjectName(_fromUtf8("annulerTerrain"))
        self.label_5 = QtGui.QLabel(editionTerrain)
        self.label_5.setGeometry(QtCore.QRect(170, 70, 191, 21))
        font = QtGui.QFont()
        font.setItalic(True)
        self.label_5.setFont(font)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.visibiliteTerrain = QtGui.QCheckBox(editionTerrain)
        self.visibiliteTerrain.setGeometry(QtCore.QRect(20, 170, 70, 17))
        self.visibiliteTerrain.setChecked(True)
        self.visibiliteTerrain.setObjectName(_fromUtf8("visibiliteTerrain"))
        self.supprimerTerrain = QtGui.QPushButton(editionTerrain)
        self.supprimerTerrain.setEnabled(False)
        self.supprimerTerrain.setGeometry(QtCore.QRect(210, 230, 75, 23))
        self.supprimerTerrain.setObjectName(_fromUtf8("supprimerTerrain"))
        self.label = QtGui.QLabel(editionTerrain)
        self.label.setGeometry(QtCore.QRect(20, 110, 141, 20))
        self.label.setObjectName(_fromUtf8("label"))
        self.modDeplacementTerrain = QtGui.QDoubleSpinBox(editionTerrain)
        self.modDeplacementTerrain.setGeometry(QtCore.QRect(170, 140, 62, 22))
        self.modDeplacementTerrain.setSingleStep(0.1)
        self.modDeplacementTerrain.setProperty("value", 1.0)
        self.modDeplacementTerrain.setObjectName(_fromUtf8("modDeplacementTerrain"))
        self.label_6 = QtGui.QLabel(editionTerrain)
        self.label_6.setGeometry(QtCore.QRect(20, 140, 151, 21))
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.label_4 = QtGui.QLabel(editionTerrain)
        self.label_4.setGeometry(QtCore.QRect(20, 40, 46, 16))
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.franchissableTerrain = QtGui.QCheckBox(editionTerrain)
        self.franchissableTerrain.setGeometry(QtCore.QRect(20, 190, 91, 17))
        self.franchissableTerrain.setChecked(True)
        self.franchissableTerrain.setTristate(False)
        self.franchissableTerrain.setObjectName(_fromUtf8("franchissableTerrain"))
        self.enregistrerTerrain = QtGui.QPushButton(editionTerrain)
        self.enregistrerTerrain.setEnabled(False)
        self.enregistrerTerrain.setGeometry(QtCore.QRect(20, 230, 81, 23))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.enregistrerTerrain.setFont(font)
        self.enregistrerTerrain.setObjectName(_fromUtf8("enregistrerTerrain"))
        self.couleurTerrain = QtGui.QPushButton(editionTerrain)
        self.couleurTerrain.setGeometry(QtCore.QRect(10, 70, 75, 23))
        self.couleurTerrain.setObjectName(_fromUtf8("couleurTerrain"))
        self.affichageCouleurTerrain = QtGui.QLabel(editionTerrain)
        self.affichageCouleurTerrain.setGeometry(QtCore.QRect(100, 70, 51, 21))
        self.affichageCouleurTerrain.setFrameShape(QtGui.QFrame.Box)
        self.affichageCouleurTerrain.setFrameShadow(QtGui.QFrame.Sunken)
        self.affichageCouleurTerrain.setText(_fromUtf8(""))
        self.affichageCouleurTerrain.setObjectName(_fromUtf8("affichageCouleurTerrain"))
        self.nomTerrain = QtGui.QLineEdit(editionTerrain)
        self.nomTerrain.setGeometry(QtCore.QRect(90, 40, 113, 20))
        self.nomTerrain.setObjectName(_fromUtf8("nomTerrain"))
        self.imgTextureTerrain = QtGui.QLineEdit(editionTerrain)
        self.imgTextureTerrain.setGeometry(QtCore.QRect(200, 110, 161, 20))
        self.imgTextureTerrain.setObjectName(_fromUtf8("imgTextureTerrain"))
        self.idTerrain = QtGui.QLineEdit(editionTerrain)
        self.idTerrain.setEnabled(False)
        self.idTerrain.setGeometry(QtCore.QRect(90, 10, 113, 20))
        self.idTerrain.setObjectName(_fromUtf8("idTerrain"))
        self.label_3 = QtGui.QLabel(editionTerrain)
        self.label_3.setGeometry(QtCore.QRect(20, 10, 46, 16))
        self.label_3.setObjectName(_fromUtf8("label_3"))

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

    def retranslateUi(self, editionTerrain):
        editionTerrain.setWindowTitle(_translate("editionTerrain", "Création/Edition de terrain", None))
        self.label_2.setText(_translate("editionTerrain", "...img\\", None))
        self.annulerTerrain.setText(_translate("editionTerrain", "Annuler", None))
        self.label_5.setText(_translate("editionTerrain", "(Couleur du terrain si pas de texture)", None))
        self.visibiliteTerrain.setText(_translate("editionTerrain", "Visibilité", None))
        self.supprimerTerrain.setText(_translate("editionTerrain", "Supprimer", None))
        self.label.setText(_translate("editionTerrain", "Texture (.png, .jpg)", None))
        self.modDeplacementTerrain.setPrefix(_translate("editionTerrain", "x", None))
        self.label_6.setText(_translate("editionTerrain", "Coût de déplacement : ", None))
        self.label_4.setText(_translate("editionTerrain", "Nom : ", None))
        self.franchissableTerrain.setText(_translate("editionTerrain", "Franchissable", None))
        self.enregistrerTerrain.setText(_translate("editionTerrain", "Enregistrer", None))
        self.couleurTerrain.setText(_translate("editionTerrain", "Couleur", None))
        self.label_3.setText(_translate("editionTerrain", "Id : ", None))


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    editionTerrain = QtGui.QWidget()
    ui = Ui_editionTerrain()
    ui.setupUi(editionTerrain)
    editionTerrain.show()
    sys.exit(app.exec_())

