forked from johanhelsing/qtws17-compositor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WaylandSlide.qml
39 lines (38 loc) · 1.21 KB
/
WaylandSlide.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
import QtQuick 2.8
import QtQuick.Window 2.2
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.3
Item {
RowLayout {
anchors.fill: parent
spacing: 0
QtShape {
color: "#f3f3f4"
triangleWidth: settings.vh * 4
triangleColor: "white"
Layout.fillHeight: true
Layout.fillWidth: true
ColumnLayout {
anchors.fill: parent
anchors.margins: settings.slideMargin
spacing: 2 * settings.vh
Heading { text: "Wayland" }
BulletPoint { text: "Modern X Window System replacement" }
BulletPoint { text: "Wayland clients pass their graphics buffers on to a compositor process for displaying it on the screen" }
Spacer {}
}
}
Item {
Layout.fillHeight: true
Layout.fillWidth: true
Image {
height: 60 * settings.vh
width: 60 * settings.vh
fillMode: Image.PreserveAspectFit
anchors.centerIn: parent
source: "wayland.svg"
sourceSize: Qt.size(1080, 1080)
}
}
}
}