-
Notifications
You must be signed in to change notification settings - Fork 9
/
ImgRecogType.qml
34 lines (29 loc) · 1.1 KB
/
ImgRecogType.qml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import QtQuick 2.0
import QtQuick.Controls 2.0
Column {
id: colmsg
spacing: 6
anchors.centerIn: parent
readonly property bool sentByMe: model.recipient !== "User"
//property alias mssg: messageText.text
Row {
id: messageRow
spacing: 6
Rectangle {
id: messageRect
width: cbwidth
radius: 2
height: root.height / 4
color: "#111"
Image {
id: messageText
anchors.centerIn: parent
anchors.margins: 5
fillMode: Image.PreserveAspectCrop
source: model.InputQuery
height: root.height / 5
width: root.width / 4
}
}
}
}