~ubuntu-branches/ubuntu/natty/pyside/natty-proposed

« back to all changes in this revision

Viewing changes to tests/QtDeclarative/registertype.qml

  • Committer: Bazaar Package Importer
  • Author(s): Didier Raboud
  • Date: 2011-02-18 18:01:00 UTC
  • mfrom: (1.2.3 upstream) (6.1.6 experimental)
  • Revision ID: james.westby@ubuntu.com-20110218180100-vaczjij7g08fzfme
Tags: 1.0.0~rc1-1
* New 1.0.0~rc1 upstream release
  - Bump the B-D chain versions:
    + apiextractor to 0.10.0-2~
    + generatorrunner to 0.6.6
    + shiboken to 1.0.0~rc1
* Update patches to ~rc1.
* debian/watch: update to handle Release Candidates too.
* Bump XS-Python-Version to >= 2.6.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
import Qt 4.7
 
2
import Charts 1.0
 
3
 
 
4
Item {
 
5
    width: 300; height: 200
 
6
 
 
7
    PieChart {
 
8
        anchors.centerIn: parent
 
9
        width: 100; height: 100
 
10
 
 
11
        slices: [
 
12
            PieSlice {
 
13
                anchors.fill: parent
 
14
                color: "red"
 
15
                fromAngle: 0; angleSpan: 110
 
16
            },
 
17
            PieSlice {
 
18
                anchors.fill: parent
 
19
                color: "black"
 
20
                fromAngle: 110; angleSpan: 50
 
21
            },
 
22
            PieSlice {
 
23
                anchors.fill: parent
 
24
                color: "blue"
 
25
                fromAngle: 160; angleSpan: 100
 
26
            }
 
27
        ]
 
28
    }
 
29
}