1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-10 21:18:19 +03:00
latte-dock/declarativeimports/components/CheckBox.qml
2021-05-27 15:01:00 +00:00

23 lines
465 B
QML

/*
SPDX-FileCopyrightText: 2019 Michail Vourlakos <mvourlakos@gmail.com>
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 {}
}