blob: 6bae0f70367b93e5c8959b1666c2a61459eabc38 (
plain)
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
57
58
59
60
61
62
63
64
|
import QtQuick 2.15
import QtQuick.Controls 2.15
Image {
property alias modelMouseArea: mouseArea
property alias modelDialog: dialog
source: "http://webdesign-finder.com/ubella/wp-content/uploads/2018/10/"
+ "model_img_13-500x625.jpg"
width: 500
height: 625
MouseArea {
id: mouseArea
anchors.fill: parent
}
FontLoader {
id: vidaloka
name: "Vidaloka"
source: "Vidaloka/Vidaloka-Regular.ttf"
}
Dialog {
id: dialog
width: parent.width
height: 187
y: parent.height - height
padding: 0
background: Rectangle {
color: "transparent"
}
header: DialogButtonBox {
alignment: Qt.AlignVCenter
background: Rectangle {
color: "transparent"
}
Button {
id: button
text: "Helen"
font {
family: vidaloka.name
pixelSize: 40
}
contentItem: Text {
text: button.text
font: button.font
color: "white"
horizontalAlignment: Text.AlignHCenter
}
background: Rectangle {
color: "transparent"
}
DialogButtonBox.buttonRole
: DialogButtonBox.AcceptRole
}
}
Rectangle {
anchors.fill: parent
}
}
}
|