-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspeaker.qml
44 lines (38 loc) · 1.08 KB
/
speaker.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
35
36
37
38
39
40
41
42
43
44
import QtQuick 2.7
import QtQuick.Controls 2.1
import QtQuick.Layouts 1.3
Flickable {
id: flickable
property var model
contentHeight: column.height
Column {
id: column
width: parent.width
padding: internal.viewMargin
spacing: 15
MyGroupBox {
title: "Afiliação"
Label {
text: model.affiliation
font.bold: false
width: parent.width
wrapMode: Text.WordWrap
}
}
MyGroupBox {
title: "Biografia do Palestrante"
Label {
text: model.resume
font.bold: false
width: parent.width
wrapMode: Text.WordWrap
}
}
Button {
anchors.horizontalCenter: parent.horizontalCenter
text: "Ver atividades de " + model.name.split(" ")[0]
onClicked: speakersStackView.push("qrc:/ActivitiesStackView.qml", { "model": model.activities })
}
}
ScrollIndicator.vertical: ScrollIndicator { }
}