Files
metabuilder/qml/MetaBuilder/LuaScriptInfoSection.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

22 lines
530 B
QML

import QtQuick
import QtQuick.Layouts
import QmlComponents 1.0
ColumnLayout {
id: root
property string currentCode: ""
Layout.fillWidth: true
spacing: 12
CDivider { Layout.fillWidth: true }
CText { variant: "h4"; text: "Info" }
CText { variant: "caption"; text: "LINES OF CODE" }
CText { variant: "body2"; text: currentCode.split("\n").length.toString() }
CText { variant: "caption"; text: "SIZE" }
CText { variant: "body2"
text: (currentCode.length / 1024).toFixed(1) + " KB" }
}