tibia-client/modules/client_modulemanager/modulemanager.otui

155 lines
3.2 KiB
Plaintext
Raw Normal View History

2012-02-06 02:44:47 +01:00
ModuleListLabel < Label
font: verdana-11px-monochrome
background-color: alpha
text-offset: 2 0
focusable: true
2012-02-06 20:19:47 +01:00
color: #cccccc
2012-02-06 02:44:47 +01:00
$focus:
color: #ffffff
2012-02-06 20:19:47 +01:00
$on:
background-color: #006600
$!on:
background-color: #660000
$on focus:
background-color: #004400
$!on focus:
background-color: #440000
2012-02-06 02:44:47 +01:00
ModuleInfoLabel < Label
$!first:
margin-top: 5
margin-bottom: 2
2012-06-19 10:46:49 +02:00
ModuleValueLabel < FlatLabel
2012-02-06 02:44:47 +01:00
font: verdana-11px-antialised
color: #aaaaaa
2012-04-30 18:40:12 +02:00
text-offset: 2 3
padding-bottom: 5
height: 20
2012-02-06 02:44:47 +01:00
MainWindow
id: moduleManagerWindow
2012-04-30 18:40:12 +02:00
size: 450 450
!text: tr('Module Manager')
2012-02-06 02:44:47 +01:00
@onEscape: modules.client_modulemanager.hide()
2012-02-06 02:44:47 +01:00
TextList
id: moduleList
anchors.top: parent.top
anchors.left: parent.left
anchors.bottom: parent.bottom
2012-04-30 18:40:12 +02:00
width: 190
2012-02-06 02:44:47 +01:00
padding: 1
focusable: false
margin-bottom: 30
2012-04-30 18:40:12 +02:00
vertical-scrollbar: moduleListScrollBar
VerticalScrollBar
id: moduleListScrollBar
anchors.top: moduleList.top
anchors.bottom: moduleList.bottom
anchors.left: moduleList.right
step: 14
pixels-scroll: true
2012-02-06 02:44:47 +01:00
Button
2012-02-06 20:19:47 +01:00
id: refreshModulesButton
2012-02-06 02:44:47 +01:00
anchors.top: moduleList.bottom
2012-02-06 20:19:47 +01:00
anchors.left: moduleList.left
2012-02-06 02:44:47 +01:00
margin-top: 8
!text: tr('Refresh')
2012-04-30 18:40:12 +02:00
text-auto-resize: true
@onClick: modules.client_modulemanager.refreshModules()
2012-02-06 02:44:47 +01:00
2012-02-06 20:19:47 +01:00
Button
id: reloadAllModulesButton
anchors.top: moduleList.bottom
2012-04-30 18:40:12 +02:00
anchors.right: moduleListScrollBar.right
2012-02-06 20:19:47 +01:00
margin-top: 8
!text: tr('Reload All')
2012-04-30 18:40:12 +02:00
text-auto-resize: true
@onClick: modules.client_modulemanager.reloadAllModules()
2012-02-06 20:19:47 +01:00
2012-02-06 02:44:47 +01:00
Panel
id: moduleInfo
2012-04-30 18:40:12 +02:00
anchors.left: moduleListScrollBar.right
2012-02-06 02:44:47 +01:00
anchors.top: parent.top
anchors.right: parent.right
margin: 0 5 5 15
2012-04-30 18:40:12 +02:00
layout:
type: verticalBox
fit-children: true
2012-02-06 20:19:47 +01:00
height: 265
2012-02-06 02:44:47 +01:00
ModuleInfoLabel
!text: tr('Module name')
2012-02-06 02:44:47 +01:00
ModuleValueLabel
id: moduleName
ModuleInfoLabel
!text: tr('Description')
2012-02-06 02:44:47 +01:00
ModuleValueLabel
id: moduleDescription
text-wrap: true
2012-04-30 18:40:12 +02:00
height: 100
2012-02-06 02:44:47 +01:00
//ModuleInfoLabel
// !text: tr('Autoload')
2012-02-06 02:44:47 +01:00
//ModuleValueLabel
// id: moduleAutoload
//ModuleInfoLabel
// !text: tr('Autoload priority')
2012-02-06 02:44:47 +01:00
//ModuleValueLabel
// id: moduleLoadPriority
2012-02-06 02:44:47 +01:00
// text: 1000
ModuleInfoLabel
!text: tr('Author')
2012-02-06 02:44:47 +01:00
ModuleValueLabel
id: moduleAuthor
ModuleInfoLabel
!text: tr('Website')
2012-04-30 18:40:12 +02:00
TextEdit
2012-02-06 02:44:47 +01:00
id: moduleWebsite
ModuleInfoLabel
!text: tr('Version')
2012-02-06 02:44:47 +01:00
ModuleValueLabel
id: moduleVersion
Button
2012-02-06 20:19:47 +01:00
id: moduleReloadButton
2012-02-06 02:44:47 +01:00
anchors.top: moduleInfo.bottom
anchors.left: moduleInfo.left
margin-top: 8
!text: tr('Load')
enabled: false
2012-04-30 18:40:12 +02:00
width: 90
@onClick: modules.client_modulemanager.reloadCurrentModule()
2012-02-06 02:44:47 +01:00
Button
id: moduleUnloadButton
anchors.top: moduleInfo.bottom
anchors.right: moduleInfo.right
margin-left: 10
margin-top: 8
!text: tr('Unload')
enabled: false
2012-04-30 18:40:12 +02:00
width: 90
@onClick: modules.client_modulemanager.unloadCurrentModule()
2012-02-06 02:44:47 +01:00
Button
id: closeButton
anchors.bottom: parent.bottom
anchors.right: parent.right
!text: tr('Close')
2012-04-30 18:40:12 +02:00
width: 90
@onClick: modules.client_modulemanager.hide()