2 import Sailfish.Silica 1.0
4 // This component blocks all components under it and displays a dark background
8 // clicked signal is emitted when the component is clicked
18 onClicked: interactionBlocker.clicked()
20 // use a timer to delay the visibility of interaction blocker by adjusting opacity
21 // this is done to prevent flashing if the file operation is fast
23 if (visible === true) {
24 interactionBlocker.opacity = 0;
34 interactionBlocker.opacity = 0.3;