Buttons and input
Native Qt
Password Field
Password Field is a native Zui component in the buttons and input catalog, with 11 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.
password_field "", placeholder: "Access token", revealable: true
API
Component properties
11 component-specific values, plus shared item and layout properties.
textText configuration for Password Field.propertyplaceholderPlaceholder configuration for Password Field.propertyrevealableRevealable configuration for Password Field.propertyrevealedRevealed configuration for Password Field.propertywidthWidth configuration for Password Field.propertyforegroundForeground configuration for Password Field.propertyaccentAccent configuration for Password Field.propertyselection_tintSelection tint configuration for Password Field.propertyhorizontal_paddingHorizontal padding configuration for Password Field.propertyvertical_paddingVertical padding configuration for Password Field.propertyvisibleVisible configuration for Password Field.propertyShow 15 shared item properties
enabledopacityscalerotationzheightfill_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↗
submitNative event payload↗
focusNative event payload↗
blurNative event payload↗
revealNative event payload