PyKDE - Python Bindings for KDE
class KDockWidget
Table of contents
Modules
kdeui Classes
All Classes
Module
kdeui
Class
KDockWidget
Inherits
TQWidget
enums
DockPosition
= {DockNone, DockTop, DockLeft, DockRight, DockBottom, DockCenter, DockDesktop, DockToSpecialSites, DockCorner, DockFullSite, DockFullDocking }
DockPosition
= {DockNone, DockTop, DockLeft, DockRight, DockBottom, DockCenter, DockDesktop, DockCorner, DockFullSite, DockFullDocking }
methods
KDockWidget
(dockManager, name, pixmap, parent = 0, strCaption = 0, strTabPageLabel = " ", f = 0)
returns
a KDockWidget instance
Argument
Type
Default
dockManager
KDockManager
name
char
pixmap
TQPixmap
parent
TQWidget
0
strCaption
TQString
0
strTabPageLabel
TQString
" "
f
WFlags
0
changeHideShowState
()
returns
nothing
currentDockPosition
()
returns
(KDockWidget.DockPosition)
In versions KDE 3.3.0 and above only
dockBack
()
returns
nothing
dockManager
()
returns
(KDockManager)
dockSite
()
returns
(int)
docking
(dw, dp)
returns
nothing
Argument
Type
Default
dw
KDockWidget
dp
KDockWidget.DockPosition
enableDocking
()
returns
(int)
event
(a0)
returns
(bool)
Argument
Type
Default
a0
TQEvent
findNearestDockWidget
(pos)
returns
(KDockWidget)
In versions KDE 3.1.0 and above only
Argument
Type
Default
pos
KDockWidget.DockPosition
forcedFixedHeight
()
returns
(int)
In versions KDE 3.1.0 and above only
forcedFixedWidth
()
returns
(int)
In versions KDE 3.1.0 and above only
getHeader
()
returns
(KDockWidgetAbstractHeader)
In versions KDE 3.2.0 and above only
getWidget
()
returns
(TQWidget)
hasUndocked
()
returns
nothing
headerCloseButtonClicked
()
returns
nothing
headerDockbackButtonClicked
()
returns
nothing
iMBeingClosed
()
returns
nothing
isDockBackPossible
()
returns
(bool)
latestKDockContainer
()
returns
(TQWidget)
In versions KDE 3.1.0 and above only
leaveEvent
(a0)
returns
nothing
In versions KDE 3.1.0 and above only
Argument
Type
Default
a0
TQEvent
loseFormerBrotherDockWidget
()
returns
nothing
makeDockVisible
()
returns
nothing
manualDock
(target, dockPos, spliPos = 50, pos = TQPoint (0 ,0 ), check = 0, tabIndex = -1)
returns
(KDockWidget)
Argument
Type
Default
target
KDockWidget
dockPos
KDockWidget.DockPosition
spliPos
int
50
pos
TQPoint
TQPoint (0 ,0 )
check
bool
0
tabIndex
int
-1
mayBeHide
()
returns
(bool)
mayBeShow
()
returns
(bool)
mouseMoveEvent
(a0)
returns
nothing
In versions KDE 3.1.0 and above only
Argument
Type
Default
a0
TQMouseEvent
mousePressEvent
(a0)
returns
nothing
In versions KDE 3.1.0 and above only
Argument
Type
Default
a0
TQMouseEvent
mouseReleaseEvent
(a0)
returns
nothing
In versions KDE 3.1.0 and above only
Argument
Type
Default
a0
TQMouseEvent
paintEvent
(a0)
returns
nothing
In versions KDE 3.1.0 and above only
Argument
Type
Default
a0
TQPaintEvent
parentDockContainer
()
returns
(TQWidget)
In versions KDE 3.1.0 and above only
parentDockTabGroup
()
returns
(KDockTabGroup)
pixmap
()
returns
(TQPixmap)
In versions KDE 3.2.0 and above only
restoreFromForcedFixedSize
()
returns
nothing
In versions KDE 3.1.0 and above only
setDockDefaultPos
()
returns
nothing
setDockSite
(pos)
returns
nothing
Argument
Type
Default
pos
int
setDockWindowTransient
(parent, transientEnabled)
returns
nothing
Argument
Type
Default
parent
TQWidget
transientEnabled
bool
setDockWindowType
(windowType)
returns
nothing
Argument
Type
Default
windowType
NET.WindowType
setEnableDocking
(pos)
returns
nothing
Argument
Type
Default
pos
int
setForcedFixedHeight
(a0)
returns
nothing
In versions KDE 3.1.0 and above only
Argument
Type
Default
a0
int
setForcedFixedWidth
(a0)
returns
nothing
In versions KDE 3.1.0 and above only
Argument
Type
Default
a0
int
setFormerBrotherDockWidget
(a0)
returns
nothing
In versions KDE 3.2.1 and above only
Argument
Type
Default
a0
KDockWidget
setHeader
(ah)
returns
nothing
Argument
Type
Default
ah
KDockWidgetAbstractHeader
setLatestKDockContainer
(a0)
returns
nothing
In versions KDE 3.1.0 and above only
Argument
Type
Default
a0
TQWidget
setPixmap
(pixmap = TQPixmap ())
returns
nothing
In versions KDE 3.2.0 and above only
Argument
Type
Default
pixmap
TQPixmap
TQPixmap ()
setTabPageLabel
(label)
returns
nothing
Argument
Type
Default
label
TQString
setToolTipString
(ttStr)
returns
nothing
Argument
Type
Default
ttStr
TQString
setWidget
(w)
returns
nothing
Argument
Type
Default
w
TQWidget
show
()
returns
nothing
tabPageLabel
()
returns
(TQString)
toDesktop
()
returns
nothing
In versions KDE 3.1.0 and above only
toolTipString
()
returns
(TQString)
transientTo
()
returns
(TQWidget)
In versions KDE 3.2.0 and above only
undock
()
returns
nothing
updateHeader
()
returns
nothing
widgetSet
(a0)
returns
nothing
In versions KDE 3.2.0 and above only
Argument
Type
Default
a0
TQWidget