Solved Write text in graphical item & Parent child relationship between graphical item....
-
Hello,
How to write text into graphical item and also how to form parent child relationship and get position of parent item so that child item can be drawn inside parent item and also provide text inside the child item.
Many Thanks -
@ShrikantAmbade
what do you mean with "graphical item"?
Do you mean QGraphicsItem? -
@raven-worx yes
-
@ShrikantAmbade
have you looked at QGraphicsItem API?
It has all methods pointed out very clearly: setParent(), setPos()And there is also a QGraphicsTextItem available
-
@raven-worx Thank you dear I will look into it