# Form implementation generated from reading ui file 'src/eric7/Plugins/VcsPlugins/vcsMercurial/ShelveExtension/HgShelveBrowserDialog.ui'
#
# Created by: PyQt6 UI code generator 6.7.0
#
# 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_HgShelveBrowserDialog(object):
    def setupUi(self, HgShelveBrowserDialog):
        HgShelveBrowserDialog.setObjectName("HgShelveBrowserDialog")
        HgShelveBrowserDialog.resize(650, 574)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(HgShelveBrowserDialog)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.shelveList = QtWidgets.QTreeWidget(parent=HgShelveBrowserDialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(5)
        sizePolicy.setHeightForWidth(self.shelveList.sizePolicy().hasHeightForWidth())
        self.shelveList.setSizePolicy(sizePolicy)
        self.shelveList.setContextMenuPolicy(QtCore.Qt.ContextMenuPolicy.CustomContextMenu)
        self.shelveList.setAlternatingRowColors(True)
        self.shelveList.setSelectionMode(QtWidgets.QAbstractItemView.SelectionMode.ExtendedSelection)
        self.shelveList.setRootIsDecorated(False)
        self.shelveList.setItemsExpandable(False)
        self.shelveList.setObjectName("shelveList")
        self.verticalLayout_2.addWidget(self.shelveList)
        self.groupBox = QtWidgets.QGroupBox(parent=HgShelveBrowserDialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(4)
        sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setObjectName("groupBox")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.groupBox)
        self.verticalLayout.setObjectName("verticalLayout")
        self.statisticsList = QtWidgets.QTreeWidget(parent=self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(2)
        sizePolicy.setHeightForWidth(self.statisticsList.sizePolicy().hasHeightForWidth())
        self.statisticsList.setSizePolicy(sizePolicy)
        self.statisticsList.setAlternatingRowColors(True)
        self.statisticsList.setSelectionMode(QtWidgets.QAbstractItemView.SelectionMode.NoSelection)
        self.statisticsList.setRootIsDecorated(False)
        self.statisticsList.setItemsExpandable(False)
        self.statisticsList.setObjectName("statisticsList")
        self.verticalLayout.addWidget(self.statisticsList)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.filesLabel = QtWidgets.QLabel(parent=self.groupBox)
        self.filesLabel.setText("")
        self.filesLabel.setObjectName("filesLabel")
        self.horizontalLayout.addWidget(self.filesLabel)
        self.insertionsLabel = QtWidgets.QLabel(parent=self.groupBox)
        self.insertionsLabel.setText("")
        self.insertionsLabel.setObjectName("insertionsLabel")
        self.horizontalLayout.addWidget(self.insertionsLabel)
        self.deletionsLabel = QtWidgets.QLabel(parent=self.groupBox)
        self.deletionsLabel.setText("")
        self.deletionsLabel.setObjectName("deletionsLabel")
        self.horizontalLayout.addWidget(self.deletionsLabel)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.verticalLayout_2.addWidget(self.groupBox)
        self.errorGroup = QtWidgets.QGroupBox(parent=HgShelveBrowserDialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.errorGroup.sizePolicy().hasHeightForWidth())
        self.errorGroup.setSizePolicy(sizePolicy)
        self.errorGroup.setObjectName("errorGroup")
        self.vboxlayout = QtWidgets.QVBoxLayout(self.errorGroup)
        self.vboxlayout.setObjectName("vboxlayout")
        self.errors = QtWidgets.QTextEdit(parent=self.errorGroup)
        self.errors.setReadOnly(True)
        self.errors.setAcceptRichText(False)
        self.errors.setObjectName("errors")
        self.vboxlayout.addWidget(self.errors)
        self.verticalLayout_2.addWidget(self.errorGroup)
        self.buttonBox = QtWidgets.QDialogButtonBox(parent=HgShelveBrowserDialog)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Close)
        self.buttonBox.setObjectName("buttonBox")
        self.verticalLayout_2.addWidget(self.buttonBox)

        self.retranslateUi(HgShelveBrowserDialog)
        QtCore.QMetaObject.connectSlotsByName(HgShelveBrowserDialog)
        HgShelveBrowserDialog.setTabOrder(self.shelveList, self.statisticsList)
        HgShelveBrowserDialog.setTabOrder(self.statisticsList, self.errors)
        HgShelveBrowserDialog.setTabOrder(self.errors, self.buttonBox)

    def retranslateUi(self, HgShelveBrowserDialog):
        _translate = QtCore.QCoreApplication.translate
        HgShelveBrowserDialog.setWindowTitle(_translate("HgShelveBrowserDialog", "Mercurial Shelve Browser"))
        self.shelveList.setSortingEnabled(True)
        self.shelveList.headerItem().setText(0, _translate("HgShelveBrowserDialog", "Name"))
        self.shelveList.headerItem().setText(1, _translate("HgShelveBrowserDialog", "Age"))
        self.shelveList.headerItem().setText(2, _translate("HgShelveBrowserDialog", "Message"))
        self.groupBox.setTitle(_translate("HgShelveBrowserDialog", "Statistics"))
        self.statisticsList.headerItem().setText(0, _translate("HgShelveBrowserDialog", "File"))
        self.statisticsList.headerItem().setText(1, _translate("HgShelveBrowserDialog", "Changes"))
        self.statisticsList.headerItem().setText(2, _translate("HgShelveBrowserDialog", "Lines added"))
        self.statisticsList.headerItem().setText(3, _translate("HgShelveBrowserDialog", "Lines deleted"))
        self.errorGroup.setTitle(_translate("HgShelveBrowserDialog", "Errors"))
        self.errors.setWhatsThis(_translate("HgShelveBrowserDialog", "<b>Mercurial shelve errors</b><p>This shows possible error messages of the hg shelve command.</p>"))
