You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
563 B
24 lines
563 B
import QtQuick 1.1 |
|
|
|
Rectangle { |
|
id: statusDisplay |
|
property alias statusText: armedText.text |
|
property alias statusTextColor: armedText.color |
|
property alias statusBackgroundColor: statusDisplay.color |
|
|
|
width: 100 |
|
height: parent.height/3 |
|
anchors.verticalCenter: parent.verticalCenter |
|
radius: 3 |
|
border.color: "white" |
|
border.width: 1 |
|
|
|
Text { |
|
id: armedText |
|
anchors.centerIn: parent |
|
verticalAlignment: Text.AlignVCenter |
|
horizontalAlignment: Text.AlignHCenter |
|
font.pixelSize: 20 |
|
} |
|
|
|
}
|
|
|