You can use QPainter::setViewport() and QPainter::setWindow() to scale coordinates.
Yes, you can do that. QPainter::drawText() has variants that store the bounding rect of the text in a variable you pass to them (look for the "boundingRect" parameter of drawText()). There is also QFontMetrics that can tell you the bounding rectangle of a piece of text.or is it there a way where I can look for bounding condition of the each text.
You don't need GraphicsView for that, you can do it with plain widgets as well.As this will be later done in graphicsscene because there will be mouseevent for each text item etc,
The two technologies differ greatly when it comes to dealing with components (especially handling coordinates) so I suggest you choose one of them at the beggining and stick with it.at present I am not sure as how thing work around graphicsscene so testing in QPainter.
Bookmarks