214 self.tileAct.setStatusTip(self.trUtf8('Tile the windows')) |
214 self.tileAct.setStatusTip(self.trUtf8('Tile the windows')) |
215 self.tileAct.setWhatsThis(self.trUtf8( |
215 self.tileAct.setWhatsThis(self.trUtf8( |
216 """<b>Tile the windows</b>""" |
216 """<b>Tile the windows</b>""" |
217 """<p>Rearrange and resize the windows so that they are tiled.</p>""" |
217 """<p>Rearrange and resize the windows so that they are tiled.</p>""" |
218 )) |
218 )) |
219 self.tileAct.triggered.connect(self.tile) |
219 self.tileAct.triggered[()].connect(self.tile) |
220 self.windowActions.append(self.tileAct) |
220 self.windowActions.append(self.tileAct) |
221 |
221 |
222 self.cascadeAct = E5Action(self.trUtf8('Cascade'), |
222 self.cascadeAct = E5Action(self.trUtf8('Cascade'), |
223 self.trUtf8('&Cascade'), 0, 0, self, 'vm_window_cascade') |
223 self.trUtf8('&Cascade'), 0, 0, self, 'vm_window_cascade') |
224 self.cascadeAct.setStatusTip(self.trUtf8('Cascade the windows')) |
224 self.cascadeAct.setStatusTip(self.trUtf8('Cascade the windows')) |
225 self.cascadeAct.setWhatsThis(self.trUtf8( |
225 self.cascadeAct.setWhatsThis(self.trUtf8( |
226 """<b>Cascade the windows</b>""" |
226 """<b>Cascade the windows</b>""" |
227 """<p>Rearrange and resize the windows so that they are cascaded.</p>""" |
227 """<p>Rearrange and resize the windows so that they are cascaded.</p>""" |
228 )) |
228 )) |
229 self.cascadeAct.triggered.connect(self.cascade) |
229 self.cascadeAct.triggered[()].connect(self.cascade) |
230 self.windowActions.append(self.cascadeAct) |
230 self.windowActions.append(self.cascadeAct) |
231 |
231 |
232 self.nextChildAct = E5Action(self.trUtf8('Next'), |
232 self.nextChildAct = E5Action(self.trUtf8('Next'), |
233 self.trUtf8('&Next'), 0, 0, self, 'vm_window_next') |
233 self.trUtf8('&Next'), 0, 0, self, 'vm_window_next') |
234 self.nextChildAct.setStatusTip(self.trUtf8('Activate next window')) |
234 self.nextChildAct.setStatusTip(self.trUtf8('Activate next window')) |
235 self.nextChildAct.setWhatsThis(self.trUtf8( |
235 self.nextChildAct.setWhatsThis(self.trUtf8( |
236 """<b>Next</b>""" |
236 """<b>Next</b>""" |
237 """<p>Activate the next window of the list of open windows.</p>""" |
237 """<p>Activate the next window of the list of open windows.</p>""" |
238 )) |
238 )) |
239 self.nextChildAct.triggered.connect(self.activateNextSubWindow) |
239 self.nextChildAct.triggered[()].connect(self.activateNextSubWindow) |
240 self.windowActions.append(self.nextChildAct) |
240 self.windowActions.append(self.nextChildAct) |
241 |
241 |
242 self.prevChildAct = E5Action(self.trUtf8('Previous'), |
242 self.prevChildAct = E5Action(self.trUtf8('Previous'), |
243 self.trUtf8('&Previous'), 0, 0, self, 'vm_window_previous') |
243 self.trUtf8('&Previous'), 0, 0, self, 'vm_window_previous') |
244 self.prevChildAct.setStatusTip(self.trUtf8('Activate previous window')) |
244 self.prevChildAct.setStatusTip(self.trUtf8('Activate previous window')) |
245 self.prevChildAct.setWhatsThis(self.trUtf8( |
245 self.prevChildAct.setWhatsThis(self.trUtf8( |
246 """<b>Previous</b>""" |
246 """<b>Previous</b>""" |
247 """<p>Activate the previous window of the list of open windows.</p>""" |
247 """<p>Activate the previous window of the list of open windows.</p>""" |
248 )) |
248 )) |
249 self.prevChildAct.triggered.connect(self.activatePreviousSubWindow) |
249 self.prevChildAct.triggered[()].connect(self.activatePreviousSubWindow) |
250 self.windowActions.append(self.prevChildAct) |
250 self.windowActions.append(self.prevChildAct) |
251 |
251 |
252 self.restoreAllAct = E5Action(self.trUtf8('Restore All'), |
252 self.restoreAllAct = E5Action(self.trUtf8('Restore All'), |
253 self.trUtf8('&Restore All'), 0, 0, self, 'vm_window_restore_all') |
253 self.trUtf8('&Restore All'), 0, 0, self, 'vm_window_restore_all') |
254 self.restoreAllAct.setStatusTip(self.trUtf8('Restore all windows')) |
254 self.restoreAllAct.setStatusTip(self.trUtf8('Restore all windows')) |
255 self.restoreAllAct.setWhatsThis(self.trUtf8( |
255 self.restoreAllAct.setWhatsThis(self.trUtf8( |
256 """<b>Restore All</b>""" |
256 """<b>Restore All</b>""" |
257 """<p>Restores all windows to their original size.</p>""" |
257 """<p>Restores all windows to their original size.</p>""" |
258 )) |
258 )) |
259 self.restoreAllAct.triggered.connect(self.__restoreAllWindows) |
259 self.restoreAllAct.triggered[()].connect(self.__restoreAllWindows) |
260 self.windowActions.append(self.restoreAllAct) |
260 self.windowActions.append(self.restoreAllAct) |
261 |
261 |
262 self.iconizeAllAct = E5Action(self.trUtf8('Iconize All'), |
262 self.iconizeAllAct = E5Action(self.trUtf8('Iconize All'), |
263 self.trUtf8('&Iconize All'), 0, 0, self, 'vm_window_iconize_all') |
263 self.trUtf8('&Iconize All'), 0, 0, self, 'vm_window_iconize_all') |
264 self.iconizeAllAct.setStatusTip(self.trUtf8('Iconize all windows')) |
264 self.iconizeAllAct.setStatusTip(self.trUtf8('Iconize all windows')) |
265 self.iconizeAllAct.setWhatsThis(self.trUtf8( |
265 self.iconizeAllAct.setWhatsThis(self.trUtf8( |
266 """<b>Iconize All</b>""" |
266 """<b>Iconize All</b>""" |
267 """<p>Iconizes all windows.</p>""" |
267 """<p>Iconizes all windows.</p>""" |
268 )) |
268 )) |
269 self.iconizeAllAct.triggered.connect(self.__iconizeAllWindows) |
269 self.iconizeAllAct.triggered[()].connect(self.__iconizeAllWindows) |
270 self.windowActions.append(self.iconizeAllAct) |
270 self.windowActions.append(self.iconizeAllAct) |
271 |
271 |
272 def setEditorName(self, editor, newName): |
272 def setEditorName(self, editor, newName): |
273 """ |
273 """ |
274 Public method to change the displayed name of the editor. |
274 Public method to change the displayed name of the editor. |