// The honest empty state: a fact the page cannot read right now, with the // reason it cannot. The house rule is that "not measured" is always followed // by "because" -- a bare dash invites the reader to assume zero, and zero is // a measurement. // // NotMeasuredRow { because: "The desktop portal's permission store is not answering, so what has asked for this cannot be read" } // NotMeasuredRow { label: "Not read yet"; because: "Reading what the battery firmware has recorded" } // // `because` is required in spirit: the row renders without one, but a consumer // leaving it empty is exactly the dishonesty this component exists to prevent, // and the idiom contract greps for it. import QtQuick import qs.config SettingRow { id: root property string because: "" label: "Not measured" detail: root.because labelColor: Theme.fgDim controlWidth: 210 divider: false }