12 |
12 |
13 from PyQt6.QtCore import pyqtSignal, pyqtSlot, Qt |
13 from PyQt6.QtCore import pyqtSignal, pyqtSlot, Qt |
14 from PyQt6.QtGui import QKeySequence |
14 from PyQt6.QtGui import QKeySequence |
15 from PyQt6.QtWidgets import QHeaderView, QDialog, QTreeWidgetItem |
15 from PyQt6.QtWidgets import QHeaderView, QDialog, QTreeWidgetItem |
16 |
16 |
17 from EricWidgets.EricApplication import ericApp |
17 from eric7.EricWidgets.EricApplication import ericApp |
18 from EricWidgets import EricMessageBox |
18 from eric7.EricWidgets import EricMessageBox |
19 |
19 |
20 from .Ui_ShortcutsDialog import Ui_ShortcutsDialog |
20 from .Ui_ShortcutsDialog import Ui_ShortcutsDialog |
21 |
21 |
22 import Preferences |
22 from eric7 import Preferences |
23 from Preferences import Shortcuts |
23 from eric7.Preferences import Shortcuts |
24 |
24 |
25 |
25 |
26 class ShortcutsDialog(QDialog, Ui_ShortcutsDialog): |
26 class ShortcutsDialog(QDialog, Ui_ShortcutsDialog): |
27 """ |
27 """ |
28 Class implementing a dialog for the configuration of eric's keyboard |
28 Class implementing a dialog for the configuration of eric's keyboard |