~ubuntu-branches/ubuntu/utopic/youker-assistant/utopic-proposed

« back to all changes in this revision

Viewing changes to qml/main.qml

  • Committer: Package Import Robot
  • Author(s): Kobe Lee (kylinkobe)
  • Date: 2013-09-18 16:22:14 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20130918162214-6nqyjyf3cd3ynqky
Tags: 0.2.1-0ubuntu1
* Modify the mouse events of MonitorBall.
* Add reset button for clear pages.
* Add policykit for apt clear in sudodbus.
* Fixed the bug about software status and add masklayer.
* Rewrite the code of system information.
* Add some signals and slots.
* Fixed the bug about Software signals(LP: #1226389).
* Modify KThread and add base.py.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 */
16
16
 
17
17
import QtQuick 1.1
 
18
import ToolkitsType 0.1
 
19
 
 
20
import SessionType 0.1
 
21
import SystemType 0.1
 
22
import SudoType 0.1
 
23
import FcitxCfgWizard 0.1
18
24
 
19
25
Rectangle {
 
26
    id: main
20
27
    width: 850
21
28
    height: 600
22
 
    id: main
23
29
    objectName: "main"
24
30
    anchors.fill: parent
 
31
    property string version: "v0.2.1"
 
32
    SessionDispatcher {
 
33
        id: sessiondispatcher
 
34
    }
 
35
    SystemDispatcher {
 
36
        id: systemdispatcher
 
37
    }
 
38
    SudoDispatcher {
 
39
        id: sudodispatcher
 
40
    }
 
41
    FcitxCfgWizard {
 
42
        id: fcitxcfgwizard
 
43
    }
 
44
    Toolkits{id: toolkits}
 
45
 
 
46
 
25
47
    Image {
26
48
        id: bgImg
27
49
        anchors.fill: parent
41
63
        }
42
64
        StatusWidget{
43
65
            id: statuswidget
44
 
        }
 
66
            uk_version: main.version
 
67
        }
 
68
    }
 
69
    Text {
 
70
        anchors {
 
71
            top: parent.top
 
72
            topMargin: 70
 
73
            right: parent.right
 
74
            rightMargin: 35
 
75
        }
 
76
        font.family: "Arial"
 
77
        font.pixelSize: 18
 
78
        style: Text.Sunken
 
79
        styleColor: "#AAAAAA"
 
80
        color: "white"
 
81
        text: main.version
45
82
    }
46
83
}