Konsole
Konsole::TabbedViewContainer Class Reference
#include <ViewContainer.h>

Detailed Description
A view container which uses a QTabWidget to display the views and allow the user to switch between them.Definition at line 342 of file ViewContainer.h.
Public Member Functions | |
| virtual QWidget * | activeView () const |
| virtual QWidget * | containerWidget () const |
| virtual void | setActiveView (QWidget *view) |
| void | setNewSessionMenu (QMenu *menu) |
| TabbedViewContainer (NavigationPosition position, QObject *parent) | |
| virtual | ~TabbedViewContainer () |
Protected Member Functions | |
| virtual void | addViewWidget (QWidget *view, int index) |
| virtual void | removeViewWidget (QWidget *view) |
Constructor & Destructor Documentation
| TabbedViewContainer::TabbedViewContainer | ( | NavigationPosition | position, | |
| QObject * | parent | |||
| ) |
Definition at line 233 of file ViewContainer.cpp.
| TabbedViewContainer::~TabbedViewContainer | ( | ) | [virtual] |
Definition at line 326 of file ViewContainer.cpp.
Member Function Documentation
| QWidget * TabbedViewContainer::activeView | ( | ) | const [virtual] |
Returns the view which currently has the focus or 0 if none of the child views have the focus.
Implements Konsole::ViewContainer.
Definition at line 405 of file ViewContainer.cpp.
| void TabbedViewContainer::addViewWidget | ( | QWidget * | view, | |
| int | index | |||
| ) | [protected, virtual] |
Performs the task of adding the view widget to the container widget.
Implements Konsole::ViewContainer.
Definition at line 361 of file ViewContainer.cpp.
| QWidget * TabbedViewContainer::containerWidget | ( | ) | const [virtual] |
Returns the widget which contains the view widgets.
Implements Konsole::ViewContainer.
Definition at line 400 of file ViewContainer.cpp.
| void TabbedViewContainer::removeViewWidget | ( | QWidget * | view | ) | [protected, virtual] |
Performs the task of removing the view widget from the container widget.
Implements Konsole::ViewContainer.
Definition at line 368 of file ViewContainer.cpp.
| void TabbedViewContainer::setActiveView | ( | QWidget * | widget | ) | [virtual] |
Changes the focus to the specified view and updates navigation aids to reflect the change.
Implements Konsole::ViewContainer.
Definition at line 410 of file ViewContainer.cpp.
| void TabbedViewContainer::setNewSessionMenu | ( | QMenu * | menu | ) |
Definition at line 332 of file ViewContainer.cpp.
The documentation for this class was generated from the following files:
KDE 4.1 API Reference