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

# Form implementation generated from reading ui file 'C:\dev\python\pardit\ui\qt\main.ui'
#
# Created by: PyQt5 UI code generator 5.8.2
#
# WARNING! All changes made in this file will be lost!

from PyQt5 import QtCore, QtGui, QtWidgets

class Ui_mainWindow(object):
    def setupUi(self, mainWindow):
        mainWindow.setObjectName("mainWindow")
        mainWindow.resize(521, 292)
        mainWindow.setMinimumSize(QtCore.QSize(521, 292))
        mainWindow.setMaximumSize(QtCore.QSize(521, 300))
        font = QtGui.QFont()
        font.setFamily("Verdana")
        font.setPointSize(8)
        mainWindow.setFont(font)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/img/rsc/cone.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        mainWindow.setWindowIcon(icon)
        self.centralwidget = QtWidgets.QWidget(mainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.centralwidget)
        self.verticalLayout.setContentsMargins(3, 3, 3, 3)
        self.verticalLayout.setSpacing(3)
        self.verticalLayout.setObjectName("verticalLayout")
        self.mainStack = QtWidgets.QStackedWidget(self.centralwidget)
        self.mainStack.setObjectName("mainStack")
        self.page0 = QtWidgets.QWidget()
        self.page0.setObjectName("page0")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.page0)
        self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.lblDropzone = DropLabel(self.page0)
        self.lblDropzone.setMinimumSize(QtCore.QSize(0, 150))
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255, 110))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255, 110))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255, 110))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255, 110))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
        self.lblDropzone.setPalette(palette)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.lblDropzone.setFont(font)
        self.lblDropzone.setAcceptDrops(True)
        self.lblDropzone.setAutoFillBackground(True)
        self.lblDropzone.setFrameShape(QtWidgets.QFrame.Box)
        self.lblDropzone.setFrameShadow(QtWidgets.QFrame.Raised)
        self.lblDropzone.setAlignment(QtCore.Qt.AlignCenter)
        self.lblDropzone.setObjectName("lblDropzone")
        self.verticalLayout_2.addWidget(self.lblDropzone)
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setContentsMargins(10, -1, 10, -1)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.label_2 = QtWidgets.QLabel(self.page0)
        font = QtGui.QFont()
        font.setItalic(True)
        self.label_2.setFont(font)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout_2.addWidget(self.label_2)
        self.btnRun = QtWidgets.QPushButton(self.page0)
        self.btnRun.setMinimumSize(QtCore.QSize(250, 41))
        self.btnRun.setMaximumSize(QtCore.QSize(1000, 41))
        font = QtGui.QFont()
        font.setFamily("Verdana")
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.btnRun.setFont(font)
        self.btnRun.setAutoDefault(False)
        self.btnRun.setDefault(True)
        self.btnRun.setObjectName("btnRun")
        self.horizontalLayout_2.addWidget(self.btnRun)
        self.verticalLayout_2.addLayout(self.horizontalLayout_2)
        spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem1)
        spacerItem2 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem2)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem3)
        self.btnHelp = QtWidgets.QPushButton(self.page0)
        self.btnHelp.setMinimumSize(QtCore.QSize(121, 31))
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/img/rsc/question.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.btnHelp.setIcon(icon1)
        self.btnHelp.setObjectName("btnHelp")
        self.horizontalLayout.addWidget(self.btnHelp)
        self.btnSettings = QtWidgets.QPushButton(self.page0)
        self.btnSettings.setMinimumSize(QtCore.QSize(121, 31))
        self.btnSettings.setMaximumSize(QtCore.QSize(121, 31))
        font = QtGui.QFont()
        font.setFamily("Verdana")
        font.setPointSize(8)
        self.btnSettings.setFont(font)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/img/rsc/settings.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.btnSettings.setIcon(icon2)
        self.btnSettings.setObjectName("btnSettings")
        self.horizontalLayout.addWidget(self.btnSettings)
        self.verticalLayout_2.addLayout(self.horizontalLayout)
        self.mainStack.addWidget(self.page0)
        self.page1 = QtWidgets.QWidget()
        self.page1.setObjectName("page1")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.page1)
        self.verticalLayout_3.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.lblWait = QtWidgets.QLabel(self.page1)
        font = QtGui.QFont()
        font.setFamily("Verdana")
        font.setPointSize(11)
        self.lblWait.setFont(font)
        self.lblWait.setAlignment(QtCore.Qt.AlignCenter)
        self.lblWait.setObjectName("lblWait")
        self.verticalLayout_3.addWidget(self.lblWait)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.imgHourglass = QtWidgets.QLabel(self.page1)
        self.imgHourglass.setMinimumSize(QtCore.QSize(61, 81))
        self.imgHourglass.setMaximumSize(QtCore.QSize(61, 81))
        self.imgHourglass.setText("")
        self.imgHourglass.setPixmap(QtGui.QPixmap(":/img/rsc/hourglass.png"))
        self.imgHourglass.setObjectName("imgHourglass")
        self.horizontalLayout_3.addWidget(self.imgHourglass)
        self.verticalLayout_3.addLayout(self.horizontalLayout_3)
        self.mainStack.addWidget(self.page1)
        self.page2 = QtWidgets.QWidget()
        self.page2.setObjectName("page2")
        self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.page2)
        self.verticalLayout_4.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.verticalLayout_6 = QtWidgets.QVBoxLayout()
        self.verticalLayout_6.setContentsMargins(-1, -1, -1, 0)
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setContentsMargins(6, -1, 6, -1)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.lblFilenameTitle = QtWidgets.QLabel(self.page2)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.lblFilenameTitle.setFont(font)
        self.lblFilenameTitle.setObjectName("lblFilenameTitle")
        self.horizontalLayout_4.addWidget(self.lblFilenameTitle)
        spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem4)
        self.verticalLayout_6.addLayout(self.horizontalLayout_4)
        self.filenames_layout = QtWidgets.QVBoxLayout()
        self.filenames_layout.setObjectName("filenames_layout")
        self.verticalLayout_6.addLayout(self.filenames_layout)
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setContentsMargins(15, -1, 15, -1)
        self.horizontalLayout_5.setSpacing(15)
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.btnOpen = QtWidgets.QPushButton(self.page2)
        self.btnOpen.setMinimumSize(QtCore.QSize(0, 32))
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(":/img/rsc/pdf.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.btnOpen.setIcon(icon3)
        self.btnOpen.setIconSize(QtCore.QSize(20, 20))
        self.btnOpen.setObjectName("btnOpen")
        self.horizontalLayout_5.addWidget(self.btnOpen)
        self.btnDir = QtWidgets.QPushButton(self.page2)
        self.btnDir.setMinimumSize(QtCore.QSize(0, 32))
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap(":/img/rsc/folder.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.btnDir.setIcon(icon4)
        self.btnDir.setObjectName("btnDir")
        self.horizontalLayout_5.addWidget(self.btnDir)
        self.btnMail = QtWidgets.QPushButton(self.page2)
        self.btnMail.setMinimumSize(QtCore.QSize(0, 32))
        icon5 = QtGui.QIcon()
        icon5.addPixmap(QtGui.QPixmap(":/img/rsc/email.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.btnMail.setIcon(icon5)
        self.btnMail.setIconSize(QtCore.QSize(18, 18))
        self.btnMail.setObjectName("btnMail")
        self.horizontalLayout_5.addWidget(self.btnMail)
        self.verticalLayout_6.addLayout(self.horizontalLayout_5)
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_6.setSizeConstraint(QtWidgets.QLayout.SetMinimumSize)
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.btnCancel = QtWidgets.QPushButton(self.page2)
        self.btnCancel.setMinimumSize(QtCore.QSize(0, 20))
        self.btnCancel.setMaximumSize(QtCore.QSize(16777215, 20))
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(0, 0, 127))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ButtonText, brush)
        brush = QtGui.QBrush(QtGui.QColor(0, 0, 127))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ButtonText, brush)
        brush = QtGui.QBrush(QtGui.QColor(120, 120, 120))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ButtonText, brush)
        self.btnCancel.setPalette(palette)
        font = QtGui.QFont()
        font.setUnderline(True)
        self.btnCancel.setFont(font)
        self.btnCancel.setFlat(False)
        self.btnCancel.setObjectName("btnCancel")
        self.horizontalLayout_6.addWidget(self.btnCancel)
        spacerItem5 = QtWidgets.QSpacerItem(40, 0, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_6.addItem(spacerItem5)
        self.verticalLayout_6.addLayout(self.horizontalLayout_6)
        self.verticalLayout_6.setStretch(0, 5)
        self.verticalLayout_6.setStretch(2, 5)
        self.verticalLayout_6.setStretch(3, 1)
        self.verticalLayout_4.addLayout(self.verticalLayout_6)
        self.mainStack.addWidget(self.page2)
        self.verticalLayout.addWidget(self.mainStack)
        mainWindow.setCentralWidget(self.centralwidget)
        self.statusbar = QtWidgets.QStatusBar(mainWindow)
        self.statusbar.setObjectName("statusbar")
        mainWindow.setStatusBar(self.statusbar)

        self.retranslateUi(mainWindow)
        self.mainStack.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(mainWindow)

    def retranslateUi(self, mainWindow):
        _translate = QtCore.QCoreApplication.translate
        mainWindow.setWindowTitle(_translate("mainWindow", "Pardit"))
        self.lblDropzone.setText(_translate("mainWindow", "Déposer votre fichier ici"))
        self.label_2.setText(_translate("mainWindow", "Ou:"))
        self.btnRun.setText(_translate("mainWindow", "Sélectionnez le fichier à traiter"))
        self.btnHelp.setText(_translate("mainWindow", " Aide"))
        self.btnSettings.setText(_translate("mainWindow", " Configuration"))
        self.lblWait.setText(_translate("mainWindow", "Veuillez patienter..."))
        self.lblFilenameTitle.setText(_translate("mainWindow", "Opération réussie"))
        self.btnOpen.setText(_translate("mainWindow", " Voir"))
        self.btnDir.setText(_translate("mainWindow", "Ouvrir le dossier"))
        self.btnMail.setText(_translate("mainWindow", " Envoyer par mail"))
        self.btnMail.setShortcut(_translate("mainWindow", "Ctrl+S"))
        self.btnCancel.setText(_translate("mainWindow", "Retour"))

from ui.widgets.DropLabel import DropLabel
from . import pardit_rc
