Skip to content

Inputs

Text input, selection, and toggle form controls.

LineEdit

import PrismQML as Fluent

Fluent.LineEdit {
    placeholderText: "Enter text"
    width: 240
}

Supports clear button, password mode, labels (LineEditLabel), tag input (TagLineEdit), etc.

ComboBox

import PrismQML as Fluent
Fluent.ComboBoxDefault { model: ["Option 1", "Option 2", "Option 3"] }

Slider

import PrismQML as Fluent
Fluent.Slider { value: 60; from: 0; to: 100 }

Toggles

  • CheckBox — checkbox (tristate supported)
  • RadioButton — radio
  • ToggleSwitch — switch
Fluent.CheckBox { text: "Remember me"; checked: true }
Fluent.RadioButton { text: "Option A" }
Fluent.ToggleSwitch { text: "Enabled"; checked: true }

Tristate values are exposed through Enums.toggle: state_unchecked, state_partially_checked, and state_checked. checked and checkState stay synchronized; the partially checked state maps to checked: false.

Fluent.CheckBox {
    text: "Partially selected"
    tristate: true
    checkState: Fluent.Enums.toggle.state_partially_checked
}

Others

  • SpinBox — numeric stepper
  • PinInput — OTP/PIN segmented input
  • BeforeAfterSlider — image comparison slider

Skin adaptation

Under neo: inputs have a white fill with thick black borders, border + hard shadow turn orange on focus; checkboxes/radios/switches use thick black borders with orange checked states.