blob: 7b233e6f9b11155b1244af7169da9e1d4ac54df8 (
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
|
import QtQuick 1.0
import Qt3D 1.0
import AssetViewer 1.0
Rectangle {
anchors.fill: parent
color: "#00000000"
Rectangle {
id: helpScreen
width: parent.width/2
height: parent.height/2
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
border.width: 4
radius: 4
color: "lightyellow"
Text {
id: header
font { pixelSize: 32; italic: true }
text: "3D Asset Viewer Help"
anchors.top: parent.top
anchors.topMargin: 16
anchors.horizontalCenter: parent.horizontalCenter
}
Text {
anchors.top: header.bottom
anchors.topMargin: 16
anchors.left: parent.left
anchors.leftMargin: 16
anchors.right: parent.right
anchors.rightMargin: 16
textFormat: Text.RichText
wrapMode: Text.WordWrap
text: "Altering model parameters with the mouse:" +
"<ul><li>Clicking on one of the panes with the <b>Left Mouse Button</b> and dragging will translate the position.</li>" +
"<li>Clicking on one of the panes with the <b>Right Mouse Button</b> and dragging will rotate the position.</li>" +
"<li>Clicking on one of the panes with the <b>Middle Mouse Button</b> and dragging will resize the model."
}
Text {
anchors.bottom: parent.bottom
anchors.bottomMargin: 16
anchors.horizontalCenter: parent.horizontalCenter
text: "[ Click to Close ]"
}
}
MouseArea {
anchors.fill: parent
acceptedButtons: Qt.LeftButton | Qt.RightButton | Qt.MiddleButton
onClicked: parent.visible = false
}
}
|