PDA

View Full Version : QGraphicsTextItem position



harmodrew
2nd September 2010, 19:41
Hello!

I've searched in the documentation but I didn't find what I need...so please, could you tell me how can I change the position of a QGraphicsTextItem object in a QGraphicsScene?

Or, how can I set the position of the text written by using QGraphicsScene::addText(QString &text)?

Thanks

Lykurg
2nd September 2010, 21:03
I've searched in the documentation but I didn't find what I need...Then you should spend some time to get familiar with the documentation and its search! QGraphicsItem::setPos().