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

# Form implementation generated from reading ui file 'presavewindow.ui'
#
# Created by: PyQt5 UI code generator 5.6
#
# WARNING! All changes made in this file will be lost!

from PyQt5 import QtCore, QtGui, QtWidgets

class Ui_presaveWindow(object):
    def setupUi(self, presaveWindow):
        presaveWindow.setObjectName("presaveWindow")
        presaveWindow.resize(470, 183)
        presaveWindow.setMinimumSize(QtCore.QSize(470, 180))
        presaveWindow.setMaximumSize(QtCore.QSize(470, 16777215))
        font = QtGui.QFont()
        font.setFamily("font/SourceSansPro-Regular.ttf")
        font.setPointSize(10)
        font.setBold(False)
        font.setWeight(50)
        font.setStyleStrategy(QtGui.QFont.PreferAntialias)
        presaveWindow.setFont(font)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap("icons/warning_icon.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        presaveWindow.setWindowIcon(icon)
        self.gridLayout = QtWidgets.QGridLayout(presaveWindow)
        self.gridLayout.setObjectName("gridLayout")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.iw_label_2 = QtWidgets.QLabel(presaveWindow)
        self.iw_label_2.setMinimumSize(QtCore.QSize(55, 55))
        self.iw_label_2.setMaximumSize(QtCore.QSize(55, 55))
        self.iw_label_2.setText("")
        self.iw_label_2.setPixmap(QtGui.QPixmap("icons/warning_icon2.png"))
        self.iw_label_2.setScaledContents(True)
        self.iw_label_2.setObjectName("iw_label_2")
        self.verticalLayout.addWidget(self.iw_label_2)
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem)
        self.horizontalLayout.addLayout(self.verticalLayout)
        spacerItem1 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem1)
        self.iw_label_1 = QtWidgets.QLabel(presaveWindow)
        self.iw_label_1.setMinimumSize(QtCore.QSize(341, 120))
        self.iw_label_1.setMaximumSize(QtCore.QSize(341, 16777215))
        font = QtGui.QFont()
        font.setFamily("font/SourceSansPro-Regular.ttf")
        font.setPointSize(10)
        font.setBold(False)
        font.setWeight(50)
        font.setStyleStrategy(QtGui.QFont.PreferAntialias)
        self.iw_label_1.setFont(font)
        self.iw_label_1.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.iw_label_1.setFrameShadow(QtWidgets.QFrame.Plain)
        self.iw_label_1.setLineWidth(0)
        self.iw_label_1.setMidLineWidth(0)
        self.iw_label_1.setTextFormat(QtCore.Qt.AutoText)
        self.iw_label_1.setAlignment(QtCore.Qt.AlignJustify|QtCore.Qt.AlignTop)
        self.iw_label_1.setWordWrap(True)
        self.iw_label_1.setObjectName("iw_label_1")
        self.horizontalLayout.addWidget(self.iw_label_1)
        self.verticalLayout_2.addLayout(self.horizontalLayout)
        spacerItem2 = QtWidgets.QSpacerItem(20, 13, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem2)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.iw_nosaveButton = QtWidgets.QPushButton(presaveWindow)
        self.iw_nosaveButton.setMinimumSize(QtCore.QSize(180, 27))
        self.iw_nosaveButton.setMaximumSize(QtCore.QSize(190, 27))
        font = QtGui.QFont()
        font.setFamily("font/SourceSansPro-Regular.ttf")
        font.setPointSize(10)
        font.setBold(False)
        font.setWeight(50)
        font.setStyleStrategy(QtGui.QFont.PreferDefault)
        self.iw_nosaveButton.setFont(font)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap("icons/cancel_icon.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.iw_nosaveButton.setIcon(icon1)
        self.iw_nosaveButton.setIconSize(QtCore.QSize(25, 25))
        self.iw_nosaveButton.setObjectName("iw_nosaveButton")
        self.horizontalLayout_2.addWidget(self.iw_nosaveButton)
        spacerItem3 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem3)
        self.iw_cancelButton = QtWidgets.QPushButton(presaveWindow)
        self.iw_cancelButton.setMinimumSize(QtCore.QSize(93, 27))
        self.iw_cancelButton.setMaximumSize(QtCore.QSize(93, 27))
        font = QtGui.QFont()
        font.setFamily("font/SourceSansPro-Regular.ttf")
        font.setPointSize(10)
        font.setBold(False)
        font.setWeight(50)
        font.setStyleStrategy(QtGui.QFont.PreferDefault)
        self.iw_cancelButton.setFont(font)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap("icons/del_icon.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.iw_cancelButton.setIcon(icon2)
        self.iw_cancelButton.setIconSize(QtCore.QSize(25, 25))
        self.iw_cancelButton.setObjectName("iw_cancelButton")
        self.horizontalLayout_2.addWidget(self.iw_cancelButton)
        spacerItem4 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem4)
        self.iw_saveButton = QtWidgets.QPushButton(presaveWindow)
        self.iw_saveButton.setMinimumSize(QtCore.QSize(93, 27))
        self.iw_saveButton.setMaximumSize(QtCore.QSize(93, 27))
        font = QtGui.QFont()
        font.setFamily("font/SourceSansPro-Regular.ttf")
        font.setPointSize(10)
        font.setBold(False)
        font.setWeight(50)
        font.setStyleStrategy(QtGui.QFont.PreferDefault)
        self.iw_saveButton.setFont(font)
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap("icons/save_icon.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.iw_saveButton.setIcon(icon3)
        self.iw_saveButton.setIconSize(QtCore.QSize(25, 25))
        self.iw_saveButton.setObjectName("iw_saveButton")
        self.horizontalLayout_2.addWidget(self.iw_saveButton)
        self.verticalLayout_2.addLayout(self.horizontalLayout_2)
        self.gridLayout.addLayout(self.verticalLayout_2, 0, 0, 1, 1)

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

    def retranslateUi(self, presaveWindow):
        _translate = QtCore.QCoreApplication.translate
        presaveWindow.setWindowTitle(_translate("presaveWindow", "EUFAR Metadata Creator"))
        self.iw_label_1.setText(_translate("presaveWindow", "<html><head/><body><p align=\"justify\">The actual document has been modified. Changes will be lost if the document is not saved.<br/></p><p><span style=\" font-weight:600;\">Do you want to save your changes ?</span></p></body></html>"))
        self.iw_nosaveButton.setText(_translate("presaveWindow", "Close without saving"))
        self.iw_cancelButton.setText(_translate("presaveWindow", "Cancel"))
        self.iw_saveButton.setText(_translate("presaveWindow", "Save"))

