import QtQuick // Values and drafts belong to the declaring service, never the renderer. // Secret values must never enter retainedState, diagnostics or fixture snapshots. QtObject { enum Kind { Choice, Text, Secret, Action, Status } required property int kind required property string label property string value: "" // Text only: more than one line edits a list, one entry per line, e.g. terms. property int lines: 1 property list options: [] property bool visible: true property bool enabled: true property bool busy: false property string error: "" property string status: "" property real progress: -1 signal edited(string value) signal activated }