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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_1/eric4/PluginManager/PluginDetailsDialog.ui'
#
# Created: Sat Jul  7 11:39:36 2007
#      by: PyQt4 UI code generator 4-snapshot-20070704
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_PluginDetailsDialog(object):
    def setupUi(self, PluginDetailsDialog):
        PluginDetailsDialog.setObjectName("PluginDetailsDialog")
        PluginDetailsDialog.resize(QtCore.QSize(QtCore.QRect(0,0,563,479).size()).expandedTo(PluginDetailsDialog.minimumSizeHint()))
        PluginDetailsDialog.setSizeGripEnabled(True)

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

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

        self.moduleNameEdit = QtGui.QLineEdit(PluginDetailsDialog)
        self.moduleNameEdit.setReadOnly(True)
        self.moduleNameEdit.setObjectName("moduleNameEdit")
        self.gridlayout.addWidget(self.moduleNameEdit,0,1,1,2)

        self.label_2 = QtGui.QLabel(PluginDetailsDialog)
        self.label_2.setObjectName("label_2")
        self.gridlayout.addWidget(self.label_2,1,0,1,1)

        self.moduleFileNameEdit = QtGui.QLineEdit(PluginDetailsDialog)
        self.moduleFileNameEdit.setReadOnly(True)
        self.moduleFileNameEdit.setObjectName("moduleFileNameEdit")
        self.gridlayout.addWidget(self.moduleFileNameEdit,1,1,1,2)

        self.autoactivateCheckBox = QtGui.QCheckBox(PluginDetailsDialog)
        self.autoactivateCheckBox.setFocusPolicy(QtCore.Qt.NoFocus)
        self.autoactivateCheckBox.setObjectName("autoactivateCheckBox")
        self.gridlayout.addWidget(self.autoactivateCheckBox,2,0,1,1)

        self.activeCheckBox = QtGui.QCheckBox(PluginDetailsDialog)
        self.activeCheckBox.setFocusPolicy(QtCore.Qt.NoFocus)
        self.activeCheckBox.setObjectName("activeCheckBox")
        self.gridlayout.addWidget(self.activeCheckBox,2,1,1,1)

        spacerItem = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem,2,2,1,1)

        self.label_3 = QtGui.QLabel(PluginDetailsDialog)
        self.label_3.setObjectName("label_3")
        self.gridlayout.addWidget(self.label_3,3,0,1,1)

        self.pluginNameEdit = QtGui.QLineEdit(PluginDetailsDialog)
        self.pluginNameEdit.setReadOnly(True)
        self.pluginNameEdit.setObjectName("pluginNameEdit")
        self.gridlayout.addWidget(self.pluginNameEdit,3,1,1,2)

        self.label_4 = QtGui.QLabel(PluginDetailsDialog)
        self.label_4.setObjectName("label_4")
        self.gridlayout.addWidget(self.label_4,4,0,1,1)

        self.versionEdit = QtGui.QLineEdit(PluginDetailsDialog)
        self.versionEdit.setReadOnly(True)
        self.versionEdit.setObjectName("versionEdit")
        self.gridlayout.addWidget(self.versionEdit,4,1,1,2)

        self.label_5 = QtGui.QLabel(PluginDetailsDialog)
        self.label_5.setObjectName("label_5")
        self.gridlayout.addWidget(self.label_5,5,0,1,1)

        self.authorEdit = QtGui.QLineEdit(PluginDetailsDialog)
        self.authorEdit.setReadOnly(True)
        self.authorEdit.setObjectName("authorEdit")
        self.gridlayout.addWidget(self.authorEdit,5,1,1,2)

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

        self.descriptionEdit = QtGui.QTextEdit(PluginDetailsDialog)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(5)
        sizePolicy.setHeightForWidth(self.descriptionEdit.sizePolicy().hasHeightForWidth())
        self.descriptionEdit.setSizePolicy(sizePolicy)
        self.descriptionEdit.setReadOnly(True)
        self.descriptionEdit.setObjectName("descriptionEdit")
        self.gridlayout.addWidget(self.descriptionEdit,6,1,1,2)

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

        self.errorEdit = QtGui.QTextEdit(PluginDetailsDialog)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.errorEdit.sizePolicy().hasHeightForWidth())
        self.errorEdit.setSizePolicy(sizePolicy)
        self.errorEdit.setReadOnly(True)
        self.errorEdit.setObjectName("errorEdit")
        self.gridlayout.addWidget(self.errorEdit,7,1,1,2)

        self.buttonBox = QtGui.QDialogButtonBox(PluginDetailsDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close)
        self.buttonBox.setObjectName("buttonBox")
        self.gridlayout.addWidget(self.buttonBox,8,0,1,3)

        self.retranslateUi(PluginDetailsDialog)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),PluginDetailsDialog.accept)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),PluginDetailsDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(PluginDetailsDialog)
        PluginDetailsDialog.setTabOrder(self.moduleNameEdit,self.moduleFileNameEdit)
        PluginDetailsDialog.setTabOrder(self.moduleFileNameEdit,self.pluginNameEdit)
        PluginDetailsDialog.setTabOrder(self.pluginNameEdit,self.versionEdit)
        PluginDetailsDialog.setTabOrder(self.versionEdit,self.authorEdit)
        PluginDetailsDialog.setTabOrder(self.authorEdit,self.descriptionEdit)
        PluginDetailsDialog.setTabOrder(self.descriptionEdit,self.errorEdit)
        PluginDetailsDialog.setTabOrder(self.errorEdit,self.buttonBox)

    def retranslateUi(self, PluginDetailsDialog):
        PluginDetailsDialog.setWindowTitle(QtGui.QApplication.translate("PluginDetailsDialog", "Plugin Details", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("PluginDetailsDialog", "Module name:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("PluginDetailsDialog", "Module filename:", None, QtGui.QApplication.UnicodeUTF8))
        self.autoactivateCheckBox.setText(QtGui.QApplication.translate("PluginDetailsDialog", "Autoactivate", None, QtGui.QApplication.UnicodeUTF8))
        self.activeCheckBox.setText(QtGui.QApplication.translate("PluginDetailsDialog", "Active", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("PluginDetailsDialog", "Plugin name:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("PluginDetailsDialog", "Version:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("PluginDetailsDialog", "Author:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("PluginDetailsDialog", "Description:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_7.setText(QtGui.QApplication.translate("PluginDetailsDialog", "Error:", None, QtGui.QApplication.UnicodeUTF8))



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