Creating custom widget is not a hard problem, but there are a few things you should consider. Here I present a simple list of what you should at least consider doing
Get inspiration from Viking Software’s expert insights.
Sometimes you have to stop a class from emitting a signal for a while. The solution is quite standard and have been published in other blogs as well, but tend to miss one or two features.