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

# Form implementation generated from reading ui file 'eric/Helpviewer/GreaseMonkey/GreaseMonkeyConfiguration/GreaseMonkeyConfigurationDialog.ui'
#
# Created: Sun Jan 18 22:19:53 2015
#      by: PyQt4 UI code generator 4.11.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)

class Ui_GreaseMonkeyConfigurationDialog(object):
    def setupUi(self, GreaseMonkeyConfigurationDialog):
        GreaseMonkeyConfigurationDialog.setObjectName(_fromUtf8("GreaseMonkeyConfigurationDialog"))
        GreaseMonkeyConfigurationDialog.resize(550, 450)
        GreaseMonkeyConfigurationDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtGui.QVBoxLayout(GreaseMonkeyConfigurationDialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.iconLabel = QtGui.QLabel(GreaseMonkeyConfigurationDialog)
        self.iconLabel.setMinimumSize(QtCore.QSize(48, 48))
        self.iconLabel.setText(_fromUtf8("Icon"))
        self.iconLabel.setObjectName(_fromUtf8("iconLabel"))
        self.horizontalLayout.addWidget(self.iconLabel)
        self.label_2 = QtGui.QLabel(GreaseMonkeyConfigurationDialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.horizontalLayout.addWidget(self.label_2)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem1)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.label_4 = QtGui.QLabel(GreaseMonkeyConfigurationDialog)
        self.label_4.setAlignment(QtCore.Qt.AlignCenter)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.verticalLayout.addWidget(self.label_4)
        self.scriptsList = GreaseMonkeyConfigurationListWidget(GreaseMonkeyConfigurationDialog)
        self.scriptsList.setAlternatingRowColors(True)
        self.scriptsList.setVerticalScrollMode(QtGui.QAbstractItemView.ScrollPerPixel)
        self.scriptsList.setUniformItemSizes(True)
        self.scriptsList.setSelectionRectVisible(True)
        self.scriptsList.setObjectName(_fromUtf8("scriptsList"))
        self.verticalLayout.addWidget(self.scriptsList)
        self.downloadLabel = QtGui.QLabel(GreaseMonkeyConfigurationDialog)
        self.downloadLabel.setTextFormat(QtCore.Qt.RichText)
        self.downloadLabel.setAlignment(QtCore.Qt.AlignCenter)
        self.downloadLabel.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByKeyboard|QtCore.Qt.LinksAccessibleByMouse)
        self.downloadLabel.setObjectName(_fromUtf8("downloadLabel"))
        self.verticalLayout.addWidget(self.downloadLabel)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.openDirectoryButton = QtGui.QPushButton(GreaseMonkeyConfigurationDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.openDirectoryButton.sizePolicy().hasHeightForWidth())
        self.openDirectoryButton.setSizePolicy(sizePolicy)
        self.openDirectoryButton.setObjectName(_fromUtf8("openDirectoryButton"))
        self.horizontalLayout_4.addWidget(self.openDirectoryButton)
        self.buttonBox = QtGui.QDialogButtonBox(GreaseMonkeyConfigurationDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.horizontalLayout_4.addWidget(self.buttonBox)
        self.verticalLayout.addLayout(self.horizontalLayout_4)

        self.retranslateUi(GreaseMonkeyConfigurationDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), GreaseMonkeyConfigurationDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), GreaseMonkeyConfigurationDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(GreaseMonkeyConfigurationDialog)
        GreaseMonkeyConfigurationDialog.setTabOrder(self.scriptsList, self.openDirectoryButton)
        GreaseMonkeyConfigurationDialog.setTabOrder(self.openDirectoryButton, self.buttonBox)

    def retranslateUi(self, GreaseMonkeyConfigurationDialog):
        GreaseMonkeyConfigurationDialog.setWindowTitle(_translate("GreaseMonkeyConfigurationDialog", "GreaseMonkey Scripts Configuration", None))
        self.label_2.setText(_translate("GreaseMonkeyConfigurationDialog", "<h2>GreaseMonkey Scripts</h2>", None))
        self.label_4.setText(_translate("GreaseMonkeyConfigurationDialog", "Double clicking script will show additional information.", None))
        self.downloadLabel.setText(_translate("GreaseMonkeyConfigurationDialog", "<p>Get more scripts from <a href=\"www.userscript.org\">userscript.org</a>.</p>", None))
        self.openDirectoryButton.setToolTip(_translate("GreaseMonkeyConfigurationDialog", "Press to open the scripts directory", None))
        self.openDirectoryButton.setText(_translate("GreaseMonkeyConfigurationDialog", "Open Scripts Directory", None))

from .GreaseMonkeyConfigurationListWidget import GreaseMonkeyConfigurationListWidget
