Qt 4.8
|
The PathPercent manipulates the way a path is interpreted. More...
The PathPercent manipulates the way a path is interpreted.
PathPercent allows you to manipulate the spacing between items on a PathView's path. You can use it to bunch together items on part of the path, and spread them out on other parts of the path.
The examples below show the normal distrubution of items along a path compared to a distribution which places 50% of the items along the PathLine section of the path.
PathView { // ... Path { startX: 20; startY: 0 PathQuad { x: 50; y: 80; controlX: 0; controlY: 80 } PathPercent { value: 0.25 } PathLine { x: 150; y: 80 } PathPercent { value: 0.75 } PathQuad { x: 180; y: 0; controlX: 200; controlY: 80 } PathPercent { value: 1 } } } |