ImageMaximizeDelegate QML Type
| Import Statement: | import org.kde.kirigamiaddons.labs.components |
Properties
- caption : string
- padding : var
- rotationAngle : int
- scaleFactor : var
- source : string
- sourceHeight : real
- sourceWidth : real
- tempSource : string
- type : int
Signals
Methods
Detailed Description
Property Documentation
caption : string [required]
The caption for the item.
Typically set to the filename if no caption is available.
Note: Declared here so that parent components can access this parameter when used as a ListView delegate.
padding : var [default: Kirigami.Units.largeSpacing]
The padding around the content image.
The padding is factored in when calculating the maximum size of the content image.
rotationAngle : int [default: 0]
The angle by which the content image is rotated.
scaleFactor : var [default: 1]
Multiple by which the image is scaled.
source : string [required]
The source for the image to be viewed.
sourceHeight : real [required]
The size of the source image.
This is used to calculate the maximum size of the content and temporary image.
sourceWidth : real [required]
The size of the source image.
This is used to calculate the maximum size of the content and temporary image.
tempSource : string [required]
Source for the temporary content.
Typically used when downloading the image to show a thumbnail or other temporary image while the main image downloads.
type : int [read-only]
The delegate type for this item.
Note: Declared here so that parent components can access this parameter when used as a ListView delegate.
Signal Documentation
backgroundClicked()
Emitted when the background space around the content item is clicked.
Note: The corresponding handler is onBackgroundClicked.
itemRightClicked()
Emitted when the content image is right clicked.
Note: The corresponding handler is onItemRightClicked.
Method Documentation
pause()
Pause media playback.
play()
Start media playback.