Skip to content

ECarousel Carousel ​

import EUI 1.0

Examples ​

QML sourceQML
Preview
Run the code to try the component

Edit text, properties, or events, then select Run.

Code runs in this browser Licenses
QML sourceQML
Preview
Run the code to try the component

Edit text, properties, or events, then select Run.

Code runs in this browser Licenses

Properties ​

PropertyDescriptionValues and default
arrowstring

Visibility policy for the carousel arrows.

"always" / "hover"
"never"

Default"always"
autoplaybool

Advance carousel items automatically.

Defaulttrue
cardScalereal

Scale of inactive cards in card-style carousels.

Effective value is clamped to 0.1–1

Default0.83
currentIndexalias

Index of the current selected or displayed item.

-1: no selection
0 and above: item index

DefaultAlias: slides.currentIndex
delegateComponent

Carousel content delegate exposing index and modelData.

DefaultdefaultSlide
directionstring

Component layout direction.

"horizontal" / "vertical"

Default"horizontal"
enabledbool

Allow interaction; false disables the control.

Defaulttrue
heightreal

Component size in pixels; may be bound to its parent layout.

DefaultimplicitHeight
indicatorPositionstring

Position of the carousel indicators.

"inside" / "outside"
"none"

Default"inside"
initialIndexint

Initially displayed item index, starting at 0.

Default0
interactivebool

Allow mouse and keyboard interaction with the carousel.

Defaulttrue
intervalint

Carousel auto-advance interval in milliseconds.

Default3000
loopbool

Wrap carousel navigation between its first and last items.

Defaulttrue
modelvar

Array of image URLs or carousel item objects.

Fields:
name, label, source

Default[]
motionBlurbool

Enable motion blur during carousel transitions.

Defaultfalse
pauseOnHoverbool

Pause auto-advance or the close timer while hovered.

Defaulttrue
triggerstring

Interaction that activates the action.

"click" / "hover"

Default"click"
typestring

Presentation style of the carousel items.

"default" / "card"

Default"default"
visiblebool

Whether the component is visible.

Defaulttrue
widthreal

Component size in pixels; may be bound to its parent layout.

DefaultimplicitWidth
countintRead only

Skeleton instance count or current item count, depending on the component.

DefaultComputed at runtime
hasLabelsboolRead only

Whether carousel data provides indicator labels.

DefaultComputed at runtime

Signals ​

SignaturePurpose
changed(int index)

Emitted when the active slide changes; index is the new slide index.

indexChanged(int index, int previousIndex)

Emitted when slides change; index is the new index and previousIndex is the old index.

Methods ​

SignaturePurpose
next()

Move to the next item or step.

previous()

Move to the previous item or step.

setActiveItem(value)

Activate the item specified by value or index.

setCurrentIndex(index)

Switch to the carousel slide at index.

Released under the MIT License. Third-party assets retain their own licenses.