Files
metabuilder/qml/MetaBuilder/CSuperGodHeader.qml
johndoe6345789 6e394d7846 style(qt6): 80-char margin enforced — 737 violations → 29 remaining
191 files reformatted across views, components, widgets, hybrid, contexts.
New components: CCreateSchemaDialog, CAddFieldDialog, CAdminContentPanel.
JS helpers: connBadgeStatus/Text, adminStats, exampleLabels, onLevelClicked.

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

55 lines
1.5 KiB
QML

import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import QmlComponents 1.0
CCard {
id: root
// ── Data properties ──
property int tenantCount: 0
property int godUserCount: 0
property int pendingTransferCount: 0
// ── Navigation signals ──
signal navigateToLevel(int level)
FlexRow {
Layout.fillWidth: true
spacing: 12
CText { variant: "h2"; text: "Super God Panel" }
CBadge { text: "Level 5"; badgeColor: Theme.primary }
CStatusBadge { status: "success"; text: "Platform Control" }
Item { Layout.fillWidth: true }
CButton {
text: "Level 4"; variant: "ghost"; size: "sm"
onClicked: root.navigateToLevel(4)
}
CButton {
text: "Level 3"; variant: "ghost"; size: "sm"
onClicked: root.navigateToLevel(3)
}
CButton {
text: "Level 2"; variant: "ghost"; size: "sm"
onClicked: root.navigateToLevel(2)
}
}
CDivider { Layout.fillWidth: true }
FlexRow {
Layout.fillWidth: true
spacing: 8
CChip { text: root.tenantCount + " Tenants"; chipColor: Theme.primary }
CChip { text: root.godUserCount + " God Users"
chipColor: Theme.primary }
CChip { text: root.pendingTransferCount + " Pending Transfers"
chipColor: Theme.warning }
CChip { text: "14 DB Backends"; chipColor: Theme.info }
CChip { text: "4 Daemons"; chipColor: Theme.success }
}
}