tibia-client/modules/game_outfit/outfit.otui

146 lines
2.8 KiB
Plaintext
Raw Normal View History

2011-11-14 23:32:55 +01:00
Window
!text: tr('Select Outfit')
2011-11-16 19:52:41 +01:00
size: 550 280
2012-02-08 02:33:08 +01:00
padding: 0 0 0 0
2011-11-14 23:32:55 +01:00
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
2011-11-17 22:41:02 +01:00
@onEnter: Outfit.accept()
@onEscape: Outfit.destroy()
2011-11-16 03:51:14 +01:00
Label
id: outfitName
!text: tr('Outfit Name')
2011-11-16 03:51:14 +01:00
width: 100
2011-11-14 23:32:55 +01:00
anchors.top: parent.top
anchors.left: parent.left
2011-11-17 22:41:02 +01:00
margin-top: 34
margin-left: 20
2011-11-16 03:51:14 +01:00
Creature
id: outfitCreatureBox
anchors.top: outfitName.bottom
anchors.left: outfitName.left
2011-11-17 22:41:02 +01:00
margin-top: 5
padding: 4 4 4 4
2012-02-08 02:33:08 +01:00
fixed-creature-size: true
2011-11-17 22:41:02 +01:00
Panel
id: colorBoxPanel
anchors.top: parent.top
anchors.right: parent.right
margin-top: 54
margin-right: 20
width: 323
height: 119
layout:
type: grid
cell-size: 16 16
cell-spacing: 2
num-columns: 19
num-lines: 7
ButtonBox
2011-11-16 19:52:41 +01:00
id: head
!text: tr('Head')
anchors.top: outfitCreatureBox.top
anchors.left: outfitCreatureBox.right
2011-11-17 22:41:02 +01:00
margin-left: 10
checked: true
width: 90
2011-11-17 22:41:02 +01:00
ButtonBox
2011-11-16 19:52:41 +01:00
id: primary
!text: tr('Primary')
2011-11-16 19:52:41 +01:00
anchors.top: prev.bottom
anchors.left: prev.left
width: 90
2011-11-17 22:41:02 +01:00
ButtonBox
2011-11-16 19:52:41 +01:00
id: secondary
!text: tr('Secondary')
2011-11-16 19:52:41 +01:00
anchors.top: prev.bottom
anchors.left: prev.left
width: 90
2011-11-17 22:41:02 +01:00
ButtonBox
2011-11-16 19:52:41 +01:00
id: detail
!text: tr('Detail')
2011-11-16 19:52:41 +01:00
anchors.top: prev.bottom
anchors.left: prev.left
width: 90
2011-11-16 03:51:14 +01:00
2011-11-15 03:04:07 +01:00
Button
id: outfitNextButton
2011-11-16 03:51:14 +01:00
@onClick: Outfit.nextType()
text: >>
2011-11-15 03:04:07 +01:00
width: 32
2011-11-17 22:41:02 +01:00
margin-top: 4
anchors.top: outfitCreatureBox.bottom
anchors.right: outfitCreatureBox.right
2011-11-15 03:04:07 +01:00
Button
id: outfitPreviousButton
2011-11-16 03:51:14 +01:00
@onClick: Outfit.previousType()
text: <<
2011-11-15 03:04:07 +01:00
width: 32
2011-11-17 22:41:02 +01:00
margin-top: 4
anchors.top: outfitCreatureBox.bottom
anchors.left: outfitCreatureBox.left
2011-11-16 03:51:14 +01:00
CheckBox
2011-11-16 08:20:14 +01:00
id: addon1
!text: tr('Addon 1')
2011-11-16 03:51:14 +01:00
enabled: false
margin-top: 6
2011-11-16 03:51:14 +01:00
width: 100
anchors.top: prev.bottom
anchors.left: prev.left
2011-11-16 03:51:14 +01:00
CheckBox
2011-11-16 08:20:14 +01:00
id: addon2
!text: tr('Addon 2')
2011-11-16 03:51:14 +01:00
enabled: false
margin-top: 2
2011-11-16 03:51:14 +01:00
width: 100
anchors.top: prev.bottom
anchors.left: prev.left
2011-11-16 03:51:14 +01:00
CheckBox
2011-11-16 08:20:14 +01:00
id: addon3
!text: tr('Addon 3')
2011-11-16 03:51:14 +01:00
enabled: false
margin-top: 2
2011-11-16 03:51:14 +01:00
width: 100
anchors.top: prev.bottom
anchors.left: prev.left
2011-11-14 23:32:55 +01:00
HorizontalSeparator
anchors.left: parent.left
anchors.right: parent.right
anchors.bottom: next.top
2011-11-17 22:41:02 +01:00
margin-left: 16
margin-right: 16
margin-bottom: 10
2011-11-14 23:32:55 +01:00
Button
id: outfitOkButton
!text: tr('Ok')
2011-11-14 23:32:55 +01:00
width: 64
anchors.right: next.left
anchors.bottom: parent.bottom
2011-11-17 22:41:02 +01:00
margin-bottom: 16
margin-right: 16
2011-11-16 00:47:32 +01:00
@onClick: Outfit.accept()
2011-11-14 23:32:55 +01:00
Button
id: outfitCancelButton
!text: tr('Cancel')
2011-11-14 23:32:55 +01:00
width: 64
anchors.right: parent.right
anchors.bottom: parent.bottom
2011-11-17 22:41:02 +01:00
margin-bottom: 16
margin-right: 16
2011-11-16 00:47:32 +01:00
@onClick: Outfit.destroy()