Files
metabuilder/qml/MetaBuilder/LuaOutputPanel.qml
johndoe6345789 311fb4db38 refactor(qt6): deep split round — targeting 200 LOC views, 100 LOC components
SuperGodPanel (604→~200): CTenantTab, CGodUsersTab, CTransferTab, CSystemTab, CSuperGodDialogs
WorkflowEditor (443→325): WorkflowMutations.js + WorkflowDBAL.js pure modules
ThemeLivePreview (256→87): ThemePreviewCard, ThemePreviewForm
CNodePropertiesPanel (238→143): CNodeParameterList, CNodePortsDisplay
MediaTvTab, WorkflowNode, CssPropertyEditor split to ~100 each
+ mid-size view trims (MediaService, Admin, PackageMgr, Storybook, GodPanel)

113→120+ components, avg component LOC approaching 90.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-19 14:42:51 +00:00

57 lines
1.4 KiB
QML

import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import QmlComponents 1.0
Rectangle {
id: outputPanel
Layout.fillWidth: true
Layout.preferredHeight: 220
color: Theme.paper
border.color: Theme.border
border.width: 1
property var params: []
property string testOutput: ""
property string securityScanResult: ""
property string scriptName: ""
signal executeTest(var args)
signal clearOutput()
signal paramValueChanged(int index, string value)
RowLayout {
anchors.fill: parent
anchors.margins: 14
spacing: 14
LuaTestInputPanel {
params: outputPanel.params
onExecuteTest: function(args) { outputPanel.executeTest(args) }
onParamValueChanged: function(index, value) { outputPanel.paramValueChanged(index, value) }
}
Rectangle {
Layout.preferredWidth: 1
Layout.fillHeight: true
color: Theme.border
}
LuaOutputConsole {
testOutput: outputPanel.testOutput
securityScanResult: outputPanel.securityScanResult
onClearOutput: outputPanel.clearOutput()
}
Rectangle {
Layout.preferredWidth: 1
Layout.fillHeight: true
color: Theme.border
}
LuaSecurityPanel {
securityScanResult: outputPanel.securityScanResult
}
}
}