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

# Form implementation generated from reading ui file 'chargerPlateau.ui'
#
# Created: Fri Jun 26 17:01:04 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_chp_fenetre(object):
    def setupUi(self, chp_fenetre):
        chp_fenetre.setObjectName(_fromUtf8("chp_fenetre"))
        chp_fenetre.resize(509, 300)
        chp_fenetre.setMinimumSize(QtCore.QSize(509, 300))
        chp_fenetre.setMaximumSize(QtCore.QSize(509, 300))
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Verdana"))
        chp_fenetre.setFont(font)
        self.chp_liste = DmTableWidget(chp_fenetre)
        self.chp_liste.setGeometry(QtCore.QRect(19, 41, 471, 211))
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(247, 247, 247))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(208, 69, 0, 100))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Highlight, brush)
        brush = QtGui.QBrush(QtGui.QColor(229, 229, 229))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.AlternateBase, brush)
        brush = QtGui.QBrush(QtGui.QColor(247, 247, 247))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(208, 69, 0, 100))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Highlight, brush)
        brush = QtGui.QBrush(QtGui.QColor(229, 229, 229))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.AlternateBase, brush)
        brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(51, 153, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Highlight, brush)
        brush = QtGui.QBrush(QtGui.QColor(229, 229, 229))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.AlternateBase, brush)
        self.chp_liste.setPalette(palette)
        font = QtGui.QFont()
        font.setPointSize(8)
        self.chp_liste.setFont(font)
        self.chp_liste.setFrameShape(QtGui.QFrame.StyledPanel)
        self.chp_liste.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
        self.chp_liste.setProperty("showDropIndicator", False)
        self.chp_liste.setDragDropOverwriteMode(False)
        self.chp_liste.setSelectionMode(QtGui.QAbstractItemView.SingleSelection)
        self.chp_liste.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.chp_liste.setShowGrid(True)
        self.chp_liste.setGridStyle(QtCore.Qt.DotLine)
        self.chp_liste.setCornerButtonEnabled(True)
        self.chp_liste.setObjectName(_fromUtf8("chp_liste"))
        self.chp_liste.setColumnCount(6)
        self.chp_liste.setRowCount(0)
        item = QtGui.QTableWidgetItem()
        self.chp_liste.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.chp_liste.setHorizontalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        self.chp_liste.setHorizontalHeaderItem(2, item)
        item = QtGui.QTableWidgetItem()
        self.chp_liste.setHorizontalHeaderItem(3, item)
        item = QtGui.QTableWidgetItem()
        self.chp_liste.setHorizontalHeaderItem(4, item)
        item = QtGui.QTableWidgetItem()
        self.chp_liste.setHorizontalHeaderItem(5, item)
        self.chp_liste.horizontalHeader().setVisible(True)
        self.chp_liste.horizontalHeader().setDefaultSectionSize(80)
        self.chp_liste.horizontalHeader().setHighlightSections(False)
        self.chp_liste.verticalHeader().setVisible(False)
        self.chp_liste.verticalHeader().setDefaultSectionSize(24)
        self.chp_liste.verticalHeader().setHighlightSections(False)
        self.chp_toutAfficher = QtGui.QCheckBox(chp_fenetre)
        self.chp_toutAfficher.setGeometry(QtCore.QRect(469, 11, 16, 20))
        self.chp_toutAfficher.setText(_fromUtf8(""))
        self.chp_toutAfficher.setObjectName(_fromUtf8("chp_toutAfficher"))
        self.chp_ok = QtGui.QPushButton(chp_fenetre)
        self.chp_ok.setEnabled(False)
        self.chp_ok.setGeometry(QtCore.QRect(389, 258, 100, 30))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.chp_ok.setFont(font)
        self.chp_ok.setObjectName(_fromUtf8("chp_ok"))
        self.label_11 = QtGui.QLabel(chp_fenetre)
        self.label_11.setGeometry(QtCore.QRect(19, 11, 311, 21))
        font = QtGui.QFont()
        font.setPointSize(11)
        font.setBold(True)
        font.setWeight(75)
        self.label_11.setFont(font)
        self.label_11.setObjectName(_fromUtf8("label_11"))
        self.chp_supprimer = QtGui.QPushButton(chp_fenetre)
        self.chp_supprimer.setEnabled(False)
        self.chp_supprimer.setGeometry(QtCore.QRect(19, 258, 31, 31))
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setItalic(True)
        self.chp_supprimer.setFont(font)
        self.chp_supprimer.setText(_fromUtf8(""))
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/interface/16/ressource/corbeille_16.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.chp_supprimer.setIcon(icon)
        self.chp_supprimer.setObjectName(_fromUtf8("chp_supprimer"))
        self.chp_chapitre = QtGui.QSpinBox(chp_fenetre)
        self.chp_chapitre.setGeometry(QtCore.QRect(309, 5, 61, 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.chp_chapitre.setPalette(palette)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.chp_chapitre.setFont(font)
        self.chp_chapitre.setMinimum(1)
        self.chp_chapitre.setObjectName(_fromUtf8("chp_chapitre"))
        self.label_12 = QtGui.QLabel(chp_fenetre)
        self.label_12.setGeometry(QtCore.QRect(390, 10, 81, 21))
        font = QtGui.QFont()
        font.setItalic(True)
        self.label_12.setFont(font)
        self.label_12.setObjectName(_fromUtf8("label_12"))

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

    def retranslateUi(self, chp_fenetre):
        chp_fenetre.setWindowTitle(_translate("chp_fenetre", "Charger un plateau", None))
        item = self.chp_liste.horizontalHeaderItem(0)
        item.setText(_translate("chp_fenetre", "idSvg", None))
        item = self.chp_liste.horizontalHeaderItem(2)
        item.setText(_translate("chp_fenetre", "Ch.", None))
        item = self.chp_liste.horizontalHeaderItem(3)
        item.setText(_translate("chp_fenetre", "Nom", None))
        item = self.chp_liste.horizontalHeaderItem(4)
        item.setText(_translate("chp_fenetre", "Date", None))
        item = self.chp_liste.horizontalHeaderItem(5)
        item.setText(_translate("chp_fenetre", "date_tri", None))
        self.chp_ok.setText(_translate("chp_fenetre", "Ok", None))
        self.label_11.setText(_translate("chp_fenetre", "Reprendre un plateau du chapitre:", None))
        self.label_12.setText(_translate("chp_fenetre", "Tout afficher:", None))

from dm import DmTableWidget
import ressource_rc

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

