KMDI::DockContainer Class Reference
Inheritance diagram for KMDI::DockContainer:

Detailed Description
Definition at line 39 of file dockcontainer.h.
Public Slots | |
| void | init () |
| void | collapseOverlapped () |
| void | toggle () |
| void | nextToolView () |
| void | prevToolView () |
Signals | |
| void | activated (DockContainer *) |
| void | deactivated (DockContainer *) |
Public Member Functions | |
| DockContainer (QWidget *parent, QWidget *win, int position, int flags) | |
| virtual | ~DockContainer () |
| KDockWidget * | parentDockWidget () |
| virtual void | insertWidget (KDockWidget *w, QPixmap, const QString &, int &) |
| virtual void | showWidget (KDockWidget *w) |
| virtual void | setToolTip (KDockWidget *, QString &) |
| virtual void | setPixmap (KDockWidget *widget, const QPixmap &pixmap) |
| virtual void | undockWidget (KDockWidget *dwdg) |
| virtual void | removeWidget (KDockWidget *) |
| void | hideIfNeeded () |
| virtual void | save (KConfig *, const QString &group_or_prefix) |
| virtual void | load (KConfig *, const QString &group_or_prefix) |
| void | setStyle (int) |
Protected Slots | |
| void | tabClicked (int) |
| void | delayedRaise () |
| void | changeOverlapMode () |
Protected Member Functions | |
| bool | eventFilter (QObject *, QEvent *) |
Member Function Documentation
| void KMDI::DockContainer::insertWidget | ( | KDockWidget * | w, | |
| QPixmap | , | |||
| const QString & | , | |||
| int & | ||||
| ) | [virtual] |
Add a widget to this container.
- Parameters:
-
w the KDockWidget object to add Remove the extra parameters that we don't use?
Definition at line 163 of file dockcontainer.cpp.
| KDockWidget * KMDI::DockContainer::parentDockWidget | ( | ) |
| void KMDI::DockContainer::removeWidget | ( | KDockWidget * | ) | [virtual] |
Remove a widget from the container.
The caller of this function is responsible for deleting the widget after calling this function.
Definition at line 343 of file dockcontainer.cpp.
| void KMDI::DockContainer::setPixmap | ( | KDockWidget * | widget, | |
| const QPixmap & | pixmap | |||
| ) | [virtual] |
Set a pixmap for one of our dock widgets.
- Parameters:
-
widget the KDockWidget to set the pixmap for pixmap the pixmap you want to give the widget
Definition at line 457 of file dockcontainer.cpp.
| void KMDI::DockContainer::setToolTip | ( | KDockWidget * | , | |
| QString & | ||||
| ) | [virtual] |
Set a tooltip for a widget.
Actually implement it? Right now, it looks just it does exactly nothing
Definition at line 452 of file dockcontainer.cpp.
| void KMDI::DockContainer::showWidget | ( | KDockWidget * | w | ) | [virtual] |
Show a KDockWidget in our DockContainer.
- Parameters:
-
w the KDockWidget to show
Definition at line 300 of file dockcontainer.cpp.
| void KMDI::DockContainer::undockWidget | ( | KDockWidget * | dwdg | ) | [virtual] |
Undock a widget from the container.
This function is called when you've dragged a tab off the dock it's attached to.
- Parameters:
-
dwdg the KDockWidget to undock
Definition at line 371 of file dockcontainer.cpp.
The documentation for this class was generated from the following files:

