Multimedia and capture
Native Qt
Image Capture
Image Capture is a native Zui component in the multimedia and capture catalog, with 7 component-specific properties.
Usage
Ruby example
Paste this complete Builder example inside the app surface from the Quickstart. Replace illustrative asset paths with files from your project.
session = capture_session camera_active: true
image_capture session, quality: :high, format: :jpeg, command: :capture, path: "captures/photo.jpg", command_revision: 1
API
Component properties
7 component-specific values, plus shared item and layout properties.
sessionSession configuration for Image Capture.propertyqualityQuality configuration for Image Capture.propertyformatFormat configuration for Image Capture.propertycommandCommand configuration for Image Capture.propertypathPath configuration for Image Capture.propertycommand_revisionCommand revision configuration for Image Capture.propertyvisibleVisible configuration for Image Capture.propertyShow 16 shared item properties
enabledopacityscalerotationzwidthheightfill_widthfill_heightpreferred_widthpreferred_heightminimum_widthminimum_heightmaximum_widthmaximum_heightlayout_alignment
Interaction
Events
Subscribe with on widget, :event and keep behavior in Ruby.
↗
capturedNative event payload↗
savedNative event payload↗
errorNative event payload↗
ready_changeNative event payload