I have a 2D bullet graph done in QWidgets, but I would like to use it in QML. I am wondering if it is better to do the component as a QQuickPaintedItem or to just do it in the QML canvas API. Are there any key differences in performance between the two?