Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

MouseArea.pressed name collision

$
0
0
A workaround could be to add to the MouseArea another signal with a name that doesn’t conflict. For ex: MouseArea {             id: bluemouse             signal mousePressed(MouseEvent mouse)             onPressed: bluemouse.mousePressed(mouse)         } This way you could connect() to mousePressed and not have the naming conflict.

Viewing all articles
Browse latest Browse all 4972