PauloF91
26th May 2013, 23:16
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. This is kinda of an emergency.
Just one more thing:
If I want to use QwtPlot and QwtPlotCurve, how do I put it in a layout?
Thanks in advance.
PF91
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. This is kinda of an emergency.
Just one more thing:
If I want to use QwtPlot and QwtPlotCurve, how do I put it in a layout?
Thanks in advance.
PF91