2012-07-15 13:49:28 +02:00
|
|
|
BrowseButton < Button
|
|
|
|
size: 20 29
|
|
|
|
icon-clip: 0 0 12 21
|
|
|
|
|
|
|
|
$hover !disabled:
|
|
|
|
icon-clip: 0 21 12 21
|
|
|
|
|
|
|
|
$pressed:
|
|
|
|
icon-clip: 0 22 12 21
|
|
|
|
|
|
|
|
$disabled:
|
|
|
|
color: #f0ad4d88
|
|
|
|
|
|
|
|
NextOutfitButton < BrowseButton
|
|
|
|
icon-source: /images/arrow_right.png
|
|
|
|
|
|
|
|
PrevOutfitButton < BrowseButton
|
|
|
|
icon-source: /images/arrow_left.png
|
|
|
|
|
|
|
|
NextMountButton < BrowseButton
|
|
|
|
icon-source: /images/arrow_right.png
|
|
|
|
|
|
|
|
PrevMountButton < BrowseButton
|
|
|
|
icon-source: /images/arrow_left.png
|
|
|
|
|
|
|
|
Window
|
|
|
|
!text: tr('Select Outfit')
|
|
|
|
size: 338 375
|
|
|
|
padding: 0 0 0 0
|
|
|
|
|
|
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
|
|
anchors.verticalCenter: parent.verticalCenter
|
|
|
|
|
2012-07-24 07:30:08 +02:00
|
|
|
@onEnter: accept()
|
|
|
|
@onEscape: destroy()
|
2012-07-15 13:49:28 +02:00
|
|
|
|
|
|
|
// Creature Boxes
|
|
|
|
|
|
|
|
Creature
|
|
|
|
id: outfitCreatureBox
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.left: parent.left
|
|
|
|
margin-top: 48
|
|
|
|
margin-left: 40
|
|
|
|
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-24 07:30:08 +02:00
|
|
|
@onClick: 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-24 07:30:08 +02:00
|
|
|
@onClick: previousOutfitType()
|
2012-07-15 13:49:28 +02:00
|
|
|
|
|
|
|
Creature
|
|
|
|
id: mountCreatureBox
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.right: parent.right
|
|
|
|
margin-top: 48
|
|
|
|
margin-right: 40
|
|
|
|
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-24 07:30:08 +02:00
|
|
|
@onClick: 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-24 07:30:08 +02:00
|
|
|
@onClick: 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
|
|
|
|
margin-left: 18
|
|
|
|
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-24 07:30:08 +02:00
|
|
|
@onClick: randomize()
|
2012-07-15 13:49:28 +02:00
|
|
|
|
|
|
|
HorizontalSeparator
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.right: parent.right
|
|
|
|
anchors.bottom: next.top
|
|
|
|
margin-left: 16
|
|
|
|
margin-right: 16
|
|
|
|
margin-bottom: 10
|
|
|
|
margin-top: 5
|
|
|
|
|
|
|
|
Button
|
|
|
|
id: outfitOkButton
|
|
|
|
!text: tr('Okay')
|
|
|
|
width: 64
|
|
|
|
anchors.right: next.left
|
|
|
|
anchors.bottom: parent.bottom
|
|
|
|
margin-bottom: 16
|
|
|
|
margin-right: 16
|
2012-07-24 07:30:08 +02:00
|
|
|
@onClick: 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
|
|
|
|
margin-bottom: 16
|
|
|
|
margin-right: 16
|
2012-07-24 07:30:08 +02:00
|
|
|
@onClick: destroy()
|