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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_1/eric4/Plugins/VcsPlugins/vcsSubversion/SvnRepoBrowserDialog.ui'
#
# Created: Sun Nov 25 12:57:03 2007
#      by: PyQt4 UI code generator 4.3-snapshot-20071004
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_SvnRepoBrowserDialog(object):
    def setupUi(self, SvnRepoBrowserDialog):
        SvnRepoBrowserDialog.setObjectName("SvnRepoBrowserDialog")
        SvnRepoBrowserDialog.resize(QtCore.QSize(QtCore.QRect(0,0,650,667).size()).expandedTo(SvnRepoBrowserDialog.minimumSizeHint()))

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

        self.label = QtGui.QLabel(SvnRepoBrowserDialog)
        self.label.setObjectName("label")
        self.gridlayout.addWidget(self.label,0,0,1,1)

        self.urlCombo = QtGui.QComboBox(SvnRepoBrowserDialog)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.urlCombo.sizePolicy().hasHeightForWidth())
        self.urlCombo.setSizePolicy(sizePolicy)
        self.urlCombo.setEditable(True)
        self.urlCombo.setInsertPolicy(QtGui.QComboBox.InsertAtTop)
        self.urlCombo.setObjectName("urlCombo")
        self.gridlayout.addWidget(self.urlCombo,0,1,1,1)

        self.repoTree = QtGui.QTreeWidget(SvnRepoBrowserDialog)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(4)
        sizePolicy.setHeightForWidth(self.repoTree.sizePolicy().hasHeightForWidth())
        self.repoTree.setSizePolicy(sizePolicy)
        self.repoTree.setAlternatingRowColors(True)
        self.repoTree.setSortingEnabled(True)
        self.repoTree.setAllColumnsShowFocus(True)
        self.repoTree.setColumnCount(6)
        self.repoTree.setObjectName("repoTree")
        self.repoTree.headerItem().setText(5,"")
        self.gridlayout.addWidget(self.repoTree,1,0,1,2)

        self.errorGroup = QtGui.QGroupBox(SvnRepoBrowserDialog)

        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("errorGroup")

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

        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.vboxlayout.addWidget(self.errors)
        self.gridlayout.addWidget(self.errorGroup,2,0,1,2)

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

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

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

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

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

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

        self.buttonBox = QtGui.QDialogButtonBox(SvnRepoBrowserDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Close|QtGui.QDialogButtonBox.NoButton|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.gridlayout.addWidget(self.buttonBox,4,0,1,2)

        self.retranslateUi(SvnRepoBrowserDialog)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),SvnRepoBrowserDialog.reject)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),SvnRepoBrowserDialog.accept)
        QtCore.QMetaObject.connectSlotsByName(SvnRepoBrowserDialog)
        SvnRepoBrowserDialog.setTabOrder(self.urlCombo,self.repoTree)
        SvnRepoBrowserDialog.setTabOrder(self.repoTree,self.input)
        SvnRepoBrowserDialog.setTabOrder(self.input,self.sendButton)
        SvnRepoBrowserDialog.setTabOrder(self.sendButton,self.passwordCheckBox)
        SvnRepoBrowserDialog.setTabOrder(self.passwordCheckBox,self.buttonBox)

    def retranslateUi(self, SvnRepoBrowserDialog):
        SvnRepoBrowserDialog.setWindowTitle(QtGui.QApplication.translate("SvnRepoBrowserDialog", "Subversion Repository Browser", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("SvnRepoBrowserDialog", "URL:", None, QtGui.QApplication.UnicodeUTF8))
        self.urlCombo.setToolTip(QtGui.QApplication.translate("SvnRepoBrowserDialog", "Enter the URL of the repository", None, QtGui.QApplication.UnicodeUTF8))
        self.repoTree.headerItem().setText(0,QtGui.QApplication.translate("SvnRepoBrowserDialog", "File", None, QtGui.QApplication.UnicodeUTF8))
        self.repoTree.headerItem().setText(1,QtGui.QApplication.translate("SvnRepoBrowserDialog", "Revision", None, QtGui.QApplication.UnicodeUTF8))
        self.repoTree.headerItem().setText(2,QtGui.QApplication.translate("SvnRepoBrowserDialog", "Author", None, QtGui.QApplication.UnicodeUTF8))
        self.repoTree.headerItem().setText(3,QtGui.QApplication.translate("SvnRepoBrowserDialog", "Size", None, QtGui.QApplication.UnicodeUTF8))
        self.repoTree.headerItem().setText(4,QtGui.QApplication.translate("SvnRepoBrowserDialog", "Date", None, QtGui.QApplication.UnicodeUTF8))
        self.errorGroup.setTitle(QtGui.QApplication.translate("SvnRepoBrowserDialog", "Errors", None, QtGui.QApplication.UnicodeUTF8))
        self.errors.setWhatsThis(QtGui.QApplication.translate("SvnRepoBrowserDialog", "<b>Subversion errors</b><p>This shows possible error messages of the svn list and svn info commands.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.inputGroup.setTitle(QtGui.QApplication.translate("SvnRepoBrowserDialog", "Input", None, QtGui.QApplication.UnicodeUTF8))
        self.sendButton.setToolTip(QtGui.QApplication.translate("SvnRepoBrowserDialog", "Press to send the input to the subversion process", None, QtGui.QApplication.UnicodeUTF8))
        self.sendButton.setText(QtGui.QApplication.translate("SvnRepoBrowserDialog", "&Send", None, QtGui.QApplication.UnicodeUTF8))
        self.sendButton.setShortcut(QtGui.QApplication.translate("SvnRepoBrowserDialog", "Alt+S", None, QtGui.QApplication.UnicodeUTF8))
        self.input.setToolTip(QtGui.QApplication.translate("SvnRepoBrowserDialog", "Enter data to be sent to the subversion process", None, QtGui.QApplication.UnicodeUTF8))
        self.passwordCheckBox.setToolTip(QtGui.QApplication.translate("SvnRepoBrowserDialog", "Select to switch the input field to password mode", None, QtGui.QApplication.UnicodeUTF8))
        self.passwordCheckBox.setText(QtGui.QApplication.translate("SvnRepoBrowserDialog", "&Password Mode", None, QtGui.QApplication.UnicodeUTF8))
        self.passwordCheckBox.setShortcut(QtGui.QApplication.translate("SvnRepoBrowserDialog", "Alt+P", None, QtGui.QApplication.UnicodeUTF8))



if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    SvnRepoBrowserDialog = QtGui.QDialog()
    ui = Ui_SvnRepoBrowserDialog()
    ui.setupUi(SvnRepoBrowserDialog)
    SvnRepoBrowserDialog.show()
    sys.exit(app.exec_())
