2014-08-28 08:29:12 +00:00
|
|
|
import QtQuick 2.0
|
|
|
|
|
2015-08-18 16:22:16 +00:00
|
|
|
BaseRectangle {
|
2014-08-28 08:29:12 +00:00
|
|
|
id: panel
|
|
|
|
width: 200
|
2015-08-23 22:39:31 +00:00
|
|
|
height: parent.height
|
2015-12-30 00:46:47 +00:00
|
|
|
property string title: ""
|
2014-08-28 08:29:12 +00:00
|
|
|
|
2015-08-23 22:39:31 +00:00
|
|
|
anchors.top: parent.top
|
2014-08-28 08:29:12 +00:00
|
|
|
|
2015-08-23 22:39:31 +00:00
|
|
|
color: "#40909090"
|
2015-12-30 00:46:47 +00:00
|
|
|
|
|
|
|
Text {
|
|
|
|
text: title
|
|
|
|
visible: title != ""
|
|
|
|
font.bold: true
|
|
|
|
font.pixelSize: 12
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
|
|
}
|
2014-08-28 08:29:12 +00:00
|
|
|
}
|