src/eric7/Project/ProjectBrowser.py

branch
eric7-maintenance
changeset 10694
f46c1e224e8a
parent 10659
43ead32943ca
parent 10683
779cda568acb
child 11118
967a88a16a21
equal deleted inserted replaced
10662:e6c9ab1dc168 10694:f46c1e224e8a
59 line (str, int) 59 line (str, int)
60 @signal sourceFile(filename, lineno, type) emitted to open a Python file 60 @signal sourceFile(filename, lineno, type) emitted to open a Python file
61 at a line giving an explicit file type (str, int, str) 61 at a line giving an explicit file type (str, int, str)
62 @signal sourceFile(filename, linenos) emitted to open a Python file giving 62 @signal sourceFile(filename, linenos) emitted to open a Python file giving
63 a list of lines(str, list) 63 a list of lines(str, list)
64 @signal sourceFile(filename, lineno, col_offset) emitted to open a Python file at a
65 line and column (str, int, int)
64 @signal svgFile(filename) emitted to open a SVG file (str) 66 @signal svgFile(filename) emitted to open a SVG file (str)
65 @signal testFile(filename) emitted to open a Python file for a 67 @signal testFile(filename) emitted to open a Python file for a
66 unit test (str) 68 unit test (str)
67 @signal trpreview(filenames) emitted to preview Qt-Linguist (*.qm) 69 @signal trpreview(filenames) emitted to preview Qt-Linguist (*.qm)
68 files (list of str) 70 files (list of str)
83 linguistFile = pyqtSignal(str) 85 linguistFile = pyqtSignal(str)
84 pdfFile = pyqtSignal(str) 86 pdfFile = pyqtSignal(str)
85 pixmapEditFile = pyqtSignal(str) 87 pixmapEditFile = pyqtSignal(str)
86 pixmapFile = pyqtSignal(str) 88 pixmapFile = pyqtSignal(str)
87 preferencesChanged = pyqtSignal() 89 preferencesChanged = pyqtSignal()
88 sourceFile = pyqtSignal((str,), (str, int), (str, list), (str, int, str)) 90 sourceFile = pyqtSignal(
91 (str,), (str, int), (str, int, int), (str, list), (str, int, str)
92 )
89 svgFile = pyqtSignal(str) 93 svgFile = pyqtSignal(str)
90 testFile = pyqtSignal(str) 94 testFile = pyqtSignal(str)
91 trpreview = pyqtSignal((list,), (list, bool)) 95 trpreview = pyqtSignal((list,), (list, bool))
92 uipreview = pyqtSignal(str) 96 uipreview = pyqtSignal(str)
93 umlFile = pyqtSignal(str) 97 umlFile = pyqtSignal(str)
466 if state not in self.vcsStatusText: 470 if state not in self.vcsStatusText:
467 self.vcsStatusIndicator.setToolTip(self.tr("unknown status")) 471 self.vcsStatusIndicator.setToolTip(self.tr("unknown status"))
468 else: 472 else:
469 self.vcsStatusIndicator.setToolTip(self.vcsStatusText[state]) 473 self.vcsStatusIndicator.setToolTip(self.vcsStatusText[state])
470 474
471 def __vcsStatusIndicatorClicked(self, pos): # noqa: U100 475 def __vcsStatusIndicatorClicked(self, _pos):
472 """ 476 """
473 Private slot to react upon clicks on the VCS indicator LED. 477 Private slot to react upon clicks on the VCS indicator LED.
474 478
475 @param pos position of the click 479 @param _pos position of the click (unused)
476 @type QPoint 480 @type QPoint
477 """ 481 """
478 vcs = self.project.getVcs() 482 vcs = self.project.getVcs()
479 if vcs: 483 if vcs:
480 if self.currentVcsStatus == " ": 484 if self.currentVcsStatus == " ":

eric ide

mercurial