Nezgal
24th May 2013, 20:14
Hi!
I'm very new at Qt and I need to be able to write text in a QGraphicsRectItem. I tried making a class inheriting from QGraphicsRectItem and QGraphicsTextItem and then use setPlainText but the text won't show up. What do I have to do and how?
I'm using Python.
Thank you very much!
I'm very new at Qt and I need to be able to write text in a QGraphicsRectItem. I tried making a class inheriting from QGraphicsRectItem and QGraphicsTextItem and then use setPlainText but the text won't show up. What do I have to do and how?
I'm using Python.
Thank you very much!