Circular sector - custom widget.



  • Hi.
    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?


  • Qt Champions 2016

    @Maser
    Look up the GraphicsView framework. Widgets doesn't sound like a good idea for the thing you're describing.

    Kind regards.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.