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

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

from PyQt5 import QtCore, QtGui, QtWidgets

class Ui_HgLogBrowserDialog(object):
    def setupUi(self, HgLogBrowserDialog):
        HgLogBrowserDialog.setObjectName("HgLogBrowserDialog")
        HgLogBrowserDialog.resize(1000, 800)
        self.gridLayout_2 = QtWidgets.QGridLayout(HgLogBrowserDialog)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.errorGroup = QtWidgets.QGroupBox(HgLogBrowserDialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.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(self.errorGroup)
        self.errors.setReadOnly(True)
        self.errors.setAcceptRichText(False)
        self.errors.setObjectName("errors")
        self.vboxlayout.addWidget(self.errors)
        self.gridLayout_2.addWidget(self.errorGroup, 5, 0, 1, 2)
        self.inputGroup = QtWidgets.QGroupBox(HgLogBrowserDialog)
        self.inputGroup.setObjectName("inputGroup")
        self.gridlayout = QtWidgets.QGridLayout(self.inputGroup)
        self.gridlayout.setObjectName("gridlayout")
        spacerItem = QtWidgets.QSpacerItem(327, 29, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem, 1, 1, 1, 1)
        self.sendButton = QtWidgets.QPushButton(self.inputGroup)
        self.sendButton.setObjectName("sendButton")
        self.gridlayout.addWidget(self.sendButton, 1, 2, 1, 1)
        self.input = QtWidgets.QLineEdit(self.inputGroup)
        self.input.setObjectName("input")
        self.gridlayout.addWidget(self.input, 0, 0, 1, 3)
        self.passwordCheckBox = QtWidgets.QCheckBox(self.inputGroup)
        self.passwordCheckBox.setObjectName("passwordCheckBox")
        self.gridlayout.addWidget(self.passwordCheckBox, 1, 0, 1, 1)
        self.gridLayout_2.addWidget(self.inputGroup, 6, 0, 1, 2)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.label = QtWidgets.QLabel(HgLogBrowserDialog)
        self.label.setObjectName("label")
        self.horizontalLayout_2.addWidget(self.label)
        self.fromDate = QtWidgets.QDateEdit(HgLogBrowserDialog)
        self.fromDate.setCalendarPopup(True)
        self.fromDate.setObjectName("fromDate")
        self.horizontalLayout_2.addWidget(self.fromDate)
        self.label_2 = QtWidgets.QLabel(HgLogBrowserDialog)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout_2.addWidget(self.label_2)
        self.toDate = QtWidgets.QDateEdit(HgLogBrowserDialog)
        self.toDate.setCalendarPopup(True)
        self.toDate.setObjectName("toDate")
        self.horizontalLayout_2.addWidget(self.toDate)
        self.line_2 = QtWidgets.QFrame(HgLogBrowserDialog)
        self.line_2.setFrameShadow(QtWidgets.QFrame.Raised)
        self.line_2.setLineWidth(2)
        self.line_2.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_2.setObjectName("line_2")
        self.horizontalLayout_2.addWidget(self.line_2)
        self.label_3 = QtWidgets.QLabel(HgLogBrowserDialog)
        self.label_3.setObjectName("label_3")
        self.horizontalLayout_2.addWidget(self.label_3)
        self.branchCombo = QtWidgets.QComboBox(HgLogBrowserDialog)
        self.branchCombo.setSizeAdjustPolicy(QtWidgets.QComboBox.AdjustToContents)
        self.branchCombo.setObjectName("branchCombo")
        self.horizontalLayout_2.addWidget(self.branchCombo)
        self.line_3 = QtWidgets.QFrame(HgLogBrowserDialog)
        self.line_3.setFrameShadow(QtWidgets.QFrame.Raised)
        self.line_3.setLineWidth(2)
        self.line_3.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_3.setObjectName("line_3")
        self.horizontalLayout_2.addWidget(self.line_3)
        self.fieldCombo = QtWidgets.QComboBox(HgLogBrowserDialog)
        self.fieldCombo.setObjectName("fieldCombo")
        self.fieldCombo.addItem("")
        self.fieldCombo.addItem("")
        self.fieldCombo.addItem("")
        self.horizontalLayout_2.addWidget(self.fieldCombo)
        self.rxEdit = E5ClearableLineEdit(HgLogBrowserDialog)
        self.rxEdit.setObjectName("rxEdit")
        self.horizontalLayout_2.addWidget(self.rxEdit)
        self.gridLayout_2.addLayout(self.horizontalLayout_2, 0, 0, 1, 2)
        self.logTree = QtWidgets.QTreeWidget(HgLogBrowserDialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(7)
        sizePolicy.setHeightForWidth(self.logTree.sizePolicy().hasHeightForWidth())
        self.logTree.setSizePolicy(sizePolicy)
        self.logTree.setAlternatingRowColors(True)
        self.logTree.setSelectionMode(QtWidgets.QAbstractItemView.ExtendedSelection)
        self.logTree.setRootIsDecorated(False)
        self.logTree.setItemsExpandable(False)
        self.logTree.setAllColumnsShowFocus(True)
        self.logTree.setObjectName("logTree")
        self.gridLayout_2.addWidget(self.logTree, 1, 0, 1, 2)
        self.messageEdit = QtWidgets.QTextEdit(HgLogBrowserDialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(2)
        sizePolicy.setVerticalStretch(3)
        sizePolicy.setHeightForWidth(self.messageEdit.sizePolicy().hasHeightForWidth())
        self.messageEdit.setSizePolicy(sizePolicy)
        self.messageEdit.setReadOnly(True)
        self.messageEdit.setObjectName("messageEdit")
        self.gridLayout_2.addWidget(self.messageEdit, 2, 1, 1, 1)
        self.filesTree = QtWidgets.QTreeWidget(HgLogBrowserDialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(4)
        sizePolicy.setHeightForWidth(self.filesTree.sizePolicy().hasHeightForWidth())
        self.filesTree.setSizePolicy(sizePolicy)
        self.filesTree.setAlternatingRowColors(True)
        self.filesTree.setRootIsDecorated(False)
        self.filesTree.setItemsExpandable(False)
        self.filesTree.setAllColumnsShowFocus(True)
        self.filesTree.setObjectName("filesTree")
        self.gridLayout_2.addWidget(self.filesTree, 3, 0, 1, 2)
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.nextButton = QtWidgets.QPushButton(HgLogBrowserDialog)
        self.nextButton.setObjectName("nextButton")
        self.gridLayout.addWidget(self.nextButton, 0, 0, 1, 1)
        self.limitSpinBox = QtWidgets.QSpinBox(HgLogBrowserDialog)
        self.limitSpinBox.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.limitSpinBox.setMinimum(1)
        self.limitSpinBox.setMaximum(10000)
        self.limitSpinBox.setProperty("value", 20)
        self.limitSpinBox.setObjectName("limitSpinBox")
        self.gridLayout.addWidget(self.limitSpinBox, 0, 1, 1, 1)
        self.line = QtWidgets.QFrame(HgLogBrowserDialog)
        self.line.setFrameShadow(QtWidgets.QFrame.Raised)
        self.line.setLineWidth(2)
        self.line.setFrameShape(QtWidgets.QFrame.VLine)
        self.line.setObjectName("line")
        self.gridLayout.addWidget(self.line, 0, 3, 2, 1)
        self.stopCheckBox = QtWidgets.QCheckBox(HgLogBrowserDialog)
        self.stopCheckBox.setObjectName("stopCheckBox")
        self.gridLayout.addWidget(self.stopCheckBox, 0, 2, 1, 1)
        self.diffP1Button = QtWidgets.QPushButton(HgLogBrowserDialog)
        self.diffP1Button.setObjectName("diffP1Button")
        self.gridLayout.addWidget(self.diffP1Button, 0, 4, 1, 1)
        self.diffP2Button = QtWidgets.QPushButton(HgLogBrowserDialog)
        self.diffP2Button.setObjectName("diffP2Button")
        self.gridLayout.addWidget(self.diffP2Button, 0, 5, 1, 1)
        self.diffRevisionsButton = QtWidgets.QPushButton(HgLogBrowserDialog)
        self.diffRevisionsButton.setObjectName("diffRevisionsButton")
        self.gridLayout.addWidget(self.diffRevisionsButton, 0, 6, 1, 1)
        self.phaseLine = QtWidgets.QFrame(HgLogBrowserDialog)
        self.phaseLine.setFrameShadow(QtWidgets.QFrame.Raised)
        self.phaseLine.setLineWidth(2)
        self.phaseLine.setFrameShape(QtWidgets.QFrame.VLine)
        self.phaseLine.setObjectName("phaseLine")
        self.gridLayout.addWidget(self.phaseLine, 0, 7, 2, 1)
        spacerItem1 = QtWidgets.QSpacerItem(38, 29, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 0, 9, 1, 1)
        self.sbsCheckBox = QtWidgets.QCheckBox(HgLogBrowserDialog)
        self.sbsCheckBox.setObjectName("sbsCheckBox")
        self.gridLayout.addWidget(self.sbsCheckBox, 1, 4, 1, 3)
        self.actionsButton = QtWidgets.QToolButton(HgLogBrowserDialog)
        self.actionsButton.setPopupMode(QtWidgets.QToolButton.InstantPopup)
        self.actionsButton.setObjectName("actionsButton")
        self.gridLayout.addWidget(self.actionsButton, 0, 8, 1, 1)
        self.gridLayout_2.addLayout(self.gridLayout, 4, 0, 1, 2)
        self.buttonBox = QtWidgets.QDialogButtonBox(HgLogBrowserDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Close)
        self.buttonBox.setObjectName("buttonBox")
        self.gridLayout_2.addWidget(self.buttonBox, 7, 0, 1, 2)
        self.detailsEdit = QtWidgets.QTextEdit(HgLogBrowserDialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(3)
        sizePolicy.setHeightForWidth(self.detailsEdit.sizePolicy().hasHeightForWidth())
        self.detailsEdit.setSizePolicy(sizePolicy)
        self.detailsEdit.setReadOnly(True)
        self.detailsEdit.setObjectName("detailsEdit")
        self.gridLayout_2.addWidget(self.detailsEdit, 2, 0, 1, 1)

        self.retranslateUi(HgLogBrowserDialog)
        QtCore.QMetaObject.connectSlotsByName(HgLogBrowserDialog)
        HgLogBrowserDialog.setTabOrder(self.fromDate, self.toDate)
        HgLogBrowserDialog.setTabOrder(self.toDate, self.branchCombo)
        HgLogBrowserDialog.setTabOrder(self.branchCombo, self.fieldCombo)
        HgLogBrowserDialog.setTabOrder(self.fieldCombo, self.rxEdit)
        HgLogBrowserDialog.setTabOrder(self.rxEdit, self.logTree)
        HgLogBrowserDialog.setTabOrder(self.logTree, self.detailsEdit)
        HgLogBrowserDialog.setTabOrder(self.detailsEdit, self.messageEdit)
        HgLogBrowserDialog.setTabOrder(self.messageEdit, self.filesTree)
        HgLogBrowserDialog.setTabOrder(self.filesTree, self.nextButton)
        HgLogBrowserDialog.setTabOrder(self.nextButton, self.limitSpinBox)
        HgLogBrowserDialog.setTabOrder(self.limitSpinBox, self.stopCheckBox)
        HgLogBrowserDialog.setTabOrder(self.stopCheckBox, self.diffP1Button)
        HgLogBrowserDialog.setTabOrder(self.diffP1Button, self.diffP2Button)
        HgLogBrowserDialog.setTabOrder(self.diffP2Button, self.diffRevisionsButton)
        HgLogBrowserDialog.setTabOrder(self.diffRevisionsButton, self.sbsCheckBox)
        HgLogBrowserDialog.setTabOrder(self.sbsCheckBox, self.actionsButton)
        HgLogBrowserDialog.setTabOrder(self.actionsButton, self.errors)
        HgLogBrowserDialog.setTabOrder(self.errors, self.input)
        HgLogBrowserDialog.setTabOrder(self.input, self.passwordCheckBox)
        HgLogBrowserDialog.setTabOrder(self.passwordCheckBox, self.sendButton)
        HgLogBrowserDialog.setTabOrder(self.sendButton, self.buttonBox)

    def retranslateUi(self, HgLogBrowserDialog):
        _translate = QtCore.QCoreApplication.translate
        HgLogBrowserDialog.setWindowTitle(_translate("HgLogBrowserDialog", "Mercurial Log"))
        self.errorGroup.setTitle(_translate("HgLogBrowserDialog", "Errors"))
        self.errors.setWhatsThis(_translate("HgLogBrowserDialog", "<b>Mercurial log errors</b><p>This shows possible error messages of the hg log command.</p>"))
        self.inputGroup.setTitle(_translate("HgLogBrowserDialog", "Input"))
        self.sendButton.setToolTip(_translate("HgLogBrowserDialog", "Press to send the input to the hg process"))
        self.sendButton.setText(_translate("HgLogBrowserDialog", "&Send"))
        self.sendButton.setShortcut(_translate("HgLogBrowserDialog", "Alt+S"))
        self.input.setToolTip(_translate("HgLogBrowserDialog", "Enter data to be sent to the hg process"))
        self.passwordCheckBox.setToolTip(_translate("HgLogBrowserDialog", "Select to switch the input field to password mode"))
        self.passwordCheckBox.setText(_translate("HgLogBrowserDialog", "&Password Mode"))
        self.passwordCheckBox.setShortcut(_translate("HgLogBrowserDialog", "Alt+P"))
        self.label.setText(_translate("HgLogBrowserDialog", "From:"))
        self.fromDate.setToolTip(_translate("HgLogBrowserDialog", "Enter the start date"))
        self.label_2.setText(_translate("HgLogBrowserDialog", "To:"))
        self.toDate.setToolTip(_translate("HgLogBrowserDialog", "Enter the end date"))
        self.label_3.setText(_translate("HgLogBrowserDialog", "Branch:"))
        self.branchCombo.setToolTip(_translate("HgLogBrowserDialog", "Select the branch to filter on"))
        self.fieldCombo.setToolTip(_translate("HgLogBrowserDialog", "Select the field to filter on"))
        self.fieldCombo.setItemText(0, _translate("HgLogBrowserDialog", "Revision"))
        self.fieldCombo.setItemText(1, _translate("HgLogBrowserDialog", "Author"))
        self.fieldCombo.setItemText(2, _translate("HgLogBrowserDialog", "Message"))
        self.rxEdit.setToolTip(_translate("HgLogBrowserDialog", "Enter the regular expression to filter on"))
        self.logTree.headerItem().setText(0, _translate("HgLogBrowserDialog", "Graph"))
        self.logTree.headerItem().setText(1, _translate("HgLogBrowserDialog", "Branch"))
        self.logTree.headerItem().setText(2, _translate("HgLogBrowserDialog", "Revision"))
        self.logTree.headerItem().setText(3, _translate("HgLogBrowserDialog", "Phase"))
        self.logTree.headerItem().setText(4, _translate("HgLogBrowserDialog", "Author"))
        self.logTree.headerItem().setText(5, _translate("HgLogBrowserDialog", "Date"))
        self.logTree.headerItem().setText(6, _translate("HgLogBrowserDialog", "Message"))
        self.logTree.headerItem().setText(7, _translate("HgLogBrowserDialog", "Tags"))
        self.filesTree.setSortingEnabled(True)
        self.filesTree.headerItem().setText(0, _translate("HgLogBrowserDialog", "Action"))
        self.filesTree.headerItem().setText(1, _translate("HgLogBrowserDialog", "Path"))
        self.filesTree.headerItem().setText(2, _translate("HgLogBrowserDialog", "Copy from"))
        self.nextButton.setToolTip(_translate("HgLogBrowserDialog", "Press to get the next bunch of log entries"))
        self.nextButton.setText(_translate("HgLogBrowserDialog", "&Next"))
        self.limitSpinBox.setToolTip(_translate("HgLogBrowserDialog", "Enter the limit of entries to fetch"))
        self.stopCheckBox.setToolTip(_translate("HgLogBrowserDialog", "Select to stop listing log messages at a copy or move"))
        self.stopCheckBox.setText(_translate("HgLogBrowserDialog", "Stop on Copy/Move"))
        self.diffP1Button.setToolTip(_translate("HgLogBrowserDialog", "Press to generate a diff to the first parent revision"))
        self.diffP1Button.setText(_translate("HgLogBrowserDialog", "Diff to Parent &1"))
        self.diffP2Button.setToolTip(_translate("HgLogBrowserDialog", "Press to generate a diff to the second parent revision"))
        self.diffP2Button.setText(_translate("HgLogBrowserDialog", "Diff to Parent &2"))
        self.diffRevisionsButton.setToolTip(_translate("HgLogBrowserDialog", "Press to compare two revisions"))
        self.diffRevisionsButton.setText(_translate("HgLogBrowserDialog", "&Compare Revisions"))
        self.sbsCheckBox.setToolTip(_translate("HgLogBrowserDialog", "Select to show differences side-by-side"))
        self.sbsCheckBox.setText(_translate("HgLogBrowserDialog", "Show differences side-by-side"))
        self.actionsButton.setToolTip(_translate("HgLogBrowserDialog", "Select action from menu"))

from E5Gui.E5LineEdit import E5ClearableLineEdit
