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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_2/eric4/PluginManager/PluginRepositoryDialog.ui'
#
# Created: Mon Mar 17 14:39:39 2008
#      by: PyQt4 UI code generator 4.3.4-snapshot-20080307
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_PluginRepositoryDialog(object):
    def setupUi(self, PluginRepositoryDialog):
        PluginRepositoryDialog.setObjectName("PluginRepositoryDialog")
        PluginRepositoryDialog.resize(QtCore.QSize(QtCore.QRect(0,0,800,675).size()).expandedTo(PluginRepositoryDialog.minimumSizeHint()))
        PluginRepositoryDialog.setProperty("sizeGripEnabled",QtCore.QVariant(True))

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

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

        self.repositoryList = QtGui.QTreeWidget(PluginRepositoryDialog)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(7)
        sizePolicy.setHeightForWidth(self.repositoryList.sizePolicy().hasHeightForWidth())
        self.repositoryList.setSizePolicy(sizePolicy)
        self.repositoryList.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.repositoryList.setRootIsDecorated(False)
        self.repositoryList.setItemsExpandable(False)
        self.repositoryList.setSortingEnabled(True)
        self.repositoryList.setAllColumnsShowFocus(True)
        self.repositoryList.setObjectName("repositoryList")
        self.repositoryList.headerItem().setText(3,"")
        self.gridlayout.addWidget(self.repositoryList,0,0,1,2)

        self.label_2 = QtGui.QLabel(PluginRepositoryDialog)
        self.label_2.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
        self.label_2.setObjectName("label_2")
        self.gridlayout.addWidget(self.label_2,1,0,1,1)

        self.descriptionEdit = QtGui.QTextEdit(PluginRepositoryDialog)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(3)
        sizePolicy.setHeightForWidth(self.descriptionEdit.sizePolicy().hasHeightForWidth())
        self.descriptionEdit.setSizePolicy(sizePolicy)
        self.descriptionEdit.setFocusPolicy(QtCore.Qt.NoFocus)
        self.descriptionEdit.setReadOnly(True)
        self.descriptionEdit.setObjectName("descriptionEdit")
        self.gridlayout.addWidget(self.descriptionEdit,1,1,1,1)

        self.label_3 = QtGui.QLabel(PluginRepositoryDialog)
        self.label_3.setObjectName("label_3")
        self.gridlayout.addWidget(self.label_3,2,0,1,1)

        self.authorEdit = QtGui.QLineEdit(PluginRepositoryDialog)
        self.authorEdit.setFocusPolicy(QtCore.Qt.NoFocus)
        self.authorEdit.setReadOnly(True)
        self.authorEdit.setObjectName("authorEdit")
        self.gridlayout.addWidget(self.authorEdit,2,1,1,1)

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

        self.urlEdit = QtGui.QLineEdit(PluginRepositoryDialog)
        self.urlEdit.setFocusPolicy(QtCore.Qt.NoFocus)
        self.urlEdit.setReadOnly(True)
        self.urlEdit.setObjectName("urlEdit")
        self.gridlayout.addWidget(self.urlEdit,3,1,1,1)
        self.vboxlayout.addLayout(self.gridlayout)

        self.line = QtGui.QFrame(PluginRepositoryDialog)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.vboxlayout.addWidget(self.line)

        self.downloadProgress = QtGui.QProgressBar(PluginRepositoryDialog)
        self.downloadProgress.setProperty("value",QtCore.QVariant(0))
        self.downloadProgress.setObjectName("downloadProgress")
        self.vboxlayout.addWidget(self.downloadProgress)

        self.statusLabel = QtGui.QLabel(PluginRepositoryDialog)
        self.statusLabel.setObjectName("statusLabel")
        self.vboxlayout.addWidget(self.statusLabel)

        self.buttonBox = QtGui.QDialogButtonBox(PluginRepositoryDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close)
        self.buttonBox.setObjectName("buttonBox")
        self.vboxlayout.addWidget(self.buttonBox)

        self.retranslateUi(PluginRepositoryDialog)
        QtCore.QMetaObject.connectSlotsByName(PluginRepositoryDialog)

    def retranslateUi(self, PluginRepositoryDialog):
        PluginRepositoryDialog.setWindowTitle(QtGui.QApplication.translate("PluginRepositoryDialog", "Plugin Repository", None, QtGui.QApplication.UnicodeUTF8))
        self.repositoryList.headerItem().setText(0,QtGui.QApplication.translate("PluginRepositoryDialog", "Name", None, QtGui.QApplication.UnicodeUTF8))
        self.repositoryList.headerItem().setText(1,QtGui.QApplication.translate("PluginRepositoryDialog", "Version", None, QtGui.QApplication.UnicodeUTF8))
        self.repositoryList.headerItem().setText(2,QtGui.QApplication.translate("PluginRepositoryDialog", "Short Description", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("PluginRepositoryDialog", "Description:", None, QtGui.QApplication.UnicodeUTF8))
        self.descriptionEdit.setToolTip(QtGui.QApplication.translate("PluginRepositoryDialog", "Displays the description of the selected plugin", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("PluginRepositoryDialog", "Author:", None, QtGui.QApplication.UnicodeUTF8))
        self.authorEdit.setToolTip(QtGui.QApplication.translate("PluginRepositoryDialog", "Displays the author of the selected plugin", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("PluginRepositoryDialog", "URL:", None, QtGui.QApplication.UnicodeUTF8))
        self.urlEdit.setToolTip(QtGui.QApplication.translate("PluginRepositoryDialog", "Displays the download URL of the selected plugin", None, QtGui.QApplication.UnicodeUTF8))
        self.downloadProgress.setToolTip(QtGui.QApplication.translate("PluginRepositoryDialog", "Shows the progress of the current download", None, QtGui.QApplication.UnicodeUTF8))


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