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
|
|
|
|
|
|
|
|
ModuleValueLabel < UILabel
|
|
|
|
font: verdana-11px-antialised
|
|
|
|
color: #aaaaaa
|
|
|
|
text-offset: 3 0
|
2012-02-20 03:27:08 +01:00
|
|
|
image-source: /core_styles/styles/images/panel_flat.png
|
2012-02-06 02:44:47 +01:00
|
|
|
image-border: 1
|
2012-02-06 20:19:47 +01:00
|
|
|
height: 16
|
2012-02-06 02:44:47 +01:00
|
|
|
|
|
|
|
MainWindow
|
|
|
|
id: moduleManagerWindow
|
2012-02-06 20:19:47 +01:00
|
|
|
size: 480 450
|
2012-02-06 02:44:47 +01:00
|
|
|
text: Module Manager
|
|
|
|
|
|
|
|
@onEscape: ModuleManager.hide()
|
|
|
|
|
|
|
|
TextList
|
|
|
|
id: moduleList
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.bottom: parent.bottom
|
|
|
|
width: 180
|
|
|
|
padding: 1
|
|
|
|
focusable: false
|
|
|
|
margin-bottom: 30
|
|
|
|
|
|
|
|
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
|
2012-02-06 20:19:47 +01:00
|
|
|
width: 80
|
2012-02-06 02:44:47 +01:00
|
|
|
text: Refresh
|
|
|
|
@onClick: ModuleManager.refreshModules()
|
|
|
|
|
2012-02-06 20:19:47 +01:00
|
|
|
Button
|
|
|
|
id: reloadAllModulesButton
|
|
|
|
anchors.top: moduleList.bottom
|
|
|
|
anchors.right: moduleList.right
|
|
|
|
margin-top: 8
|
|
|
|
width: 80
|
|
|
|
text: Reload All
|
|
|
|
@onClick: ModuleManager.reloadAllModules()
|
|
|
|
|
2012-02-06 02:44:47 +01:00
|
|
|
Panel
|
|
|
|
id: moduleInfo
|
|
|
|
anchors.left: moduleList.right
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.right: parent.right
|
|
|
|
margin: 0 5 5 15
|
2012-02-06 20:19:47 +01:00
|
|
|
layout: verticalBox
|
|
|
|
height: 265
|
2012-02-06 02:44:47 +01:00
|
|
|
|
|
|
|
ModuleInfoLabel
|
|
|
|
text: Module name
|
|
|
|
ModuleValueLabel
|
|
|
|
id: moduleName
|
|
|
|
|
|
|
|
ModuleInfoLabel
|
|
|
|
text: Description
|
|
|
|
ModuleValueLabel
|
|
|
|
id: moduleDescription
|
|
|
|
height: 100
|
|
|
|
|
|
|
|
//ModuleInfoLabel
|
|
|
|
// text: Autoload
|
|
|
|
//ModuleValueLabel
|
|
|
|
// id: moduleAutoload
|
|
|
|
|
|
|
|
//ModuleInfoLabel
|
2012-02-20 03:27:08 +01:00
|
|
|
// text: Autoload priority
|
2012-02-06 02:44:47 +01:00
|
|
|
//ModuleValueLabel
|
2012-02-20 03:27:08 +01:00
|
|
|
// id: moduleLoadPriority
|
2012-02-06 02:44:47 +01:00
|
|
|
// text: 1000
|
|
|
|
|
|
|
|
ModuleInfoLabel
|
|
|
|
text: Author
|
|
|
|
ModuleValueLabel
|
|
|
|
id: moduleAuthor
|
|
|
|
|
|
|
|
ModuleInfoLabel
|
|
|
|
text: Website
|
|
|
|
ModuleValueLabel
|
|
|
|
id: moduleWebsite
|
|
|
|
|
|
|
|
ModuleInfoLabel
|
|
|
|
text: Version
|
|
|
|
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: Load
|
2012-02-20 03:27:08 +01:00
|
|
|
enabled: false
|
2012-02-06 20:19:47 +01:00
|
|
|
@onClick: 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: Unload
|
2012-02-20 03:27:08 +01:00
|
|
|
enabled: false
|
2012-02-06 02:44:47 +01:00
|
|
|
@onClick: ModuleManager.unloadCurrentModule()
|
|
|
|
|
2012-02-20 03:27:08 +01:00
|
|
|
Button
|
|
|
|
id: closeButton
|
|
|
|
anchors.bottom: parent.bottom
|
|
|
|
anchors.right: parent.right
|
|
|
|
text: Close
|
|
|
|
width: 60
|
|
|
|
@onClick: ModuleManager.hide()
|
|
|
|
|