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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/VCS/vcsCVS/CvsHistoryDialog.ui'
#
# Created: Sat Feb  3 15:34:15 2007
#      by: PyQt4 UI code generator 4-snapshot-20070125
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_CvsHistoryDialog(object):
    def setupUi(self, CvsHistoryDialog):
        CvsHistoryDialog.setObjectName("CvsHistoryDialog")
        CvsHistoryDialog.resize(QtCore.QSize(QtCore.QRect(0,0,865,610).size()).expandedTo(CvsHistoryDialog.minimumSizeHint()))

        self.vboxlayout = QtGui.QVBoxLayout(CvsHistoryDialog)
        self.vboxlayout.setMargin(6)
        self.vboxlayout.setSpacing(6)
        self.vboxlayout.setObjectName("vboxlayout")

        self.historyGroup = QtGui.QGroupBox(CvsHistoryDialog)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(5),QtGui.QSizePolicy.Policy(5))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(3)
        sizePolicy.setHeightForWidth(self.historyGroup.sizePolicy().hasHeightForWidth())
        self.historyGroup.setSizePolicy(sizePolicy)
        self.historyGroup.setObjectName("historyGroup")

        self.vboxlayout1 = QtGui.QVBoxLayout(self.historyGroup)
        self.vboxlayout1.setMargin(6)
        self.vboxlayout1.setSpacing(6)
        self.vboxlayout1.setObjectName("vboxlayout1")

        self.historyList = QtGui.QTreeWidget(self.historyGroup)
        self.historyList.setAlternatingRowColors(True)
        self.historyList.setRootIsDecorated(False)
        self.historyList.setItemsExpandable(False)
        self.historyList.setSortingEnabled(True)
        self.historyList.setObjectName("historyList")
        self.historyList.headerItem().setText(7,"")
        self.vboxlayout1.addWidget(self.historyList)
        self.vboxlayout.addWidget(self.historyGroup)

        self.errorGroup = QtGui.QGroupBox(CvsHistoryDialog)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(5),QtGui.QSizePolicy.Policy(7))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.errorGroup.sizePolicy().hasHeightForWidth())
        self.errorGroup.setSizePolicy(sizePolicy)
        self.errorGroup.setObjectName("errorGroup")

        self.vboxlayout2 = QtGui.QVBoxLayout(self.errorGroup)
        self.vboxlayout2.setMargin(6)
        self.vboxlayout2.setSpacing(6)
        self.vboxlayout2.setObjectName("vboxlayout2")

        self.errors = QtGui.QTextEdit(self.errorGroup)
        self.errors.setFocusPolicy(QtCore.Qt.NoFocus)
        self.errors.setReadOnly(True)
        self.errors.setAcceptRichText(False)
        self.errors.setObjectName("errors")
        self.vboxlayout2.addWidget(self.errors)
        self.vboxlayout.addWidget(self.errorGroup)

        self.inputGroup = QtGui.QGroupBox(CvsHistoryDialog)
        self.inputGroup.setObjectName("inputGroup")

        self.gridlayout = QtGui.QGridLayout(self.inputGroup)
        self.gridlayout.setMargin(6)
        self.gridlayout.setSpacing(6)
        self.gridlayout.setObjectName("gridlayout")

        spacerItem = QtGui.QSpacerItem(327,29,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem,1,1,1,1)

        self.sendButton = QtGui.QPushButton(self.inputGroup)
        self.sendButton.setObjectName("sendButton")
        self.gridlayout.addWidget(self.sendButton,1,2,1,1)

        self.input = QtGui.QLineEdit(self.inputGroup)
        self.input.setObjectName("input")
        self.gridlayout.addWidget(self.input,0,0,1,3)

        self.passwordCheckBox = QtGui.QCheckBox(self.inputGroup)
        self.passwordCheckBox.setObjectName("passwordCheckBox")
        self.gridlayout.addWidget(self.passwordCheckBox,1,0,1,1)
        self.vboxlayout.addWidget(self.inputGroup)

        self.buttonBox = QtGui.QDialogButtonBox(CvsHistoryDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Close|QtGui.QDialogButtonBox.NoButton)
        self.buttonBox.setObjectName("buttonBox")
        self.vboxlayout.addWidget(self.buttonBox)

        self.retranslateUi(CvsHistoryDialog)
        QtCore.QMetaObject.connectSlotsByName(CvsHistoryDialog)
        CvsHistoryDialog.setTabOrder(self.historyList,self.input)
        CvsHistoryDialog.setTabOrder(self.input,self.passwordCheckBox)
        CvsHistoryDialog.setTabOrder(self.passwordCheckBox,self.sendButton)

    def retranslateUi(self, CvsHistoryDialog):
        CvsHistoryDialog.setWindowTitle(QtGui.QApplication.translate("CvsHistoryDialog", "CVS History", None, QtGui.QApplication.UnicodeUTF8))
        CvsHistoryDialog.setWhatsThis(QtGui.QApplication.translate("CvsHistoryDialog", "<b>CVS History</b>\n"
        "<p>This dialog shows the history of the selected file or project.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.historyGroup.setTitle(QtGui.QApplication.translate("CvsHistoryDialog", "History", None, QtGui.QApplication.UnicodeUTF8))
        self.historyList.setWhatsThis(QtGui.QApplication.translate("CvsHistoryDialog", "<b>History List</b>\n"
        "<p>This shows the history entries of the selected file or project.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.historyList.headerItem().setText(0,QtGui.QApplication.translate("CvsHistoryDialog", "No.", None, QtGui.QApplication.UnicodeUTF8))
        self.historyList.headerItem().setText(1,QtGui.QApplication.translate("CvsHistoryDialog", "Date", None, QtGui.QApplication.UnicodeUTF8))
        self.historyList.headerItem().setText(2,QtGui.QApplication.translate("CvsHistoryDialog", "Event", None, QtGui.QApplication.UnicodeUTF8))
        self.historyList.headerItem().setText(3,QtGui.QApplication.translate("CvsHistoryDialog", "Author", None, QtGui.QApplication.UnicodeUTF8))
        self.historyList.headerItem().setText(4,QtGui.QApplication.translate("CvsHistoryDialog", "Revision", None, QtGui.QApplication.UnicodeUTF8))
        self.historyList.headerItem().setText(5,QtGui.QApplication.translate("CvsHistoryDialog", "File", None, QtGui.QApplication.UnicodeUTF8))
        self.historyList.headerItem().setText(6,QtGui.QApplication.translate("CvsHistoryDialog", "Path", None, QtGui.QApplication.UnicodeUTF8))
        self.errorGroup.setTitle(QtGui.QApplication.translate("CvsHistoryDialog", "Errors", None, QtGui.QApplication.UnicodeUTF8))
        self.errors.setWhatsThis(QtGui.QApplication.translate("CvsHistoryDialog", "<b>CVS history errors</b><p>This shows possible error messages of the cvs history command.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.inputGroup.setTitle(QtGui.QApplication.translate("CvsHistoryDialog", "Input", None, QtGui.QApplication.UnicodeUTF8))
        self.sendButton.setToolTip(QtGui.QApplication.translate("CvsHistoryDialog", "Press to send the input to the CVS process", None, QtGui.QApplication.UnicodeUTF8))
        self.sendButton.setText(QtGui.QApplication.translate("CvsHistoryDialog", "&Send", None, QtGui.QApplication.UnicodeUTF8))
        self.sendButton.setShortcut(QtGui.QApplication.translate("CvsHistoryDialog", "Alt+S", None, QtGui.QApplication.UnicodeUTF8))
        self.input.setToolTip(QtGui.QApplication.translate("CvsHistoryDialog", "Enter data to be sent to the CVS process", None, QtGui.QApplication.UnicodeUTF8))
        self.passwordCheckBox.setToolTip(QtGui.QApplication.translate("CvsHistoryDialog", "Select to switch the input field to password mode", None, QtGui.QApplication.UnicodeUTF8))
        self.passwordCheckBox.setText(QtGui.QApplication.translate("CvsHistoryDialog", "&Password Mode", None, QtGui.QApplication.UnicodeUTF8))
        self.passwordCheckBox.setShortcut(QtGui.QApplication.translate("CvsHistoryDialog", "Alt+P", None, QtGui.QApplication.UnicodeUTF8))



if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    CvsHistoryDialog = QtGui.QWidget()
    ui = Ui_CvsHistoryDialog()
    ui.setupUi(CvsHistoryDialog)
    CvsHistoryDialog.show()
    sys.exit(app.exec_())
