Warning: This API is subject to change and may not be stable across Shotcut versions.
Shotcut exposes its internal state to QML views through two mechanisms:
Filter, File, Metadata).application, profile, settings).C++-backed UI controls and dialogs for Shotcut QML views. | |
Types for filter scripting, metadata, and file access in Shotcut. |
These objects are available in every Shotcut QML view without import statements:
| Name | Type | Description |
|---|---|---|
application | Application | Application-wide utilities (copy/paste filters, status messages, etc.) |
profile | Profile | Current project video profile (width, height, fps, aspect ratio) |
settings | Settings | Persistent user settings (timeline options, fade durations, etc.) |
Additional context properties are injected by specific dock/view classes:
| View | Name | Type |
|---|---|---|
| Filter panels | filter | Filter |
| Filter panels | producer | Producer |
| Filter panels | metadata | Metadata |
| Filter panels | motionTrackerModel | MotionTrackerModel |
| Video player | video | VideoWidget |
| HDR preview | hdrWindow | HdrPreviewWindow |
| Keyframes dock | keyframes | KeyframesDock |
| Keyframes dock | parameters | KeyframesModel |
| Timeline dock | timeline | TimelineDock |
| Timeline dock | multitrack | MultitrackModel |
| Timeline dock | markers | MarkersModel |
| Timeline dock | subtitlesModel | SubtitlesModel |
| Timeline dock | subtitlesSelectionModel | SubtitlesSelectionModel |
| Filters dock | attachedfiltersmodel | AttachedFiltersModel |
| All docks | view | QmlView |