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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_2/eric4/PluginManager/PluginInstallDialog.ui'
#
# Created: Mon Mar 17 15:29:23 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_PluginInstallDialog(object):
    def setupUi(self, PluginInstallDialog):
        PluginInstallDialog.setObjectName("PluginInstallDialog")
        PluginInstallDialog.resize(QtCore.QSize(QtCore.QRect(0,0,611,362).size()).expandedTo(PluginInstallDialog.minimumSizeHint()))

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

        self.wizard = QtGui.QStackedWidget(PluginInstallDialog)
        self.wizard.setObjectName("wizard")

        self.selectionPage = QtGui.QWidget()
        self.selectionPage.setObjectName("selectionPage")

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

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

        self.archivesList = QtGui.QListWidget(self.selectionPage)
        self.archivesList.setAlternatingRowColors(True)
        self.archivesList.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.archivesList.setSortingEnabled(True)
        self.archivesList.setObjectName("archivesList")
        self.gridlayout.addWidget(self.archivesList,1,0,3,1)

        self.addArchivesButton = QtGui.QPushButton(self.selectionPage)
        self.addArchivesButton.setObjectName("addArchivesButton")
        self.gridlayout.addWidget(self.addArchivesButton,1,1,1,1)

        self.removeArchivesButton = QtGui.QPushButton(self.selectionPage)
        self.removeArchivesButton.setEnabled(False)
        self.removeArchivesButton.setObjectName("removeArchivesButton")
        self.gridlayout.addWidget(self.removeArchivesButton,2,1,1,1)

        spacerItem = QtGui.QSpacerItem(20,101,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.gridlayout.addItem(spacerItem,3,1,1,1)
        self.wizard.addWidget(self.selectionPage)

        self.destinationPage = QtGui.QWidget()
        self.destinationPage.setObjectName("destinationPage")

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

        self.label_2 = QtGui.QLabel(self.destinationPage)
        self.label_2.setObjectName("label_2")
        self.vboxlayout1.addWidget(self.label_2)

        self.destinationCombo = QtGui.QComboBox(self.destinationPage)
        self.destinationCombo.setObjectName("destinationCombo")
        self.vboxlayout1.addWidget(self.destinationCombo)

        spacerItem1 = QtGui.QSpacerItem(20,40,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.vboxlayout1.addItem(spacerItem1)
        self.wizard.addWidget(self.destinationPage)

        self.summaryPage = QtGui.QWidget()
        self.summaryPage.setObjectName("summaryPage")

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

        self.label_3 = QtGui.QLabel(self.summaryPage)
        self.label_3.setObjectName("label_3")
        self.vboxlayout2.addWidget(self.label_3)

        self.summaryEdit = QtGui.QTextEdit(self.summaryPage)
        self.summaryEdit.setReadOnly(True)
        self.summaryEdit.setObjectName("summaryEdit")
        self.vboxlayout2.addWidget(self.summaryEdit)

        self.progress = QtGui.QProgressBar(self.summaryPage)
        self.progress.setProperty("value",QtCore.QVariant(0))
        self.progress.setObjectName("progress")
        self.vboxlayout2.addWidget(self.progress)
        self.wizard.addWidget(self.summaryPage)
        self.vboxlayout.addWidget(self.wizard)

        self.buttonBox = QtGui.QDialogButtonBox(PluginInstallDialog)
        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(PluginInstallDialog)
        self.wizard.setCurrentIndex(2)
        QtCore.QMetaObject.connectSlotsByName(PluginInstallDialog)
        PluginInstallDialog.setTabOrder(self.addArchivesButton,self.archivesList)
        PluginInstallDialog.setTabOrder(self.archivesList,self.removeArchivesButton)
        PluginInstallDialog.setTabOrder(self.removeArchivesButton,self.destinationCombo)
        PluginInstallDialog.setTabOrder(self.destinationCombo,self.summaryEdit)
        PluginInstallDialog.setTabOrder(self.summaryEdit,self.buttonBox)

    def retranslateUi(self, PluginInstallDialog):
        PluginInstallDialog.setWindowTitle(QtGui.QApplication.translate("PluginInstallDialog", "Plugin Installation", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("PluginInstallDialog", "<b>Enter the plugin archives to install</b>", None, QtGui.QApplication.UnicodeUTF8))
        self.addArchivesButton.setToolTip(QtGui.QApplication.translate("PluginInstallDialog", "Add plugin ZIP-archives via a file selection dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.addArchivesButton.setText(QtGui.QApplication.translate("PluginInstallDialog", "Add ...", None, QtGui.QApplication.UnicodeUTF8))
        self.removeArchivesButton.setToolTip(QtGui.QApplication.translate("PluginInstallDialog", "Remove the selected entries from the list of plugin archives to be installed", None, QtGui.QApplication.UnicodeUTF8))
        self.removeArchivesButton.setText(QtGui.QApplication.translate("PluginInstallDialog", "Remove", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("PluginInstallDialog", "<b>Select the destination plugin directory</b>", None, QtGui.QApplication.UnicodeUTF8))
        self.destinationCombo.setToolTip(QtGui.QApplication.translate("PluginInstallDialog", "Select the destination plugin area", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("PluginInstallDialog", "<b>Installation Summary</b>", None, QtGui.QApplication.UnicodeUTF8))
        self.summaryEdit.setToolTip(QtGui.QApplication.translate("PluginInstallDialog", "This shows the summary of the installation data", None, QtGui.QApplication.UnicodeUTF8))


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