mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
- button style + icons - try to fix mac text edition error - disabled color considering lightness - fix #LINQT-1524 avatar secured border - fix #LINQT-1525 padding add participant form - fix #LINQT-1537 more options menu in call - fix #LINQT-1538 floating header in parameters - fix #LINQT-1539 display name in conf info participants list - fix #LINQT-1462 rm waiting time
37 lines
968 B
QML
37 lines
968 B
QML
import QtQuick
|
|
import QtQuick.Controls.Basic as Control
|
|
import Linphone
|
|
import QtQuick.Effects
|
|
|
|
Control.CheckBox {
|
|
id: mainItem
|
|
hoverEnabled: enabled
|
|
indicator: Item{
|
|
implicitWidth: 20 * DefaultStyle.dp
|
|
implicitHeight: 20 * DefaultStyle.dp
|
|
x: (parent.width - width) / 2
|
|
y: (parent.height - height) / 2
|
|
Rectangle {
|
|
id: backgroundArea
|
|
anchors.fill: parent
|
|
radius: 3 * DefaultStyle.dp
|
|
border.color: mainItem.hovered || mainItem.activeFocus ? DefaultStyle.main1_600 : DefaultStyle.main1_500_main
|
|
border.width: 2 * DefaultStyle.dp
|
|
color: mainItem.checked ? DefaultStyle.main1_500_main : "transparent"
|
|
EffectImage {
|
|
visible: mainItem.checked
|
|
imageSource: AppIcons.check
|
|
colorizationColor: DefaultStyle.grey_0
|
|
anchors.fill: parent
|
|
}
|
|
}
|
|
}
|
|
|
|
MouseArea {
|
|
id: mouseArea
|
|
anchors.fill: parent
|
|
hoverEnabled: true
|
|
cursorShape: containsMouse ? Qt.PointingHandCursor : Qt.ArrowCursor
|
|
acceptedButtons: Qt.NoButton
|
|
}
|
|
}
|