2011-08-20 22:30:41 +02:00
|
|
|
ConsoleLabel < UILabel
|
|
|
|
font: terminus-14px-bold
|
|
|
|
height: 16
|
2011-08-26 17:06:52 +02:00
|
|
|
anchors.bottom: next.top
|
2011-08-20 22:30:41 +02:00
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.right: parent.right
|
|
|
|
margin.left: 2
|
|
|
|
|
|
|
|
RectPanel
|
|
|
|
id: consolePanel
|
|
|
|
background-color: #000000
|
|
|
|
opacity: 216
|
|
|
|
anchors.fill: parent
|
|
|
|
|
|
|
|
UILabel
|
2011-08-23 03:08:36 +02:00
|
|
|
id: commandSymbolLabel
|
2011-08-26 17:06:52 +02:00
|
|
|
size: 20 16
|
|
|
|
size fixed: true
|
2011-08-20 22:30:41 +02:00
|
|
|
anchors.bottom: parent.bottom
|
|
|
|
anchors.left: parent.left
|
|
|
|
margin.left: 2
|
|
|
|
font: terminus-14px-bold
|
|
|
|
text: >>
|
|
|
|
|
|
|
|
UILineEdit
|
|
|
|
id: commandBox
|
2011-08-26 17:06:52 +02:00
|
|
|
height: 16
|
2011-08-20 22:30:41 +02:00
|
|
|
anchors.bottom: parent.bottom
|
2011-08-26 17:06:52 +02:00
|
|
|
anchors.left: commandSymbolLabel.right
|
2011-08-20 22:30:41 +02:00
|
|
|
anchors.right: parent.right
|
|
|
|
font: terminus-14px-bold
|
|
|
|
onAction: |
|
|
|
|
function(self)
|
|
|
|
Console.executeCommand(self:getText())
|
|
|
|
self:clearText()
|
2011-08-23 03:08:36 +02:00
|
|
|
end
|