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

# Form implementation generated from reading ui file 'eric/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesListGuardsDialog.ui'
#
# Created: Tue Oct 28 07:22:18 2014
#      by: PyQt4 UI code generator 4.11.2
#
# 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_HgQueuesListGuardsDialog(object):
    def setupUi(self, HgQueuesListGuardsDialog):
        HgQueuesListGuardsDialog.setObjectName(_fromUtf8("HgQueuesListGuardsDialog"))
        HgQueuesListGuardsDialog.resize(400, 400)
        HgQueuesListGuardsDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtGui.QVBoxLayout(HgQueuesListGuardsDialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.label = QtGui.QLabel(HgQueuesListGuardsDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.verticalLayout.addWidget(self.label)
        self.patchSelector = QtGui.QComboBox(HgQueuesListGuardsDialog)
        self.patchSelector.setObjectName(_fromUtf8("patchSelector"))
        self.verticalLayout.addWidget(self.patchSelector)
        self.line = QtGui.QFrame(HgQueuesListGuardsDialog)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName(_fromUtf8("line"))
        self.verticalLayout.addWidget(self.line)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label_2 = QtGui.QLabel(HgQueuesListGuardsDialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.horizontalLayout.addWidget(self.label_2)
        self.patchNameLabel = QtGui.QLabel(HgQueuesListGuardsDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.patchNameLabel.sizePolicy().hasHeightForWidth())
        self.patchNameLabel.setSizePolicy(sizePolicy)
        self.patchNameLabel.setText(_fromUtf8(""))
        self.patchNameLabel.setObjectName(_fromUtf8("patchNameLabel"))
        self.horizontalLayout.addWidget(self.patchNameLabel)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.guardsList = QtGui.QListWidget(HgQueuesListGuardsDialog)
        self.guardsList.setAlternatingRowColors(True)
        self.guardsList.setObjectName(_fromUtf8("guardsList"))
        self.verticalLayout.addWidget(self.guardsList)
        self.buttonBox = QtGui.QDialogButtonBox(HgQueuesListGuardsDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout.addWidget(self.buttonBox)

        self.retranslateUi(HgQueuesListGuardsDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), HgQueuesListGuardsDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), HgQueuesListGuardsDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(HgQueuesListGuardsDialog)
        HgQueuesListGuardsDialog.setTabOrder(self.patchSelector, self.guardsList)
        HgQueuesListGuardsDialog.setTabOrder(self.guardsList, self.buttonBox)

    def retranslateUi(self, HgQueuesListGuardsDialog):
        HgQueuesListGuardsDialog.setWindowTitle(_translate("HgQueuesListGuardsDialog", "List Guards", None))
        self.label.setText(_translate("HgQueuesListGuardsDialog", "Select patch (leave empty for current patch):", None))
        self.patchSelector.setToolTip(_translate("HgQueuesListGuardsDialog", "Select the patch to show the guards of", None))
        self.label_2.setText(_translate("HgQueuesListGuardsDialog", "Patch:", None))
        self.patchNameLabel.setToolTip(_translate("HgQueuesListGuardsDialog", "Shows the name of the patch", None))
        self.guardsList.setToolTip(_translate("HgQueuesListGuardsDialog", "This shows the list of guards defined for the selected patch", None))

