You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
latte-dock/declarativeimports/components/CheckBox.qml

26 lines
503 B
QML

/*
SPDX-FileCopyrightText: 2019 Michail Vourlakos <mvourlakos@gmail.com>
This file is part of Latte-Dock
SPDX-License-Identifier: GPL-2.0-or-later
*/
import org.kde.plasma.components 2.0 as PlasmaComponents
import "private" as Private
PlasmaComponents.CheckBox {
property int value: 0
onValueChanged: {
if (partiallyCheckedEnabled) {
checkedState = value;
} else {
checked = value;
}
}
style: Private.CheckBoxStyle {}
}