2
* Copyright (C) 2013 National University of Defense Technology(NUDT) & Kylin Ltd.
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.
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.
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/>.
19
//import QtDesktop 0.1
20
import "../common" as Common
24
property bool showok: true
25
signal cancelBtnClicked
26
signal finishBtnClicked
27
signal gobackBtnClicked
30
// source: "../../img/icons/tab.png"
31
width: parent.width; height: parent.height + 14; y: -7
34
Rectangle{id: splitbar; x:2; width:parent.width - 4 ; height:1; color:"#b9c5cc"}
46
// anchors.right: parent.right; anchors.rightMargin: 5; y: 3; height: 32; spacing: 30
49
visible: toolbar.showok
50
//hoverimage: "list_item_active.png"
53
onClicked: toolbar.cancelBtnClicked()
57
//hoverimage: "list_item_pressed.png"
60
onClicked: toolbar.gobackBtnClicked()
64
visible: toolbar.showok
65
//hoverimage: "list_item_active.png"
69
onClicked: toolbar.finishBtnClicked()