Search for "Create your own Widget" Tutorial

for a project i need to create a custom widget. My plan was to modify the original Meter Widget, I need a ammeter with a non linear scale. I coppied the meter folder an renamed all classes and functions but where do i need to add the more informations? Is there a tutorial or example how to create new widgets?


There is no specific documentation about it yet, but if you attach your modified vesion I can check what could be the problem.