You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

21 lines
559 B

// SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project
// SPDX-License-Identifier: GPL-3.0-or-later
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
CheckBox {
property bool force: false
property var setting
property var field
property var other: setting.other === null ? field : setting.other
indicator.implicitHeight: 25
indicator.implicitWidth: 25
checked: visible ? other.value : true
onClicked: if (visible)
other.value = checked
visible: setting.other !== null || force
}