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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_3/eric4/Preferences/ShortcutsDialog.ui'
#
# Created: Sat Nov 15 19:52:19 2008
#      by: PyQt4 UI code generator 4.4.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_ShortcutsDialog(object):
    def setupUi(self, ShortcutsDialog):
        ShortcutsDialog.setObjectName("ShortcutsDialog")
        ShortcutsDialog.resize(600, 480)
        self.verticalLayout = QtGui.QVBoxLayout(ShortcutsDialog)
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label = QtGui.QLabel(ShortcutsDialog)
        self.label.setObjectName("label")
        self.horizontalLayout.addWidget(self.label)
        self.searchEdit = QtGui.QLineEdit(ShortcutsDialog)
        self.searchEdit.setObjectName("searchEdit")
        self.horizontalLayout.addWidget(self.searchEdit)
        self.clearSearchButton = QtGui.QToolButton(ShortcutsDialog)
        self.clearSearchButton.setObjectName("clearSearchButton")
        self.horizontalLayout.addWidget(self.clearSearchButton)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.label_2 = QtGui.QLabel(ShortcutsDialog)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout_2.addWidget(self.label_2)
        self.actionButton = QtGui.QRadioButton(ShortcutsDialog)
        self.actionButton.setChecked(True)
        self.actionButton.setObjectName("actionButton")
        self.horizontalLayout_2.addWidget(self.actionButton)
        self.shortcutButton = QtGui.QRadioButton(ShortcutsDialog)
        self.shortcutButton.setObjectName("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.setAlternatingRowColors(True)
        self.shortcutsList.setObjectName("shortcutsList")
        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("buttonBox")
        self.verticalLayout.addWidget(self.buttonBox)
        self.label.setBuddy(self.searchEdit)

        self.retranslateUi(ShortcutsDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("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):
        ShortcutsDialog.setWindowTitle(QtGui.QApplication.translate("ShortcutsDialog", "Keyboard Shortcuts", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("ShortcutsDialog", "&Filter:", None, QtGui.QApplication.UnicodeUTF8))
        self.searchEdit.setToolTip(QtGui.QApplication.translate("ShortcutsDialog", "Enter the regular expression that should be contained in the shortcut action", None, QtGui.QApplication.UnicodeUTF8))
        self.clearSearchButton.setToolTip(QtGui.QApplication.translate("ShortcutsDialog", "Press to clear the search edit", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("ShortcutsDialog", "Filter on", None, QtGui.QApplication.UnicodeUTF8))
        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.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.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.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))


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

