Rotating Items



  • I'm really new at C++, and this Qt thing. I'm trying to create a GUI Application, to plot some graphics.
    I'm aware of QGraphicsView, and I've made my own graphic (with grids and stuff), it's pretty much ready to go.

    But there's a problem, I want to rotate my Y-axis label, like we're used to see them. I've used QGraphicsView::rotate, but it's kinda ugly, and not really professional. I wanted to know if there's a better way to do this (maybe with QTransform, I didn't have the time to check yet). All I want is to get a label displayed with a -90º rotation.

    I'm sorry if there's already a topic about this, if you could link it to me, would be awesome.

    Thanks in advance.

    PF91


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.