X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=qml%2FLichViet%2FToolBarSingle.qml;h=c1593da32f1934cc9e4c24b12880b9e12c8c5fea;hb=274c1daf9c51c4127195b5e8370722887dace99e;hp=0225060b793ad93de3cb84cd3a58040c8c1b661a;hpb=0527c61e3bdd3540dbe553e87e24081fe54f6b15;p=lichviet diff --git a/qml/LichViet/ToolBarSingle.qml b/qml/LichViet/ToolBarSingle.qml index 0225060..c1593da 100644 --- a/qml/LichViet/ToolBarSingle.qml +++ b/qml/LichViet/ToolBarSingle.qml @@ -18,16 +18,30 @@ along with this program. If not, see import QtQuick 1.0 Item { - id: toolbarsingle + id: toolbar property alias button1Label: button1.text + + opacity: 0.8 + signal button1Clicked - focus:true - BorderImage { source: theme_manager.theme.titlebar.sci; width: parent.width; height: parent.height + 14; y: -7 } + + Rectangle { + color:"#7373b1" + width: parent.width + height: parent.height + 14 + + radius: 4 + } + Button { - id: button1 - anchors.right: parent.right; anchors.rightMargin: 5; y: 3; width: 140; height: 40 - onClicked: toolbarsingle.button1Clicked() - focus:true + id:button1 + anchors.right: parent.right + anchors.rightMargin: 5 + y: 5 + width: 140 + height: 42 + onClicked: toolbar.button1Clicked(); } + }