Methods
|
|
|
|
__init__
|
__init__ (
self,
parent,
ui,
dbs,
)
Constructor
Arguments
- parent
- parent widget (QWidget)
- ui
- reference to the main user interface
- dbs
- reference to the debug server object
|
|
__showViewByIndex
|
__showViewByIndex ( self, index )
Internal slot called to show a view (i.e. window) selected in the list.
Arguments
- index
- index of the selected entry (int)
|
|
activeWindow
|
activeWindow ( self )
Private method to return the active (i.e. current) window.
Returns
reference to the active editor
|
|
addView
|
addView (
self,
win,
fn=None,
)
Private method to add a view (i.e. window)
Arguments
- win
- editor window to be added
- fn
- filename of this editor
|
|
canCascade
|
canCascade ( self )
Public method to signal if cascading of managed windows is available.
Returns
flag indicating cascading of windows is available
|
|
canTile
|
canTile ( self )
Public method to signal if tiling of managed windows is available.
Returns
flag indicating tiling of windows is available
|
|
cascade
|
cascade ( self )
Public method to cascade the managed windows.
|
|
handleModificationStatusChanged
|
handleModificationStatusChanged (
self,
m,
editor,
)
Private slot to handle the modificationStatusChanged signal.
Arguments
- m
- flag indicating the modification status (boolean)
- editor
- editor window changed
|
|
handleShowWindowMenu
|
handleShowWindowMenu ( self, windowMenu )
Private method to set up the viewmanager part of the Window menu.
Arguments
- windowMenu
- reference to the window menu
|
|
initWindowActions
|
initWindowActions ( self )
Define the user interface actions for window handling.
|
|
removeAllViews
|
removeAllViews ( self )
Private method to remove all views (i.e. windows)
|
|
removeView
|
removeView ( self, win )
Private method to remove a view (i.e. window)
Arguments
- win
- editor window to be removed
|
|
setEditorName
|
setEditorName (
self,
editor,
newName,
)
Change the displayed name of the editor.
Arguments
- editor
- editor window to be changed
- newName
- new name to be shown (string or QString)
|
|
showView
|
showView (
self,
win,
fn=None,
)
Private method to show a view (i.e. window)
Arguments
- win
- editor window to be shown
- fn
- filename of this editor
|
|
tile
|
tile ( self )
Public method to tile the managed windows.
|