ViewManager/ViewManager.py

branch
6_1_x
changeset 4877
2ef641412a63
parent 4637
0b6d7412a2c4
child 4893
6756ba35675b
equal deleted inserted replaced
4874:8dbca5b1f89c 4877:2ef641412a63
9 9
10 from __future__ import unicode_literals 10 from __future__ import unicode_literals
11 11
12 import os 12 import os
13 13
14 from PyQt5.QtCore import pyqtSignal, QSignalMapper, QTimer, \ 14 from PyQt5.QtCore import pyqtSignal, pyqtSlot, QSignalMapper, QTimer, \
15 QFileInfo, QRegExp, QObject, Qt, QCoreApplication 15 QFileInfo, QRegExp, QObject, Qt, QCoreApplication
16 from PyQt5.QtGui import QColor, QKeySequence, QPalette, QPixmap 16 from PyQt5.QtGui import QColor, QKeySequence, QPalette, QPixmap
17 from PyQt5.QtWidgets import QLineEdit, QToolBar, QWidgetAction, QDialog, \ 17 from PyQt5.QtWidgets import QLineEdit, QToolBar, QWidgetAction, QDialog, \
18 QApplication, QMenu, QComboBox 18 QApplication, QMenu, QComboBox
19 from PyQt5.Qsci import QsciScintilla 19 from PyQt5.Qsci import QsciScintilla
6560 self.editorRenamed.emit(fn) 6560 self.editorRenamed.emit(fn)
6561 editor = self.sender() 6561 editor = self.sender()
6562 if editor: 6562 if editor:
6563 self.editorRenamedEd.emit(editor) 6563 self.editorRenamedEd.emit(editor)
6564 6564
6565 ## @pyqtSlot(str, int, int)
6565 def __cursorChanged(self, fn, line, pos): 6566 def __cursorChanged(self, fn, line, pos):
6566 """ 6567 """
6567 Private slot to handle the cursorChanged signal. 6568 Private slot to handle the cursorChanged signal.
6568 6569
6569 It emits the signal cursorChanged with parameter editor. 6570 It emits the signal cursorChanged with parameter editor.

eric ide

mercurial