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