Skip to content

Shared QML components #32

Description

@vhrabar

Description

The settings pages are dozens of near-identical rows. Build the row vocabulary once, driven by the configschema metadata, so pages stay declarative and consistent.

Tasks

  • ToggleRow.qml: label + description + Switch
  • SliderRow.qml: label + description + Slider + value readout, honouring schema min/max/step
  • SelectRow.qml: label + description + ComboBox bound to a schema enum
  • SectionHeading.qml
  • StatusCard.qml: status tile (state dot + title + detail), used by the Dashboard
  • All colours from Kirigami.Theme; excepte Teal acc,, so system dark/light and accent are inherited (GUI scaffolding and meson integration #22)
  • Register under qrc:/qml/components/ in secureeye-gui.qrc

Acceptance criteria

  • Switching the system colour scheme att runtime restyles every component with no restart
  • Each component renders correctly at both compact and expanded drawer widths
  • No component reaches back into ConfigStore directly, values arrive as properties

Metadata

Metadata

Assignees

Labels

Projects

Status
Backlog

Relationships

None yet

Development

No branches or pull requests

Issue actions