# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7-22.2/eric/eric7/Plugins/VcsPlugins/vcsGit/GitSubmodulesSummaryOptionsDialog.ui'
#
# Created by: PyQt6 UI code generator 6.2.2
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt6 import QtCore, QtGui, QtWidgets


class Ui_GitSubmodulesSummaryOptionsDialog(object):
    def setupUi(self, GitSubmodulesSummaryOptionsDialog):
        GitSubmodulesSummaryOptionsDialog.setObjectName("GitSubmodulesSummaryOptionsDialog")
        GitSubmodulesSummaryOptionsDialog.resize(400, 350)
        GitSubmodulesSummaryOptionsDialog.setSizeGripEnabled(True)
        self.gridLayout = QtWidgets.QGridLayout(GitSubmodulesSummaryOptionsDialog)
        self.gridLayout.setObjectName("gridLayout")
        self.label = QtWidgets.QLabel(GitSubmodulesSummaryOptionsDialog)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 0, 0, 1, 3)
        self.submodulesList = QtWidgets.QListWidget(GitSubmodulesSummaryOptionsDialog)
        self.submodulesList.setAlternatingRowColors(True)
        self.submodulesList.setSelectionMode(QtWidgets.QAbstractItemView.SelectionMode.ExtendedSelection)
        self.submodulesList.setObjectName("submodulesList")
        self.gridLayout.addWidget(self.submodulesList, 1, 0, 1, 3)
        self.filesCheckBox = QtWidgets.QCheckBox(GitSubmodulesSummaryOptionsDialog)
        self.filesCheckBox.setObjectName("filesCheckBox")
        self.gridLayout.addWidget(self.filesCheckBox, 2, 0, 1, 3)
        self.indexCheckBox = QtWidgets.QCheckBox(GitSubmodulesSummaryOptionsDialog)
        self.indexCheckBox.setObjectName("indexCheckBox")
        self.gridLayout.addWidget(self.indexCheckBox, 3, 0, 1, 3)
        self.label_2 = QtWidgets.QLabel(GitSubmodulesSummaryOptionsDialog)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 4, 0, 1, 1)
        self.commitEdit = QtWidgets.QLineEdit(GitSubmodulesSummaryOptionsDialog)
        self.commitEdit.setObjectName("commitEdit")
        self.gridLayout.addWidget(self.commitEdit, 4, 1, 1, 2)
        self.label_3 = QtWidgets.QLabel(GitSubmodulesSummaryOptionsDialog)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 5, 0, 1, 1)
        self.limitSpinBox = QtWidgets.QSpinBox(GitSubmodulesSummaryOptionsDialog)
        self.limitSpinBox.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter)
        self.limitSpinBox.setMaximum(9999)
        self.limitSpinBox.setSingleStep(5)
        self.limitSpinBox.setObjectName("limitSpinBox")
        self.gridLayout.addWidget(self.limitSpinBox, 5, 1, 1, 1)
        spacerItem = QtWidgets.QSpacerItem(269, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        self.gridLayout.addItem(spacerItem, 5, 2, 1, 1)
        self.buttonBox = QtWidgets.QDialogButtonBox(GitSubmodulesSummaryOptionsDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.gridLayout.addWidget(self.buttonBox, 6, 0, 1, 3)

        self.retranslateUi(GitSubmodulesSummaryOptionsDialog)
        self.buttonBox.accepted.connect(GitSubmodulesSummaryOptionsDialog.accept) # type: ignore
        self.buttonBox.rejected.connect(GitSubmodulesSummaryOptionsDialog.reject) # type: ignore
        self.filesCheckBox.toggled['bool'].connect(self.indexCheckBox.setDisabled) # type: ignore
        self.filesCheckBox.toggled['bool'].connect(self.commitEdit.setDisabled) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(GitSubmodulesSummaryOptionsDialog)
        GitSubmodulesSummaryOptionsDialog.setTabOrder(self.submodulesList, self.filesCheckBox)
        GitSubmodulesSummaryOptionsDialog.setTabOrder(self.filesCheckBox, self.indexCheckBox)
        GitSubmodulesSummaryOptionsDialog.setTabOrder(self.indexCheckBox, self.commitEdit)
        GitSubmodulesSummaryOptionsDialog.setTabOrder(self.commitEdit, self.limitSpinBox)

    def retranslateUi(self, GitSubmodulesSummaryOptionsDialog):
        _translate = QtCore.QCoreApplication.translate
        GitSubmodulesSummaryOptionsDialog.setWindowTitle(_translate("GitSubmodulesSummaryOptionsDialog", "Submodule Summary Options"))
        self.label.setText(_translate("GitSubmodulesSummaryOptionsDialog", "Selected Submodules:"))
        self.submodulesList.setToolTip(_translate("GitSubmodulesSummaryOptionsDialog", "Select the submodules to show the summary for"))
        self.filesCheckBox.setToolTip(_translate("GitSubmodulesSummaryOptionsDialog", "Select to show summary information for the index of the superproject"))
        self.filesCheckBox.setText(_translate("GitSubmodulesSummaryOptionsDialog", "Show Summary for Superproject Index"))
        self.indexCheckBox.setToolTip(_translate("GitSubmodulesSummaryOptionsDialog", "Select to show summary information for the index"))
        self.indexCheckBox.setText(_translate("GitSubmodulesSummaryOptionsDialog", "Show Summary for Index"))
        self.label_2.setText(_translate("GitSubmodulesSummaryOptionsDialog", "Commit:"))
        self.commitEdit.setToolTip(_translate("GitSubmodulesSummaryOptionsDialog", "Enter a commit ID to show summary information for"))
        self.commitEdit.setPlaceholderText(_translate("GitSubmodulesSummaryOptionsDialog", "Enter Commit ID"))
        self.label_3.setText(_translate("GitSubmodulesSummaryOptionsDialog", "Limit:"))
        self.limitSpinBox.setToolTip(_translate("GitSubmodulesSummaryOptionsDialog", "Enter the maximum number of entries to be shown per submodule"))
        self.limitSpinBox.setSpecialValueText(_translate("GitSubmodulesSummaryOptionsDialog", "No Limit"))
