c++ - How to position item, Qpixmap, Qstring in a QGraphicScene/QGraphicView in qt? -
i add qpixmap , string qgraphicscene , setscene qgraphicview. qpixmap , string stay in middle of qgraphicscene. how can change position of these? can use layout manager this?
you can use qgraphicsitem::setpos
function set position of item.
Comments
Post a Comment