VideoMaximizeDelegate QML Type
Import Statement: | import org.kde.kirigamiaddons.labs.components |
Inherits: |
Properties
- autoPlay : bool
- caption : string
- downloadAction : DownloadAction
- padding : var
- pauseAction : Kirigami.Action
- playAction : Kirigami.Action
- playbackState : enumeration
- scaleFactor : var
- source : string
- sourceHeight : real
- sourceWidth : real
- tempSource : string
- type : int
Signals
Methods
Detailed Description
Property Documentation
autoPlay : bool |
Whether the source video should auto-play.
caption : string |
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.
downloadAction : DownloadAction |
The default action triggered when the download button is pressed.
This exists as a property so that the action can be overridden. The most common use case for this is where a custom URI scheme is used.
padding : var |
The padding around the content image.
The padding is factored in when calculating the maximum size of the content image.
pauseAction : Kirigami.Action |
The default action triggered when the pause button is pressed.
This exists as a property so that the action can be overridden. For example if you want to be able to interface with a media manager.
playAction : Kirigami.Action |
The default action triggered when the play button is pressed.
This exists as a property so that the action can be overridden. For example if you want to be able to interface with a media manager.
playbackState : enumeration |
The playback state of the media.
Constant | Description |
---|---|
MediaPlayer.PlayingState | The media is playing. |
MediaPlayer.PausedState | The media is paused. |
MediaPlayer.StoppedState | The media is stopped. |
See also QtMultimedia.MediaPlayer.playBackState.
scaleFactor : var |
Multiple by which the image is scaled.
source : string |
The source for the image to be viewed.
sourceHeight : real |
The size of the source image.
This is used to calculate the maximum size of the content and temporary image.
sourceWidth : real |
The size of the source image.
This is used to calculate the maximum size of the content and temporary image.
tempSource : string |
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 |
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.