au4/src/projectscene/qml/Audacity/ProjectScene/clipsview/ClipItemSmall.qml
raw| 1 | import QtQuick |
| 2 | |
| 3 | Rectangle { |
| 4 | |
| 5 | id: root |
| 6 | |
| 7 | property color clipColor: "#677CE4" |
| 8 | property bool collapsed: false |
| 9 | |
| 10 | //radius: 4 |
| 11 | border.width: 1 |
| 12 | border.color: "#000000" |
| 13 | |
| 14 | color: ui.blendColors("#ffffff", root.clipColor, 0.9) |
| 15 | |
| 16 | Rectangle { |
| 17 | id: header |
| 18 | anchors.top: parent.top |
| 19 | anchors.left: parent.left |
| 20 | anchors.right: parent.right |
| 21 | anchors.margins: 1 |
| 22 | |
| 23 | height: 20 |
| 24 | |
| 25 | color: root.clipColor |
| 26 | |
| 27 | visible: !root.collapsed |
| 28 | } |
| 29 | |
| 30 | } |