mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-02-07 15:08:24 +00:00
26 lines
592 B
QML
26 lines
592 B
QML
import QtQuick 2.7
|
|
import QtQuick.Controls 2.2 as Control
|
|
import Linphone
|
|
|
|
Control.CheckBox {
|
|
id: mainItem
|
|
|
|
indicator: Rectangle {
|
|
implicitWidth: 18
|
|
implicitHeight: 18
|
|
x: (parent.width - width) / 2
|
|
y: (parent.height - height) / 2
|
|
radius: 3
|
|
border.color: DefaultStyle.checkboxBorderColor
|
|
border.width: DefaultStyle.checkboxBorderWidth
|
|
// color: mainItem.checked ? DefaultStyle.checkboxBorderColor : "transparent"
|
|
|
|
Text {
|
|
visible: mainItem.checked
|
|
text: "\u2714"
|
|
font.pointSize: 18
|
|
color: DefaultStyle.checkboxBorderColor
|
|
anchors.centerIn: parent
|
|
}
|
|
}
|
|
}
|