• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • applications API Reference
  • KDE Home
  • Contact Us
 

Konsole

  • Konsole
  • StackedViewContainer
Public Member Functions | Protected Member Functions | List of all members
Konsole::StackedViewContainer Class Reference

#include <ViewContainer.h>

Inheritance diagram for Konsole::StackedViewContainer:
Inheritance graph
[legend]

Public Member Functions

 StackedViewContainer (QObject *parent)
 
virtual ~StackedViewContainer ()
 
virtual QWidget * activeView () const
 
virtual QWidget * containerWidget () const
 
virtual void setActiveView (QWidget *view)
 
- Public Member Functions inherited from Konsole::ViewContainer
 ViewContainer (NavigationPosition position, QObject *parent)
 
virtual ~ViewContainer ()
 
void activateLastView ()
 
void activateNextView ()
 
void activatePreviousView ()
 
void addView (QWidget *view, ViewProperties *navigationItem, int index=-1)
 
Features features () const
 
void moveActiveView (MoveDirection direction)
 
NavigationPosition navigationPosition () const
 
NavigationVisibility navigationVisibility () const
 
void removeView (QWidget *view)
 
IncrementalSearchBar * searchBar ()
 
virtual void setFeatures (Features features)
 
void setNavigationPosition (NavigationPosition position)
 
void setNavigationTextMode (bool mode)
 
void setNavigationVisibility (NavigationVisibility mode)
 
virtual void setNewViewMenu (QMenu *menu)
 
virtual void setStyleSheet (const QString &styleSheet)
 
virtual Features supportedFeatures () const
 
virtual QList< NavigationPosition > supportedNavigationPositions () const
 
ViewProperties * viewProperties (QWidget *view) const
 
const QList< QWidget * > views () const
 

Protected Member Functions

virtual void addViewWidget (QWidget *view, int index)
 
virtual void removeViewWidget (QWidget *view)
 
- Protected Member Functions inherited from Konsole::ViewContainer
virtual void moveViewWidget (int fromIndex, int toIndex)
 
virtual void navigationPositionChanged (NavigationPosition)
 
virtual void navigationTextModeChanged (bool)
 
virtual void navigationVisibilityChanged (NavigationVisibility)
 
QList< QWidget * > widgetsForItem (ViewProperties *item) const
 

Additional Inherited Members

- Public Types inherited from Konsole::ViewContainer
enum  Feature { QuickNewView = 1, QuickCloseView = 2 }
 
enum  MoveDirection { MoveViewLeft, MoveViewRight }
 
enum  NavigationPosition { NavigationPositionTop, NavigationPositionBottom, NavigationPositionLeft, NavigationPositionRight }
 
enum  NavigationVisibility { AlwaysShowNavigation, ShowNavigationAsNeeded, AlwaysHideNavigation }
 
- Signals inherited from Konsole::ViewContainer
void activeViewChanged (QWidget *view)
 
void destroyed (ViewContainer *container)
 
void empty (ViewContainer *container)
 
void moveViewRequest (int index, int id, bool &success, TabbedViewContainer *sourceContainer)
 
void newViewRequest ()
 
void newViewRequest (Profile::Ptr)
 
void viewAdded (QWidget *view, ViewProperties *properties)
 
void viewRemoved (QWidget *view)
 

Detailed Description

A plain view container with no navigation display.

Definition at line 434 of file ViewContainer.h.

Constructor & Destructor Documentation

StackedViewContainer::StackedViewContainer ( QObject *  parent)
explicit

Definition at line 719 of file ViewContainer.cpp.

StackedViewContainer::~StackedViewContainer ( )
virtual

Definition at line 732 of file ViewContainer.cpp.

Member Function Documentation

QWidget * StackedViewContainer::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 741 of file ViewContainer.cpp.

void StackedViewContainer::addViewWidget ( QWidget *  view,
int  index 
)
protectedvirtual

Performs the task of adding the view widget to the container widget.

Implements Konsole::ViewContainer.

Definition at line 749 of file ViewContainer.cpp.

QWidget * StackedViewContainer::containerWidget ( ) const
virtual

Returns the widget which contains the view widgets.

Implements Konsole::ViewContainer.

Definition at line 737 of file ViewContainer.cpp.

void StackedViewContainer::removeViewWidget ( QWidget *  view)
protectedvirtual

Performs the task of removing the view widget from the container widget.

Implements Konsole::ViewContainer.

Definition at line 753 of file ViewContainer.cpp.

void StackedViewContainer::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 745 of file ViewContainer.cpp.


The documentation for this class was generated from the following files:
  • ViewContainer.h
  • ViewContainer.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:25 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

Konsole

Skip menu "Konsole"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

applications API Reference

Skip menu "applications API Reference"
  •   kate
  •       kate
  •   KTextEditor
  •   Kate
  • Applications
  •   Libraries
  •     libkonq
  • Konsole

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal