addLine(0, -100, 0, 100); QGraphicsRectItem* rectItem = scene.addRect(50, 50, 50, 50); In this code, we use the addLine() and addRect() convenience ...
確定! 回上一頁