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

visible area of an children Rectangle

$
0
0
Hello, i trying for hours now ^^ can u help me in my problem ? transleted in a simple application: import QtQuick 1.1   Rectangle {     width: 360     height: 360     id: abc       Rectangle {         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

Viewing all articles
Browse latest Browse all 4972

Trending Articles