Project/ProjectTranslationsBrowser.py

changeset 501
5c615a85241a
parent 500
c3abc7895a01
child 535
4b00d7336e19
equal deleted inserted replaced
500:c3abc7895a01 501:5c615a85241a
26 26
27 class ProjectTranslationsBrowser(ProjectBaseBrowser): 27 class ProjectTranslationsBrowser(ProjectBaseBrowser):
28 """ 28 """
29 A class used to display the translations part of the project. 29 A class used to display the translations part of the project.
30 30
31 @signal linguistFile(string) emitted to open a translation file with 31 @signal linguistFile(str) emitted to open a translation file with
32 Qt-Linguist 32 Qt-Linguist
33 @signal appendStdout(string) emitted after something was received from 33 @signal appendStdout(str) emitted after something was received from
34 a QProcess on stdout 34 a QProcess on stdout
35 @signal appendStderr(string) emitted after something was received from 35 @signal appendStderr(str) emitted after something was received from
36 a QProcess on stderr 36 a QProcess on stderr
37 @signal sourceFile(string) emitted to open a translation file in an editor 37 @signal sourceFile(str) emitted to open a translation file in an editor
38 @signal closeSourceWindow(string) emitted after a file has been removed/deleted 38 @signal closeSourceWindow(str) emitted after a file has been removed/deleted
39 from the project 39 from the project
40 @signal trpreview(string list) emitted to preview translations in the 40 @signal trpreview(list of str, bool = False) emitted to preview translations in the
41 translations previewer 41 translations previewer
42 @signal showMenu(string, QMenu) emitted when a menu is about to be shown. The name 42 @signal showMenu(str, QMenu) emitted when a menu is about to be shown. The name
43 of the menu and a reference to the menu are given. 43 of the menu and a reference to the menu are given.
44 """ 44 """
45 sourceFile = pyqtSignal(str) 45 sourceFile = pyqtSignal(str)
46 linguistFile = pyqtSignal(str) 46 linguistFile = pyqtSignal(str)
47 appendStdout = pyqtSignal(str) 47 appendStdout = pyqtSignal(str)

eric ide

mercurial