Navigation and structure
Container
Native Qt
Stack View
A navigable stack of native pages with depth, push/pop, transition, and busy state.
Usage
Ruby example
Paste this complete Builder example inside the app surface from the Quickstart. Replace illustrative asset paths with files from your project.
stack_view current_index: 0, animated: true, width: 520, height: 320 do
page("Overview") { text "First page" }
page("Details") { text "Second page" }
end
API
Component properties
10 component-specific values, plus shared item and layout properties.
current_indexCurrent index configuration for Stack View.propertyanimatedAnimated configuration for Stack View.propertywidthWidth configuration for Stack View.propertyheightHeight configuration for Stack View.propertyenabledEnabled configuration for Stack View.propertybackgroundBackground configuration for Stack View.propertyborder_colorBorder color configuration for Stack View.propertyradiusRadius configuration for Stack View.propertyclipClip configuration for Stack View.propertyvisibleVisible configuration for Stack View.propertyShow 13 shared item properties
opacityscalerotationzfill_widthfill_heightpreferred_widthpreferred_heightminimum_widthminimum_heightmaximum_widthmaximum_heightlayout_alignment
Interaction
Events
Subscribe with on widget, :event and keep behavior in Ruby.
↗
changeNative event payload↗
pushNative event payload↗
popNative event payload↗
depth_changeNative event payload↗
busy_changeNative event payload↗
showNative event payload↗
hideNative event payload↗
focusNative event payload↗
blurNative event payload