Files
metabuilder/qml/Material/MaterialLinearProgress.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

25 lines
643 B
QML

import QtQuick
import "MaterialPalette.qml" as MaterialPalette
Rectangle {
id: progress
property real value: 0
property real minValue: 0
property real maxValue: 1
implicitHeight: 6
width: parent ? parent.width : 160
radius: 3
color: MaterialPalette.surfaceVariant
Rectangle {
anchors.verticalCenter: parent.verticalCenter
y: (parent.height - height) / 2
height: parent.height
width: ((progress.value - progress.minValue) / Math.max(0.0001,
progress.maxValue - progress.minValue)) * parent.width
radius: 3
color: MaterialPalette.primary
}
}