mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 22:04:56 +00:00
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>
52 lines
1.3 KiB
QML
52 lines
1.3 KiB
QML
import QtQuick
|
|
import QtQuick.Controls
|
|
import QtQuick.Layouts
|
|
import QmlComponents 1.0
|
|
|
|
ColumnLayout {
|
|
id: previewForm
|
|
spacing: 14
|
|
|
|
property string customSurface: "#000000"
|
|
property string customText: "#000000"
|
|
property string customTextSecondary: "#000000"
|
|
property string fontFamily: "Inter"
|
|
property int baseFontSize: 14
|
|
property int radiusSmall: 4
|
|
|
|
// Preview header bar
|
|
Rectangle {
|
|
Layout.fillWidth: true
|
|
Layout.preferredHeight: 44
|
|
radius: radiusSmall
|
|
color: customSurface
|
|
|
|
RowLayout {
|
|
anchors.fill: parent
|
|
anchors.leftMargin: 14
|
|
anchors.rightMargin: 14
|
|
spacing: 12
|
|
|
|
Text {
|
|
text: "MetaBuilder"
|
|
font.pixelSize: baseFontSize + 2
|
|
font.weight: Font.Bold
|
|
font.family: fontFamily
|
|
color: customText
|
|
}
|
|
|
|
Item { Layout.fillWidth: true }
|
|
|
|
Repeater {
|
|
model: ["Dashboard", "Settings", "Help"]
|
|
Text {
|
|
text: modelData
|
|
font.pixelSize: baseFontSize - 1
|
|
font.family: fontFamily
|
|
color: customTextSecondary
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|