763 #################################################################### |
763 #################################################################### |
764 ## Below follow the actions for QScintilla standard commands. |
764 ## Below follow the actions for QScintilla standard commands. |
765 #################################################################### |
765 #################################################################### |
766 |
766 |
767 self.esm = QSignalMapper(self) |
767 self.esm = QSignalMapper(self) |
768 self.esm.mapped[int].connect(self.__textEdit.editorCommand) |
768 try: |
|
769 self.esm.mappedInt.connect(self.__textEdit.editorCommand) |
|
770 except AttributeError: |
|
771 # pre Qt 5.15 |
|
772 self.esm.mapped[int].connect(self.__textEdit.editorCommand) |
769 |
773 |
770 self.editorActGrp = createActionGroup(self) |
774 self.editorActGrp = createActionGroup(self) |
771 |
775 |
772 act = E5Action( |
776 act = E5Action( |
773 QCoreApplication.translate('ViewManager', |
777 QCoreApplication.translate('ViewManager', |