PyKDE - Python Bindings for KDE
class KMdiMainFrm
Table of contents
Modules
tdemdi Classes
All Classes
Module
tdemdi
Class
KMdiMainFrm
Inherits
KParts.DockMainWindow
enums
ExistsAs
= {DocumentView, ToolView, AnyView }
methods
KMdiMainFrm
(parentWidget, name = "", mdiMode = KMdi .ChildframeMode, flags = WType_TopLevel | WDestructiveClose)
returns
a KMdiMainFrm instance
Argument
Type
Default
parentWidget
TQWidget
name
char
""
mdiMode
KMdi.MdiMode
KMdi .ChildframeMode
flags
WFlags
WType_TopLevel | WDestructiveClose
activateFirstWin
()
returns
nothing
activateLastWin
()
returns
nothing
activateNextWin
()
returns
nothing
activatePrevWin
()
returns
nothing
activateView
(index)
returns
nothing
Argument
Type
Default
index
int
activateView
(pWnd)
returns
nothing
Argument
Type
Default
pWnd
KMdiChildView
activeWindow
()
returns
(KMdiChildView)
addToolWindow
(pWnd, pos = KDockWidget .DockNone, pTargetWnd = 0, percent = 50, tabToolTip = 0, tabCaption = 0)
returns
(KMdiToolViewAccessor)
Argument
Type
Default
pWnd
TQWidget
pos
KDockWidget.DockPosition
KDockWidget .DockNone
pTargetWnd
TQWidget
0
percent
int
50
tabToolTip
TQString
0
tabCaption
TQString
0
addWindow
(pWnd, flags = KMdi .StandardAdd)
returns
nothing
Argument
Type
Default
pWnd
KMdiChildView
flags
int
KMdi .StandardAdd
addWindow
(pWnd, flags, index)
returns
nothing
In versions KDE 3.3.0 and above only
Argument
Type
Default
pWnd
KMdiChildView
flags
int
index
int
addWindow
(pWnd, pos, flags = KMdi .StandardAdd)
returns
nothing
Argument
Type
Default
pWnd
KMdiChildView
pos
TQPoint
flags
int
KMdi .StandardAdd
addWindow
(pWnd, rectNormal, flags = KMdi .StandardAdd)
returns
nothing
Argument
Type
Default
pWnd
KMdiChildView
rectNormal
TQRect
flags
int
KMdi .StandardAdd
applyOptions
()
returns
nothing
attachWindow
(pWnd, bShow = 1, bAutomaticResize = 0)
returns
nothing
Argument
Type
Default
pWnd
KMdiChildView
bShow
bool
1
bAutomaticResize
bool
0
blockClearingOfWindowMenu
(bBlocked)
returns
nothing
Argument
Type
Default
bBlocked
bool
cascadeMaximized
()
returns
nothing
cascadeWindows
()
returns
nothing
childFrameModeHeight
()
returns
(int)
childViewIsDetachedNow
(a0)
returns
nothing
Argument
Type
Default
a0
TQWidget
childWindowCloseRequest
(pWnd)
returns
nothing
Argument
Type
Default
pWnd
KMdiChildView
closeActiveView
()
returns
nothing
closeAllViews
()
returns
nothing
closeViewButtonPressed
()
returns
nothing
closeWindow
(pWnd, layoutTaskBar = 1)
returns
nothing
Argument
Type
Default
pWnd
KMdiChildView
layoutTaskBar
bool
1
collapseOverlapContainers
()
returns
nothing
createIterator
()
Not Implemented
createMdiManager
()
returns
nothing
createTaskBar
()
returns
nothing
createToolWindow
()
returns
(KMdiToolViewAccessor)
createWrapper
(view, name, shortName)
returns
(KMdiChildView)
Argument
Type
Default
view
TQWidget
name
TQString
shortName
TQString
defaultChildFrmSize
()
returns
(TQSize)
deleteIterator
(pIt)
Not Implemented
deleteToolWindow
(pWnd)
returns
nothing
Argument
Type
Default
pWnd
TQWidget
deleteToolWindow
(accessor)
returns
nothing
Argument
Type
Default
accessor
KMdiToolViewAccessor
detachWindow
(pWnd, bShow = 1)
returns
nothing
Argument
Type
Default
pWnd
KMdiChildView
bShow
bool
1
dockMenuItemActivated
(id)
returns
nothing
Argument
Type
Default
id
int
dockToolViewsIntoContainers
(widgetsToReparent, container)
returns
nothing
Argument
Type
Default
widgetsToReparent
TQPtrList
container
KDockWidget
dragEndTimeOut
()
returns
nothing
event
(e)
returns
(bool)
Argument
Type
Default
e
TQEvent
eventFilter
(obj, e)
returns
(bool)
Argument
Type
Default
obj
TQObject
e
TQEvent
expandHorizontal
()
returns
nothing
expandVertical
()
returns
nothing
fakeSDIApplication
()
returns
nothing
fillWindowMenu
()
returns
nothing
findRootDockWidgets
(pRootDockWidgetList, pPositionList)
returns
nothing
Argument
Type
Default
pRootDockWidgetList
TQPtrList
pPositionList
TQValueList
findToolViewsDockedToMain
(list, dprtmw)
returns
nothing
Argument
Type
Default
list
TQPtrList
dprtmw
KDockWidget.DockPosition
findWindow
(caption)
returns
(KMdiChildView)
Argument
Type
Default
caption
TQString
finishChildframeMode
()
returns
nothing
finishIDEAlMode
(full = 1)
returns
nothing
Argument
Type
Default
full
bool
1
finishTabPageMode
()
returns
nothing
finishToplevelMode
()
returns
nothing
frameDecorOfAttachedViews
()
returns
(int)
static
hideViewTaskBar
()
returns
nothing
iconifyAllViews
()
returns
nothing
idealToolViewsToStandardTabs
(widgetNames, pos, sizee)
returns
nothing
Argument
Type
Default
widgetNames
TQStringList
pos
KDockWidget.DockPosition
sizee
int
isFakingSDIApplication
()
returns
(bool)
isInMaximizedChildFrmMode
()
returns
(bool)
isViewTaskBarOn
()
returns
(bool)
lastChildFrmClosed
()
returns
nothing
lastChildViewClosed
()
returns
nothing
leftTopLevelMode
()
returns
nothing
mdiMode
()
returns
(KMdi.MdiMode)
mdiModeHasBeenChangedTo
(a0)
returns
nothing
Argument
Type
Default
a0
KMdi.MdiMode
nextToolViewInDock
()
returns
nothing
popupWindowMenu
(p)
returns
nothing
Argument
Type
Default
p
TQPoint
prepareIdealToTabs
(container)
returns
(TQStringList)
Argument
Type
Default
container
KDockWidget
prevToolViewInDock
()
returns
nothing
removeWindowFromMdi
(pWnd)
returns
nothing
Argument
Type
Default
pWnd
KMdiChildView
resizeEvent
(a0)
returns
nothing
Argument
Type
Default
a0
TQResizeEvent
setBackgroundColor
(c)
returns
nothing
Argument
Type
Default
c
TQColor
setBackgroundPixmap
(pm)
returns
nothing
Argument
Type
Default
pm
TQPixmap
setDefaultChildFrmSize
(sz)
returns
nothing
Argument
Type
Default
sz
TQSize
setEnableMaximizedChildFrmMode
(bEnable)
returns
nothing
Argument
Type
Default
bEnable
bool
setFrameDecorOfAttachedViews
(frameDecor)
returns
nothing
Argument
Type
Default
frameDecor
int
setIDEAlModeStyle
(flags)
returns
nothing
Argument
Type
Default
flags
int
setManagedDockPositionModeEnabled
(enabled)
returns
nothing
Argument
Type
Default
enabled
bool
setMenuForSDIModeSysButtons
(menuBar = 0)
returns
nothing
Argument
Type
Default
menuBar
KMenuBar
0
setMinimumSize
(minw, minh)
returns
nothing
Argument
Type
Default
minw
int
minh
int
setStandardMDIMenuEnabled
(showModeMenu = 1)
returns
nothing
Argument
Type
Default
showModeMenu
bool
1
setSwitching
(switching)
returns
nothing
Argument
Type
Default
switching
bool
setSysButtonsAtMenuPosition
()
returns
nothing
setTabWidgetVisibility
(a0)
returns
nothing
In versions KDE 3.3.0 and above only
Argument
Type
Default
a0
KMdi.TabWidgetVisibility
setToolviewStyle
(flags)
returns
nothing
In versions KDE 3.3.0 and above only
Argument
Type
Default
flags
int
setUndockPositioningOffset
(offset)
returns
nothing
Argument
Type
Default
offset
TQPoint
showViewTaskBar
()
returns
nothing
slot_toggleTaskBar
()
returns
nothing
switchOffMaximizeModeForMenu
(oldChild)
returns
nothing
Argument
Type
Default
oldChild
KMdiChildFrm
switchToChildframeMode
()
returns
nothing
switchToIDEAlMode
()
returns
nothing
switchToTabPageMode
()
returns
nothing
switchToToplevelMode
()
returns
nothing
switching
()
returns
(bool)
tabWidget
()
returns
(KTabWidget)
In versions KDE 3.4.0 and above only
tabWidgetVisibility
()
returns
(KMdi.TabWidgetVisibility)
In versions KDE 3.3.0 and above only
taskBarHeight
()
returns
(int)
taskBarPopup
(pWnd, bIncludeWindowPopup = 0)
returns
(TQPopupMenu)
Argument
Type
Default
pWnd
KMdiChildView
bIncludeWindowPopup
bool
0
taskbarButtonRightClicked
(pWnd)
returns
nothing
Argument
Type
Default
pWnd
KMdiChildView
tileAnodine
()
returns
nothing
tilePragma
()
returns
nothing
tileVertically
()
returns
nothing
toggleBottom
()
returns
nothing
toggleLeft
()
returns
nothing
toggleRight
()
returns
nothing
toggleTop
()
returns
nothing
updateSysButtonConnections
(oldChild, newChild)
returns
nothing
Argument
Type
Default
oldChild
KMdiChildFrm
newChild
KMdiChildFrm
viewActivated
(a0)
returns
nothing
Argument
Type
Default
a0
KMdiChildView
viewDeactivated
(a0)
returns
nothing
Argument
Type
Default
a0
KMdiChildView
windowExists
(pWnd, as)
returns
(bool)
Argument
Type
Default
pWnd
KMdiChildView
as
KMdiMainFrm.ExistsAs
windowMenu
()
returns
(TQPopupMenu)
windowMenuItemActivated
(id)
returns
nothing
Argument
Type
Default
id
int
windowPopup
(pWnd, bIncludeTaskbarPopup = 1)
returns
(TQPopupMenu)
Argument
Type
Default
pWnd
KMdiChildView
bIncludeTaskbarPopup
bool
1