org.kde.koala

Class KDockWidgetHeader

public class KDockWidgetHeader extends KDockWidgetAbstractHeader

The header (additional bar) for a KDockWidget s (and member of the dockwidget class set). It have got the buttons located there. And it is for recording and reading the button states. More or less a minor helper class for the dockwidget class set.

Author: Max Judin (documentation: Falk Brettschneider).

UNKNOWN: The header (additional bar) for a KDockWidget s (and member of the dockwidget class set).

Constructor Summary
protected KDockWidgetHeader(Class dummy)
KDockWidgetHeader(KDockWidget parent, String name)
Constructs this.
KDockWidgetHeader(KDockWidget parent)
Method Summary
StringclassName()
voiddispose()
Delete the wrapped C++ instance ahead of finalize()
booleandragEnabled()
KDockWidgetHeaderDragdragPanel()
Get the drag panel of this header.
protected voidfinalize()
Deletes the wrapped C++ instance
voidforceCloseButtonHidden(boolean enable)
voidforceCloseButtonHidden()
booleanisDisposed()
Has the wrapped C++ instance been deleted?
voidloadConfig(KConfig c)
Loads the current button state from a KDE config container object.
QMetaObjectmetaObject()
voidsaveConfig(KConfig c)
Saves the current button state to a KDE config container object.
voidsetDragEnabled(boolean b)
voidsetDragPanel(KDockWidgetHeaderDrag nd)
Sets the drag panel of this header.
voidsetTopLevel(boolean t)
Hides the close button and stay button when switching to toplevel or vice versa shows them.
voidshowUndockButton(boolean show)
protected voidslotStayClicked()
Sets dragging the dockwidget off when the stay button is pressed down and vice versa.

Constructor Detail

KDockWidgetHeader

protected KDockWidgetHeader(Class dummy)

KDockWidgetHeader

public KDockWidgetHeader(KDockWidget parent, String name)
Constructs this.

Parameters: parent the parent widget (usually a dockwidget) name the object instance name

UNKNOWN: Constructs this.

KDockWidgetHeader

public KDockWidgetHeader(KDockWidget parent)

Method Detail

className

public String className()

dispose

public void dispose()
Delete the wrapped C++ instance ahead of finalize()

dragEnabled

public boolean dragEnabled()

dragPanel

public KDockWidgetHeaderDrag dragPanel()
Get the drag panel of this header.

UNKNOWN: Get the drag panel of this header.

finalize

protected void finalize()
Deletes the wrapped C++ instance

forceCloseButtonHidden

public void forceCloseButtonHidden(boolean enable)

forceCloseButtonHidden

public void forceCloseButtonHidden()

isDisposed

public boolean isDisposed()
Has the wrapped C++ instance been deleted?

loadConfig

public void loadConfig(KConfig c)
Loads the current button state from a KDE config container object.

Parameters: c the configuration safe

UNKNOWN: Loads the current button state from a KDE config container object.

metaObject

public QMetaObject metaObject()

saveConfig

public void saveConfig(KConfig c)
Saves the current button state to a KDE config container object.

Parameters: c the configuration safe

UNKNOWN: Saves the current button state to a KDE config container object.

setDragEnabled

public void setDragEnabled(boolean b)

setDragPanel

public void setDragPanel(KDockWidgetHeaderDrag nd)
Sets the drag panel of this header.

Parameters: nd A pointer to the new drag panel

UNKNOWN: Sets the drag panel of this header.

setTopLevel

public void setTopLevel(boolean t)
Hides the close button and stay button when switching to toplevel or vice versa shows them.

Parameters: t toplevel or not

UNKNOWN: Hides the close button and stay button when switching to toplevel or vice versa shows them.

showUndockButton

public void showUndockButton(boolean show)

slotStayClicked

protected void slotStayClicked()
Sets dragging the dockwidget off when the stay button is pressed down and vice versa.

UNKNOWN: Sets dragging the dockwidget off when the stay button is pressed down and vice versa.