Konsole
ViewSplitter.cpp
Go to the documentation of this file.
88 connect(container , SIGNAL(destroyed(ViewContainer*)) , this , SLOT(containerDestroyed(ViewContainer*)));
89 connect(container , SIGNAL(empty(ViewContainer*)) , this , SLOT(containerEmpty(ViewContainer*)));
148 connect(newSplitter , SIGNAL(empty(ViewSplitter*)) , splitter , SLOT(childEmpty(ViewSplitter*)));
void setRecursiveSplitting(bool recursive)
Specifies whether the view may be split recursively.
Definition: ViewSplitter.cpp:115
ViewContainer * activeContainer() const
Returns the container which currently has the focus or 0 if none of the immediate child containers ha...
Definition: ViewSplitter.cpp:229
ViewSplitter * activeSplitter()
Returns the child ViewSplitter widget which currently has the focus.
Definition: ViewSplitter.cpp:70
void setSizes(const QList< int > &list)
void insertWidget(int index, QWidget *widget)
int indexOf(QWidget *widget) const
void setActiveContainer(ViewContainer *container)
Gives the focus to the active view in the specified container.
Definition: ViewSplitter.cpp:221
QWidget * widget(int index) const
const QObjectList & children() const
void activatePreviousContainer()
Gives the focus to the active view in the previous container.
Definition: ViewSplitter.cpp:207
bool recursiveSplitting() const
Returns whether the view may be split recursively.
Definition: ViewSplitter.cpp:119
bool disconnect(const QObject *sender, const char *signal, const QObject *receiver, const char *method)
QWidget * focusWidget() const
QList< ViewContainer * > containers() const
Returns a list of the containers held by this splitter.
Definition: ViewSplitter.h:98
void addWidget(QWidget *widget)
int count() const
Qt::Orientation orientation() const
An interface for container widgets which can hold one or more views.
Definition: ViewContainer.h:64
int width() const
virtual QWidget * containerWidget() const =0
Returns the widget which contains the view widgets.
A splitter which holds a number of ViewContainer objects and allows the user to control the size of e...
Definition: ViewSplitter.h:47
int count(const T &value) const
void allContainersEmpty()
Signal emitted when the containers held by this splitter become empty, this differs from the empty() ...
QList< int > sizes() const
void setFocus()
void removeContainer(ViewContainer *container)
Removes a container from the splitter.
Definition: ViewSplitter.cpp:124
virtual QWidget * activeView() const =0
Returns the view which currently has the focus or 0 if none of the child views have the focus...
void activateNextContainer()
Gives the focus to the active view in the next container.
Definition: ViewSplitter.cpp:190
void addContainer(ViewContainer *container, Qt::Orientation orientation)
Locates the child ViewSplitter widget which currently has the focus and inserts the container into it...
Definition: ViewSplitter.cpp:131
void empty(ViewSplitter *splitter)
Signal emitted when the last child widget is removed from the splitter.
void adjustContainerSize(ViewContainer *container, int percentage)
Changes the size of the specified container by a given percentage.
Definition: ViewSplitter.cpp:47
QWidget * parentWidget() const
T & last()
const QList< QWidget * > views() const
Returns a list of the contained views.
Definition: ViewContainer.cpp:189
void show()
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void destroyed(QObject *obj)
int height() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.