create a custom QGraphicsItem with both QGraphicsRect and QGraphicsText
and in QGraphicsView class (parent)
QTransform transform;
transform.rotate( 90);
grpahicsItem->setTransform(transform);
Ok, It seems a good solution, but how to obtain a text centered both vetically and horizontally in the rectangle?
Bookmarks