~ubuntu-branches/ubuntu/vivid/youker-assistant/vivid

« back to all changes in this revision

Viewing changes to qml/func/bars/FcitxThreeBar.qml

  • Committer: Package Import Robot
  • Author(s): Jack Yu
  • Date: 2013-09-02 23:17:45 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20130902231745-psyl14qxslg1g3dp
Tags: 0.1.6-0ubuntu1
* Modify SystemDispatcher and SessionDispatcher Classes.
* Add watch file into debian folder.
* Resolve status of onekey button(LP #1216236 ).
* Add monitorball code into systemdbus daemon.
* Optimize the status button.
* Add fcitx configuration function.
* Fix bugs due to bad references to apt lib.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 2013 National University of Defense Technology(NUDT) & Kylin Ltd.
 
3
 *
 
4
 * This program is free software; you can redistribute it and/or modify
 
5
 * it under the terms of the GNU General Public License as published by
 
6
 * the Free Software Foundation; version 3.
 
7
 *
 
8
 * This program is distributed in the hope that it will be useful,
 
9
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
10
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
11
 * GNU General Public License for more details.
 
12
 *
 
13
 * You should have received a copy of the GNU General Public License
 
14
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
15
 */
 
16
 
 
17
import QtQuick 1.1
 
18
 
 
19
//import QtDesktop 0.1
 
20
import "../common" as Common
 
21
Item {
 
22
     id: toolbar
 
23
 
 
24
     property bool showok: true
 
25
     signal cancelBtnClicked
 
26
     signal finishBtnClicked
 
27
     signal gobackBtnClicked
 
28
 
 
29
     BorderImage {
 
30
 //        source: "../../img/icons/tab.png"
 
31
         width: parent.width; height: parent.height + 14; y: -7
 
32
     }
 
33
 
 
34
     Rectangle{id: splitbar; x:2; width:parent.width - 4 ; height:1; color:"#b9c5cc"}
 
35
 
 
36
     Row {
 
37
         spacing: 30
 
38
         height: 32
 
39
         anchors {
 
40
             right: parent.right
 
41
             rightMargin: 5
 
42
             top: splitbar.bottom
 
43
             topMargin: 10
 
44
         }
 
45
 
 
46
//         anchors.right: parent.right; anchors.rightMargin: 5; y: 3; height: 32; spacing: 30
 
47
         Common.Button {
 
48
             id: cancelBtn
 
49
             visible: toolbar.showok
 
50
             //hoverimage: "list_item_active.png"
 
51
             text: "取消"
 
52
             width: 94; height: 29
 
53
             onClicked: toolbar.cancelBtnClicked()
 
54
         }
 
55
         Common.Button {
 
56
             id: gobackBtn
 
57
             //hoverimage: "list_item_pressed.png"
 
58
             text: "上一步"
 
59
             width: 94; height: 29
 
60
             onClicked: toolbar.gobackBtnClicked()
 
61
         }
 
62
         Common.Button {
 
63
            id: finishBtn
 
64
            visible: toolbar.showok
 
65
            //hoverimage: "list_item_active.png"
 
66
            text: "应用"
 
67
            width: 94; height: 29
 
68
 
 
69
            onClicked: toolbar.finishBtnClicked()
 
70
         }
 
71
      }
 
72
   }