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

# Form implementation generated from reading ui file 'app/ui/dlg_Cart.ui'
#
# Created by: PyQt5 UI code generator 5.15.6
#
# 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_DialogCartEdit(object):
    def setupUi(self, DialogCartEdit):
        DialogCartEdit.setObjectName("DialogCartEdit")
        DialogCartEdit.resize(564, 148)
        self.gridLayout = QtWidgets.QGridLayout(DialogCartEdit)
        self.gridLayout.setObjectName("gridLayout")
        self.label = QtWidgets.QLabel(DialogCartEdit)
        self.label.setMaximumSize(QtCore.QSize(56, 16777215))
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.lineEditName = QtWidgets.QLineEdit(DialogCartEdit)
        self.lineEditName.setInputMask("")
        self.lineEditName.setObjectName("lineEditName")
        self.gridLayout.addWidget(self.lineEditName, 0, 1, 1, 2)
        self.chkEnabled = QtWidgets.QCheckBox(DialogCartEdit)
        self.chkEnabled.setObjectName("chkEnabled")
        self.gridLayout.addWidget(self.chkEnabled, 0, 3, 1, 1)
        self.label_2 = QtWidgets.QLabel(DialogCartEdit)
        self.label_2.setMaximumSize(QtCore.QSize(56, 16777215))
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.lblPath = QtWidgets.QLabel(DialogCartEdit)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblPath.sizePolicy().hasHeightForWidth())
        self.lblPath.setSizePolicy(sizePolicy)
        self.lblPath.setMinimumSize(QtCore.QSize(301, 41))
        self.lblPath.setText("")
        self.lblPath.setTextFormat(QtCore.Qt.PlainText)
        self.lblPath.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
        self.lblPath.setWordWrap(True)
        self.lblPath.setObjectName("lblPath")
        self.gridLayout.addWidget(self.lblPath, 1, 1, 1, 1)
        self.btnFile = QtWidgets.QPushButton(DialogCartEdit)
        self.btnFile.setMaximumSize(QtCore.QSize(31, 16777215))
        self.btnFile.setObjectName("btnFile")
        self.gridLayout.addWidget(self.btnFile, 1, 3, 1, 1)
        spacerItem = QtWidgets.QSpacerItem(116, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 2, 1, 1, 1)
        self.buttonBox = QtWidgets.QDialogButtonBox(DialogCartEdit)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.gridLayout.addWidget(self.buttonBox, 2, 2, 1, 2)
        self.label.setBuddy(self.lineEditName)
        self.label_2.setBuddy(self.lblPath)

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

    def retranslateUi(self, DialogCartEdit):
        _translate = QtCore.QCoreApplication.translate
        DialogCartEdit.setWindowTitle(_translate("DialogCartEdit", "Carts"))
        self.label.setText(_translate("DialogCartEdit", "&Name:"))
        self.chkEnabled.setText(_translate("DialogCartEdit", "&Enabled"))
        self.label_2.setText(_translate("DialogCartEdit", "File:"))
        self.btnFile.setText(_translate("DialogCartEdit", "..."))
