Page Contents

Topics

Classes

QLScrollArea Class

#include <QLayers/qlscrollarea.h>

Inherits: QScrollArea, QLThemeable

Public Functions

QLScrollArea(QWidget* parent = nullptr)
virtual QList<QLThemeable*> child_qlthemeables(Qt::FindChildOptions options = Qt::FindDirectChildrenOnly) override
void setWidget(QWidget* widget)

Detailed Description

A QLScrollArea is a QScrollArea and a QLThemeable that provides a scrollable viewing area for another widget.

QLScrollBar is the default scroll-bar type used by QLScrollArea.

Member Function Documentation

QLScrollArea(QWidget* parent = nullptr)

Constructs a scroll area.

QList<QLThemeable*> child_qlthemeables(Qt::FindChildOptions options = Qt::FindDirectChildrenOnly)

Virtual

Override

Returns a list of child themeables.

This function overrides QLThemeable::child_qlthemeables() to include the scroll bars and the scroll area widget's child themeables.

void setWidget(QWidget* widget)

Sets the scroll area's widget.