2011-09-13 23:54:23 +02:00
|
|
|
SkillFirstWidget < UIWidget
|
2011-11-01 03:35:50 +01:00
|
|
|
|
2011-11-14 09:46:27 +01:00
|
|
|
SkillButton < UIButton
|
2011-12-22 05:06:00 +01:00
|
|
|
height: 21
|
2012-01-14 20:31:20 +01:00
|
|
|
margin-bottom: 2
|
2012-07-24 02:22:38 +02:00
|
|
|
&onClick: onSkillButtonClick
|
2011-11-14 09:46:27 +01:00
|
|
|
|
2012-01-03 02:52:26 +01:00
|
|
|
SkillNameLabel < GameLabel
|
2011-11-14 09:46:27 +01:00
|
|
|
font: verdana-11px-monochrome
|
2011-09-13 23:54:23 +02:00
|
|
|
anchors.left: parent.left
|
2011-11-14 09:46:27 +01:00
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.bottom: parent.bottom
|
2011-11-01 03:35:50 +01:00
|
|
|
|
2012-01-03 02:52:26 +01:00
|
|
|
SkillValueLabel < GameLabel
|
2011-12-22 05:06:00 +01:00
|
|
|
id: value
|
2011-11-01 03:35:50 +01:00
|
|
|
font: verdana-11px-monochrome
|
2011-12-22 05:06:00 +01:00
|
|
|
text-align: topright
|
2011-09-13 23:54:23 +02:00
|
|
|
anchors.right: parent.right
|
2011-11-14 09:46:27 +01:00
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.bottom: parent.bottom
|
2012-01-09 19:45:28 +01:00
|
|
|
anchors.left: prev.left
|
2011-11-01 03:35:50 +01:00
|
|
|
|
2012-01-10 23:13:40 +01:00
|
|
|
SkillPercentPanel < ProgressBar
|
2011-12-22 05:06:00 +01:00
|
|
|
id: percent
|
2011-11-14 03:40:18 +01:00
|
|
|
background-color: green
|
|
|
|
height: 5
|
2011-12-22 05:06:00 +01:00
|
|
|
margin-top: 15
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.right: parent.right
|
|
|
|
anchors.top: parent.top
|
2012-03-28 16:10:21 +02:00
|
|
|
phantom: false
|
2011-09-13 23:54:23 +02:00
|
|
|
|
2011-11-03 13:17:10 +01:00
|
|
|
MiniWindow
|
2011-09-13 23:54:23 +02:00
|
|
|
id: skillWindow
|
2012-04-26 21:54:16 +02:00
|
|
|
!text: tr('Skills')
|
2012-06-21 21:31:22 +02:00
|
|
|
height: 150
|
2012-03-28 16:10:21 +02:00
|
|
|
icon: skills.png
|
2012-08-17 23:36:53 +02:00
|
|
|
@onClose: modules.game_skills.onMiniWindowClose()
|
2012-06-24 14:41:39 +02:00
|
|
|
&save: true
|
2012-01-03 02:52:26 +01:00
|
|
|
|
2012-03-28 16:10:21 +02:00
|
|
|
MiniWindowContents
|
2011-09-13 23:54:23 +02:00
|
|
|
anchors.fill: parent
|
2011-11-14 09:46:27 +01:00
|
|
|
layout: verticalBox
|
2012-01-03 02:52:26 +01:00
|
|
|
|
2011-12-22 05:06:00 +01:00
|
|
|
SkillButton
|
|
|
|
id: experience
|
|
|
|
height: 15
|
|
|
|
SkillNameLabel
|
2012-04-26 21:54:16 +02:00
|
|
|
!text: tr('Experience')
|
2011-12-22 05:06:00 +01:00
|
|
|
SkillValueLabel
|
2012-01-03 02:52:26 +01:00
|
|
|
|
2011-12-22 05:06:00 +01:00
|
|
|
SkillButton
|
|
|
|
id: level
|
|
|
|
SkillNameLabel
|
2012-04-26 21:54:16 +02:00
|
|
|
!text: tr('Level')
|
2011-12-22 05:06:00 +01:00
|
|
|
SkillValueLabel
|
|
|
|
SkillPercentPanel
|
2012-01-11 13:06:50 +01:00
|
|
|
background-color: red
|
2012-01-03 02:52:26 +01:00
|
|
|
|
2011-12-22 05:06:00 +01:00
|
|
|
SkillButton
|
|
|
|
id: health
|
|
|
|
height: 15
|
|
|
|
SkillNameLabel
|
2012-04-26 21:54:16 +02:00
|
|
|
!text: tr('Hit Points')
|
2011-12-22 05:06:00 +01:00
|
|
|
SkillValueLabel
|
2012-01-03 02:52:26 +01:00
|
|
|
|
2011-12-22 05:06:00 +01:00
|
|
|
SkillButton
|
|
|
|
id: mana
|
|
|
|
height: 15
|
|
|
|
SkillNameLabel
|
2012-04-26 21:54:16 +02:00
|
|
|
!text: tr('Mana')
|
2011-12-22 05:06:00 +01:00
|
|
|
SkillValueLabel
|
2012-01-03 02:52:26 +01:00
|
|
|
|
2011-12-22 05:06:00 +01:00
|
|
|
SkillButton
|
|
|
|
id: soul
|
|
|
|
height: 15
|
|
|
|
SkillNameLabel
|
2012-04-26 21:54:16 +02:00
|
|
|
!text: tr('Soul Points')
|
2011-12-22 05:06:00 +01:00
|
|
|
SkillValueLabel
|
2012-01-03 02:52:26 +01:00
|
|
|
|
2011-12-22 05:06:00 +01:00
|
|
|
SkillButton
|
|
|
|
id: capacity
|
|
|
|
height: 15
|
|
|
|
SkillNameLabel
|
2012-04-26 21:54:16 +02:00
|
|
|
!text: tr('Capacity')
|
2011-12-22 05:06:00 +01:00
|
|
|
SkillValueLabel
|
2012-01-03 02:52:26 +01:00
|
|
|
|
2012-08-19 03:19:43 +02:00
|
|
|
SkillButton
|
|
|
|
id: speed
|
|
|
|
height: 15
|
|
|
|
SkillNameLabel
|
|
|
|
!text: tr('Speed')
|
|
|
|
SkillValueLabel
|
|
|
|
|
|
|
|
SkillButton
|
|
|
|
id: regenerationTime
|
|
|
|
SkillNameLabel
|
|
|
|
!text: tr('Regeneration Time')
|
|
|
|
SkillValueLabel
|
|
|
|
|
2011-12-22 05:06:00 +01:00
|
|
|
SkillButton
|
|
|
|
id: stamina
|
|
|
|
SkillNameLabel
|
2012-04-26 21:54:16 +02:00
|
|
|
!text: tr('Stamina')
|
2011-12-22 05:06:00 +01:00
|
|
|
SkillValueLabel
|
|
|
|
SkillPercentPanel
|
2012-01-03 02:52:26 +01:00
|
|
|
|
2012-08-19 03:19:43 +02:00
|
|
|
SkillButton
|
|
|
|
id: offlineTraining
|
|
|
|
SkillNameLabel
|
|
|
|
!text: tr('Offline Training')
|
|
|
|
SkillValueLabel
|
|
|
|
SkillPercentPanel
|
|
|
|
|
2011-12-22 05:06:00 +01:00
|
|
|
SkillButton
|
|
|
|
id: magiclevel
|
|
|
|
SkillNameLabel
|
2012-04-26 21:54:16 +02:00
|
|
|
!text: tr('Magic Level')
|
2011-12-22 05:06:00 +01:00
|
|
|
SkillValueLabel
|
|
|
|
SkillPercentPanel
|
2012-01-11 13:06:50 +01:00
|
|
|
background-color: red
|
2011-12-22 05:06:00 +01:00
|
|
|
|
|
|
|
SkillButton
|
|
|
|
id: skillId0
|
|
|
|
SkillNameLabel
|
2012-04-26 21:54:16 +02:00
|
|
|
!text: tr('Fist Fighting')
|
2011-12-22 05:06:00 +01:00
|
|
|
SkillValueLabel
|
|
|
|
SkillPercentPanel
|
2012-01-03 02:52:26 +01:00
|
|
|
|
2011-12-22 05:06:00 +01:00
|
|
|
SkillButton
|
|
|
|
id: skillId1
|
|
|
|
SkillNameLabel
|
2012-04-26 21:54:16 +02:00
|
|
|
!text: tr('Club Fighting')
|
2011-12-22 05:06:00 +01:00
|
|
|
SkillValueLabel
|
|
|
|
SkillPercentPanel
|
2012-01-03 02:52:26 +01:00
|
|
|
|
2011-12-22 05:06:00 +01:00
|
|
|
SkillButton
|
|
|
|
id: skillId2
|
|
|
|
SkillNameLabel
|
2012-04-26 21:54:16 +02:00
|
|
|
!text: tr('Sword Fighting')
|
2011-12-22 05:06:00 +01:00
|
|
|
SkillValueLabel
|
|
|
|
SkillPercentPanel
|
|
|
|
|
|
|
|
SkillButton
|
|
|
|
id: skillId3
|
|
|
|
SkillNameLabel
|
2012-04-26 21:54:16 +02:00
|
|
|
!text: tr('Axe Fighting')
|
2011-12-22 05:06:00 +01:00
|
|
|
SkillValueLabel
|
|
|
|
SkillPercentPanel
|
|
|
|
|
|
|
|
SkillButton
|
|
|
|
id: skillId4
|
|
|
|
SkillNameLabel
|
2012-04-26 21:54:16 +02:00
|
|
|
!text: tr('Distance Fighting')
|
2011-12-22 05:06:00 +01:00
|
|
|
SkillValueLabel
|
|
|
|
SkillPercentPanel
|
|
|
|
|
|
|
|
SkillButton
|
|
|
|
id: skillId5
|
|
|
|
SkillNameLabel
|
2012-04-26 21:54:16 +02:00
|
|
|
!text: tr('Shielding')
|
2011-12-22 05:06:00 +01:00
|
|
|
SkillValueLabel
|
|
|
|
SkillPercentPanel
|
|
|
|
|
|
|
|
SkillButton
|
|
|
|
id: skillId6
|
|
|
|
SkillNameLabel
|
2012-04-26 21:54:16 +02:00
|
|
|
!text: tr('Fishing')
|
2011-12-22 05:06:00 +01:00
|
|
|
SkillValueLabel
|
|
|
|
SkillPercentPanel
|