subsurface/profile-widget
Berthold Stoeger 505e4e47eb profile: reimplement DivePercentageItem
The tissue percentages were realized as 16 independent polygons.
That didn't work at all with the new absolute scaling.

Reimplement the item and blast it onto a pixmap. Not only is
this artifact-free, it also should (hopefully) be quite a bit
more efficient than painting numerous lines.

In contrast to the old code, this does access the plot_info
structure directly instead of using the model. Not so much
for performance reason, but rather to make things more robust:
We have a strongly typed language. Why would we shoehorn data
through the weakly typed QVariant and mess with wierd
index-arithmetics. Makes no sense to me. Qt-model have to
be used for interfacing with Qt. They are terrible for
intra-application data transfer.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2021-12-17 11:54:23 -08:00
..
animationfunctions.cpp
animationfunctions.h
CMakeLists.txt profile: reimplement DivePercentageItem 2021-12-17 11:54:23 -08:00
divecartesianaxis.cpp profile: reimplement DivePercentageItem 2021-12-17 11:54:23 -08:00
divecartesianaxis.h profile: reimplement DivePercentageItem 2021-12-17 11:54:23 -08:00
diveeventitem.cpp
diveeventitem.h
divehandler.cpp
divehandler.h
divelineitem.cpp
divelineitem.h
divepercentageitem.cpp profile: reimplement DivePercentageItem 2021-12-17 11:54:23 -08:00
divepercentageitem.h profile: reimplement DivePercentageItem 2021-12-17 11:54:23 -08:00
divepixmapitem.cpp
divepixmapitem.h
diveprofileitem.cpp profile: reimplement DivePercentageItem 2021-12-17 11:54:23 -08:00
diveprofileitem.h profile: reimplement DivePercentageItem 2021-12-17 11:54:23 -08:00
diverectitem.cpp
diverectitem.h
divetextitem.cpp
divetextitem.h
divetooltipitem.cpp
divetooltipitem.h
profilescene.cpp profile: reimplement DivePercentageItem 2021-12-17 11:54:23 -08:00
profilescene.h profile: reimplement DivePercentageItem 2021-12-17 11:54:23 -08:00
profilewidget2.cpp
profilewidget2.h
qmlprofile.cpp
qmlprofile.h
ruleritem.cpp
ruleritem.h
tankitem.cpp
tankitem.h