OpacityMask
Unsolved
Brainstorm
-
Hello everyone,
first of all, I would like to apologize for my poor level of English ;)
I have a question about OpacityMask in QT Designer.
I have 2 pictures ( a Image1 and a Mask ), And I want to move the mask on the picture.
I need to make the image appear gradually, and use a specific mask picture.But when I use OpacityMask, it doesn't take into account the position of my mask. The two pictures are always aligned.
Actually I want to do like this :
Image { id: picture1 x: 0 y: 0 source: "Assets/picture1.png" visible: false } Image { id: picture1_Mask x: 10 y: 0 source: "Assets/picture1_Mask.png" visible: false } OpacityMask { id: result source: picture1 maskSource: picture1_Mask }
I want to see my picture on [0-10] in this example and start the mask at 10.
Does anyone have a solution for my problem?
Thanks