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

# Form implementation generated from reading ui file 'creationPlateau.ui'
#
# Created: Wed Aug 27 16:54:07 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_creationPlateau(object):
    def setupUi(self, creationPlateau):
        creationPlateau.setObjectName(_fromUtf8("creationPlateau"))
        creationPlateau.resize(592, 334)
        creationPlateau.setToolTip(_fromUtf8(""))
        self.creerPlateau = QtGui.QPushButton(creationPlateau)
        self.creerPlateau.setEnabled(False)
        self.creerPlateau.setGeometry(QtCore.QRect(70, 260, 141, 41))
        self.creerPlateau.setObjectName(_fromUtf8("creerPlateau"))
        self.chargerPlateau = QtGui.QPushButton(creationPlateau)
        self.chargerPlateau.setEnabled(False)
        self.chargerPlateau.setGeometry(QtCore.QRect(370, 260, 141, 41))
        self.chargerPlateau.setObjectName(_fromUtf8("chargerPlateau"))
        self.listPlateau = QtGui.QTableWidget(creationPlateau)
        self.listPlateau.setGeometry(QtCore.QRect(300, 20, 271, 221))
        self.listPlateau.setObjectName(_fromUtf8("listPlateau"))
        self.listPlateau.setColumnCount(4)
        self.listPlateau.setRowCount(0)
        item = QtGui.QTableWidgetItem()
        self.listPlateau.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.listPlateau.setHorizontalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        self.listPlateau.setHorizontalHeaderItem(2, item)
        item = QtGui.QTableWidgetItem()
        self.listPlateau.setHorizontalHeaderItem(3, item)
        self.groupBox = QtGui.QGroupBox(creationPlateau)
        self.groupBox.setGeometry(QtCore.QRect(30, 80, 241, 51))
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.formeCase_hexagone = QtGui.QRadioButton(self.groupBox)
        self.formeCase_hexagone.setGeometry(QtCore.QRect(10, 20, 82, 17))
        self.formeCase_hexagone.setChecked(True)
        self.formeCase_hexagone.setObjectName(_fromUtf8("formeCase_hexagone"))
        self.formeCase_carres = QtGui.QRadioButton(self.groupBox)
        self.formeCase_carres.setGeometry(QtCore.QRect(130, 20, 82, 17))
        self.formeCase_carres.setObjectName(_fromUtf8("formeCase_carres"))
        self.largeurPlateau = QtGui.QSpinBox(creationPlateau)
        self.largeurPlateau.setGeometry(QtCore.QRect(90, 140, 51, 22))
        self.largeurPlateau.setMinimum(5)
        self.largeurPlateau.setMaximum(300)
        self.largeurPlateau.setSingleStep(1)
        self.largeurPlateau.setProperty("value", 50)
        self.largeurPlateau.setObjectName(_fromUtf8("largeurPlateau"))
        self.hauteurPlateau = QtGui.QSpinBox(creationPlateau)
        self.hauteurPlateau.setGeometry(QtCore.QRect(220, 140, 51, 22))
        self.hauteurPlateau.setMinimum(5)
        self.hauteurPlateau.setMaximum(300)
        self.hauteurPlateau.setSingleStep(1)
        self.hauteurPlateau.setProperty("value", 50)
        self.hauteurPlateau.setObjectName(_fromUtf8("hauteurPlateau"))
        self.label = QtGui.QLabel(creationPlateau)
        self.label.setGeometry(QtCore.QRect(30, 140, 46, 21))
        self.label.setObjectName(_fromUtf8("label"))
        self.label_2 = QtGui.QLabel(creationPlateau)
        self.label_2.setGeometry(QtCore.QRect(160, 140, 46, 21))
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.nomPlateau = QtGui.QLineEdit(creationPlateau)
        self.nomPlateau.setGeometry(QtCore.QRect(82, 50, 191, 20))
        self.nomPlateau.setObjectName(_fromUtf8("nomPlateau"))
        self.label_3 = QtGui.QLabel(creationPlateau)
        self.label_3.setGeometry(QtCore.QRect(30, 50, 46, 21))
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.couleurCasesPlateau = QtGui.QLabel(creationPlateau)
        self.couleurCasesPlateau.setGeometry(QtCore.QRect(170, 180, 31, 21))
        self.couleurCasesPlateau.setFrameShape(QtGui.QFrame.Box)
        self.couleurCasesPlateau.setFrameShadow(QtGui.QFrame.Sunken)
        self.couleurCasesPlateau.setText(_fromUtf8(""))
        self.couleurCasesPlateau.setObjectName(_fromUtf8("couleurCasesPlateau"))
        self.label_5 = QtGui.QLabel(creationPlateau)
        self.label_5.setGeometry(QtCore.QRect(30, 180, 141, 21))
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.label_4 = QtGui.QLabel(creationPlateau)
        self.label_4.setGeometry(QtCore.QRect(80, 20, 181, 21))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_4.setFont(font)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.selectionCouleur = QtGui.QPushButton(creationPlateau)
        self.selectionCouleur.setGeometry(QtCore.QRect(210, 180, 61, 21))
        self.selectionCouleur.setObjectName(_fromUtf8("selectionCouleur"))

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

    def retranslateUi(self, creationPlateau):
        creationPlateau.setWindowTitle(_translate("creationPlateau", "Création/Chargement d\'un plateau de combat", None))
        self.creerPlateau.setText(_translate("creationPlateau", "Creer un nouveau plateau", None))
        self.chargerPlateau.setText(_translate("creationPlateau", "Charger ce plateau", None))
        item = self.listPlateau.horizontalHeaderItem(0)
        item.setText(_translate("creationPlateau", "Nom", None))
        item = self.listPlateau.horizontalHeaderItem(1)
        item.setText(_translate("creationPlateau", "DerniereSvg", None))
        item = self.listPlateau.horizontalHeaderItem(2)
        item.setText(_translate("creationPlateau", "Public", None))
        item = self.listPlateau.horizontalHeaderItem(3)
        item.setText(_translate("creationPlateau", "EnCours", None))
        self.groupBox.setTitle(_translate("creationPlateau", "Forme des cases", None))
        self.formeCase_hexagone.setText(_translate("creationPlateau", "Hexagones", None))
        self.formeCase_carres.setText(_translate("creationPlateau", "Carrés", None))
        self.label.setText(_translate("creationPlateau", "Largeur", None))
        self.label_2.setText(_translate("creationPlateau", "Hauteur", None))
        self.label_3.setText(_translate("creationPlateau", "Nom : ", None))
        self.label_5.setText(_translate("creationPlateau", "Couleur initiale des cases : ", None))
        self.label_4.setText(_translate("creationPlateau", "Créer un nouveau plateau", None))
        self.selectionCouleur.setText(_translate("creationPlateau", "Modifier", None))


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

