VideoMaximizeDelegate QML Type

Import Statement: import org.kde.kirigamiaddons.labs.components

Properties

Signals

Methods

Detailed Description

Property Documentation

autoPlay : bool

Whether the source video should auto-play.

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.

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 [default: Kirigami.Units.largeSpacing]

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.

ConstantDescription
MediaPlayer.PlayingStateThe media is playing.
MediaPlayer.PausedStateThe media is paused.
MediaPlayer.StoppedStateThe media is stopped.

See also QtMultimedia.MediaPlayer.playBackState.

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.