Ubuntu Pastebin

Paste from jgdx at Mon, 30 May 2016 20:38:07 +0000

Download as text
 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
import QtQuick 2.4
import Ubuntu.Components 1.3

Column {
    width: units.gu(50)
    height: units.gu(60)
    spacing: units.gu(2)

    anchors {
        margins: units.gu(3)
    }

    Label {
        text: "Indeterminate (showProgressPercentage is false)"
    }

    ProgressBar {
        anchors {
            left: parent.left
            right: parent.right
            margins: units.gu(3)
        }

        height: units.gu(0.5)
        indeterminate: true
        value: 0
        minimumValue: 0
        maximumValue: 100
        showProgressPercentage: false
    }

    Label {
        text: "Determinate at 0% (showProgressPercentage is false)"
    }

    ProgressBar {
        anchors {
            left: parent.left
            right: parent.right
            margins: units.gu(3)
        }

        height: units.gu(0.5)
        value: 0
        minimumValue: 0
        maximumValue: 100
        showProgressPercentage: false
    }

    Label {
        text: "Indeterminate (showProgressPercentage is true)"
    }

    ProgressBar {
        anchors {
            left: parent.left
            right: parent.right
            margins: units.gu(3)
        }

        height: units.gu(3)
        indeterminate: true
        value: 0
        minimumValue: 0
        maximumValue: 100
    }

    Label {
        text: "Determinate at 0% (showProgressPercentage is true)"
    }

    ProgressBar {
        anchors {
            left: parent.left
            right: parent.right
            margins: units.gu(3)
        }

        height: units.gu(3)
        value: 0
        minimumValue: 0
        maximumValue: 100
    }
}
Download as text