8 shortcuts. |
8 shortcuts. |
9 """ |
9 """ |
10 |
10 |
11 import re |
11 import re |
12 |
12 |
13 from PyQt6.QtCore import pyqtSignal, pyqtSlot, Qt |
13 from PyQt6.QtCore import Qt, pyqtSignal, pyqtSlot |
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 QDialog, QHeaderView, QTreeWidgetItem |
16 |
16 |
|
17 from eric7 import Preferences |
|
18 from eric7.EricWidgets import EricMessageBox |
17 from eric7.EricWidgets.EricApplication import ericApp |
19 from eric7.EricWidgets.EricApplication import ericApp |
18 from eric7.EricWidgets import EricMessageBox |
20 from eric7.Preferences import Shortcuts |
19 |
21 |
20 from .Ui_ShortcutsDialog import Ui_ShortcutsDialog |
22 from .Ui_ShortcutsDialog import Ui_ShortcutsDialog |
21 |
|
22 from eric7 import Preferences |
|
23 from eric7.Preferences import Shortcuts |
|
24 |
23 |
25 |
24 |
26 class ShortcutsDialog(QDialog, Ui_ShortcutsDialog): |
25 class ShortcutsDialog(QDialog, Ui_ShortcutsDialog): |
27 """ |
26 """ |
28 Class implementing a dialog for the configuration of eric's keyboard |
27 Class implementing a dialog for the configuration of eric's keyboard |