KWidgetsAddons
ksplittercollapserbutton.cpp
33} s_arrowDirection[] = {{Qt::LeftArrow, Qt::RightArrow}, {Qt::RightArrow, Qt::LeftArrow}, {Qt::UpArrow, Qt::DownArrow}, {Qt::DownArrow, Qt::UpArrow}};
133 q->setArrowType(isWidgetCollapsed() ? s_arrowDirection[direction].notArrowVisible : s_arrowDirection[direction].arrowVisible);
211 connect(this, &KSplitterCollapserButton::clicked, this, &KSplitterCollapserButton::slotClicked);
A button which appears on the side of a splitter handle and allows easy collapsing of the widget on t...
Definition ksplittercollapserbutton.h:26
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
AKONADI_CALENDAR_EXPORT KCalendarCore::Event::Ptr event(const Akonadi::Item &item)
void clicked(bool checked)
QPoint pos()
Resize
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
virtual bool eventFilter(QObject *watched, QEvent *event)
void setObjectName(QAnyStringView name)
int bottom() const const
bool contains(const QPoint &point, bool proper) const const
int height() const const
int left() const const
int right() const const
int top() const const
int width() const const
int height() const const
int width() const const
int count() const const
handleWidth
int indexOf(QWidget *widget) const const
orientation
CE_ToolButtonLabel
PM_ScrollBarExtent
PE_PanelButtonTool
virtual int pixelMetric(PixelMetric metric, const QStyleOption *option, const QWidget *widget) const const=0
void initFrom(const QWidget *widget)
ArrowType
LeftToRight
Vertical
WA_NoChildEventsForParent
Forward
Running
void setDirection(Direction direction)
void start()
State state() const const
void stop()
void valueChanged(qreal value)
void setArrowType(Qt::ArrowType type)
virtual bool event(QEvent *event) override
virtual void initStyleOption(QStyleOptionToolButton *option) const const
geometry
height
QPoint mapFromGlobal(const QPoint &pos) const const
QWidget * parentWidget() const const
void move(const QPoint &)
void setAttribute(Qt::WidgetAttribute attribute, bool on)
void setParent(QWidget *parent)
QStyle * style() const const
void update()
width
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 6 2024 12:03:10 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 6 2024 12:03:10 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.