10432:2fe91fe443dd | 10433:328f3ec4b77a |
---|---|
29 | 29 |
30 def __init__(self, parent=None): | 30 def __init__(self, parent=None): |
31 """ | 31 """ |
32 Constructor | 32 Constructor |
33 | 33 |
34 @param parent reference to the parent widget (QWidget) | 34 @param parent reference to the parent widget |
35 @type QWidget | |
35 """ | 36 """ |
36 super().__init__(parent) | 37 super().__init__(parent) |
37 self.setupUi(self) | 38 self.setupUi(self) |
38 | 39 |
39 styleIconsPath = ericApp().getStyleIconsPath() | 40 styleIconsPath = ericApp().getStyleIconsPath() |
99 | 100 |
100 def processEditor(self, editor=None): | 101 def processEditor(self, editor=None): |
101 """ | 102 """ |
102 Public slot to process an editor's text. | 103 Public slot to process an editor's text. |
103 | 104 |
104 @param editor editor to be processed (Editor) | 105 @param editor editor to be processed |
106 @type Editor | |
105 """ | 107 """ |
106 self.__lastEditor = editor | 108 self.__lastEditor = editor |
107 | 109 |
108 if editor is not None: | 110 if editor is not None: |
109 fn = editor.getFileName() | 111 fn = editor.getFileName() |