9 This extension is necessary in order to support alternate keyboard |
9 This extension is necessary in order to support alternate keyboard |
10 shortcuts. |
10 shortcuts. |
11 """ |
11 """ |
12 |
12 |
13 from PyQt4.QtGui import QAction, QActionGroup, QIcon, QKeySequence |
13 from PyQt4.QtGui import QAction, QActionGroup, QIcon, QKeySequence |
14 from PyQt4.QtCore import QObject |
|
15 |
14 |
16 class ArgumentsError(RuntimeError): |
15 class ArgumentsError(RuntimeError): |
17 """ |
16 """ |
18 Class implementing an exception, which is raised, if the wrong number of arguments |
17 Class implementing an exception, which is raised, if the wrong number of arguments |
19 are given. |
18 are given. |