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:

  1. Should I use the QPixmap and rotate the image accordingly?
  2. Would I use the image as SVG and then display it as QPixmap
  3. Can I call that column directly to QPainter ()?
  4. 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

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -