KDockWidgetHeader Class Reference
The header (additional bar) for a KDockWidget s (and member of the dockwidget class set). More...
#include <kdockwidget.h>
Inheritance diagram for KDockWidgetHeader:

Public Methods | |
KDockWidgetHeader (KDockWidget *parent, const char *name=0L) | |
virtual | ~KDockWidgetHeader () |
virtual void | setTopLevel (bool t) |
void | setDragPanel (KDockWidgetHeaderDrag *nd) |
void | showUndockButton (bool show) |
void | forceCloseButtonHidden (bool enable=true) |
virtual void | saveConfig (KConfig *c) |
virtual void | loadConfig (KConfig *c) |
Protected Slots | |
void | slotStayClicked () |
Protected Methods | |
virtual void | virtual_hook (int id, void *data) |
Protected Attributes | |
QHBoxLayout * | layout |
KDockButton_Private * | closeButton |
KDockButton_Private * | stayButton |
KDockButton_Private * | dockbackButton |
KDockWidgetHeaderDrag * | drag |
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.
- Author:
- Max Judin (documentation: Falk Brettschneider).
Definition at line 234 of file kdockwidget.h.
Constructor & Destructor Documentation
|
Constructs this.
Definition at line 216 of file kdockwidget.cpp. References QToolTip::add(), closeButton, dockbackButton, drag, layout, QPushButton::pixmap(), QPushButton::setPixmap(), QPushButton::setToggleButton(), slotStayClicked(), and stayButton. |
|
Destructs this.
Definition at line 250 of file kdockwidget.h. |
Member Function Documentation
|
Hides the close button and stay button when switching to toplevel or vice versa shows them.
Reimplemented from KDockWidgetAbstractHeader. Definition at line 272 of file kdockwidget.cpp. References closeButton, QPtrListIterator::current(), dockbackButton, drag, KDockWidget::isDockBackPossible(), layout, and stayButton. |
|
Sets the drag panel of this header.
Definition at line 313 of file kdockwidget.cpp. References closeButton, QPtrListIterator::current(), dockbackButton, drag, layout, and stayButton. |
|
Definition at line 401 of file kdockwidget.cpp. |
|
Definition at line 307 of file kdockwidget.cpp. References closeButton. |
|
Saves the current button state to a KDE config container object.
Reimplemented from KDockWidgetAbstractHeader. Definition at line 422 of file kdockwidget.cpp. References QPushButton::isOn(), and stayButton. |
|
Loads the current button state from a KDE config container object.
Reimplemented from KDockWidgetAbstractHeader. Definition at line 427 of file kdockwidget.cpp. |
|
Sets dragging the dockwidget off when the stay button is pressed down and vice versa.
Definition at line 391 of file kdockwidget.cpp. References QPushButton::isOn(), and stayButton. Referenced by KDockWidgetHeader(). |
Member Data Documentation
|
A layout manager for placing the embedded buttons (close and stay).
Definition at line 316 of file kdockwidget.h. Referenced by KDockWidgetHeader(), setDragPanel(), and setTopLevel(). |
|
a little button for closing (undocking and hiding) the dockwidget
Definition at line 321 of file kdockwidget.h. Referenced by forceCloseButtonHidden(), KDockWidgetHeader(), setDragPanel(), and setTopLevel(). |
|
a little button for enabling/disabling dragging the dockwidget with the mouse
Definition at line 326 of file kdockwidget.h. Referenced by KDockWidgetHeader(), saveConfig(), setDragPanel(), setTopLevel(), and slotStayClicked(). |
|
a little button for dock back the dockwidget to it's previous dockwidget
Definition at line 331 of file kdockwidget.h. Referenced by KDockWidgetHeader(), setDragPanel(), and setTopLevel(). |
|
the drag panel (double line)
Definition at line 336 of file kdockwidget.h. Referenced by KDockWidgetHeader(), setDragPanel(), and setTopLevel(). |
The documentation for this class was generated from the following files: