mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 13:54:57 +00:00
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>
22 lines
530 B
QML
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" }
|
|
}
|