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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_2/eric4/Preferences/ShortcutsDialog.ui'
#
# Created: Sun Jun  8 09:42:00 2008
#      by: PyQt4 UI code generator 4.4.2
#
# 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.gridlayout = QtGui.QGridLayout(ShortcutsDialog)
        self.gridlayout.setMargin(6)
        self.gridlayout.setSpacing(6)
        self.gridlayout.setObjectName("gridlayout")
        self.label = QtGui.QLabel(ShortcutsDialog)
        self.label.setObjectName("label")
        self.gridlayout.addWidget(self.label,0,0,1,1)
        self.searchEdit = QtGui.QLineEdit(ShortcutsDialog)
        self.searchEdit.setObjectName("searchEdit")
        self.gridlayout.addWidget(self.searchEdit,0,1,1,1)
        self.clearSearchButton = QtGui.QToolButton(ShortcutsDialog)
        self.clearSearchButton.setObjectName("clearSearchButton")
        self.gridlayout.addWidget(self.clearSearchButton,0,2,1,1)
        self.shortcutsList = QtGui.QTreeWidget(ShortcutsDialog)
        self.shortcutsList.setAlternatingRowColors(True)
        self.shortcutsList.setObjectName("shortcutsList")
        self.shortcutsList.headerItem().setText(3,"")
        self.gridlayout.addWidget(self.shortcutsList,1,0,1,3)
        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.gridlayout.addWidget(self.buttonBox,2,0,1,3)
        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.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", "&Search:", 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.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_())

