class KDockWidgetHeader

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

Definition#include <kdockwidget.h>
InheritsKDockWidgetAbstractHeader
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Slots

Protected Members


Detailed Description

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.

 KDockWidgetHeader ( KDockWidget* parent, const char* name = 0L )

Constructs this.

Parameters:

KDockWidgetHeader ()

[virtual]

Destructs this.

void  setTopLevel ( bool t)

[virtual]

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

Parameters:

Reimplemented from KDockWidgetAbstractHeader.

void  saveConfig ( KConfig* c)

[virtual]

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

Parameters:

Reimplemented from KDockWidgetAbstractHeader.

void  loadConfig ( KConfig* )

[virtual]

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

Parameters:

Reimplemented from KDockWidgetAbstractHeader.

void  slotStayClicked ()

[protected slot]

Set dragging the dockwidget off when the stay button is pressed down and vice versa.

QHBoxLayout* layout

[protected]

A layout manager for placing the embedded buttons (close and stay)

KDockButton_Private* closeButton

[protected]

a little button for closing (undocking and hiding) the dockwidget

KDockButton_Private* stayButton

[protected]

a little button for enabling/disabling dragging the dockwidget with the mouse

KDockButton_Private* dockbackButton

[protected]

a little button for dock back the dockwidget to it's previous dockwidget

KDockWidgetHeaderDrag* drag

[protected]

the drag panel (double line)