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

# Form implementation generated from reading ui file 'ipsdialog.ui'
#
# Created by: PyQt5 UI code generator 5.15.11
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_IPSDialog(object):
    def setupUi(self, IPSDialog):
        IPSDialog.setObjectName("IPSDialog")
        IPSDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        IPSDialog.resize(401, 230)
        icon = QtGui.QIcon()
        icon.addFile("logo.png")
        IPSDialog.setWindowIcon(icon)
        IPSDialog.setModal(True)
        self.gridlayout = QtWidgets.QGridLayout(IPSDialog)
        self.gridlayout.setObjectName("gridlayout")
        self.IPSList = QtWidgets.QListWidget(IPSDialog)
        self.IPSList.setDragDropMode(QtWidgets.QAbstractItemView.InternalMove)
        self.IPSList.setAlternatingRowColors(True)
        self.IPSList.setSelectionMode(QtWidgets.QAbstractItemView.ExtendedSelection)
        self.IPSList.setObjectName("IPSList")
        self.gridlayout.addWidget(self.IPSList, 0, 0, 1, 1)
        self.vboxlayout = QtWidgets.QVBoxLayout()
        self.vboxlayout.setObjectName("vboxlayout")
        self.addButton = QtWidgets.QPushButton(IPSDialog)
        self.addButton.setObjectName("addButton")
        self.vboxlayout.addWidget(self.addButton)
        self.removeButton = QtWidgets.QPushButton(IPSDialog)
        self.removeButton.setObjectName("removeButton")
        self.vboxlayout.addWidget(self.removeButton)
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.vboxlayout.addItem(spacerItem)
        self.gridlayout.addLayout(self.vboxlayout, 0, 1, 1, 1)
        self.buttonBox = QtWidgets.QDialogButtonBox(IPSDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.NoButton|QtWidgets.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.gridlayout.addWidget(self.buttonBox, 1, 0, 1, 2)

        self.retranslateUi(IPSDialog)
        self.buttonBox.accepted.connect(IPSDialog.accept) # type: ignore
        self.buttonBox.rejected.connect(IPSDialog.reject) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(IPSDialog)

    def retranslateUi(self, IPSDialog):
        _translate = QtCore.QCoreApplication.translate
        IPSDialog.setWindowTitle(_translate("IPSDialog", "List of IPS patches"))
        IPSDialog.setToolTip(_translate("IPSDialog", "Select IPS patches and their order to apply"))
        self.addButton.setToolTip(_translate("IPSDialog", "Add more patch files to this list"))
        self.addButton.setText(_translate("IPSDialog", "Add..."))
        self.removeButton.setToolTip(_translate("IPSDialog", "Remove currently selected patch file"))
        self.removeButton.setText(_translate("IPSDialog", "Remove"))
