-
Notifications
You must be signed in to change notification settings - Fork 0
/
Pambai.qml
56 lines (55 loc) · 1.79 KB
/
Pambai.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
45
46
47
48
49
50
51
52
53
54
55
56
import QtQuick
import QtQuick.Controls
Rectangle{
id: root
color: 'white'
property string instrumentName: "pambai"
Text{
id: titleText
text: root.instrumentName
anchors{
horizontalCenter: parent.horizontalCenter
top: parent.top
}
font.pixelSize: 36
font.weight: 500
}
TextDataBox{
id: textDataBox
width: root.width*0.4
anchors{
top: titleText.bottom
bottom: parent.bottom
left: parent.left
}
dataText: "<p>The pambai, also known as pamba, is a set of cylindrical drums utilized in temple festivities and
traditional music in Tamil Nadu and Andhra Pradesh, India. A specific community in southern
Andhra, the pambaias, is known for playing this instrument. The pair of drums is either held
close to the player's waist or placed on the ground, and they are played using sticks or a
combination of hand and stick. While some versions feature drums made entirely of wood, there
is a type of pambai where one drum is made of wood (veeru vanam) and the other of brass
(vengala pambai). The pambai is commonly part of the traditional ensemble known as naiyandi
melam.
</p>"
}
ImageZoom {
id: instrumentPhoto
imageSource: "assets/photo/" + root.instrumentName + ".jpg"
width: 200
height: 200
anchors {
verticalCenter: parent.verticalCenter
left: textDataBox.right
}
}
SpectogramGenerator{
imageSource: "assets/spectogram/" + root.instrumentName + ".png"
instrumentName: root.instrumentName
anchors{
top: titleText.bottom
bottom: root.bottom
right: root.right
left: instrumentPhoto.right
}
}
}