ScrollColumn

Search for usage in LXR

ScrollColumn Class Reference
Inheritance diagram for ScrollColumn:

Properties

alias container
 
alias content
 
alias flickable
 
- Properties inherited from ScrollView
Flickable view
 

Detailed Description

A QQC2 ScrollView setup ready for adding any children into a column layout that is scrollable.

This control inherits from QQC2 ScrollView, to checkout its inherited properties refer to the Qt Docs.

Note
The children content is added to a ColumnLayout, so to position the elements use the Layout attached properties.
Maui.ScrollColumn
{
anchors.fill: parent
Rectangle
{
implicitHeight: 600
Layout.fillWidth: true
color: "purple"
}
Rectangle
{
implicitHeight: 200
Layout.fillWidth: true
color: "orange"
}
Rectangle
{
implicitHeight: 300
Layout.fillWidth: true
color: "yellow"
}
}

You can find a more complete example at this link.

Definition at line 62 of file ScrollColumn.qml.

Property Documentation

◆ container

alias ScrollColumn::container
read

An alias to the children container hanlded by a QQC2 ColumnLayout.

Remarks
This property is read-only

Definition at line 75 of file ScrollColumn.qml.

◆ content

alias ScrollColumn::content
read

The default content declared as the children is placed unser a ColumnLayout.

Remarks
This is the default property

Definition at line 69 of file ScrollColumn.qml.

◆ flickable

alias ScrollColumn::flickable
read

An alias to the QQC2 Flickable element that allows to flick the content.

Remarks
This property is read-only

This is exposed to allow to access the Flcikable properties.

Note
See Qt documentation on the Flickable type.

Definition at line 82 of file ScrollColumn.qml.


The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:46:39 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.