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

« back to all changes in this revision

Viewing changes to qml/Style.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:
1
 
 
2
 
/*
3
 
 * Copyright (C) 2013 National University of Defense Technology(NUDT) & Kylin Ltd.
4
 
 *
5
 
 * This program is free software; you can redistribute it and/or modify
6
 
 * it under the terms of the GNU General Public License as published by
7
 
 * the Free Software Foundation; version 3.
8
 
 *
9
 
 * This program is distributed in the hope that it will be useful,
10
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
 
 * GNU General Public License for more details.
13
 
 *
14
 
 * You should have received a copy of the GNU General Public License
15
 
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
 
 */
17
 
import QtQuick 1.1
18
 
 
19
 
Item {
20
 
    property alias color : rectangle.color
21
 
 
22
 
    BorderImage {
23
 
        anchors.fill: rectangle
24
 
        anchors { leftMargin: 0; topMargin: 0; rightMargin: -8; bottomMargin: -8 }
25
 
        border { left: 10; top: 10; right: 10; bottom: 10 }
26
 
//        source: "../images/shadow.png"; smooth: true
27
 
        source: "./img/skin/bg-bottom-tab.png"; smooth: true
28
 
    }
29
 
 
30
 
    Rectangle { id: rectangle; anchors.fill: parent; radius:5}
31
 
}