forked from quickshell/quickshell
widgets/cliprect: default data property instead of children property
This commit is contained in:
parent
3cf96ecf97
commit
89e796cb21
1 changed files with 5 additions and 1 deletions
|
@ -38,10 +38,14 @@ Item {
|
||||||
/// Radius of the bottom right corner. Defaults to @@radius.
|
/// Radius of the bottom right corner. Defaults to @@radius.
|
||||||
property /*real*/alias bottomRightRadius: rectangle.bottomRightRadius
|
property /*real*/alias bottomRightRadius: rectangle.bottomRightRadius
|
||||||
|
|
||||||
|
/// Data of the ClippingRectangle's @@contentItem. (`list<QtObject>`).
|
||||||
|
///
|
||||||
|
/// See @@QtQuick.Item.data for details.
|
||||||
|
default property alias data: contentItem.data
|
||||||
/// Visual children of the ClippingRectangle's @@contentItem. (`list<Item>`).
|
/// Visual children of the ClippingRectangle's @@contentItem. (`list<Item>`).
|
||||||
///
|
///
|
||||||
/// See @@QtQuick.Item.children for details.
|
/// See @@QtQuick.Item.children for details.
|
||||||
default property alias children: contentItem.children
|
property alias children: contentItem.children
|
||||||
/// The item containing the rectangle's content.
|
/// The item containing the rectangle's content.
|
||||||
/// There is usually no reason to use this directly.
|
/// There is usually no reason to use this directly.
|
||||||
readonly property alias contentItem: contentItem
|
readonly property alias contentItem: contentItem
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue