2012-10-07 03:24:06 +02:00
|
|
|
SpellListLabel < Label
|
|
|
|
font: verdana-11px-monochrome
|
|
|
|
background-color: alpha
|
|
|
|
text-offset: 42 3
|
|
|
|
focusable: true
|
|
|
|
height: 36
|
|
|
|
image-clip: 0 0 32 32
|
|
|
|
image-size: 32 32
|
|
|
|
image-offset: 2 2
|
2013-01-18 23:39:11 +01:00
|
|
|
image-source: /images/game/spells/defaultspells
|
2012-10-07 03:24:06 +02:00
|
|
|
|
|
|
|
$focus:
|
|
|
|
background-color: #ffffff22
|
|
|
|
color: #ffffff
|
|
|
|
|
|
|
|
SpellInfoLabel < Label
|
|
|
|
width: 70
|
|
|
|
font: verdana-11px-monochrome
|
|
|
|
text-align: right
|
|
|
|
margin-left: 10
|
|
|
|
margin-top: 5
|
|
|
|
|
|
|
|
SpellInfoValueLabel < Label
|
|
|
|
text-align: left
|
|
|
|
width: 190
|
|
|
|
margin-left: 10
|
|
|
|
margin-top: 5
|
|
|
|
|
2014-07-12 18:44:02 +02:00
|
|
|
FilterButton < Button
|
|
|
|
width: 64
|
|
|
|
anchors.left: prev.right
|
|
|
|
anchors.top: spellList.bottom
|
|
|
|
@onClick: toggleFilter(self)
|
|
|
|
margin: 5 0 0 6
|
|
|
|
color: #630000
|
|
|
|
$on:
|
|
|
|
color: green
|
|
|
|
|
2012-10-07 03:24:06 +02:00
|
|
|
MainWindow
|
|
|
|
id: spelllistWindow
|
|
|
|
!text: tr('Spell List')
|
2012-10-08 06:51:25 +02:00
|
|
|
size: 550 400
|
2012-10-07 03:24:06 +02:00
|
|
|
@onEscape: toggle()
|
|
|
|
|
|
|
|
TextList
|
|
|
|
id: spellList
|
|
|
|
vertical-scrollbar: spellsScrollBar
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.bottom: next.top
|
|
|
|
margin-bottom: 10
|
|
|
|
padding: 1
|
|
|
|
width: 210
|
|
|
|
focusable: false
|
|
|
|
|
|
|
|
Button
|
|
|
|
id: buttonCancel
|
|
|
|
!text: tr('Close')
|
|
|
|
width: 64
|
|
|
|
anchors.right: parent.right
|
|
|
|
anchors.bottom: parent.bottom
|
|
|
|
@onClick: toggle()
|
|
|
|
|
|
|
|
VerticalScrollBar
|
|
|
|
id: spellsScrollBar
|
|
|
|
anchors.top: spellList.top
|
|
|
|
anchors.bottom: spellList.bottom
|
|
|
|
anchors.right: spellList.right
|
|
|
|
step: 50
|
|
|
|
pixels-scroll: true
|
|
|
|
|
|
|
|
SpellInfoLabel
|
|
|
|
id: labelName
|
|
|
|
anchors.left: spellList.right
|
|
|
|
anchors.top: spellList.top
|
2013-01-24 12:33:44 +01:00
|
|
|
!text: tr('Name') .. ':'
|
2012-10-07 03:24:06 +02:00
|
|
|
|
2014-07-12 18:44:02 +02:00
|
|
|
Label
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.top: spellList.bottom
|
|
|
|
!text: tr('Filters') .. ':'
|
|
|
|
margin-top: 8
|
|
|
|
|
|
|
|
FilterButton
|
2012-10-07 03:24:06 +02:00
|
|
|
id: buttonFilterLevel
|
|
|
|
!text: tr('Level')
|
|
|
|
!tooltip: tr('Hide spells for higher exp. levels')
|
|
|
|
|
2014-07-12 18:44:02 +02:00
|
|
|
FilterButton
|
2012-10-07 03:24:06 +02:00
|
|
|
id: buttonFilterVocation
|
|
|
|
!text: tr('Vocation')
|
|
|
|
!tooltip: tr('Hide spells for other vocations')
|
|
|
|
|
|
|
|
SpellInfoLabel
|
|
|
|
id: labelFormula
|
|
|
|
anchors.left: spellList.right
|
|
|
|
anchors.top: labelName.bottom
|
2013-01-24 12:33:44 +01:00
|
|
|
!text: tr('Formula') .. ':'
|
2012-10-07 03:24:06 +02:00
|
|
|
|
|
|
|
|
|
|
|
SpellInfoLabel
|
|
|
|
id: labelVocation
|
|
|
|
anchors.left: spellList.right
|
|
|
|
anchors.top: labelFormula.bottom
|
2013-01-24 12:33:44 +01:00
|
|
|
!text: tr('Vocation') .. ':'
|
2012-10-07 03:24:06 +02:00
|
|
|
|
|
|
|
SpellInfoLabel
|
|
|
|
id: labelGroup
|
|
|
|
anchors.left: spellList.right
|
|
|
|
anchors.top: labelVocation.bottom
|
2013-01-24 12:33:44 +01:00
|
|
|
!text: tr('Group') .. ':'
|
2012-10-07 03:24:06 +02:00
|
|
|
|
|
|
|
SpellInfoLabel
|
|
|
|
id: labelType
|
|
|
|
anchors.left: spellList.right
|
|
|
|
anchors.top: labelGroup.bottom
|
2013-01-24 12:33:44 +01:00
|
|
|
!text: tr('Type') .. ':'
|
2012-10-07 03:24:06 +02:00
|
|
|
|
|
|
|
SpellInfoLabel
|
|
|
|
id: labelCooldown
|
|
|
|
anchors.left: spellList.right
|
|
|
|
anchors.top: labelType.bottom
|
2013-01-24 12:33:44 +01:00
|
|
|
!text: tr('Cooldown') .. ':'
|
2012-10-07 03:24:06 +02:00
|
|
|
|
|
|
|
SpellInfoLabel
|
|
|
|
id: labelLevel
|
|
|
|
anchors.left: spellList.right
|
|
|
|
anchors.top: labelCooldown.bottom
|
2013-01-24 12:33:44 +01:00
|
|
|
!text: tr('Level') .. ':'
|
2012-10-07 03:24:06 +02:00
|
|
|
|
|
|
|
SpellInfoLabel
|
|
|
|
id: labelMana
|
|
|
|
anchors.left: spellList.right
|
|
|
|
anchors.top: labelLevel.bottom
|
2013-01-24 12:33:44 +01:00
|
|
|
!text: tr('Mana') .. ' / ' .. tr('Soul') .. ':'
|
2012-10-07 03:24:06 +02:00
|
|
|
|
|
|
|
SpellInfoLabel
|
|
|
|
id: labelPremium
|
|
|
|
anchors.left: spellList.right
|
|
|
|
anchors.top: labelMana.bottom
|
2013-01-24 12:33:44 +01:00
|
|
|
!text: tr('Premium') .. ':'
|
2012-10-07 03:24:06 +02:00
|
|
|
|
2012-10-08 06:51:25 +02:00
|
|
|
SpellInfoLabel
|
|
|
|
id: labelDescription
|
|
|
|
anchors.left: spellList.right
|
|
|
|
anchors.top: labelPremium.bottom
|
2013-01-24 12:33:44 +01:00
|
|
|
!text: tr('Description') .. ':'
|
2012-10-08 06:51:25 +02:00
|
|
|
|
2012-10-07 03:24:06 +02:00
|
|
|
SpellInfoValueLabel
|
|
|
|
id: labelNameValue
|
|
|
|
anchors.left: labelName.right
|
|
|
|
anchors.top: spellList.top
|
|
|
|
|
|
|
|
SpellInfoValueLabel
|
|
|
|
id: labelFormulaValue
|
|
|
|
anchors.left: labelFormula.right
|
|
|
|
anchors.top: labelNameValue.bottom
|
|
|
|
|
|
|
|
SpellInfoValueLabel
|
|
|
|
id: labelVocationValue
|
|
|
|
anchors.left: labelVocation.right
|
|
|
|
anchors.top: labelFormulaValue.bottom
|
|
|
|
|
|
|
|
SpellInfoValueLabel
|
|
|
|
id: labelGroupValue
|
|
|
|
anchors.left: labelGroup.right
|
|
|
|
anchors.top: labelVocationValue.bottom
|
|
|
|
|
|
|
|
SpellInfoValueLabel
|
|
|
|
id: labelTypeValue
|
|
|
|
anchors.left: labelType.right
|
|
|
|
anchors.top: labelGroupValue.bottom
|
|
|
|
|
|
|
|
SpellInfoValueLabel
|
|
|
|
id: labelCooldownValue
|
|
|
|
anchors.left: labelCooldown.right
|
|
|
|
anchors.top: labelTypeValue.bottom
|
|
|
|
|
|
|
|
SpellInfoValueLabel
|
|
|
|
id: labelLevelValue
|
|
|
|
anchors.left: labelLevel.right
|
|
|
|
anchors.top: labelCooldownValue.bottom
|
|
|
|
|
|
|
|
SpellInfoValueLabel
|
|
|
|
id: labelManaValue
|
|
|
|
anchors.left: labelMana.right
|
|
|
|
anchors.top: labelLevelValue.bottom
|
|
|
|
|
|
|
|
SpellInfoValueLabel
|
|
|
|
id: labelPremiumValue
|
|
|
|
anchors.left: labelPremium.right
|
|
|
|
anchors.top: labelManaValue.bottom
|
|
|
|
|
2012-10-08 06:51:25 +02:00
|
|
|
SpellInfoValueLabel
|
|
|
|
id: labelDescriptionValue
|
|
|
|
anchors.left: labelDescription.right
|
|
|
|
anchors.top: labelPremiumValue.bottom
|
|
|
|
|
2012-10-07 03:24:06 +02:00
|
|
|
Label
|
|
|
|
id: labelVocationFilter
|
|
|
|
anchors.top: labelPremium.bottom
|
|
|
|
anchors.left: spellList.right
|
|
|
|
width: 70
|
|
|
|
font: verdana-11px-monochrome
|
2013-01-24 12:33:44 +01:00
|
|
|
!text: tr('Vocation')
|
2012-10-08 06:51:25 +02:00
|
|
|
margin-top: 30
|
2012-10-07 03:24:06 +02:00
|
|
|
margin-left: 20
|
|
|
|
|
|
|
|
CheckBox
|
|
|
|
id: vocationBoxAny
|
|
|
|
anchors.left: prev.left
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
margin-top: 3
|
|
|
|
margin-left: 3
|
2013-01-24 12:33:44 +01:00
|
|
|
!text: tr('Any')
|
2013-01-09 23:03:04 +01:00
|
|
|
width: 75
|
2012-10-07 03:24:06 +02:00
|
|
|
|
|
|
|
CheckBox
|
|
|
|
id: vocationBoxSorcerer
|
|
|
|
anchors.left: prev.left
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
margin-top: 3
|
2013-01-24 12:33:44 +01:00
|
|
|
!text: tr('Sorcerer')
|
2013-01-09 23:03:04 +01:00
|
|
|
width: 75
|
2012-10-07 03:24:06 +02:00
|
|
|
|
|
|
|
CheckBox
|
|
|
|
id: vocationBoxDruid
|
|
|
|
anchors.left: prev.left
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
margin-top: 3
|
2013-01-24 12:33:44 +01:00
|
|
|
!text: tr('Druid')
|
2013-01-09 23:03:04 +01:00
|
|
|
width: 75
|
2012-10-07 03:24:06 +02:00
|
|
|
|
|
|
|
CheckBox
|
|
|
|
id: vocationBoxPaladin
|
|
|
|
anchors.left: prev.left
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
margin-top: 3
|
2013-01-24 12:33:44 +01:00
|
|
|
!text: tr('Paladin')
|
2013-01-09 23:03:04 +01:00
|
|
|
width: 75
|
2012-10-07 03:24:06 +02:00
|
|
|
|
|
|
|
CheckBox
|
|
|
|
id: vocationBoxKnight
|
|
|
|
anchors.left: prev.left
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
margin-top: 3
|
2013-01-24 12:33:44 +01:00
|
|
|
!text: tr('Knight')
|
2013-01-09 23:03:04 +01:00
|
|
|
width: 75
|
2012-10-07 03:24:06 +02:00
|
|
|
|
|
|
|
Label
|
|
|
|
id: labelGroupFilter
|
|
|
|
anchors.top: labelPremium.bottom
|
|
|
|
anchors.left: labelVocationFilter.right
|
|
|
|
width: 70
|
|
|
|
font: verdana-11px-monochrome
|
2013-01-24 12:33:44 +01:00
|
|
|
!text: tr('Group')
|
2012-10-08 06:51:25 +02:00
|
|
|
margin-top: 30
|
2012-10-07 03:24:06 +02:00
|
|
|
margin-left: 20
|
|
|
|
|
|
|
|
CheckBox
|
|
|
|
id: groupBoxAny
|
|
|
|
anchors.left: prev.left
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
margin-top: 3
|
|
|
|
margin-left: 3
|
2013-01-24 12:33:44 +01:00
|
|
|
!text: tr('Any')
|
2013-01-09 23:03:04 +01:00
|
|
|
width: 75
|
2012-10-07 03:24:06 +02:00
|
|
|
|
|
|
|
CheckBox
|
|
|
|
id: groupBoxAttack
|
|
|
|
anchors.left: prev.left
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
margin-top: 3
|
2013-01-24 12:33:44 +01:00
|
|
|
!text: tr('Attack')
|
2013-01-09 23:03:04 +01:00
|
|
|
width: 75
|
2012-10-07 03:24:06 +02:00
|
|
|
|
|
|
|
CheckBox
|
|
|
|
id: groupBoxHealing
|
|
|
|
anchors.left: prev.left
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
margin-top: 3
|
2013-01-24 12:33:44 +01:00
|
|
|
!text: tr('Healing')
|
2013-01-09 23:03:04 +01:00
|
|
|
width: 75
|
2012-10-07 03:24:06 +02:00
|
|
|
|
|
|
|
CheckBox
|
|
|
|
id: groupBoxSupport
|
|
|
|
anchors.left: prev.left
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
margin-top: 3
|
2013-01-24 12:33:44 +01:00
|
|
|
!text: tr('Support')
|
2013-01-09 23:03:04 +01:00
|
|
|
width: 75
|
2012-10-07 03:24:06 +02:00
|
|
|
|
|
|
|
Label
|
|
|
|
id: labelPremiumFilter
|
|
|
|
anchors.top: labelPremium.bottom
|
|
|
|
anchors.left: labelGroupFilter.right
|
|
|
|
width: 70
|
|
|
|
font: verdana-11px-monochrome
|
2013-01-24 12:33:44 +01:00
|
|
|
!text: tr('Premium')
|
2012-10-08 06:51:25 +02:00
|
|
|
margin-top: 30
|
2012-10-07 03:24:06 +02:00
|
|
|
margin-left: 20
|
|
|
|
|
|
|
|
CheckBox
|
|
|
|
id: premiumBoxAny
|
|
|
|
anchors.left: prev.left
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
margin-top: 3
|
|
|
|
margin-left: 3
|
2013-01-24 12:33:44 +01:00
|
|
|
!text: tr('Any')
|
2013-01-09 23:03:04 +01:00
|
|
|
width: 75
|
2012-10-07 03:24:06 +02:00
|
|
|
|
|
|
|
CheckBox
|
|
|
|
id: premiumBoxNo
|
|
|
|
anchors.left: prev.left
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
margin-top: 3
|
2013-01-24 12:33:44 +01:00
|
|
|
!text: tr('No')
|
2013-01-09 23:03:04 +01:00
|
|
|
width: 75
|
2012-10-07 03:24:06 +02:00
|
|
|
|
|
|
|
CheckBox
|
|
|
|
id: premiumBoxYes
|
|
|
|
anchors.left: prev.left
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
margin-top: 3
|
2013-01-24 12:33:44 +01:00
|
|
|
!text: tr('Yes')
|
2013-01-09 23:03:04 +01:00
|
|
|
width: 75
|