Files
RedBear-OS/recipes/wip/qt/qtquick3d/source/examples/quick3d/particles3d/CustomCheckBox.qml
T
vasilito ff4ff35918 feat: track all source trees in git — full fork offline-first model
Red Bear OS is a full fork. All sources must be available from git clone
with zero network access. Removed gitignore rules that excluded fetched
source trees under recipes/*/source/, local/recipes/kde/*/source/,
local/recipes/qt/*/source/, and vendor source trees.

Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded.

127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt
frameworks, mesa, wayland, DRM drivers, and every other recipe source.
2026-05-14 10:55:53 +01:00

47 lines
1.3 KiB
QML

// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
Item {
property alias text: propText.text
property alias checked: checkBox.checked
width: rowLayout.width
height: rowLayout.height
RowLayout {
id: rowLayout
CheckBox {
id: checkBox
indicator: Rectangle {
anchors.centerIn: parent
implicitWidth: 20
implicitHeight: 20
radius: 5
color: checkBox.pressed ? "#d0d0d0" : "#606060"
border.color: "#848895"
Rectangle {
anchors.centerIn: parent
implicitWidth: 12
implicitHeight: 12
radius: 4
color: "#ffffff"
border.color: "#848895"
visible: checkBox.checked
}
}
}
Label {
id: propText
color: "#f0f0f0"
font.pointSize: AppSettings.fontSizeSmall
Layout.minimumWidth: 150
Layout.maximumWidth: 150
opacity: checkBox.checked ? 1.0 : 0.5
}
}
}