Skip to content

ERadioButton Radio button ​

import EUI 1.0

Examples ​

Radio button ​

QML sourceQML
Preview
Run the code to try the component

Edit text, properties, or events, then select Run.

Code runs in this browser Licenses

Properties ​

PropertyDescriptionValues and default
autoExclusivebool

Use exclusive selection with sibling radio controls.

Defaultfalse
borderWidthint

Border, divider or progress track width in pixels.

Default1
checkedbool

Whether the control is checked or active.

Defaultfalse
colorcolor

Custom color; a transparent value usually selects theme or semantic colors.

DefaultDynamic binding
enabledbool

Allow interaction; false disables the control.

Defaulttrue
fontfont

Font settings for the family, size and text style.

Common fields:
family, pixelSize, pointSize
bold, italic, weight
underline, strikeout
letterSpacing, wordSpacing

Defaultapplication font
heightreal

Component size in pixels; may be bound to its parent layout.

DefaultimplicitHeight
labelvar

Label text or option identifier used for display or selection matching.

Defaultundefined
modelValuevar

Current value; read or write through property bindings, with arrays for multiple or range selection.

Defaultundefined
radiusint

Corner radius in pixels.

Default0
sizeint

Control size; inherits the nearest EConfigProvider by default.

EStyle.Small
EStyle.Medium
EStyle.Large

DefaultInherited; EStyle.Medium by default
styleTypeint

Semantic color style.

EStyle.Default
EStyle.Primary
EStyle.Success
EStyle.Info
EStyle.Warning
EStyle.Danger

DefaultEStyle.Default
textstring

Displayed text.

Default""
validateEventbool

Request enclosing-form validation when the value changes.

Defaulttrue
valuevar

Current value; read or write through property bindings, with arrays for multiple or range selection.

Defaultundefined
visiblebool

Whether the component is visible.

Defaulttrue
widthreal

Component size in pixels; may be bound to its parent layout.

DefaultimplicitWidth
effectiveValuevarRead only

Actual radio option value compared with the group value.

DefaultComputed at runtime

Signals ​

SignaturePurpose
changed(var value)

Emitted when the selection changes; value is the new value.

Released under the MIT License. Third-party assets retain their own licenses.