> I can remove the yellow Rectangle but without MouseArea how can I test > that clicking outside the preview emits the close signal?
The InverseMouseArea will take care of that, you don't need the MouseArea, you just need to try and deliver a click to the preview's dismissArea.
mouseClick(preview.dismissArea, 1, 1)
« Back to merge proposal
> I can remove the yellow Rectangle but without MouseArea how can I test
> that clicking outside the preview emits the close signal?
The InverseMouseArea will take care of that, you don't need the MouseArea, you just need to try and deliver a click to the preview's dismissArea.
mouseClick( preview. dismissArea, 1, 1)