# Form implementation generated from reading ui file 'src/eric7/Plugins/VcsPlugins/vcsGit/GitPullDialog.ui'
#
# Created by: PyQt6 UI code generator 6.7.1
#
# 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_GitPullDialog(object):
    def setupUi(self, GitPullDialog):
        GitPullDialog.setObjectName("GitPullDialog")
        GitPullDialog.resize(400, 344)
        GitPullDialog.setSizeGripEnabled(True)
        self.gridLayout = QtWidgets.QGridLayout(GitPullDialog)
        self.gridLayout.setObjectName("gridLayout")
        self.label = QtWidgets.QLabel(parent=GitPullDialog)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.remotesComboBox = QtWidgets.QComboBox(parent=GitPullDialog)
        self.remotesComboBox.setObjectName("remotesComboBox")
        self.gridLayout.addWidget(self.remotesComboBox, 0, 1, 1, 1)
        self.remoteEdit = QtWidgets.QLineEdit(parent=GitPullDialog)
        self.remoteEdit.setReadOnly(True)
        self.remoteEdit.setObjectName("remoteEdit")
        self.gridLayout.addWidget(self.remoteEdit, 1, 1, 1, 1)
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.label_2 = QtWidgets.QLabel(parent=GitPullDialog)
        self.label_2.setAlignment(QtCore.Qt.AlignmentFlag.AlignLeading|QtCore.Qt.AlignmentFlag.AlignLeft|QtCore.Qt.AlignmentFlag.AlignTop)
        self.label_2.setObjectName("label_2")
        self.verticalLayout.addWidget(self.label_2)
        self.updateButton = QtWidgets.QPushButton(parent=GitPullDialog)
        self.updateButton.setObjectName("updateButton")
        self.verticalLayout.addWidget(self.updateButton)
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
        self.verticalLayout.addItem(spacerItem)
        self.gridLayout.addLayout(self.verticalLayout, 2, 0, 1, 1)
        self.remoteBranchesList = QtWidgets.QListWidget(parent=GitPullDialog)
        self.remoteBranchesList.setAlternatingRowColors(True)
        self.remoteBranchesList.setSelectionMode(QtWidgets.QAbstractItemView.SelectionMode.ExtendedSelection)
        self.remoteBranchesList.setObjectName("remoteBranchesList")
        self.gridLayout.addWidget(self.remoteBranchesList, 2, 1, 1, 1)
        self.pruneCheckBox = QtWidgets.QCheckBox(parent=GitPullDialog)
        self.pruneCheckBox.setObjectName("pruneCheckBox")
        self.gridLayout.addWidget(self.pruneCheckBox, 3, 0, 1, 2)
        self.buttonBox = QtWidgets.QDialogButtonBox(parent=GitPullDialog)
        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, 4, 0, 1, 2)

        self.retranslateUi(GitPullDialog)
        self.buttonBox.accepted.connect(GitPullDialog.accept) # type: ignore
        self.buttonBox.rejected.connect(GitPullDialog.reject) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(GitPullDialog)
        GitPullDialog.setTabOrder(self.remotesComboBox, self.remoteEdit)
        GitPullDialog.setTabOrder(self.remoteEdit, self.remoteBranchesList)
        GitPullDialog.setTabOrder(self.remoteBranchesList, self.updateButton)
        GitPullDialog.setTabOrder(self.updateButton, self.pruneCheckBox)

    def retranslateUi(self, GitPullDialog):
        _translate = QtCore.QCoreApplication.translate
        GitPullDialog.setWindowTitle(_translate("GitPullDialog", "Git Pull"))
        self.label.setText(_translate("GitPullDialog", "Remote Repository:"))
        self.remotesComboBox.setToolTip(_translate("GitPullDialog", "Select the remote repository to pull from"))
        self.label_2.setText(_translate("GitPullDialog", "Remote Branches:"))
        self.updateButton.setToolTip(_translate("GitPullDialog", "Press to update the list of remote branches"))
        self.updateButton.setText(_translate("GitPullDialog", "Update"))
        self.remoteBranchesList.setToolTip(_translate("GitPullDialog", "Select the remote branches to be pulled"))
        self.pruneCheckBox.setToolTip(_translate("GitPullDialog", "Select to remove non-existing tracking references "))
        self.pruneCheckBox.setText(_translate("GitPullDialog", "Prune obsolete tracking references"))
