152 lines
2.9 KiB
Plaintext
152 lines
2.9 KiB
Plaintext
SkillFirstWidget < UIWidget
|
|
|
|
SkillButton < UIButton
|
|
height: 21
|
|
margin-bottom: 2
|
|
&onClick: onSkillButtonClick
|
|
|
|
SkillNameLabel < GameLabel
|
|
font: verdana-11px-monochrome
|
|
anchors.left: parent.left
|
|
anchors.top: parent.top
|
|
anchors.bottom: parent.bottom
|
|
|
|
SkillValueLabel < GameLabel
|
|
id: value
|
|
font: verdana-11px-monochrome
|
|
text-align: topright
|
|
anchors.right: parent.right
|
|
anchors.top: parent.top
|
|
anchors.bottom: parent.bottom
|
|
anchors.left: prev.left
|
|
|
|
SkillPercentPanel < ProgressBar
|
|
id: percent
|
|
background-color: green
|
|
height: 5
|
|
margin-top: 15
|
|
anchors.left: parent.left
|
|
anchors.right: parent.right
|
|
anchors.top: parent.top
|
|
phantom: false
|
|
|
|
MiniWindow
|
|
id: skillWindow
|
|
!text: tr('Skills')
|
|
height: 150
|
|
icon: skills.png
|
|
@onClose: modules.game_skills.onMiniWindowClose()
|
|
&save: true
|
|
|
|
MiniWindowContents
|
|
anchors.fill: parent
|
|
layout: verticalBox
|
|
|
|
SkillButton
|
|
id: experience
|
|
height: 15
|
|
SkillNameLabel
|
|
!text: tr('Experience')
|
|
SkillValueLabel
|
|
|
|
SkillButton
|
|
id: level
|
|
SkillNameLabel
|
|
!text: tr('Level')
|
|
SkillValueLabel
|
|
SkillPercentPanel
|
|
background-color: red
|
|
|
|
SkillButton
|
|
id: health
|
|
height: 15
|
|
SkillNameLabel
|
|
!text: tr('Hit Points')
|
|
SkillValueLabel
|
|
|
|
SkillButton
|
|
id: mana
|
|
height: 15
|
|
SkillNameLabel
|
|
!text: tr('Mana')
|
|
SkillValueLabel
|
|
|
|
SkillButton
|
|
id: soul
|
|
height: 15
|
|
SkillNameLabel
|
|
!text: tr('Soul Points')
|
|
SkillValueLabel
|
|
|
|
SkillButton
|
|
id: capacity
|
|
height: 15
|
|
SkillNameLabel
|
|
!text: tr('Capacity')
|
|
SkillValueLabel
|
|
|
|
SkillButton
|
|
id: stamina
|
|
SkillNameLabel
|
|
!text: tr('Stamina')
|
|
SkillValueLabel
|
|
SkillPercentPanel
|
|
|
|
SkillButton
|
|
id: magiclevel
|
|
SkillNameLabel
|
|
!text: tr('Magic Level')
|
|
SkillValueLabel
|
|
SkillPercentPanel
|
|
background-color: red
|
|
|
|
SkillButton
|
|
id: skillId0
|
|
SkillNameLabel
|
|
!text: tr('Fist Fighting')
|
|
SkillValueLabel
|
|
SkillPercentPanel
|
|
|
|
SkillButton
|
|
id: skillId1
|
|
SkillNameLabel
|
|
!text: tr('Club Fighting')
|
|
SkillValueLabel
|
|
SkillPercentPanel
|
|
|
|
SkillButton
|
|
id: skillId2
|
|
|
|
SkillNameLabel
|
|
!text: tr('Sword Fighting')
|
|
SkillValueLabel
|
|
SkillPercentPanel
|
|
|
|
SkillButton
|
|
id: skillId3
|
|
SkillNameLabel
|
|
!text: tr('Axe Fighting')
|
|
SkillValueLabel
|
|
SkillPercentPanel
|
|
|
|
SkillButton
|
|
id: skillId4
|
|
SkillNameLabel
|
|
!text: tr('Distance Fighting')
|
|
SkillValueLabel
|
|
SkillPercentPanel
|
|
|
|
SkillButton
|
|
id: skillId5
|
|
SkillNameLabel
|
|
!text: tr('Shielding')
|
|
SkillValueLabel
|
|
SkillPercentPanel
|
|
|
|
SkillButton
|
|
id: skillId6
|
|
SkillNameLabel
|
|
!text: tr('Fishing')
|
|
SkillValueLabel
|
|
SkillPercentPanel
|