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

# Form implementation generated from reading ui file '.\bonusingredient.ui'
#
# Created by: PyQt5 UI code generator 5.15.7
#
# 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_addingredient(object):
    def setupUi(self, addingredient):
        addingredient.setObjectName("addingredient")
        addingredient.setWindowModality(QtCore.Qt.ApplicationModal)
        addingredient.resize(800, 480)
        addingredient.setMinimumSize(QtCore.QSize(800, 480))
        addingredient.setMaximumSize(QtCore.QSize(800, 480))
        self.centralwidget = QtWidgets.QWidget(addingredient)
        self.centralwidget.setObjectName("centralwidget")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.centralwidget)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.LHeader = QtWidgets.QLabel(self.centralwidget)
        self.LHeader.setMaximumSize(QtCore.QSize(16777215, 80))
        font = QtGui.QFont()
        font.setPointSize(20)
        font.setBold(True)
        font.setWeight(75)
        self.LHeader.setFont(font)
        self.LHeader.setAlignment(QtCore.Qt.AlignCenter)
        self.LHeader.setObjectName("LHeader")
        self.gridLayout.addWidget(self.LHeader, 0, 0, 1, 2)
        self.PBAbbrechen = QtWidgets.QPushButton(self.centralwidget)
        self.PBAbbrechen.setMinimumSize(QtCore.QSize(0, 70))
        self.PBAbbrechen.setMaximumSize(QtCore.QSize(16777215, 200))
        font = QtGui.QFont()
        font.setPointSize(20)
        font.setBold(True)
        font.setWeight(75)
        self.PBAbbrechen.setFont(font)
        self.PBAbbrechen.setObjectName("PBAbbrechen")
        self.gridLayout.addWidget(self.PBAbbrechen, 3, 1, 1, 1)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.PBminus = QtWidgets.QPushButton(self.centralwidget)
        self.PBminus.setMinimumSize(QtCore.QSize(60, 18))
        self.PBminus.setMaximumSize(QtCore.QSize(1000, 1000))
        font = QtGui.QFont()
        font.setPointSize(36)
        font.setBold(True)
        font.setWeight(75)
        self.PBminus.setFont(font)
        self.PBminus.setObjectName("PBminus")
        self.horizontalLayout.addWidget(self.PBminus)
        self.LAmount = QtWidgets.QLabel(self.centralwidget)
        self.LAmount.setMinimumSize(QtCore.QSize(150, 0))
        self.LAmount.setMaximumSize(QtCore.QSize(175, 1000))
        font = QtGui.QFont()
        font.setPointSize(36)
        font.setBold(True)
        font.setWeight(75)
        self.LAmount.setFont(font)
        self.LAmount.setLineWidth(1)
        self.LAmount.setAlignment(QtCore.Qt.AlignCenter)
        self.LAmount.setObjectName("LAmount")
        self.horizontalLayout.addWidget(self.LAmount)
        self.PBplus = QtWidgets.QPushButton(self.centralwidget)
        self.PBplus.setMinimumSize(QtCore.QSize(60, 18))
        self.PBplus.setMaximumSize(QtCore.QSize(1000, 1000))
        font = QtGui.QFont()
        font.setPointSize(36)
        font.setBold(True)
        font.setWeight(75)
        self.PBplus.setFont(font)
        self.PBplus.setObjectName("PBplus")
        self.horizontalLayout.addWidget(self.PBplus)
        self.gridLayout.addLayout(self.horizontalLayout, 2, 1, 1, 1)
        self.PBAusgeben = QtWidgets.QPushButton(self.centralwidget)
        self.PBAusgeben.setMinimumSize(QtCore.QSize(0, 70))
        self.PBAusgeben.setMaximumSize(QtCore.QSize(16777215, 200))
        font = QtGui.QFont()
        font.setPointSize(20)
        font.setBold(True)
        font.setWeight(75)
        self.PBAusgeben.setFont(font)
        self.PBAusgeben.setObjectName("PBAusgeben")
        self.gridLayout.addWidget(self.PBAusgeben, 1, 1, 1, 1)
        self.ingredient_selection = QtWidgets.QListWidget(self.centralwidget)
        self.ingredient_selection.setMaximumSize(QtCore.QSize(500, 1200))
        font = QtGui.QFont()
        font.setPointSize(20)
        font.setBold(True)
        font.setWeight(75)
        self.ingredient_selection.setFont(font)
        self.ingredient_selection.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.ingredient_selection.setTextElideMode(QtCore.Qt.ElideMiddle)
        self.ingredient_selection.setObjectName("ingredient_selection")
        self.gridLayout.addWidget(self.ingredient_selection, 1, 0, 3, 1)
        self.verticalLayout_2.addLayout(self.gridLayout)
        addingredient.setCentralWidget(self.centralwidget)

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

    def retranslateUi(self, addingredient):
        _translate = QtCore.QCoreApplication.translate
        addingredient.setWindowTitle(_translate("addingredient", "Select ingredient to spend"))
        self.LHeader.setText(_translate("addingredient", "Select output ingredient"))
        self.LHeader.setProperty("cssClass", _translate("addingredient", "secondary bold"))
        self.PBAbbrechen.setText(_translate("addingredient", "Abbrechen"))
        self.PBminus.setText(_translate("addingredient", "-"))
        self.LAmount.setText(_translate("addingredient", "50"))
        self.LAmount.setProperty("cssClass", _translate("addingredient", "secondary bold"))
        self.PBplus.setText(_translate("addingredient", "+"))
        self.PBAusgeben.setText(_translate("addingredient", "Ausgeben"))
        self.PBAusgeben.setProperty("cssClass", _translate("addingredient", "btn-inverted"))
        self.ingredient_selection.setSortingEnabled(True)


if __name__ == "__main__":
    import sys
    app = QtWidgets.QApplication(sys.argv)
    addingredient = QtWidgets.QMainWindow()
    ui = Ui_addingredient()
    ui.setupUi(addingredient)
    addingredient.show()
    sys.exit(app.exec_())
