mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
24 lines
625 B
QML
24 lines
625 B
QML
import QtQuick 2.7
|
|
import QtQuick.Controls 2.2 as Control
|
|
import Linphone
|
|
|
|
Control.CheckBox {
|
|
id: mainItem
|
|
|
|
indicator: Rectangle {
|
|
implicitWidth: 20 * DefaultStyle.dp
|
|
implicitHeight: 20 * DefaultStyle.dp
|
|
x: (parent.width - width) / 2
|
|
y: (parent.height - height) / 2
|
|
radius: 3 * DefaultStyle.dp
|
|
border.color: DefaultStyle.main1_500_main
|
|
border.width: 2.2 * DefaultStyle.dp
|
|
// color: mainItem.checked ? DefaultStyle.main1_500_main : "transparent"
|
|
EffectImage {
|
|
visible: mainItem.checked
|
|
imageSource: AppIcons.check
|
|
colorizationColor: DefaultStyle.main1_500_main
|
|
anchors.fill: parent
|
|
}
|
|
}
|
|
}
|