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

# Form implementation generated from reading ui file 'eric/Preferences/ShortcutsDialog.ui'
#
# Created: Wed Mar 14 20:23:20 2012
#      by: PyQt4 UI code generator 4.8.5
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_ShortcutsDialog(object):
    def setupUi(self, ShortcutsDialog):
        ShortcutsDialog.setObjectName(_fromUtf8("ShortcutsDialog"))
        ShortcutsDialog.resize(600, 480)
        ShortcutsDialog.setWindowTitle(QtGui.QApplication.translate("ShortcutsDialog", "Keyboard Shortcuts", None, QtGui.QApplication.UnicodeUTF8))
        self.verticalLayout = QtGui.QVBoxLayout(ShortcutsDialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label = QtGui.QLabel(ShortcutsDialog)
        self.label.setText(QtGui.QApplication.translate("ShortcutsDialog", "&Filter:", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setObjectName(_fromUtf8("label"))
        self.horizontalLayout.addWidget(self.label)
        self.searchEdit = QtGui.QLineEdit(ShortcutsDialog)
        self.searchEdit.setToolTip(QtGui.QApplication.translate("ShortcutsDialog", "Enter the regular expression that should be contained in the shortcut action", None, QtGui.QApplication.UnicodeUTF8))
        self.searchEdit.setObjectName(_fromUtf8("searchEdit"))
        self.horizontalLayout.addWidget(self.searchEdit)
        self.clearSearchButton = QtGui.QToolButton(ShortcutsDialog)
        self.clearSearchButton.setToolTip(QtGui.QApplication.translate("ShortcutsDialog", "Press to clear the search edit", None, QtGui.QApplication.UnicodeUTF8))
        self.clearSearchButton.setText(_fromUtf8(""))
        self.clearSearchButton.setObjectName(_fromUtf8("clearSearchButton"))
        self.horizontalLayout.addWidget(self.clearSearchButton)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.label_2 = QtGui.QLabel(ShortcutsDialog)
        self.label_2.setText(QtGui.QApplication.translate("ShortcutsDialog", "Filter on", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.horizontalLayout_2.addWidget(self.label_2)
        self.actionButton = QtGui.QRadioButton(ShortcutsDialog)
        self.actionButton.setToolTip(QtGui.QApplication.translate("ShortcutsDialog", "Select to filter based on the actions", None, QtGui.QApplication.UnicodeUTF8))
        self.actionButton.setText(QtGui.QApplication.translate("ShortcutsDialog", "&Action", None, QtGui.QApplication.UnicodeUTF8))
        self.actionButton.setChecked(True)
        self.actionButton.setObjectName(_fromUtf8("actionButton"))
        self.horizontalLayout_2.addWidget(self.actionButton)
        self.shortcutButton = QtGui.QRadioButton(ShortcutsDialog)
        self.shortcutButton.setToolTip(QtGui.QApplication.translate("ShortcutsDialog", "Select to filter based on shortcut or alternative shortcut", None, QtGui.QApplication.UnicodeUTF8))
        self.shortcutButton.setText(QtGui.QApplication.translate("ShortcutsDialog", "&Shortcut or Alternative", None, QtGui.QApplication.UnicodeUTF8))
        self.shortcutButton.setObjectName(_fromUtf8("shortcutButton"))
        self.horizontalLayout_2.addWidget(self.shortcutButton)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.shortcutsList = QtGui.QTreeWidget(ShortcutsDialog)
        self.shortcutsList.setToolTip(QtGui.QApplication.translate("ShortcutsDialog", "This list shows all keyboard shortcuts.", None, QtGui.QApplication.UnicodeUTF8))
        self.shortcutsList.setWhatsThis(QtGui.QApplication.translate("ShortcutsDialog", "<b>Keyboard Shortcuts List</b>\n"
"<p>This list shows all keyboard shortcuts defined in the application. Double click an entry in order to change the respective shortcut. Alternatively, the shortcut might be changed by editing the key sequence in the respective column.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.shortcutsList.setAlternatingRowColors(True)
        self.shortcutsList.setObjectName(_fromUtf8("shortcutsList"))
        self.shortcutsList.headerItem().setText(0, QtGui.QApplication.translate("ShortcutsDialog", "Action", None, QtGui.QApplication.UnicodeUTF8))
        self.shortcutsList.headerItem().setText(1, QtGui.QApplication.translate("ShortcutsDialog", "Shortcut", None, QtGui.QApplication.UnicodeUTF8))
        self.shortcutsList.headerItem().setText(2, QtGui.QApplication.translate("ShortcutsDialog", "Alternativ", None, QtGui.QApplication.UnicodeUTF8))
        self.verticalLayout.addWidget(self.shortcutsList)
        self.buttonBox = QtGui.QDialogButtonBox(ShortcutsDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout.addWidget(self.buttonBox)
        self.label.setBuddy(self.searchEdit)

        self.retranslateUi(ShortcutsDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ShortcutsDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(ShortcutsDialog)
        ShortcutsDialog.setTabOrder(self.searchEdit, self.clearSearchButton)
        ShortcutsDialog.setTabOrder(self.clearSearchButton, self.actionButton)
        ShortcutsDialog.setTabOrder(self.actionButton, self.shortcutButton)
        ShortcutsDialog.setTabOrder(self.shortcutButton, self.shortcutsList)
        ShortcutsDialog.setTabOrder(self.shortcutsList, self.buttonBox)

    def retranslateUi(self, ShortcutsDialog):
        pass

