Libkleo
adjustingscrollarea.cpp
78 const auto newWindowSize = currentSize.expandedTo((currentSize + extent).boundedTo(maxWindowSize));
QSize sizeHint() const override
Reimplemented to remove the caching of the size/size hint of the widget and to add the horizontal siz...
Definition adjustingscrollarea.cpp:57
AdjustingScrollArea(QWidget *parent=nullptr)
Creates a scroll area with a QWidget with QVBoxLayout that is flagged as resizable.
Definition adjustingscrollarea.cpp:22
QSize minimumSizeHint() const override
Reimplemented to add the minimum size hint of the widget.
Definition adjustingscrollarea.cpp:43
AdjustToContents
QScrollBar * horizontalScrollBar() const const
horizontalScrollBarPolicy
sizeAdjustPolicy
QScrollBar * verticalScrollBar() const const
verticalScrollBarPolicy
QWidget * viewport() const const
void focusChanged(QWidget *old, QWidget *now)
Resize
Type type() const const
frameWidth
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
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
void setWidget(QWidget *widget)
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
QWidget(QWidget *parent, Qt::WindowFlags f)
height
minimumSizeHint
QScreen * screen() const const
width
QWidget * window() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:14 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:14 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.