// A row whose trailing control is a masked password field. // // Reports every keystroke rather than committing on Enter, because the page it // serves has to compare two fields as they are typed and say whether they match // before offering to set anything. import QtQuick import qs.config SettingRow { id: root property string placeholder: "Password" signal changed(value: string) controlWidth: 220 PasswordField { anchors.right: parent.right anchors.verticalCenter: parent.verticalCenter width: root.controlWidth placeholder: root.placeholder onTextChanged: root.changed(this.text) } }