zui docs v0.0.5
GitHub ↗
Buttons and input Native Qt

Time Picker

Time Picker is a native Zui component in the buttons and input catalog, with 24 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.

Ruby
time_picker "14:30", label: "Deploy at", use_24_hour: true, minute_step: 5
API

Component properties

24 component-specific values, plus shared item and layout properties.

timeTime configuration for Time Picker.property
labelLabel configuration for Time Picker.property
placeholderPlaceholder configuration for Time Picker.property
use_24_hourUse 24 hour configuration for Time Picker.property
show_secondsShow seconds configuration for Time Picker.property
minute_stepMinute step configuration for Time Picker.property
second_stepSecond step configuration for Time Picker.property
openedOpened configuration for Time Picker.property
accept_textAccept text configuration for Time Picker.property
cancel_textCancel text configuration for Time Picker.property
widthWidth configuration for Time Picker.property
heightHeight configuration for Time Picker.property
popup_widthPopup width configuration for Time Picker.property
enabledEnabled configuration for Time Picker.property
foregroundForeground configuration for Time Picker.property
mutedMuted configuration for Time Picker.property
backgroundBackground configuration for Time Picker.property
popup_backgroundPopup background configuration for Time Picker.property
border_colorBorder color configuration for Time Picker.property
accentAccent configuration for Time Picker.property
radiusRadius configuration for Time Picker.property
font_familyFont family configuration for Time Picker.property
font_sizeFont size configuration for Time Picker.property
visibleVisible configuration for Time Picker.property
Show 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.

inputNative event payload
changeNative event payload
acceptNative event payload
rejectNative event payload
openNative event payload
closeNative event payload