mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
Display hand cursor on radio buttons.
Expand click size area on radiobuttons in call menu.
This commit is contained in:
parent
53abdf6f06
commit
70857601ff
2 changed files with 19 additions and 4 deletions
|
|
@ -17,6 +17,14 @@ Control.RadioButton{
|
|||
font.pointSize: RadioButtonStyle.pointSize
|
||||
spacing: 10
|
||||
FontMetrics{id: fontMetrics}
|
||||
|
||||
MouseArea{
|
||||
anchors.fill:parent
|
||||
hoverEnabled: true
|
||||
acceptedButtons: Qt.NoButton
|
||||
cursorShape: containsMouse ? Qt.PointingHandCursor : Qt.ArrowCursor
|
||||
}
|
||||
|
||||
indicator: Rectangle {
|
||||
height: fontMetrics.height - 5
|
||||
width: height
|
||||
|
|
|
|||
|
|
@ -166,13 +166,16 @@ Rectangle{
|
|||
font.pointSize: IncallMenuStyle.list.pointSize
|
||||
color: IncallMenuStyle.list.color
|
||||
}
|
||||
ActionButton{
|
||||
Icon{
|
||||
Layout.minimumWidth: iconWidth
|
||||
Layout.rightMargin: 10
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
backgroundRadius: width/2
|
||||
isCustom: true
|
||||
colorSet: IncallMenuStyle.buttons.next
|
||||
//backgroundRadius: width/2
|
||||
|
||||
icon: IncallMenuStyle.buttons.next.icon
|
||||
overwriteColor: IncallMenuStyle.buttons.next.backgroundNormalColor
|
||||
iconWidth: IncallMenuStyle.buttons.next.iconSize
|
||||
iconHeight: IncallMenuStyle.buttons.next.iconSize
|
||||
}
|
||||
}
|
||||
MouseArea{
|
||||
|
|
@ -236,6 +239,10 @@ Rectangle{
|
|||
Layout.preferredHeight: Math.max(layoutIcon.height, radio.contentItem.implicitHeight) + 20
|
||||
Layout.fillWidth: true
|
||||
enabled: mainItem.callModel && !mainItem.callModel.updating
|
||||
MouseArea{
|
||||
anchors.fill: parent
|
||||
onClicked: radio.clicked()
|
||||
}
|
||||
RowLayout{
|
||||
anchors.fill: parent
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue