PropagateComposedEvents to ComboBox not work
-
I know that documentation mentions propagateComposedEvents events works for MouseArea. But What If I want it to work for combo box or another Qt Quick Component? Is there any work around?
Following sample code doesn't trigger Combo Box click event.
@Rectangle{
width: 800
height: 600ComboBox { id: combo anchors.centerIn: parent model: ListModel{ ListElement { text: "Banana"; color: "Yellow" } ListElement { text: "Apple"; color: "Green" } ListElement { text: "Coconut"; color: "Brown" } } } MouseArea{ id:mouseArea anchors.fill: parent hoverEnabled: true propagateComposedEvents: true onContainsMouseChanged: { console.log("mouseArea containsMouse:" + mouseArea.containsMouse); } } }@