Qt Quick Organizer List View Example
// Copyright (C) 2026 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause import QtQuick 2.0 Rectangle { signal clicked property alias buttonText: buttonLabel.text radius: 5 height: buttonLabel.height color: "black" border { width: 1 color: "black" } Text { id: buttonLabel font.pixelSize: 12 anchors.centerIn: parent color: "white" } MouseArea { anchors.fill: parent onPressed: { parent.color = "white" } onReleased: { parent.color = "black" parent.clicked() } } }