Migration of QtMvvm from github
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
574 B

7 years ago
import QtQuick 2.10
import QtQuick.Controls 2.3
import QtQuick.Layouts 1.3
ItemDelegate {
id: _msgDelegate
text: title
7 years ago
signal showInput(string key, string title, string type, var defaultValue, var properties);
7 years ago
contentItem: ColumnLayout {
Label {
id: _titleLabel
text: _msgDelegate.text
font.bold: true
elide: Label.ElideRight
Layout.fillWidth: true
}
Label {
id: _textLabel
visible: tooltip
text: tooltip
wrapMode: Text.WordWrap
Layout.fillWidth: true
}
}
7 years ago
onClicked: showInput(key, title, type, settingsValue, properties)
7 years ago
}