Public Functions
QLScrollBar(QWidget* parent = nullptr) | |
LAttribute* | background_color() const |
LAttribute* | corner_radii_bottom_left() const |
LAttribute* | corner_radii_bottom_right() const |
LAttribute* | corner_radii_top_left() const |
LAttribute* | corner_radii_top_right() const |
LAttribute* | handle_color() const |
LAttribute* | handle_corner_radii_bottom_left() const |
LAttribute* | handle_corner_radii_bottom_right() const |
LAttribute* | handle_corner_radii_top_left() const |
LAttribute* | handle_corner_radii_top_right() const |
virtual void | update() override |
Detailed Description
A QLScrollBar is a QScrollBar and a QLThemeable that provides a control that allows the user to scroll to different parts of a widget in cases where the widget is larger than the available area displaying it.
Member Function Documentation
QLScrollBar(QWidget* parent = nullptr)
Constructs a scroll area.
LAttribute* background_color() const
Returns a pointer to the background color attribute of the scroll bar.
LAttribute* corner_radii_bottom_left() const
Returns a pointer to the bottom-left corner radii attribute of the scroll bar.
LAttribute* corner_radii_bottom_right() const
Returns a pointer to the bottom-right corner radii attribute of the scroll bar.
LAttribute* corner_radii_top_left() const
Returns a pointer to the top-left corner radii attribute of the scroll bar.
LAttribute* corner_radii_top_right() const
Returns a pointer to the top-right corner radii attribute of the scroll bar.
LAttribute* handle_color() const
Returns a pointer to the handle color attribute of the scroll bar.
LAttribute* handle_corner_radii_bottom_left() const
Returns a pointer to the bottom-left corner radii attribute of the scroll bar's handle.
LAttribute* handle_corner_radii_bottom_right() const
Returns a pointer to the bottom-right corner radii attribute of the scroll bar's handle.
LAttribute* handle_corner_radii_top_left() const
Returns a pointer to the top-left corner radii attribute of the scroll bar's handle.
LAttribute* handle_corner_radii_top_right() const
Returns a pointer to the top-right corner radii attribute of the scroll bar's handle.
void update()
Virtual
Override
Updates the scroll bar.
This function overrides QLThemeable::update() to update the scroll bar's style sheet.