KWidgetsAddons
kadjustingscrollarea.cpp
72 const auto newWindowSize = currentSize.expandedTo((currentSize + extent).boundedTo(maxWindowSize));
KAdjustingScrollArea(QWidget *parent=nullptr)
Creates a scroll area with a QWidget with QVBoxLayout that is flagged as resizable.
Definition kadjustingscrollarea.cpp:16
QSize sizeHint() const override
Reimplemented to remove the caching of the size/size hint of the widget and to add the horizontal siz...
Definition kadjustingscrollarea.cpp:51
QSize minimumSizeHint() const override
Reimplemented to add the minimum size hint of the widget.
Definition kadjustingscrollarea.cpp:37
AdjustToContents
QScrollBar * horizontalScrollBar() const const
horizontalScrollBarPolicy
sizeAdjustPolicy
QScrollBar * verticalScrollBar() const const
verticalScrollBarPolicy
QWidget * viewport() const const
void focusChanged(QWidget *old, QWidget *now)
ChildAdded
Type type() const const
frameWidth
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
void installEventFilter(QObject *filterObj)
objectName
void removeEventFilter(QObject *obj)
void setObjectName(QAnyStringView name)
geometry
void ensureWidgetVisible(QWidget *childWidget, int xmargin, int ymargin)
virtual bool event(QEvent *e) override
virtual bool eventFilter(QObject *o, QEvent *e) override
virtual QSize sizeHint() const const override
virtual QSize viewportSizeHint() const const override
QWidget * widget() const const
void setWidgetResizable(bool resizable)
QSize expandedTo(const QSize &otherSize) const const
ScrollBarAlwaysOff
height
minimumSizeHint
width
QWidget * window() const const
void resize(const QSize &newSize)
QScreen * screen() const const
virtual QSize size() const const override
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:51 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:51 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.