~stefan-schwarzburg/qreator/qreator-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
import QtQuick 2.0
import Ubuntu.Components 0.1
import Ubuntu.Components 0.1 as Theming
import Ubuntu.Components.ListItems 0.1 as ListItem
import Ubuntu.Components.Popups 0.1
import QtQuick.LocalStorage 2.0

Page {
    id: page
    title: i18n.tr("License")
    visible: false
    anchors.fill: parent
    Column {
        anchors.fill: parent
        ListItem.Caption {
            text: i18n.tr("Code")
        }
        ListItem.SingleValue {
            iconFrame: false
            icon: Qt.resolvedUrl("../img/icons/book_alt_32x32.png")
            text: "GPL version 3"
            onClicked: Qt.openUrlExternally("http://www.opensource.org/licenses/gpl-3.0.html")
        }

        ListItem.Caption {
            text: i18n.tr("Icon theme 'Iconic'")
        }
        ListItem.SingleValue {
            iconFrame: false
            icon: Qt.resolvedUrl("../img/icons/brush_alt_32x32.png")
            text: "Creative Commons' Attribution-ShareAlike 3.0 United States"
            onClicked: Qt.openUrlExternally("http://creativecommons.org/licenses/by-sa/3.0/us/")
        }

    }
}