mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 13:54:57 +00:00
Continues the a11y pass from the previous commit — adds objectName, Accessible.role, Accessible.name to all remaining qml/MetaBuilder/, qml/qt6/, and qml/widgets/ files. Widget files also get activeFocusOnTab on interactive elements and dynamic Accessible.name bindings. Cleans up redundant addImportPath(projectRoot) call in main.cpp. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
38 lines
765 B
QML
38 lines
765 B
QML
import QtQuick
|
|
import QtQuick.Controls
|
|
import QtQuick.Layouts
|
|
import QmlComponents 1.0
|
|
|
|
CCard {
|
|
id: root
|
|
objectName: "list_activity"
|
|
Accessible.role: Accessible.List
|
|
Accessible.name: "Recent Activity"
|
|
|
|
property var activities: []
|
|
property bool isDark: false
|
|
|
|
variant: "filled"
|
|
|
|
CText {
|
|
Layout.fillWidth: true
|
|
variant: "h4"
|
|
text: "Recent Activity"
|
|
}
|
|
|
|
Item { Layout.preferredHeight: 8 }
|
|
|
|
CDivider { Layout.fillWidth: true }
|
|
|
|
Item { Layout.preferredHeight: 8 }
|
|
|
|
Repeater {
|
|
model: root.activities
|
|
delegate: CListItem {
|
|
Layout.fillWidth: true
|
|
title: modelData.action
|
|
subtitle: modelData.detail + " \u00b7 " + modelData.time
|
|
}
|
|
}
|
|
}
|