Obsolete Members for UbuntuShape
The following members of QML type UbuntuShape are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
Properties
- borderSource : string
(obsolete)
- color : color
(obsolete)
- gradientColor : color
(obsolete)
- image : Image
(obsolete)
Property Documentation
This property defines the look of the shape borders. The supported strings are "radius_idle.sci"
providing an idle button aspect and "radius_pressed.sci"
providing a pressed button aspect. Any other strings (like the empty one ""
) provides a shape with no borders. The default value is "radius_idle.sci"
.
Note: Use aspect instead.
This property defines the color used to fill the UbuntuShape when there is no image set. If gradientColor is set, this property defines the top color of the gradient. The default value is transparent black.
Note: Use backgroundColor, secondaryBackgroundColor and backgroundMode instead.
This property defines the bottom color used for the vertical gradient filling the UbuntuShape when there is no image set. As long as this property is not set, a single color (defined by color) is used to fill the UbuntuShape.
Note: Use backgroundColor, secondaryBackgroundColor and backgroundMode instead.
image : Image |
This property holds the Image
or ShaderEffectSource
rendered in the UbuntuShape. In case of an Image
, it watches for fillMode (Image.Stretch
andImage.PreserveAspectCrop
), horizontalAlignment
and verticalAlignment
property changes. The default value is null
.
Note: Use source instead.