2012-07-26 12:19:34 +02:00
|
|
|
NextOutfitButton < NextButton
|
|
|
|
PrevOutfitButton < PreviousButton
|
|
|
|
NextMountButton < NextButton
|
|
|
|
PrevMountButton < PreviousButton
|
2012-07-15 13:49:28 +02:00
|
|
|
|
2012-08-07 03:11:42 +02:00
|
|
|
MainWindow
|
2012-07-15 13:49:28 +02:00
|
|
|
!text: tr('Select Outfit')
|
|
|
|
size: 338 375
|
|
|
|
|
2012-07-26 13:18:49 +02:00
|
|
|
@onEnter: modules.game_outfit.accept()
|
|
|
|
@onEscape: modules.game_outfit.destroy()
|
2012-07-15 13:49:28 +02:00
|
|
|
|
|
|
|
// Creature Boxes
|
|
|
|
Creature
|
|
|
|
id: outfitCreatureBox
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.left: parent.left
|
2012-08-07 03:11:42 +02:00
|
|
|
margin-top: 15
|
|
|
|
margin-left: 22
|
2012-07-15 13:49:28 +02:00
|
|
|
padding: 4 4 4 4
|
|
|
|
fixed-creature-size: true
|
|
|
|
|
|
|
|
Label
|
|
|
|
id: outfitName
|
|
|
|
!text: tr('No Outfit')
|
2012-07-19 20:54:24 +02:00
|
|
|
width: 115
|
2012-07-15 13:49:28 +02:00
|
|
|
anchors.bottom: prev.top
|
|
|
|
anchors.left: prev.left
|
|
|
|
margin-bottom: 2
|
|
|
|
|
|
|
|
NextOutfitButton
|
|
|
|
id: outfitNextButton
|
|
|
|
anchors.left: outfitCreatureBox.right
|
|
|
|
anchors.verticalCenter: outfitCreatureBox.verticalCenter
|
|
|
|
margin-left: 3
|
|
|
|
enabled: true
|
2012-07-26 13:18:49 +02:00
|
|
|
@onClick: modules.game_outfit.nextOutfitType()
|
2012-07-15 13:49:28 +02:00
|
|
|
|
|
|
|
PrevOutfitButton
|
|
|
|
id: outfitPrevButton
|
|
|
|
anchors.right: outfitCreatureBox.left
|
|
|
|
anchors.verticalCenter: outfitCreatureBox.verticalCenter
|
|
|
|
margin-right: 3
|
|
|
|
enabled: true
|
2012-07-26 13:18:49 +02:00
|
|
|
@onClick: modules.game_outfit.previousOutfitType()
|
2012-07-15 13:49:28 +02:00
|
|
|
|
|
|
|
Creature
|
|
|
|
id: mountCreatureBox
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.right: parent.right
|
2012-08-07 03:11:42 +02:00
|
|
|
margin-top: 15
|
|
|
|
margin-right: 22
|
2012-07-15 13:49:28 +02:00
|
|
|
padding: 4 4 4 4
|
|
|
|
fixed-creature-size: true
|
|
|
|
|
|
|
|
Label
|
|
|
|
id: mountName
|
|
|
|
!text: tr('No Mount')
|
2012-07-19 20:54:24 +02:00
|
|
|
width: 115
|
2012-07-15 13:49:28 +02:00
|
|
|
anchors.bottom: prev.top
|
|
|
|
anchors.left: prev.left
|
|
|
|
margin-bottom: 2
|
|
|
|
|
|
|
|
NextMountButton
|
|
|
|
id: mountNextButton
|
|
|
|
anchors.left: mountCreatureBox.right
|
|
|
|
anchors.verticalCenter: mountCreatureBox.verticalCenter
|
|
|
|
margin-left: 3
|
|
|
|
enabled: true
|
2012-07-26 13:18:49 +02:00
|
|
|
@onClick: modules.game_outfit.nextMountType()
|
2012-07-15 13:49:28 +02:00
|
|
|
|
|
|
|
PrevMountButton
|
2012-07-19 20:54:24 +02:00
|
|
|
id: mountPrevButton
|
2012-07-15 13:49:28 +02:00
|
|
|
anchors.right: mountCreatureBox.left
|
|
|
|
anchors.verticalCenter: mountCreatureBox.verticalCenter
|
|
|
|
margin-right: 3
|
|
|
|
enabled: true
|
2012-07-26 13:18:49 +02:00
|
|
|
@onClick: modules.game_outfit.previousMountType()
|
2012-07-15 13:49:28 +02:00
|
|
|
|
|
|
|
// Addon Check Boxes
|
|
|
|
|
|
|
|
CheckBox
|
|
|
|
id: addon1
|
|
|
|
!text: tr('Addon 1')
|
|
|
|
width: 80
|
|
|
|
anchors.top: outfitCreatureBox.bottom
|
|
|
|
anchors.left: parent.left
|
|
|
|
margin-top: 6
|
2012-08-07 03:11:42 +02:00
|
|
|
margin-left: 2
|
2012-07-15 13:49:28 +02:00
|
|
|
enabled: false
|
|
|
|
|
|
|
|
CheckBox
|
|
|
|
id: addon2
|
|
|
|
!text: tr('Addon 2')
|
|
|
|
width: 80
|
|
|
|
anchors.top: prev.top
|
|
|
|
anchors.left: prev.right
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
CheckBox
|
|
|
|
id: addon3
|
|
|
|
!text: tr('Addon 3')
|
|
|
|
width: 80
|
|
|
|
anchors.top: prev.top
|
|
|
|
anchors.left: prev.right
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
// Body Selection Buttons
|
|
|
|
|
|
|
|
ButtonBox
|
|
|
|
id: head
|
|
|
|
!text: tr('Head')
|
|
|
|
anchors.top: addon1.bottom
|
|
|
|
anchors.left: addon1.left
|
|
|
|
margin-top: 5
|
|
|
|
checked: true
|
|
|
|
width: 76
|
|
|
|
|
|
|
|
ButtonBox
|
|
|
|
id: primary
|
|
|
|
!text: tr('Primary')
|
|
|
|
anchors.top: prev.top
|
|
|
|
anchors.left: prev.right
|
|
|
|
width: 76
|
|
|
|
|
|
|
|
ButtonBox
|
|
|
|
id: secondary
|
|
|
|
!text: tr('Secondary')
|
|
|
|
anchors.top: prev.top
|
|
|
|
anchors.left: prev.right
|
|
|
|
width: 76
|
|
|
|
|
|
|
|
ButtonBox
|
|
|
|
id: detail
|
|
|
|
!text: tr('Detail')
|
|
|
|
anchors.top: prev.top
|
|
|
|
anchors.left: prev.right
|
|
|
|
width: 76
|
|
|
|
|
|
|
|
// Color Panel
|
|
|
|
|
|
|
|
Panel
|
|
|
|
id: colorBoxPanel
|
|
|
|
anchors.top: head.bottom
|
|
|
|
anchors.left: head.left
|
|
|
|
margin-top: 3
|
|
|
|
margin-right: 20
|
2012-07-19 20:54:24 +02:00
|
|
|
width: 302
|
2012-07-15 13:49:28 +02:00
|
|
|
height: 119
|
|
|
|
layout:
|
|
|
|
type: grid
|
|
|
|
cell-size: 14 14
|
|
|
|
cell-spacing: 2
|
|
|
|
num-columns: 19
|
|
|
|
num-lines: 7
|
|
|
|
|
|
|
|
// Action Button Section
|
|
|
|
|
|
|
|
Button
|
|
|
|
id: randomizeButton
|
|
|
|
!text: tr('Randomize')
|
|
|
|
!tooltip: tr('Randomize characters outfit')
|
|
|
|
width: 75
|
|
|
|
anchors.left: prev.left
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
margin-right: 16
|
2012-07-26 13:18:49 +02:00
|
|
|
@onClick: modules.game_outfit.randomize()
|
2012-07-15 13:49:28 +02:00
|
|
|
|
|
|
|
HorizontalSeparator
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.right: parent.right
|
|
|
|
anchors.bottom: next.top
|
|
|
|
margin-bottom: 10
|
|
|
|
margin-top: 5
|
|
|
|
|
|
|
|
Button
|
|
|
|
id: outfitOkButton
|
2012-08-06 22:19:32 +02:00
|
|
|
!text: tr('Ok')
|
2012-07-15 13:49:28 +02:00
|
|
|
width: 64
|
|
|
|
anchors.right: next.left
|
|
|
|
anchors.bottom: parent.bottom
|
|
|
|
margin-right: 16
|
2012-07-26 13:18:49 +02:00
|
|
|
@onClick: modules.game_outfit.accept()
|
2012-07-15 13:49:28 +02:00
|
|
|
|
|
|
|
Button
|
|
|
|
id: outfitCancelButton
|
|
|
|
!text: tr('Cancel')
|
|
|
|
width: 64
|
|
|
|
anchors.right: parent.right
|
|
|
|
anchors.bottom: parent.bottom
|
2012-07-26 13:18:49 +02:00
|
|
|
@onClick: modules.game_outfit.destroy()
|