Files
launcher/legacy/qt/qml/SheetButton.qml
SpriteandClaude Sonnet 5.5 66e8e90da1 Move the existing launcher into legacy/
git mv of everything (web/ android/ qt/ wasi/ android-wasm/ tests/ ci/ pixi.toml
README) so history follows; legacy/ keeps its own .gitignore and a new root
.gitignore starts for the MoonBit project.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 00:55:15 +00:00

26 lines
553 B
QML

import QtQuick
// A row in a sheet's menu.
Rectangle {
id: root
property alias text: label.text
signal clicked()
width: parent ? parent.width : 0
height: 48
radius: 8
color: area.pressed ? "#2e2e36" : "transparent"
Text {
id: label
anchors.left: parent.left
anchors.leftMargin: 8
anchors.verticalCenter: parent.verticalCenter
color: "#fafafa"
font.pixelSize: 16
}
MouseArea {
id: area
anchors.fill: parent
onClicked: root.clicked()
}
}