Wont things mess up if I continually call a function with
?Qt Code:
item->setPos(100, 100); scene->addItem(item);To copy to clipboard, switch view to plain text mode
Wont things mess up if I continually call a function with
?Qt Code:
item->setPos(100, 100); scene->addItem(item);To copy to clipboard, switch view to plain text mode
Yes of course, but as said, you have to take care yourself for the arrangement of the items in the scene. (Or you could use QGraphicsLinearLayout)
Does QGraphicsLinearLayout automatically arrange the QGraphicsScene items in rows? Like
If it does, how do I implement it? Do I just add the scenes items to a QGraphicLinear layout? Does it also modify the height and width of the item if requested?Qt Code:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0To copy to clipboard, switch view to plain text mode
Bookmarks