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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_1/eric4/Plugins/VcsPlugins/vcsPySvn/SvnRepoBrowserDialog.ui'
#
# Created: Thu Nov 22 20:14:04 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,500).size()).expandedTo(SvnRepoBrowserDialog.minimumSizeHint()))

        self.gridlayout = QtGui.QGridLayout(SvnRepoBrowserDialog)
        self.gridlayout.setMargin(6)
        self.gridlayout.setHorizontalSpacing(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)
        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)
        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.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,2,1,1,1)

        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.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))



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_())
