109 """ |
109 """ |
110 Protected method to add a view (i.e. window) |
110 Protected method to add a view (i.e. window) |
111 |
111 |
112 @param win editor window to be added |
112 @param win editor window to be added |
113 @param fn filename of this editor |
113 @param fn filename of this editor |
114 @param noName name to be used for an unnamed editor (string or QString) |
114 @param noName name to be used for an unnamed editor (string) |
115 """ |
115 """ |
116 self.addSubWindow(win) |
116 self.addSubWindow(win) |
117 if fn is None: |
117 if fn is None: |
118 if not noName: |
118 if not noName: |
119 self.untitledCount += 1 |
119 self.untitledCount += 1 |
274 def setEditorName(self, editor, newName): |
274 def setEditorName(self, editor, newName): |
275 """ |
275 """ |
276 Public method to change the displayed name of the editor. |
276 Public method to change the displayed name of the editor. |
277 |
277 |
278 @param editor editor window to be changed |
278 @param editor editor window to be changed |
279 @param newName new name to be shown (string or QString) |
279 @param newName new name to be shown (string) |
280 """ |
280 """ |
281 pass |
281 pass |
282 |
282 |
283 def __setSubWindowIcon(self, widget, icon): |
283 def __setSubWindowIcon(self, widget, icon): |
284 """ |
284 """ |