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

# Form implementation generated from reading ui file 'CreerScrutin.ui'
#
# Created: Tue Sep 15 00:21:57 2009
#      by: PyQt4 UI code generator 4.4.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_mainDialog(object):
    def setupUi(self, mainDialog):
        mainDialog.setObjectName("mainDialog")
        mainDialog.resize(866, 834)
        self.verticalLayout_3 = QtGui.QVBoxLayout(mainDialog)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.intituleEdit = QtGui.QLineEdit(mainDialog)
        self.intituleEdit.setObjectName("intituleEdit")
        self.verticalLayout_3.addWidget(self.intituleEdit)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label = QtGui.QLabel(mainDialog)
        self.label.setObjectName("label")
        self.horizontalLayout.addWidget(self.label)
        self.dateDebut = QtGui.QDateTimeEdit(mainDialog)
        self.dateDebut.setObjectName("dateDebut")
        self.horizontalLayout.addWidget(self.dateDebut)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.label_2 = QtGui.QLabel(mainDialog)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout.addWidget(self.label_2)
        self.dateFin = QtGui.QDateTimeEdit(mainDialog)
        self.dateFin.setObjectName("dateFin")
        self.horizontalLayout.addWidget(self.dateFin)
        self.verticalLayout_3.addLayout(self.horizontalLayout)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.verticalLayout_2 = QtGui.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.electeurEdit = QtGui.QLineEdit(mainDialog)
        self.electeurEdit.setObjectName("electeurEdit")
        self.verticalLayout_2.addWidget(self.electeurEdit)
        self.addElecteurBouton = QtGui.QPushButton(mainDialog)
        self.addElecteurBouton.setObjectName("addElecteurBouton")
        self.verticalLayout_2.addWidget(self.addElecteurBouton)
        self.electeurList = QtGui.QListWidget(mainDialog)
        self.electeurList.setObjectName("electeurList")
        self.verticalLayout_2.addWidget(self.electeurList)
        self.supprimeElecteurBouton = QtGui.QPushButton(mainDialog)
        self.supprimeElecteurBouton.setObjectName("supprimeElecteurBouton")
        self.verticalLayout_2.addWidget(self.supprimeElecteurBouton)
        self.horizontalLayout_2.addLayout(self.verticalLayout_2)
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.candidatEdit = QtGui.QLineEdit(mainDialog)
        self.candidatEdit.setObjectName("candidatEdit")
        self.verticalLayout.addWidget(self.candidatEdit)
        self.addCandidatBouton = QtGui.QPushButton(mainDialog)
        self.addCandidatBouton.setObjectName("addCandidatBouton")
        self.verticalLayout.addWidget(self.addCandidatBouton)
        self.candidatList = QtGui.QListWidget(mainDialog)
        self.candidatList.setObjectName("candidatList")
        self.verticalLayout.addWidget(self.candidatList)
        self.supprimeCandidatBouton = QtGui.QPushButton(mainDialog)
        self.supprimeCandidatBouton.setObjectName("supprimeCandidatBouton")
        self.verticalLayout.addWidget(self.supprimeCandidatBouton)
        self.horizontalLayout_2.addLayout(self.verticalLayout)
        self.verticalLayout_3.addLayout(self.horizontalLayout_2)
        spacerItem1 = QtGui.QSpacerItem(20, 60, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_3.addItem(spacerItem1)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.label_3 = QtGui.QLabel(mainDialog)
        self.label_3.setObjectName("label_3")
        self.horizontalLayout_3.addWidget(self.label_3)
        self.typeScrutinCombo = QtGui.QComboBox(mainDialog)
        self.typeScrutinCombo.setObjectName("typeScrutinCombo")
        self.typeScrutinCombo.addItem(QtCore.QString())
        self.typeScrutinCombo.addItem(QtCore.QString())
        self.typeScrutinCombo.addItem(QtCore.QString())
        self.horizontalLayout_3.addWidget(self.typeScrutinCombo)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem2)
        self.verticalLayout_3.addLayout(self.horizontalLayout_3)
        self.parametresScrutinBox = QtGui.QGroupBox(mainDialog)
        self.parametresScrutinBox.setObjectName("parametresScrutinBox")
        self.gridLayout = QtGui.QGridLayout(self.parametresScrutinBox)
        self.gridLayout.setObjectName("gridLayout")
        self.label_5 = QtGui.QLabel(self.parametresScrutinBox)
        self.label_5.setObjectName("label_5")
        self.gridLayout.addWidget(self.label_5, 0, 0, 1, 2)
        self.aPourvoirSpin = QtGui.QSpinBox(self.parametresScrutinBox)
        self.aPourvoirSpin.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.aPourvoirSpin.setMinimum(1)
        self.aPourvoirSpin.setMaximum(1000)
        self.aPourvoirSpin.setObjectName("aPourvoirSpin")
        self.gridLayout.addWidget(self.aPourvoirSpin, 0, 2, 1, 1)
        spacerItem3 = QtGui.QSpacerItem(48, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem3, 0, 3, 1, 2)
        self.label_noteMin = QtGui.QLabel(self.parametresScrutinBox)
        self.label_noteMin.setObjectName("label_noteMin")
        self.gridLayout.addWidget(self.label_noteMin, 0, 5, 1, 2)
        self.label_noteMax = QtGui.QLabel(self.parametresScrutinBox)
        self.label_noteMax.setObjectName("label_noteMax")
        self.gridLayout.addWidget(self.label_noteMax, 0, 7, 1, 1)
        self.label_noteDefaut = QtGui.QLabel(self.parametresScrutinBox)
        self.label_noteDefaut.setObjectName("label_noteDefaut")
        self.gridLayout.addWidget(self.label_noteDefaut, 0, 8, 1, 1)
        spacerItem4 = QtGui.QSpacerItem(239, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem4, 0, 9, 1, 1)
        self.entierCheck = QtGui.QCheckBox(self.parametresScrutinBox)
        self.entierCheck.setObjectName("entierCheck")
        self.gridLayout.addWidget(self.entierCheck, 1, 0, 1, 1)
        self.methodeCalculCombo = QtGui.QComboBox(self.parametresScrutinBox)
        self.methodeCalculCombo.setObjectName("methodeCalculCombo")
        self.methodeCalculCombo.addItem(QtCore.QString())
        self.methodeCalculCombo.addItem(QtCore.QString())
        self.gridLayout.addWidget(self.methodeCalculCombo, 1, 1, 1, 3)
        spacerItem5 = QtGui.QSpacerItem(62, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem5, 1, 4, 1, 2)
        self.noteMinSpin = QtGui.QSpinBox(self.parametresScrutinBox)
        self.noteMinSpin.setMinimum(-100)
        self.noteMinSpin.setMaximum(100)
        self.noteMinSpin.setObjectName("noteMinSpin")
        self.gridLayout.addWidget(self.noteMinSpin, 1, 6, 1, 1)
        self.noteMaxSpin = QtGui.QSpinBox(self.parametresScrutinBox)
        self.noteMaxSpin.setMinimum(-100)
        self.noteMaxSpin.setMaximum(100)
        self.noteMaxSpin.setObjectName("noteMaxSpin")
        self.gridLayout.addWidget(self.noteMaxSpin, 1, 7, 1, 1)
        self.noteDefautSpin = QtGui.QDoubleSpinBox(self.parametresScrutinBox)
        self.noteDefautSpin.setMinimum(-100.0)
        self.noteDefautSpin.setProperty("value", QtCore.QVariant(0.0))
        self.noteDefautSpin.setObjectName("noteDefautSpin")
        self.gridLayout.addWidget(self.noteDefautSpin, 1, 8, 1, 1)
        spacerItem6 = QtGui.QSpacerItem(239, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem6, 1, 9, 1, 1)
        self.verticalLayout_3.addWidget(self.parametresScrutinBox)
        spacerItem7 = QtGui.QSpacerItem(20, 28, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_3.addItem(spacerItem7)
        self.label_4 = QtGui.QLabel(mainDialog)
        self.label_4.setObjectName("label_4")
        self.verticalLayout_3.addWidget(self.label_4)
        self.scrutinDescriptionText = QtGui.QTextEdit(mainDialog)
        self.scrutinDescriptionText.setObjectName("scrutinDescriptionText")
        self.verticalLayout_3.addWidget(self.scrutinDescriptionText)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        spacerItem8 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem8)
        self.chargerScrutinBouton = QtGui.QPushButton(mainDialog)
        self.chargerScrutinBouton.setObjectName("chargerScrutinBouton")
        self.horizontalLayout_4.addWidget(self.chargerScrutinBouton)
        spacerItem9 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem9)
        self.sauverScrutinBouton = QtGui.QPushButton(mainDialog)
        self.sauverScrutinBouton.setObjectName("sauverScrutinBouton")
        self.horizontalLayout_4.addWidget(self.sauverScrutinBouton)
        self.verticalLayout_3.addLayout(self.horizontalLayout_4)

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

    def retranslateUi(self, mainDialog):
        mainDialog.setWindowTitle(QtGui.QApplication.translate("mainDialog", "Création d\'un scrutin", None, QtGui.QApplication.UnicodeUTF8))
        self.intituleEdit.setText(QtGui.QApplication.translate("mainDialog", "Saisissez l\'intitulé du vote (à remplacer)", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("mainDialog", "Début du scrutin", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("mainDialog", "Fin du scrutin", None, QtGui.QApplication.UnicodeUTF8))
        self.addElecteurBouton.setText(QtGui.QApplication.translate("mainDialog", "Ajouter l\'électeur ci-dessus", None, QtGui.QApplication.UnicodeUTF8))
        self.electeurList.setToolTip(QtGui.QApplication.translate("mainDialog", "Liste des électeurs", None, QtGui.QApplication.UnicodeUTF8))
        self.electeurList.setSortingEnabled(True)
        self.supprimeElecteurBouton.setText(QtGui.QApplication.translate("mainDialog", "Supprimer l\'électeur sélectionné", None, QtGui.QApplication.UnicodeUTF8))
        self.addCandidatBouton.setText(QtGui.QApplication.translate("mainDialog", "Ajouter le candidat ci-dessus", None, QtGui.QApplication.UnicodeUTF8))
        self.candidatList.setToolTip(QtGui.QApplication.translate("mainDialog", "Liste des électeurs", None, QtGui.QApplication.UnicodeUTF8))
        self.candidatList.setSortingEnabled(True)
        self.supprimeCandidatBouton.setText(QtGui.QApplication.translate("mainDialog", "Supprimer le candidat sélectionné", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("mainDialog", "Type de scrutin", None, QtGui.QApplication.UnicodeUTF8))
        self.typeScrutinCombo.setItemText(0, QtGui.QApplication.translate("mainDialog", "Vote unique", None, QtGui.QApplication.UnicodeUTF8))
        self.typeScrutinCombo.setItemText(1, QtGui.QApplication.translate("mainDialog", "Vote unique transferable", None, QtGui.QApplication.UnicodeUTF8))
        self.typeScrutinCombo.setItemText(2, QtGui.QApplication.translate("mainDialog", "Vote par assentiment", None, QtGui.QApplication.UnicodeUTF8))
        self.parametresScrutinBox.setTitle(QtGui.QApplication.translate("mainDialog", "Paramètres du scrutin", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("mainDialog", "Nombre de sièges à pourvoir", None, QtGui.QApplication.UnicodeUTF8))
        self.label_noteMin.setText(QtGui.QApplication.translate("mainDialog", "Note minimale/", None, QtGui.QApplication.UnicodeUTF8))
        self.label_noteMax.setText(QtGui.QApplication.translate("mainDialog", "maximale/", None, QtGui.QApplication.UnicodeUTF8))
        self.label_noteDefaut.setText(QtGui.QApplication.translate("mainDialog", "par défaut", None, QtGui.QApplication.UnicodeUTF8))
        self.entierCheck.setText(QtGui.QApplication.translate("mainDialog", "Note entière seulement", None, QtGui.QApplication.UnicodeUTF8))
        self.methodeCalculCombo.setItemText(0, QtGui.QApplication.translate("mainDialog", "Note Moyenne", None, QtGui.QApplication.UnicodeUTF8))
        self.methodeCalculCombo.setItemText(1, QtGui.QApplication.translate("mainDialog", "Note Médiane", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("mainDialog", "Description détaillée du scrutin :", None, QtGui.QApplication.UnicodeUTF8))
        self.chargerScrutinBouton.setText(QtGui.QApplication.translate("mainDialog", "Charger un scrutin existant", None, QtGui.QApplication.UnicodeUTF8))
        self.sauverScrutinBouton.setText(QtGui.QApplication.translate("mainDialog", "Sauver le scrutin...", None, QtGui.QApplication.UnicodeUTF8))


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