UI/Browser.py

changeset 5726
e1dbd217214a
parent 5674
a0ad2dcb27f9
child 5736
000ea446ff4b
--- a/UI/Browser.py	Fri May 05 19:05:26 2017 +0200
+++ b/UI/Browser.py	Fri May 05 19:06:52 2017 +0200
@@ -40,21 +40,30 @@
     is displayed by a right click the user can select various actions on
     the selected file.
     
-    @signal sourceFile(str, int = 0, str = "") emitted to open a Python file
-        at a line
-    @signal sourceFile(str, list) emitted to open a Python file giving a list
-        of lines
-    @signal designerFile(str) emitted to open a Qt-Designer file
-    @signal linguistFile(str) emitted to open a Qt-Linguist (*.ts) file
-    @signal trpreview(list of str, bool = False) emitted to preview a
-        Qt-Linguist (*.qm) file
-    @signal projectFile(str) emitted to open an eric4/5 project file
-    @signal multiProjectFile(str) emitted to open an eric4/5 multi project file
-    @signal pixmapFile(str) emitted to open a pixmap file
-    @signal pixmapEditFile(str) emitted to edit a pixmap file
-    @signal svgFile(str) emitted to open a SVG file
-    @signal binaryFile(str) emitted to open a file as binary
-    @signal unittestOpen(str) emitted to open a Python file for a unittest
+    @signal sourceFile(filename) emitted to open a Python file at a line (str)
+    @signal sourceFile(filename, lineno) emitted to open a Python file at a
+        line (str, int)
+    @signal sourceFile(filename, lineno, type) emitted to open a Python file
+        at a line giving an explicit file type (str, int, str)
+    @signal sourceFile(filename, linenos) emitted to open a Python file giving
+        a list of lines(str, list)
+    @signal designerFile(filename) emitted to open a Qt-Designer file (str)
+    @signal linguistFile(filename) emitted to open a Qt-Linguist (*.ts)
+        file (str)
+    @signal trpreview(filenames) emitted to preview Qt-Linguist (*.qm)
+        files (list of str)
+    @signal trpreview(filenames, ignore) emitted to preview Qt-Linguist (*.qm)
+        files indicating whether non-existent files shall be ignored
+        (list of str, bool)
+    @signal projectFile(filename) emitted to open an eric project file (str)
+    @signal multiProjectFile(filename) emitted to open an eric multi project
+        file (str)
+    @signal pixmapFile(filename) emitted to open a pixmap file (str)
+    @signal pixmapEditFile(filename) emitted to edit a pixmap file (str)
+    @signal svgFile(filename) emitted to open a SVG file (str)
+    @signal binaryFile(filename) emitted to open a file as binary (str)
+    @signal unittestOpen(filename) emitted to open a Python file for a
+        unit test (str)
     """
     sourceFile = pyqtSignal((str, ), (str, int), (str, list), (str, int, str))
     designerFile = pyqtSignal(str)

eric ide

mercurial