Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Rectangle {
- width: 180
- height: 64
- color: "#e6efe9"
- Column {
- anchors {
- right: parent.right
- rightMargin: 5
- topMargin: 15
- }
- height: parent.height
- width: 24
- spacing: (height - 2*width)/2
- Button {
- iconSource: "img/play1.png"
- style: ButtonStyle {
- background: Rectangle {
- width: parent.width
- implicitHeight: width
- border.width: control.activeFocus ? 1 : 2
- border.color: "#c0c9c2"
- color: "#000000"
- radius: width * 0.5
- gradient: Gradient {
- GradientStop { position: 5 ; color: "#000000" }
- GradientStop { position: 6 ; color: control.pressed ? "#ccc" : "red" }
- }
- }
- }
- }
- Button {
- iconSource: "img/iritated.jpg"
- style: ButtonStyle {
- background: Rectangle {
- implicitWidth: 24
- implicitHeight: width
- border.width: control.activeFocus ? 1 : 2
- border.color: "#c0c9c2"
- color: "#d7e0da"
- radius: width * 0.5
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement