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

# Form implementation generated from reading ui file 'eric/Plugins/VcsPlugins/vcsMercurial/GpgExtension/HgGpgSignaturesDialog.ui'
#
# Created: Thu Mar  5 17:02:28 2015
#      by: PyQt4 UI code generator 4.11.3
#
# 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_HgGpgSignaturesDialog(object):
    def setupUi(self, HgGpgSignaturesDialog):
        HgGpgSignaturesDialog.setObjectName(_fromUtf8("HgGpgSignaturesDialog"))
        HgGpgSignaturesDialog.resize(700, 600)
        HgGpgSignaturesDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtGui.QVBoxLayout(HgGpgSignaturesDialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem1)
        self.categoryCombo = QtGui.QComboBox(HgGpgSignaturesDialog)
        self.categoryCombo.setObjectName(_fromUtf8("categoryCombo"))
        self.categoryCombo.addItem(_fromUtf8(""))
        self.categoryCombo.addItem(_fromUtf8(""))
        self.horizontalLayout_2.addWidget(self.categoryCombo)
        self.rxEdit = E5ClearableLineEdit(HgGpgSignaturesDialog)
        self.rxEdit.setObjectName(_fromUtf8("rxEdit"))
        self.horizontalLayout_2.addWidget(self.rxEdit)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.signaturesList = QtGui.QTreeWidget(HgGpgSignaturesDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(3)
        sizePolicy.setHeightForWidth(self.signaturesList.sizePolicy().hasHeightForWidth())
        self.signaturesList.setSizePolicy(sizePolicy)
        self.signaturesList.setAlternatingRowColors(True)
        self.signaturesList.setRootIsDecorated(False)
        self.signaturesList.setHeaderHidden(True)
        self.signaturesList.setObjectName(_fromUtf8("signaturesList"))
        self.signaturesList.headerItem().setText(0, _fromUtf8("1"))
        self.verticalLayout.addWidget(self.signaturesList)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.verifyButton = QtGui.QPushButton(HgGpgSignaturesDialog)
        self.verifyButton.setEnabled(False)
        self.verifyButton.setObjectName(_fromUtf8("verifyButton"))
        self.horizontalLayout.addWidget(self.verifyButton)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem2)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.errorGroup = QtGui.QGroupBox(HgGpgSignaturesDialog)
        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.addWidget(self.errorGroup)
        self.inputGroup = QtGui.QGroupBox(HgGpgSignaturesDialog)
        self.inputGroup.setObjectName(_fromUtf8("inputGroup"))
        self._2 = QtGui.QGridLayout(self.inputGroup)
        self._2.setObjectName(_fromUtf8("_2"))
        spacerItem3 = QtGui.QSpacerItem(327, 29, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self._2.addItem(spacerItem3, 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.addWidget(self.inputGroup)
        self.buttonBox = QtGui.QDialogButtonBox(HgGpgSignaturesDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Close)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout.addWidget(self.buttonBox)

        self.retranslateUi(HgGpgSignaturesDialog)
        QtCore.QMetaObject.connectSlotsByName(HgGpgSignaturesDialog)
        HgGpgSignaturesDialog.setTabOrder(self.categoryCombo, self.rxEdit)
        HgGpgSignaturesDialog.setTabOrder(self.rxEdit, self.signaturesList)
        HgGpgSignaturesDialog.setTabOrder(self.signaturesList, self.verifyButton)
        HgGpgSignaturesDialog.setTabOrder(self.verifyButton, self.errors)
        HgGpgSignaturesDialog.setTabOrder(self.errors, self.input)
        HgGpgSignaturesDialog.setTabOrder(self.input, self.passwordCheckBox)
        HgGpgSignaturesDialog.setTabOrder(self.passwordCheckBox, self.sendButton)
        HgGpgSignaturesDialog.setTabOrder(self.sendButton, self.buttonBox)

    def retranslateUi(self, HgGpgSignaturesDialog):
        HgGpgSignaturesDialog.setWindowTitle(_translate("HgGpgSignaturesDialog", "Signed Changesets", None))
        self.categoryCombo.setToolTip(_translate("HgGpgSignaturesDialog", "Select the category to filter on", None))
        self.categoryCombo.setItemText(0, _translate("HgGpgSignaturesDialog", "Revision", None))
        self.categoryCombo.setItemText(1, _translate("HgGpgSignaturesDialog", "Signature", None))
        self.rxEdit.setToolTip(_translate("HgGpgSignaturesDialog", "Enter the regular expression to filter on", None))
        self.verifyButton.setToolTip(_translate("HgGpgSignaturesDialog", "Press to verify the signatures of the selected revision", None))
        self.verifyButton.setText(_translate("HgGpgSignaturesDialog", "&Verify...", None))
        self.errorGroup.setTitle(_translate("HgGpgSignaturesDialog", "Errors", None))
        self.errors.setWhatsThis(_translate("HgGpgSignaturesDialog", "<b>Mercurial errors</b><p>This shows possible error messages.</p>", None))
        self.inputGroup.setTitle(_translate("HgGpgSignaturesDialog", "Input", None))
        self.sendButton.setToolTip(_translate("HgGpgSignaturesDialog", "Press to send the input to the hg process", None))
        self.sendButton.setText(_translate("HgGpgSignaturesDialog", "&Send", None))
        self.sendButton.setShortcut(_translate("HgGpgSignaturesDialog", "Alt+S", None))
        self.input.setToolTip(_translate("HgGpgSignaturesDialog", "Enter data to be sent to the hg process", None))
        self.passwordCheckBox.setToolTip(_translate("HgGpgSignaturesDialog", "Select to switch the input field to password mode", None))
        self.passwordCheckBox.setText(_translate("HgGpgSignaturesDialog", "&Password Mode", None))
        self.passwordCheckBox.setShortcut(_translate("HgGpgSignaturesDialog", "Alt+P", None))

from E5Gui.E5LineEdit import E5ClearableLineEdit
