c++ - Indicate angle in QTableView - possible approaches -
I enter an QTableView column as an arrow indicator (0-35 9 Degree) and I wonder what would be the best way:
- Should I use the
QPixmapand rotate the image accordingly? - Would I use the image as SVG and then display it as
QPixmap - Can I call that column directly to
QPainter()? - Anything completely different?
The approach has become increasingly reasonable, because table view can have 1-250 rows, and then I must draw as many angle marks as 1 degree hardly Distinguishable I was thinking of making 120 symbols (according to 3 degrees) in memory and then bring the closest to me.
Comments
Post a Comment