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

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -