Warning, /education/gcompris/external/qml-box2d/examples/weld/Wall.qml is written in an unsupported language. File is not indexed.

0001 import QtQuick 2.2
0002 import Box2D 2.0
0003 import "../shared"
0004 
0005 PhysicsItem {
0006     id: wall
0007 
0008     fixtures: Box {
0009         width: wall.width
0010         height: wall.height
0011         friction: 1
0012         density: 1
0013     }
0014 
0015     Image {
0016         source: "images/wall.jpg"
0017         fillMode: Image.Tile
0018         anchors.fill: parent
0019     }
0020 }