#### PyKDE - Python Bindings for KDE

# class KDockWidget

Table of contents
Modules
kdeui Classes
All Classes

Module | kdeui
Class | KDockWidget
Inherits | QWidget

### 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 | QPixmap |
  parent | QWidget | 0
  strCaption | QString | 0
  strTabPageLabel | QString | " "
  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 | QEvent |

- 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 (QWidget)

- hasUndocked ()

  returns nothing

- headerCloseButtonClicked ()

  returns nothing

- headerDockbackButtonClicked ()

  returns nothing

- iMBeingClosed ()

  returns nothing

- isDockBackPossible ()

  returns (bool)

- latestKDockContainer ()

  returns (QWidget)
  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 | QEvent |

- loseFormerBrotherDockWidget ()

  returns nothing

- makeDockVisible ()

  returns nothing

- manualDock (target, dockPos, spliPos = 50, pos = QPoint (0 ,0 ), check = 0, tabIndex = -1)

  returns (KDockWidget)

  Argument | Type | Default
  --- | --- | ---
  target | KDockWidget |
  dockPos | KDockWidget.DockPosition |
  spliPos | int | 50
  pos | QPoint | QPoint (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 | QMouseEvent |

- mousePressEvent (a0)

  returns nothing
  In versions KDE 3.1.0 and above only

  Argument | Type | Default
  --- | --- | ---
  a0 | QMouseEvent |

- mouseReleaseEvent (a0)

  returns nothing
  In versions KDE 3.1.0 and above only

  Argument | Type | Default
  --- | --- | ---
  a0 | QMouseEvent |

- paintEvent (a0)

  returns nothing
  In versions KDE 3.1.0 and above only

  Argument | Type | Default
  --- | --- | ---
  a0 | QPaintEvent |

- parentDockContainer ()

  returns (QWidget)
  In versions KDE 3.1.0 and above only

- parentDockTabGroup ()

  returns (KDockTabGroup)

- pixmap ()

  returns (QPixmap)
  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 | QWidget |
  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 | QWidget |

- setPixmap (pixmap = QPixmap ())

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  pixmap | QPixmap | QPixmap ()

- setTabPageLabel (label)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  label | QString |

- setToolTipString (ttStr)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  ttStr | QString |

- setWidget (w)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  w | QWidget |

- show ()

  returns nothing

- tabPageLabel ()

  returns (QString)

- toDesktop ()

  returns nothing
  In versions KDE 3.1.0 and above only

- toolTipString ()

  returns (QString)

- transientTo ()

  returns (QWidget)
  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 | QWidget |