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

# Form implementation generated from reading ui file 'guigui.ui'
#
# Created: Sun May  9 13:58:03 2010
#      by: PyQt4 UI code generator 4.6
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.setWindowModality(QtCore.Qt.NonModal)
        MainWindow.resize(1050, 533)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/all/icones/TeXamator.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        MainWindow.setWindowIcon(icon)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.gridLayout = QtGui.QGridLayout(self.centralwidget)
        self.gridLayout.setObjectName("gridLayout")
        self.big_splitter = QtGui.QSplitter(self.centralwidget)
        self.big_splitter.setOrientation(QtCore.Qt.Horizontal)
        self.big_splitter.setObjectName("big_splitter")
        self.layoutWidget = QtGui.QWidget(self.big_splitter)
        self.layoutWidget.setObjectName("layoutWidget")
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.layoutWidget)
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.verticalLayout_3 = QtGui.QVBoxLayout()
        self.verticalLayout_3.setSizeConstraint(QtGui.QLayout.SetFixedSize)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.label = QtGui.QLabel(self.layoutWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setObjectName("label")
        self.verticalLayout_3.addWidget(self.label)
        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setSizeConstraint(QtGui.QLayout.SetMinimumSize)
        self.hboxlayout.setObjectName("hboxlayout")
        self.lineEdit = QtGui.QLineEdit(self.layoutWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEdit.sizePolicy().hasHeightForWidth())
        self.lineEdit.setSizePolicy(sizePolicy)
        self.lineEdit.setObjectName("lineEdit")
        self.hboxlayout.addWidget(self.lineEdit)
        self.pushButton_parcourir = QtGui.QPushButton(self.layoutWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_parcourir.sizePolicy().hasHeightForWidth())
        self.pushButton_parcourir.setSizePolicy(sizePolicy)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/all/icones/folder.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.pushButton_parcourir.setIcon(icon1)
        self.pushButton_parcourir.setIconSize(QtCore.QSize(20, 20))
        self.pushButton_parcourir.setObjectName("pushButton_parcourir")
        self.hboxlayout.addWidget(self.pushButton_parcourir)
        self.button_refresh = QtGui.QPushButton(self.layoutWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.button_refresh.sizePolicy().hasHeightForWidth())
        self.button_refresh.setSizePolicy(sizePolicy)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/all/icones/find.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.button_refresh.setIcon(icon2)
        self.button_refresh.setIconSize(QtCore.QSize(20, 20))
        self.button_refresh.setObjectName("button_refresh")
        self.hboxlayout.addWidget(self.button_refresh)
        self.verticalLayout_3.addLayout(self.hboxlayout)
        self.verticalLayout_5.addLayout(self.verticalLayout_3)
        self.little_splitter = QtGui.QSplitter(self.layoutWidget)
        self.little_splitter.setOrientation(QtCore.Qt.Horizontal)
        self.little_splitter.setObjectName("little_splitter")
        self.layoutWidget1 = QtGui.QWidget(self.little_splitter)
        self.layoutWidget1.setObjectName("layoutWidget1")
        self.verticalLayout = QtGui.QVBoxLayout(self.layoutWidget1)
        self.verticalLayout.setObjectName("verticalLayout")
        self.treeWidget = QtGui.QTreeWidget(self.layoutWidget1)
        self.treeWidget.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
        self.treeWidget.setIndentation(10)
        self.treeWidget.setObjectName("treeWidget")
        self.verticalLayout.addWidget(self.treeWidget)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label_search = QtGui.QLabel(self.layoutWidget1)
        self.label_search.setObjectName("label_search")
        self.horizontalLayout.addWidget(self.label_search)
        self.lineEdit_search = QtGui.QLineEdit(self.layoutWidget1)
        self.lineEdit_search.setObjectName("lineEdit_search")
        self.horizontalLayout.addWidget(self.lineEdit_search)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.layoutWidget2 = QtGui.QWidget(self.little_splitter)
        self.layoutWidget2.setObjectName("layoutWidget2")
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.layoutWidget2)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.listWidget = QtGui.QListWidget(self.layoutWidget2)
        self.listWidget.setObjectName("listWidget")
        self.verticalLayout_2.addWidget(self.listWidget)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.pushButton_edit = QtGui.QPushButton(self.layoutWidget2)
        self.pushButton_edit.setEnabled(False)
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(":/all/icones/edit.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.pushButton_edit.setIcon(icon3)
        self.pushButton_edit.setObjectName("pushButton_edit")
        self.horizontalLayout_2.addWidget(self.pushButton_edit)
        spacerItem = QtGui.QSpacerItem(118, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        self.pushButton_preview = QtGui.QPushButton(self.layoutWidget2)
        self.pushButton_preview.setEnabled(False)
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap(":/all/icones/pdf.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.pushButton_preview.setIcon(icon4)
        self.pushButton_preview.setObjectName("pushButton_preview")
        self.horizontalLayout_2.addWidget(self.pushButton_preview)
        self.verticalLayout_2.addLayout(self.horizontalLayout_2)
        self.hboxlayout1 = QtGui.QHBoxLayout()
        self.hboxlayout1.setObjectName("hboxlayout1")
        self.button_remove = QtGui.QPushButton(self.layoutWidget2)
        icon5 = QtGui.QIcon()
        icon5.addPixmap(QtGui.QPixmap(":/all/icones/edit_remove.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.button_remove.setIcon(icon5)
        self.button_remove.setObjectName("button_remove")
        self.hboxlayout1.addWidget(self.button_remove)
        self.button_add = QtGui.QPushButton(self.layoutWidget2)
        icon6 = QtGui.QIcon()
        icon6.addPixmap(QtGui.QPixmap(":/all/icones/edit_add.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.button_add.setIcon(icon6)
        self.button_add.setObjectName("button_add")
        self.hboxlayout1.addWidget(self.button_add)
        spacerItem1 = QtGui.QSpacerItem(31, 21, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.hboxlayout1.addItem(spacerItem1)
        self.button_up = QtGui.QPushButton(self.layoutWidget2)
        icon7 = QtGui.QIcon()
        icon7.addPixmap(QtGui.QPixmap(":/all/icones/up.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.button_up.setIcon(icon7)
        self.button_up.setObjectName("button_up")
        self.hboxlayout1.addWidget(self.button_up)
        self.button_down = QtGui.QPushButton(self.layoutWidget2)
        icon8 = QtGui.QIcon()
        icon8.addPixmap(QtGui.QPixmap(":/all/icones/down.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.button_down.setIcon(icon8)
        self.button_down.setObjectName("button_down")
        self.hboxlayout1.addWidget(self.button_down)
        self.verticalLayout_2.addLayout(self.hboxlayout1)
        self.verticalLayout_5.addWidget(self.little_splitter)
        self.layoutWidget3 = QtGui.QWidget(self.big_splitter)
        self.layoutWidget3.setObjectName("layoutWidget3")
        self.verticalLayout_6 = QtGui.QVBoxLayout(self.layoutWidget3)
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.verticalLayout_4 = QtGui.QVBoxLayout()
        self.verticalLayout_4.setSizeConstraint(QtGui.QLayout.SetDefaultConstraint)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.hboxlayout2 = QtGui.QHBoxLayout()
        self.hboxlayout2.setObjectName("hboxlayout2")
        self.hboxlayout3 = QtGui.QHBoxLayout()
        self.hboxlayout3.setObjectName("hboxlayout3")
        self.scrollArea = QtGui.QScrollArea(self.layoutWidget3)
        self.scrollArea.setSizeIncrement(QtCore.QSize(0, 0))
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName("scrollArea")
        self.scrollAreaWidgetContents = QtGui.QWidget(self.scrollArea)
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 355, 415))
        self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.hboxlayout3.addWidget(self.scrollArea)
        self.hboxlayout2.addLayout(self.hboxlayout3)
        self.verticalLayout_4.addLayout(self.hboxlayout2)
        self.verticalLayout_6.addLayout(self.verticalLayout_4)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        spacerItem2 = QtGui.QSpacerItem(231, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem2)
        self.button_save = QtGui.QPushButton(self.layoutWidget3)
        icon9 = QtGui.QIcon()
        icon9.addPixmap(QtGui.QPixmap(":/all/icones/filesave.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.button_save.setIcon(icon9)
        self.button_save.setObjectName("button_save")
        self.horizontalLayout_3.addWidget(self.button_save)
        self.verticalLayout_6.addLayout(self.horizontalLayout_3)
        self.gridLayout.addWidget(self.big_splitter, 0, 0, 1, 1)
        self.label_3 = QtGui.QLabel(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_3.sizePolicy().hasHeightForWidth())
        self.label_3.setSizePolicy(sizePolicy)
        self.label_3.setScaledContents(True)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 0, 1, 1, 1)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 1050, 25))
        self.menubar.setObjectName("menubar")
        self.menuFichier = QtGui.QMenu(self.menubar)
        self.menuFichier.setObjectName("menuFichier")
        self.menuEdition = QtGui.QMenu(self.menubar)
        self.menuEdition.setObjectName("menuEdition")
        self.menuChange_language = QtGui.QMenu(self.menuEdition)
        self.menuChange_language.setObjectName("menuChange_language")
        self.menuAide = QtGui.QMenu(self.menubar)
        self.menuAide.setObjectName("menuAide")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)
        self.actionExport = QtGui.QAction(MainWindow)
        self.actionExport.setIcon(icon9)
        self.actionExport.setObjectName("actionExport")
        self.actionPartieliser = QtGui.QAction(MainWindow)
        self.actionPartieliser.setIcon(icon3)
        self.actionPartieliser.setObjectName("actionPartieliser")
        self.actionQuitter = QtGui.QAction(MainWindow)
        icon10 = QtGui.QIcon()
        icon10.addPixmap(QtGui.QPixmap(":/all/icones/exit.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionQuitter.setIcon(icon10)
        self.actionQuitter.setObjectName("actionQuitter")
        self.actionPrefs = QtGui.QAction(MainWindow)
        icon11 = QtGui.QIcon()
        icon11.addPixmap(QtGui.QPixmap(":/all/icones/gear.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionPrefs.setIcon(icon11)
        self.actionPrefs.setObjectName("actionPrefs")
        self.actionA_propos = QtGui.QAction(MainWindow)
        icon12 = QtGui.QIcon()
        icon12.addPixmap(QtGui.QPixmap(":/all/icones/messagebox_info.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionA_propos.setIcon(icon12)
        self.actionA_propos.setObjectName("actionA_propos")
        self.actionGenerate_Random_Exam = QtGui.QAction(MainWindow)
        icon13 = QtGui.QIcon()
        icon13.addPixmap(QtGui.QPixmap(":/all/icones/pencil.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionGenerate_Random_Exam.setIcon(icon13)
        self.actionGenerate_Random_Exam.setObjectName("actionGenerate_Random_Exam")
        self.actionEdit_exercise = QtGui.QAction(MainWindow)
        self.actionEdit_exercise.setEnabled(False)
        self.actionEdit_exercise.setIcon(icon3)
        self.actionEdit_exercise.setObjectName("actionEdit_exercise")
        self.actionExpand_Collapse = QtGui.QAction(MainWindow)
        self.actionExpand_Collapse.setEnabled(False)
        icon14 = QtGui.QIcon()
        icon14.addPixmap(QtGui.QPixmap(":/all/icones/2downarrow.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionExpand_Collapse.setIcon(icon14)
        self.actionExpand_Collapse.setObjectName("actionExpand_Collapse")
        self.actionStart_Wizard = QtGui.QAction(MainWindow)
        icon15 = QtGui.QIcon()
        icon15.addPixmap(QtGui.QPixmap(":/all/icones/hat.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionStart_Wizard.setIcon(icon15)
        self.actionStart_Wizard.setObjectName("actionStart_Wizard")
        self.actionEnglish = QtGui.QAction(MainWindow)
        self.actionEnglish.setObjectName("actionEnglish")
        self.actionFrench = QtGui.QAction(MainWindow)
        self.actionFrench.setObjectName("actionFrench")
        self.actionCzech = QtGui.QAction(MainWindow)
        self.actionCzech.setObjectName("actionCzech")
        self.menuFichier.addAction(self.actionExport)
        self.menuFichier.addAction(self.actionGenerate_Random_Exam)
        self.menuFichier.addSeparator()
        self.menuFichier.addAction(self.actionQuitter)
        self.menuChange_language.addAction(self.actionEnglish)
        self.menuChange_language.addAction(self.actionFrench)
        self.menuChange_language.addAction(self.actionCzech)
        self.menuEdition.addAction(self.actionStart_Wizard)
        self.menuEdition.addAction(self.actionPrefs)
        self.menuEdition.addAction(self.actionEdit_exercise)
        self.menuEdition.addAction(self.actionExpand_Collapse)
        self.menuEdition.addSeparator()
        self.menuEdition.addAction(self.menuChange_language.menuAction())
        self.menuAide.addAction(self.actionA_propos)
        self.menubar.addAction(self.menuFichier.menuAction())
        self.menubar.addAction(self.menuEdition.menuAction())
        self.menubar.addAction(self.menuAide.menuAction())

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

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "TeXamator", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("MainWindow", "Folder in which TeXamator should look for exercices", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_parcourir.setText(QtGui.QApplication.translate("MainWindow", "Browse", None, QtGui.QApplication.UnicodeUTF8))
        self.button_refresh.setText(QtGui.QApplication.translate("MainWindow", "Look for exercices !", None, QtGui.QApplication.UnicodeUTF8))
        self.treeWidget.headerItem().setText(0, QtGui.QApplication.translate("MainWindow", "1", None, QtGui.QApplication.UnicodeUTF8))
        self.label_search.setText(QtGui.QApplication.translate("MainWindow", "Search", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_edit.setText(QtGui.QApplication.translate("MainWindow", "Edit", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_preview.setText(QtGui.QApplication.translate("MainWindow", "Preview", None, QtGui.QApplication.UnicodeUTF8))
        self.button_save.setText(QtGui.QApplication.translate("MainWindow", "Export", None, QtGui.QApplication.UnicodeUTF8))
        self.menuFichier.setTitle(QtGui.QApplication.translate("MainWindow", "File", None, QtGui.QApplication.UnicodeUTF8))
        self.menuEdition.setTitle(QtGui.QApplication.translate("MainWindow", "Edit", None, QtGui.QApplication.UnicodeUTF8))
        self.menuChange_language.setTitle(QtGui.QApplication.translate("MainWindow", "Choose language", None, QtGui.QApplication.UnicodeUTF8))
        self.menuAide.setTitle(QtGui.QApplication.translate("MainWindow", "Help", None, QtGui.QApplication.UnicodeUTF8))
        self.actionExport.setText(QtGui.QApplication.translate("MainWindow", "Export", None, QtGui.QApplication.UnicodeUTF8))
        self.actionPartieliser.setText(QtGui.QApplication.translate("MainWindow", "Generate Exam", None, QtGui.QApplication.UnicodeUTF8))
        self.actionQuitter.setText(QtGui.QApplication.translate("MainWindow", "Quit", None, QtGui.QApplication.UnicodeUTF8))
        self.actionPrefs.setText(QtGui.QApplication.translate("MainWindow", "Preferences", None, QtGui.QApplication.UnicodeUTF8))
        self.actionA_propos.setText(QtGui.QApplication.translate("MainWindow", "About ...", None, QtGui.QApplication.UnicodeUTF8))
        self.actionGenerate_Random_Exam.setText(QtGui.QApplication.translate("MainWindow", "Pick exercises randomly", None, QtGui.QApplication.UnicodeUTF8))
        self.actionEdit_exercise.setText(QtGui.QApplication.translate("MainWindow", "Edit exercise", None, QtGui.QApplication.UnicodeUTF8))
        self.actionExpand_Collapse.setText(QtGui.QApplication.translate("MainWindow", "Expand/Collapse", None, QtGui.QApplication.UnicodeUTF8))
        self.actionStart_Wizard.setText(QtGui.QApplication.translate("MainWindow", "Start Wizard", None, QtGui.QApplication.UnicodeUTF8))
        self.actionEnglish.setText(QtGui.QApplication.translate("MainWindow", "English", None, QtGui.QApplication.UnicodeUTF8))
        self.actionFrench.setText(QtGui.QApplication.translate("MainWindow", "French", None, QtGui.QApplication.UnicodeUTF8))
        self.actionCzech.setText(QtGui.QApplication.translate("MainWindow", "Czech", None, QtGui.QApplication.UnicodeUTF8))

import icones_rc

if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    MainWindow = QtGui.QMainWindow()
    ui = Ui_MainWindow()
    ui.setupUi(MainWindow)
    MainWindow.show()
    sys.exit(app.exec_())

