KWidgetsAddons
ksplittercollapserbutton.h
KSplitterCollapserButton(QWidget *childWidget, QSplitter *splitter)
KSplitterCollapserButton create a splitter collapser.
Definition ksplittercollapserbutton.cpp:175
void restore()
restore, call this function to restore previous splitter position.
Definition ksplittercollapserbutton.cpp:290
void setCollapsed(bool collapsed)
setCollapsed, this function allows to collapse or not the splitter.
Definition ksplittercollapserbutton.cpp:298
void collapse()
collapse, this function collapses the splitter if splitter is not collapsed.
Definition ksplittercollapserbutton.cpp:282
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
virtual bool eventFilter(QObject *watched, QEvent *event)
QToolButton(QWidget *parent)
virtual void enterEvent(QEnterEvent *e) override
virtual bool event(QEvent *event) override
virtual void leaveEvent(QEvent *e) override
virtual void paintEvent(QPaintEvent *event) override
virtual QSize sizeHint() const const override
QWidget(QWidget *parent, Qt::WindowFlags f)
virtual void showEvent(QShowEvent *event)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:58 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:58 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.