2012-05-01 04:00:07 +02:00
|
|
|
QuestLabel < Label
|
|
|
|
font: verdana-11px-monochrome
|
|
|
|
text-offset: 2 0
|
|
|
|
focusable: true
|
2013-01-18 23:39:11 +01:00
|
|
|
color: #aaaaaa
|
|
|
|
background-color: alpha
|
2012-05-01 04:00:07 +02:00
|
|
|
|
|
|
|
$on:
|
2013-01-18 23:39:11 +01:00
|
|
|
color: #00aa00
|
2012-05-01 04:00:07 +02:00
|
|
|
$!on:
|
2013-01-18 23:39:11 +01:00
|
|
|
color: #aaaaaa
|
|
|
|
|
|
|
|
$focus:
|
|
|
|
background-color: #444444
|
2012-05-01 04:00:07 +02:00
|
|
|
|
|
|
|
$on focus:
|
2013-01-18 23:39:11 +01:00
|
|
|
color: #00ff00
|
2012-05-01 04:00:07 +02:00
|
|
|
$!on focus:
|
2013-01-18 23:39:11 +01:00
|
|
|
color: #ffffff
|
2012-05-01 04:00:07 +02:00
|
|
|
|
|
|
|
QuestLogWindow < MainWindow
|
|
|
|
id: questLogWindow
|
|
|
|
!text: tr('Quest Log')
|
|
|
|
size: 500 400
|
|
|
|
@onEscape: self:destroy()
|
|
|
|
|
|
|
|
TextList
|
|
|
|
id: questList
|
2012-06-03 22:05:35 +02:00
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.bottom: closeButton.top
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.right: questListScrollBar.left
|
|
|
|
margin-bottom: 10
|
2012-05-01 04:00:07 +02:00
|
|
|
focusable: false
|
|
|
|
vertical-scrollbar: questListScrollBar
|
|
|
|
|
|
|
|
VerticalScrollBar
|
|
|
|
id: questListScrollBar
|
2012-06-03 22:05:35 +02:00
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.bottom: closeButton.top
|
|
|
|
anchors.right: parent.right
|
|
|
|
margin-bottom: 10
|
2012-05-01 04:00:07 +02:00
|
|
|
step: 14
|
|
|
|
pixels-scroll: true
|
|
|
|
|
|
|
|
Button
|
|
|
|
id: closeButton
|
|
|
|
anchors.bottom: parent.bottom
|
|
|
|
anchors.right: parent.right
|
|
|
|
!text: tr('Close')
|
|
|
|
width: 90
|
|
|
|
@onClick: self:getParent():destroy()
|