forked from rh-lab-q/confla-android
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAboutPage.qml
More file actions
42 lines (33 loc) · 1.04 KB
/
AboutPage.qml
File metadata and controls
42 lines (33 loc) · 1.04 KB
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
import QtQuick 2.0
import "Theme.js" as Theme
Page {
id: page
property alias title: header.title
property string text
Flickable {
anchors.fill: parent
contentHeight: column.height
Column {
id: column
width: page.width
spacing: Theme.paddingLarge
PageHeader {
id: header
}
Text {
id: contentLabel
wrapMode: Text.Wrap;
font.pointSize: Theme.secondary_pointSize;
anchors.left: parent.left
anchors.right: parent.right
anchors.margins: Theme.paddingLarge;
textFormat: Text.RichText
color: Theme.primary_color
text: "<style type='text/css'>a:link{color:"+Theme.section_header_color+"; } a:visited{color:"+Theme.section_header_color+"}</style> "+ page.text
onLinkActivated:{
Qt.openUrlExternally(link)
}
}
}
}
}