makerplane / pyEfis

Electronic Flight Information System in Python
GNU General Public License v2.0
58 stars 31 forks source link

HSI Widget over-uses paintEvent #66

Closed Maker42 closed 5 years ago

Maker42 commented 5 years ago

All rendering in this widget is through paintEvent-> QPainter, so the system spends an inordinate time redrawing the entire dial. Using 2 QGraphicsView objects instead (one for the part that turns, one for the part that doesn't) should be much more efficient.