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

# Form implementation generated from reading ui file 'eric/Plugins/VcsPlugins/vcsMercurial/ShelveExtension/HgShelveBrowserDialog.ui'
#
# Created by: PyQt4 UI code generator 4.11.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)

class Ui_HgShelveBrowserDialog(object):
    def setupUi(self, HgShelveBrowserDialog):
        HgShelveBrowserDialog.setObjectName(_fromUtf8("HgShelveBrowserDialog"))
        HgShelveBrowserDialog.resize(650, 574)
        self.verticalLayout_2 = QtGui.QVBoxLayout(HgShelveBrowserDialog)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.shelveList = QtGui.QTreeWidget(HgShelveBrowserDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(5)
        sizePolicy.setHeightForWidth(self.shelveList.sizePolicy().hasHeightForWidth())
        self.shelveList.setSizePolicy(sizePolicy)
        self.shelveList.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
        self.shelveList.setAlternatingRowColors(True)
        self.shelveList.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.shelveList.setRootIsDecorated(False)
        self.shelveList.setItemsExpandable(False)
        self.shelveList.setObjectName(_fromUtf8("shelveList"))
        self.verticalLayout_2.addWidget(self.shelveList)
        self.groupBox = QtGui.QGroupBox(HgShelveBrowserDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(4)
        sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.statisticsList = QtGui.QTreeWidget(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(2)
        sizePolicy.setHeightForWidth(self.statisticsList.sizePolicy().hasHeightForWidth())
        self.statisticsList.setSizePolicy(sizePolicy)
        self.statisticsList.setAlternatingRowColors(True)
        self.statisticsList.setSelectionMode(QtGui.QAbstractItemView.NoSelection)
        self.statisticsList.setRootIsDecorated(False)
        self.statisticsList.setItemsExpandable(False)
        self.statisticsList.setObjectName(_fromUtf8("statisticsList"))
        self.verticalLayout.addWidget(self.statisticsList)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.filesLabel = QtGui.QLabel(self.groupBox)
        self.filesLabel.setText(_fromUtf8(""))
        self.filesLabel.setObjectName(_fromUtf8("filesLabel"))
        self.horizontalLayout.addWidget(self.filesLabel)
        self.insertionsLabel = QtGui.QLabel(self.groupBox)
        self.insertionsLabel.setText(_fromUtf8(""))
        self.insertionsLabel.setObjectName(_fromUtf8("insertionsLabel"))
        self.horizontalLayout.addWidget(self.insertionsLabel)
        self.deletionsLabel = QtGui.QLabel(self.groupBox)
        self.deletionsLabel.setText(_fromUtf8(""))
        self.deletionsLabel.setObjectName(_fromUtf8("deletionsLabel"))
        self.horizontalLayout.addWidget(self.deletionsLabel)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.verticalLayout_2.addWidget(self.groupBox)
        self.errorGroup = QtGui.QGroupBox(HgShelveBrowserDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.errorGroup.sizePolicy().hasHeightForWidth())
        self.errorGroup.setSizePolicy(sizePolicy)
        self.errorGroup.setObjectName(_fromUtf8("errorGroup"))
        self.vboxlayout = QtGui.QVBoxLayout(self.errorGroup)
        self.vboxlayout.setObjectName(_fromUtf8("vboxlayout"))
        self.errors = QtGui.QTextEdit(self.errorGroup)
        self.errors.setReadOnly(True)
        self.errors.setAcceptRichText(False)
        self.errors.setObjectName(_fromUtf8("errors"))
        self.vboxlayout.addWidget(self.errors)
        self.verticalLayout_2.addWidget(self.errorGroup)
        self.inputGroup = QtGui.QGroupBox(HgShelveBrowserDialog)
        self.inputGroup.setObjectName(_fromUtf8("inputGroup"))
        self._2 = QtGui.QGridLayout(self.inputGroup)
        self._2.setObjectName(_fromUtf8("_2"))
        spacerItem = QtGui.QSpacerItem(327, 29, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self._2.addItem(spacerItem, 1, 1, 1, 1)
        self.sendButton = QtGui.QPushButton(self.inputGroup)
        self.sendButton.setObjectName(_fromUtf8("sendButton"))
        self._2.addWidget(self.sendButton, 1, 2, 1, 1)
        self.input = QtGui.QLineEdit(self.inputGroup)
        self.input.setObjectName(_fromUtf8("input"))
        self._2.addWidget(self.input, 0, 0, 1, 3)
        self.passwordCheckBox = QtGui.QCheckBox(self.inputGroup)
        self.passwordCheckBox.setObjectName(_fromUtf8("passwordCheckBox"))
        self._2.addWidget(self.passwordCheckBox, 1, 0, 1, 1)
        self.verticalLayout_2.addWidget(self.inputGroup)
        self.buttonBox = QtGui.QDialogButtonBox(HgShelveBrowserDialog)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Close)
        self.buttonBox.setObjectName(_fromUtf8("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.input)
        HgShelveBrowserDialog.setTabOrder(self.input, self.passwordCheckBox)
        HgShelveBrowserDialog.setTabOrder(self.passwordCheckBox, self.sendButton)
        HgShelveBrowserDialog.setTabOrder(self.sendButton, self.buttonBox)

    def retranslateUi(self, HgShelveBrowserDialog):
        HgShelveBrowserDialog.setWindowTitle(_translate("HgShelveBrowserDialog", "Mercurial Shelve Browser", None))
        self.shelveList.setSortingEnabled(True)
        self.shelveList.headerItem().setText(0, _translate("HgShelveBrowserDialog", "Name", None))
        self.shelveList.headerItem().setText(1, _translate("HgShelveBrowserDialog", "Age", None))
        self.shelveList.headerItem().setText(2, _translate("HgShelveBrowserDialog", "Message", None))
        self.groupBox.setTitle(_translate("HgShelveBrowserDialog", "Statistics", None))
        self.statisticsList.headerItem().setText(0, _translate("HgShelveBrowserDialog", "File", None))
        self.statisticsList.headerItem().setText(1, _translate("HgShelveBrowserDialog", "Changes", None))
        self.statisticsList.headerItem().setText(2, _translate("HgShelveBrowserDialog", "Lines added", None))
        self.statisticsList.headerItem().setText(3, _translate("HgShelveBrowserDialog", "Lines deleted", None))
        self.errorGroup.setTitle(_translate("HgShelveBrowserDialog", "Errors", None))
        self.errors.setWhatsThis(_translate("HgShelveBrowserDialog", "<b>Mercurial shelve errors</b><p>This shows possible error messages of the hg shelve command.</p>", None))
        self.inputGroup.setTitle(_translate("HgShelveBrowserDialog", "Input", None))
        self.sendButton.setToolTip(_translate("HgShelveBrowserDialog", "Press to send the input to the hg process", None))
        self.sendButton.setText(_translate("HgShelveBrowserDialog", "&Send", None))
        self.sendButton.setShortcut(_translate("HgShelveBrowserDialog", "Alt+S", None))
        self.input.setToolTip(_translate("HgShelveBrowserDialog", "Enter data to be sent to the hg process", None))
        self.passwordCheckBox.setToolTip(_translate("HgShelveBrowserDialog", "Select to switch the input field to password mode", None))
        self.passwordCheckBox.setText(_translate("HgShelveBrowserDialog", "&Password Mode", None))
        self.passwordCheckBox.setShortcut(_translate("HgShelveBrowserDialog", "Alt+P", None))

