Buttons and input
Native Qt
Bar Indicator
Bar Indicator is a native Zui component in the buttons and input catalog, with 10 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.
bar_indicator :wifi, inactive_icon: :warning, active: true, active_tooltip: "Connected"
API
Component properties
10 component-specific values, plus shared item and layout properties.
activeActive configuration for Bar Indicator.propertyactive_iconActive icon configuration for Bar Indicator.propertyinactive_iconInactive icon configuration for Bar Indicator.propertyactive_tooltipActive tooltip configuration for Bar Indicator.propertyinactive_tooltipInactive tooltip configuration for Bar Indicator.propertyindicator_blockIndicator block configuration for Bar Indicator.propertyforegroundForeground configuration for Bar Indicator.propertyactive_colorActive color configuration for Bar Indicator.propertyfont_familyFont family configuration for Bar Indicator.propertyfont_sizeFont size configuration for Bar Indicator.propertyShow 17 shared item properties
visibleenabledopacityscalerotationzwidthheightfill_widthfill_heightpreferred_widthpreferred_heightminimum_widthminimum_heightmaximum_widthmaximum_heightlayout_alignment
Interaction
Events
Subscribe with on widget, :event and keep behavior in Ruby.
↗
clickNative event payload↗
right_clickNative event payload↗
middle_clickNative event payload↗
wheelNative event payload