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

# Form implementation generated from reading ui file 'eric/Preferences/ToolConfigurationDialog.ui'
#
# Created by: PyQt4 UI code generator 4.11.4
#
# 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_ToolConfigurationDialog(object):
    def setupUi(self, ToolConfigurationDialog):
        ToolConfigurationDialog.setObjectName(_fromUtf8("ToolConfigurationDialog"))
        ToolConfigurationDialog.resize(591, 487)
        ToolConfigurationDialog.setSizeGripEnabled(True)
        self.verticalLayout_2 = QtGui.QVBoxLayout(ToolConfigurationDialog)
        self.verticalLayout_2.setMargin(6)
        self.verticalLayout_2.setSpacing(6)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.gridLayout_2 = QtGui.QGridLayout()
        self.gridLayout_2.setMargin(6)
        self.gridLayout_2.setSpacing(6)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.toolsList = QtGui.QListWidget(ToolConfigurationDialog)
        self.toolsList.setObjectName(_fromUtf8("toolsList"))
        self.gridLayout_2.addWidget(self.toolsList, 0, 0, 1, 1)
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setMargin(6)
        self.verticalLayout.setSpacing(6)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.newButton = QtGui.QPushButton(ToolConfigurationDialog)
        self.newButton.setObjectName(_fromUtf8("newButton"))
        self.verticalLayout.addWidget(self.newButton)
        self.addButton = QtGui.QPushButton(ToolConfigurationDialog)
        self.addButton.setObjectName(_fromUtf8("addButton"))
        self.verticalLayout.addWidget(self.addButton)
        self.changeButton = QtGui.QPushButton(ToolConfigurationDialog)
        self.changeButton.setEnabled(False)
        self.changeButton.setObjectName(_fromUtf8("changeButton"))
        self.verticalLayout.addWidget(self.changeButton)
        self.deleteButton = QtGui.QPushButton(ToolConfigurationDialog)
        self.deleteButton.setEnabled(False)
        self.deleteButton.setObjectName(_fromUtf8("deleteButton"))
        self.verticalLayout.addWidget(self.deleteButton)
        self.upButton = QtGui.QPushButton(ToolConfigurationDialog)
        self.upButton.setEnabled(False)
        self.upButton.setObjectName(_fromUtf8("upButton"))
        self.verticalLayout.addWidget(self.upButton)
        self.downButton = QtGui.QPushButton(ToolConfigurationDialog)
        self.downButton.setEnabled(False)
        self.downButton.setObjectName(_fromUtf8("downButton"))
        self.verticalLayout.addWidget(self.downButton)
        self.line = QtGui.QFrame(ToolConfigurationDialog)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName(_fromUtf8("line"))
        self.verticalLayout.addWidget(self.line)
        self.separatorButton = QtGui.QPushButton(ToolConfigurationDialog)
        self.separatorButton.setObjectName(_fromUtf8("separatorButton"))
        self.verticalLayout.addWidget(self.separatorButton)
        spacerItem = QtGui.QSpacerItem(105, 22, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem)
        self.gridLayout_2.addLayout(self.verticalLayout, 0, 1, 1, 1)
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setMargin(6)
        self.gridLayout.setSpacing(6)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.TextLabel2 = QtGui.QLabel(ToolConfigurationDialog)
        self.TextLabel2.setObjectName(_fromUtf8("TextLabel2"))
        self.gridLayout.addWidget(self.TextLabel2, 0, 0, 1, 1)
        self.menuEdit = QtGui.QLineEdit(ToolConfigurationDialog)
        self.menuEdit.setObjectName(_fromUtf8("menuEdit"))
        self.gridLayout.addWidget(self.menuEdit, 0, 1, 1, 1)
        self.label = QtGui.QLabel(ToolConfigurationDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
        self.iconPicker = E5PathPicker(ToolConfigurationDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.iconPicker.sizePolicy().hasHeightForWidth())
        self.iconPicker.setSizePolicy(sizePolicy)
        self.iconPicker.setFocusPolicy(QtCore.Qt.StrongFocus)
        self.iconPicker.setObjectName(_fromUtf8("iconPicker"))
        self.gridLayout.addWidget(self.iconPicker, 1, 1, 1, 1)
        self.TextLabel1 = QtGui.QLabel(ToolConfigurationDialog)
        self.TextLabel1.setObjectName(_fromUtf8("TextLabel1"))
        self.gridLayout.addWidget(self.TextLabel1, 2, 0, 1, 1)
        self.executablePicker = E5PathPicker(ToolConfigurationDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.executablePicker.sizePolicy().hasHeightForWidth())
        self.executablePicker.setSizePolicy(sizePolicy)
        self.executablePicker.setFocusPolicy(QtCore.Qt.StrongFocus)
        self.executablePicker.setObjectName(_fromUtf8("executablePicker"))
        self.gridLayout.addWidget(self.executablePicker, 2, 1, 1, 1)
        self.TextLabel3 = QtGui.QLabel(ToolConfigurationDialog)
        self.TextLabel3.setObjectName(_fromUtf8("TextLabel3"))
        self.gridLayout.addWidget(self.TextLabel3, 3, 0, 1, 1)
        self.argumentsEdit = QtGui.QLineEdit(ToolConfigurationDialog)
        self.argumentsEdit.setObjectName(_fromUtf8("argumentsEdit"))
        self.gridLayout.addWidget(self.argumentsEdit, 3, 1, 1, 1)
        self.label_2 = QtGui.QLabel(ToolConfigurationDialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 4, 0, 1, 1)
        self.redirectCombo = QtGui.QComboBox(ToolConfigurationDialog)
        self.redirectCombo.setObjectName(_fromUtf8("redirectCombo"))
        self.gridLayout.addWidget(self.redirectCombo, 4, 1, 1, 1)
        self.gridLayout_2.addLayout(self.gridLayout, 1, 0, 1, 2)
        self.verticalLayout_2.addLayout(self.gridLayout_2)
        self.buttonBox = QtGui.QDialogButtonBox(ToolConfigurationDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout_2.addWidget(self.buttonBox)
        self.TextLabel2.setBuddy(self.menuEdit)
        self.label.setBuddy(self.iconPicker)
        self.TextLabel1.setBuddy(self.executablePicker)
        self.TextLabel3.setBuddy(self.argumentsEdit)
        self.label_2.setBuddy(self.redirectCombo)

        self.retranslateUi(ToolConfigurationDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), ToolConfigurationDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ToolConfigurationDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(ToolConfigurationDialog)
        ToolConfigurationDialog.setTabOrder(self.toolsList, self.menuEdit)
        ToolConfigurationDialog.setTabOrder(self.menuEdit, self.iconPicker)
        ToolConfigurationDialog.setTabOrder(self.iconPicker, self.executablePicker)
        ToolConfigurationDialog.setTabOrder(self.executablePicker, self.argumentsEdit)
        ToolConfigurationDialog.setTabOrder(self.argumentsEdit, self.redirectCombo)
        ToolConfigurationDialog.setTabOrder(self.redirectCombo, self.newButton)
        ToolConfigurationDialog.setTabOrder(self.newButton, self.addButton)
        ToolConfigurationDialog.setTabOrder(self.addButton, self.changeButton)
        ToolConfigurationDialog.setTabOrder(self.changeButton, self.deleteButton)
        ToolConfigurationDialog.setTabOrder(self.deleteButton, self.upButton)
        ToolConfigurationDialog.setTabOrder(self.upButton, self.downButton)
        ToolConfigurationDialog.setTabOrder(self.downButton, self.separatorButton)

    def retranslateUi(self, ToolConfigurationDialog):
        ToolConfigurationDialog.setWindowTitle(_translate("ToolConfigurationDialog", "Configure Tools Menu", None))
        self.newButton.setToolTip(_translate("ToolConfigurationDialog", "Clear all entry fields", None))
        self.newButton.setWhatsThis(_translate("ToolConfigurationDialog", "<b>New</b>\n"
"<p>Clear all entry fields for entering a new tools entry.</p>", None))
        self.newButton.setText(_translate("ToolConfigurationDialog", "&New", None))
        self.newButton.setShortcut(_translate("ToolConfigurationDialog", "Alt+N", None))
        self.addButton.setToolTip(_translate("ToolConfigurationDialog", "Add a new tools entry", None))
        self.addButton.setWhatsThis(_translate("ToolConfigurationDialog", "<b>Add</b>\n"
"<p>Add a new tools entry with the values entered below.</p>", None))
        self.addButton.setText(_translate("ToolConfigurationDialog", "&Add", None))
        self.addButton.setShortcut(_translate("ToolConfigurationDialog", "Alt+A", None))
        self.changeButton.setToolTip(_translate("ToolConfigurationDialog", "Change the values of the selected entry", None))
        self.changeButton.setWhatsThis(_translate("ToolConfigurationDialog", "<b>Change</b>\n"
"<p>Change the values of the selected entry.</p>", None))
        self.changeButton.setText(_translate("ToolConfigurationDialog", "C&hange", None))
        self.changeButton.setShortcut(_translate("ToolConfigurationDialog", "Alt+H", None))
        self.deleteButton.setToolTip(_translate("ToolConfigurationDialog", "Delete the selected entry", None))
        self.deleteButton.setWhatsThis(_translate("ToolConfigurationDialog", "<b>Delete</b>\n"
"<p>Delete the selected entry.</p>", None))
        self.deleteButton.setText(_translate("ToolConfigurationDialog", "&Delete", None))
        self.deleteButton.setShortcut(_translate("ToolConfigurationDialog", "Alt+D", None))
        self.upButton.setToolTip(_translate("ToolConfigurationDialog", "Move up", None))
        self.upButton.setWhatsThis(_translate("ToolConfigurationDialog", "<b>Move Up</b>\n"
"<p>Move the selected entry up.</p>", None))
        self.upButton.setText(_translate("ToolConfigurationDialog", "&Up", None))
        self.upButton.setShortcut(_translate("ToolConfigurationDialog", "Alt+U", None))
        self.downButton.setToolTip(_translate("ToolConfigurationDialog", "Move down", None))
        self.downButton.setWhatsThis(_translate("ToolConfigurationDialog", "<b>Move Down</b>\n"
"<p>Move the selected entry down.</p>", None))
        self.downButton.setText(_translate("ToolConfigurationDialog", "Do&wn", None))
        self.downButton.setShortcut(_translate("ToolConfigurationDialog", "Alt+W", None))
        self.separatorButton.setToolTip(_translate("ToolConfigurationDialog", "Add a separator", None))
        self.separatorButton.setWhatsThis(_translate("ToolConfigurationDialog", "<b>Add separator</b><p>Add a separator for the menu.</p>", None))
        self.separatorButton.setText(_translate("ToolConfigurationDialog", "Add &Separator", None))
        self.TextLabel2.setText(_translate("ToolConfigurationDialog", "&Menu text:", None))
        self.menuEdit.setToolTip(_translate("ToolConfigurationDialog", "Enter the menu text", None))
        self.menuEdit.setWhatsThis(_translate("ToolConfigurationDialog", "<b>Menu text</b>\n"
"<p>Enter the menu text. Precede the accelerator key with an & character.</p>", None))
        self.label.setText(_translate("ToolConfigurationDialog", "&Icon file:", None))
        self.iconPicker.setToolTip(_translate("ToolConfigurationDialog", "Enter the filename of the icon", None))
        self.iconPicker.setWhatsThis(_translate("ToolConfigurationDialog", "<b>Icon</b>\n"
"<p>Enter the filename of the icon.</p>", None))
        self.TextLabel1.setText(_translate("ToolConfigurationDialog", "&Executable file:", None))
        self.executablePicker.setToolTip(_translate("ToolConfigurationDialog", "Enter the filename of the executable", None))
        self.executablePicker.setWhatsThis(_translate("ToolConfigurationDialog", "<b>Executable</b>\n"
"<p>Enter the filename of the executable.</p>", None))
        self.TextLabel3.setText(_translate("ToolConfigurationDialog", "Ar&guments:", None))
        self.argumentsEdit.setToolTip(_translate("ToolConfigurationDialog", "Enter the arguments for the executable", None))
        self.argumentsEdit.setWhatsThis(_translate("ToolConfigurationDialog", "<b>Arguments</b>\n"
"<p>Enter the arguments for the executable.</p>", None))
        self.label_2.setText(_translate("ToolConfigurationDialog", "&Redirect output", None))
        self.redirectCombo.setToolTip(_translate("ToolConfigurationDialog", "Select the output redirection mode", None))
        self.redirectCombo.setWhatsThis(_translate("ToolConfigurationDialog", "<b>Redirect output<b><p>Select the output redirection mode. The standard error channel is either not redirected or shown in the log viewer.</p>", None))

from E5Gui.E5PathPicker import E5PathPicker
