mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 13:54:57 +00:00
- Register all new components in qml/MetaBuilder/qmldir - Fix backgroundColor → bgColor in 18 PackageView files - Fix SMTP signal handlers: onHostChanged → onHostEdited (matching actual signals) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
51 lines
1.4 KiB
QML
51 lines
1.4 KiB
QML
import QtQuick
|
|
import QtQuick.Layouts
|
|
import QmlComponents 1.0
|
|
|
|
CPaper {
|
|
id: packageCard
|
|
width: 460
|
|
height: 320
|
|
property string title: "Community Forum"
|
|
property string subtitle: "v1.0.0"
|
|
property var dependenciesList: ["profile_page", "guestbook"]
|
|
|
|
ColumnLayout {
|
|
anchors.fill: parent
|
|
anchors.margins: 18
|
|
spacing: 12
|
|
|
|
RowLayout {
|
|
spacing: 12
|
|
CAvatar { initials: title.left(2).toUpper(); bgColor: Theme.primary }
|
|
ColumnLayout {
|
|
spacing: 4
|
|
CText { variant: "h3"; text: title }
|
|
CText { variant: "body1"; text: subtitle }
|
|
}
|
|
Item { Layout.fillWidth: true }
|
|
CBadge { text: dependenciesList.length ? "Dependency package" : "Standalone"; accent: dependenciesList.length > 0 }
|
|
}
|
|
|
|
Text {
|
|
text: "Threaded discussions with tagging and moderation tools."
|
|
font.pixelSize: 14
|
|
color: Theme.text
|
|
wrapMode: Text.WordWrap
|
|
}
|
|
|
|
RowLayout {
|
|
spacing: 8
|
|
CChip { text: "Adaptive layout" }
|
|
CChip { text: "Realtime telemetry" }
|
|
CChip { text: "Community moderation" }
|
|
}
|
|
|
|
RowLayout {
|
|
spacing: 8
|
|
CButton { text: "Install" }
|
|
CButton { text: "Dependency graph"; variant: "ghost" }
|
|
}
|
|
}
|
|
}
|