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();
}
+
}