mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-10-20 14:43:27 +02:00
Version 0.95 BETA
This commit is contained in:
52
modules/game_questlog/questlogwindow.otui
Normal file
52
modules/game_questlog/questlogwindow.otui
Normal file
@@ -0,0 +1,52 @@
|
||||
QuestLabel < Label
|
||||
font: verdana-11px-monochrome
|
||||
text-offset: 2 0
|
||||
focusable: true
|
||||
color: #aaaaaa
|
||||
background-color: alpha
|
||||
|
||||
$on:
|
||||
color: #00aa00
|
||||
$!on:
|
||||
color: #aaaaaa
|
||||
|
||||
$focus:
|
||||
background-color: #444444
|
||||
|
||||
$on focus:
|
||||
color: #00ff00
|
||||
$!on focus:
|
||||
color: #ffffff
|
||||
|
||||
QuestLogWindow < MainWindow
|
||||
id: questLogWindow
|
||||
!text: tr('Quest Log')
|
||||
size: 500 400
|
||||
@onEscape: self:destroy()
|
||||
|
||||
TextList
|
||||
id: questList
|
||||
anchors.top: parent.top
|
||||
anchors.bottom: closeButton.top
|
||||
anchors.left: parent.left
|
||||
anchors.right: questListScrollBar.left
|
||||
margin-bottom: 10
|
||||
focusable: false
|
||||
vertical-scrollbar: questListScrollBar
|
||||
|
||||
VerticalScrollBar
|
||||
id: questListScrollBar
|
||||
anchors.top: parent.top
|
||||
anchors.bottom: closeButton.top
|
||||
anchors.right: parent.right
|
||||
margin-bottom: 10
|
||||
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()
|
Reference in New Issue
Block a user