diff --git a/brmbar3/brmbar-gui-qt4/BarButton.qml b/brmbar3/brmbar-gui-qt4/BarButton.qml index 19177b0..c9c9b61 100644 --- a/brmbar3/brmbar-gui-qt4/BarButton.qml +++ b/brmbar3/brmbar-gui-qt4/BarButton.qml @@ -6,18 +6,19 @@ Rectangle { width: 240 height: 83 color: "#000000" - border.color: "#ffffff" + border.color: btnColor property string text: "Button" property int fontSize: 44 + property variant btnColor: "#ffffff" signal buttonClick onButtonClick: { /* Supplied by component user. */ } Text { id: text1 - color: "#ffffff" text: parent.text + color: parent.btnColor font.pointSize: parent.fontSize scale: if (!mousearea1.pressed) { 1 } else { 0.95 } horizontalAlignment: Text.AlignHCenter diff --git a/brmbar3/brmbar-gui-qt4/MainPage.qml b/brmbar3/brmbar-gui-qt4/MainPage.qml index 34d6e88..5bee9e5 100644 --- a/brmbar3/brmbar-gui-qt4/MainPage.qml +++ b/brmbar3/brmbar-gui-qt4/MainPage.qml @@ -32,6 +32,7 @@ Item { width: 360 text: "Withdrawal" fontSize: 44 + btnColor: "#666666" } BarButton { @@ -50,6 +51,7 @@ Item { y: 582 width: 360 text: "Select Item" + btnColor: "#666666" } BarButton { diff --git a/brmbar3/brmbar-gui-qt4/UserMgmt.qml b/brmbar3/brmbar-gui-qt4/UserMgmt.qml index a27acbe..6e87bb0 100644 --- a/brmbar3/brmbar-gui-qt4/UserMgmt.qml +++ b/brmbar3/brmbar-gui-qt4/UserMgmt.qml @@ -88,6 +88,7 @@ Item { width: 360 text: "Add User" fontSize: 44 + btnColor: "#666666" } BarButton {