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

# Form implementation generated from reading ui file 'editionTerrain.ui'
#
# Created: Thu May 21 09:45:14 2015
#      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_et_fenetre(object):
    def setupUi(self, et_fenetre):
        et_fenetre.setObjectName(_fromUtf8("et_fenetre"))
        et_fenetre.resize(395, 252)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8("img/paysage.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        et_fenetre.setWindowIcon(icon)
        self.et_apercu = QtGui.QLabel(et_fenetre)
        self.et_apercu.setGeometry(QtCore.QRect(20, 10, 71, 71))
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Verdana"))
        font.setPointSize(7)
        self.et_apercu.setFont(font)
        self.et_apercu.setFrameShape(QtGui.QFrame.Box)
        self.et_apercu.setFrameShadow(QtGui.QFrame.Sunken)
        self.et_apercu.setAlignment(QtCore.Qt.AlignCenter)
        self.et_apercu.setObjectName(_fromUtf8("et_apercu"))
        self.et_supprimer = QtGui.QPushButton(et_fenetre)
        self.et_supprimer.setEnabled(False)
        self.et_supprimer.setGeometry(QtCore.QRect(20, 200, 75, 31))
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Verdana"))
        self.et_supprimer.setFont(font)
        self.et_supprimer.setObjectName(_fromUtf8("et_supprimer"))
        self.et_enregistrer = QtGui.QPushButton(et_fenetre)
        self.et_enregistrer.setEnabled(False)
        self.et_enregistrer.setGeometry(QtCore.QRect(280, 200, 91, 31))
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Verdana"))
        font.setBold(True)
        font.setWeight(75)
        self.et_enregistrer.setFont(font)
        self.et_enregistrer.setObjectName(_fromUtf8("et_enregistrer"))
        self.et_annuler = QtGui.QPushButton(et_fenetre)
        self.et_annuler.setGeometry(QtCore.QRect(190, 200, 81, 31))
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Verdana"))
        self.et_annuler.setFont(font)
        self.et_annuler.setObjectName(_fromUtf8("et_annuler"))
        self.et_selectionCouleur = QtGui.QPushButton(et_fenetre)
        self.et_selectionCouleur.setGeometry(QtCore.QRect(20, 80, 31, 31))
        self.et_selectionCouleur.setText(_fromUtf8(""))
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(_fromUtf8("img/btnCouleurs.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.et_selectionCouleur.setIcon(icon1)
        self.et_selectionCouleur.setObjectName(_fromUtf8("et_selectionCouleur"))
        self.label_4 = QtGui.QLabel(et_fenetre)
        self.label_4.setGeometry(QtCore.QRect(100, 5, 131, 21))
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Verdana"))
        font.setPointSize(8)
        self.label_4.setFont(font)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.et_nom = QtGui.QLineEdit(et_fenetre)
        self.et_nom.setGeometry(QtCore.QRect(100, 30, 271, 31))
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(248, 248, 248))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(248, 248, 248))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
        self.et_nom.setPalette(palette)
        self.et_nom.setObjectName(_fromUtf8("et_nom"))
        self.et_selectionFichier = QtGui.QToolButton(et_fenetre)
        self.et_selectionFichier.setGeometry(QtCore.QRect(60, 80, 31, 31))
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(_fromUtf8("img/loupe.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.et_selectionFichier.setIcon(icon2)
        self.et_selectionFichier.setObjectName(_fromUtf8("et_selectionFichier"))
        self.et_tags = QtGui.QLineEdit(et_fenetre)
        self.et_tags.setGeometry(QtCore.QRect(170, 70, 201, 21))
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(248, 248, 248))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(248, 248, 248))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
        self.et_tags.setPalette(palette)
        self.et_tags.setObjectName(_fromUtf8("et_tags"))
        self.label = QtGui.QLabel(et_fenetre)
        self.label.setGeometry(QtCore.QRect(110, 70, 51, 21))
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Verdana"))
        self.label.setFont(font)
        self.label.setObjectName(_fromUtf8("label"))
        self.et_groupeDep = QtGui.QGroupBox(et_fenetre)
        self.et_groupeDep.setGeometry(QtCore.QRect(20, 120, 351, 61))
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Verdana"))
        self.et_groupeDep.setFont(font)
        self.et_groupeDep.setObjectName(_fromUtf8("et_groupeDep"))
        self.et_depMarche = QtGui.QRadioButton(self.et_groupeDep)
        self.et_depMarche.setGeometry(QtCore.QRect(50, 20, 51, 31))
        self.et_depMarche.setText(_fromUtf8(""))
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(_fromUtf8("img/btnZonePlacement.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.et_depMarche.setIcon(icon3)
        self.et_depMarche.setIconSize(QtCore.QSize(19, 19))
        self.et_depMarche.setChecked(True)
        self.et_depMarche.setObjectName(_fromUtf8("et_depMarche"))
        self.et_depNage = QtGui.QRadioButton(self.et_groupeDep)
        self.et_depNage.setGeometry(QtCore.QRect(160, 20, 71, 31))
        self.et_depNage.setText(_fromUtf8(""))
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap(_fromUtf8("img/nage.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.et_depNage.setIcon(icon4)
        self.et_depNage.setIconSize(QtCore.QSize(19, 19))
        self.et_depNage.setObjectName(_fromUtf8("et_depNage"))
        self.et_depAucun = QtGui.QRadioButton(self.et_groupeDep)
        self.et_depAucun.setGeometry(QtCore.QRect(270, 20, 61, 31))
        self.et_depAucun.setText(_fromUtf8(""))
        icon5 = QtGui.QIcon()
        icon5.addPixmap(QtGui.QPixmap(_fromUtf8("img/interdit.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.et_depAucun.setIcon(icon5)
        self.et_depAucun.setIconSize(QtCore.QSize(19, 19))
        self.et_depAucun.setObjectName(_fromUtf8("et_depAucun"))

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

    def retranslateUi(self, et_fenetre):
        et_fenetre.setWindowTitle(_translate("et_fenetre", "Créer / Editer un terrain", None))
        self.et_apercu.setText(_translate("et_fenetre", "Choisissez \n"
"une couleur\n"
"et/ou un \n"
"fichier\n"
"texture", None))
        self.et_supprimer.setText(_translate("et_fenetre", "Supprimer", None))
        self.et_enregistrer.setText(_translate("et_fenetre", "Enregistrer", None))
        self.et_annuler.setText(_translate("et_fenetre", "Annuler", None))
        self.label_4.setText(_translate("et_fenetre", "Nom du terrain : ", None))
        self.et_selectionFichier.setText(_translate("et_fenetre", "...", None))
        self.label.setText(_translate("et_fenetre", "Tags : ", None))
        self.et_groupeDep.setTitle(_translate("et_fenetre", "Déplacement", None))


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

