org::kde::kirigami::ShadowedImage
Inherits Item, and Item.
Properties | |
alias | asynchronous |
alias | border |
alias | color |
alias | corners |
alias | fillMode |
alias | radius |
alias | shadow |
alias | source |
alias | sourceSize |
Detailed Description
An image with a shadow.
This item will render a image, with a shadow below it. The rendering is done using distance fields, which provide greatly improved performance. The shadow is rendered outside of the item's bounds, so the item's width and height are the don't include the shadow.
Example usage:
- Since
- 5.69
- 2.12
Definition at line 45 of file ShadowedImage.qml.
Property Documentation
◆ asynchronous
|
read |
This property sets whether this image should be loaded asynchronously.
Set this to false if you want the main thread to load the image, which blocks it until the image is loaded. Setting this to true loads the image in a separate thread which is useful when maintaining a responsive user interface is more desirable than having images immediately visible.
- See also
- QtQuick.Image::asynchronous
Definition at line 97 of file ShadowedImage.qml.
◆ border
|
read |
This propery holds the border's properties of the image.
- See also
- org::kde::kirigami::ShadowedRectangle::border
Definition at line 74 of file ShadowedImage.qml.
◆ color
|
read |
This property holds the color that will be underneath the image.
This will be visible if the image has transparancy.
- See also
- org::kde::kirigami::ShadowedRectangle::radius
Definition at line 56 of file ShadowedImage.qml.
◆ corners
|
read |
This propery holds the corner radius properties of the image.
- See also
- org::kde::kirigami::ShadowedRectangle::corners
Definition at line 80 of file ShadowedImage.qml.
◆ fillMode
|
read |
This property defines what happens when the source image has a different size than the item.
- See also
- QtQuick.Image::fillMode
Definition at line 104 of file ShadowedImage.qml.
◆ radius
|
read |
This propery holds the corner radius of the image.
- See also
- org::kde::kirigami::ShadowedRectangle::radius
Definition at line 62 of file ShadowedImage.qml.
◆ shadow
|
read |
This property holds shadow's properties group.
- See also
- org::kde::kirigami::ShadowedRectangle::shadow
Definition at line 68 of file ShadowedImage.qml.
◆ source
|
read |
This propery holds the source of the image.
QtQuick.Image::source
Definition at line 85 of file ShadowedImage.qml.
◆ sourceSize
|
read |
This property holds the scaled width and height of the full-frame image.
- See also
- QtQuick.Image::sourceSize
Definition at line 109 of file ShadowedImage.qml.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 6 2023 04:13:18 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.