Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Circular sector - custom widget.
Maser last edited by Maser
I need to make an adjustable circular sector(something like this).
I want to draw it over a map(a simple coodinate system) and it must be adjustable with a mouse. Adjustable in angle and in direction.
Now a simle way that comes into my mind is just using one painter and then controll mouse position and click to manipulate the painting.
A more fancy way would be to paint the sector somehow as an overlay. And with the two radial lines of the sector acting like slider, mousefomt changing over them and such.
Any suggestion how i coud approach it best?