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.

30 lines
449 B

7 years ago
import QtQuick 2.10
import QtQuick.Controls 2.3
import QtQuick.Layouts 1.3
ItemDelegate {
id: _msgDelegate
text: title
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
}
}
onClicked: showInputDialog = true
}