Plugins/ViewManagerPlugins/MdiArea/MdiArea.py

changeset 110
c9a969db1469
parent 88
3701923bccf2
child 425
ca5e65413fc5
child 528
0a48fc67c451
equal deleted inserted replaced
109:9c72858d4b7a 110:c9a969db1469
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 """

eric ide

mercurial