Visible area of an children Rectangle
QML and Qt Quick
6
Posts
2
Posters
1.6k
Views
1
Watching
-
Hello,
i trying for hours now ^^ can u help me in my problem ?
transleted in a simple application:
@import QtQuick 1.1Rectangle {
width: 360
height: 360
id: abcRectangle { id: rect_red x: 68 y: 35 width: 200 height: 200 color: "#e21818" Rectangle { id: rect_blue x: 158 y: 166 width: 89 height: 67 color: "#2200ff" } }}
@is it posible that only the top left corner of the blue rectangle is shown ? only the part of that Rectangle who is inside of the parent Rectangle ?
I need it for a dynamic table in a Flickable Object. Cause The Table should be in the middle of an Application. And the Flickable can make every cell accessible.
layers.sourcerect does not work : cause its unknow (perhapes i need to import something ? )I hope u understand all ^^
thank you for your help :D
-