Results 1 to 2 of 2

Thread: Round/Circle LevelBar or Level Indicator

  1. #1
    Join Date
    Oct 2011
    Posts
    9
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Smile Round/Circle LevelBar or Level Indicator

    Hello all,

    i want to create my own QGraphicsItem/Object, but have no idea how to make it.
    My widget is to use for a level indicator/bar and should be round.
    like one from the: http://cdn.dailymobilebuzz.com/wp-co...comb-clock.jpg
    but i onyl need one circle to draw.

    My First idea was to draw to Circles and fill the difference between them. But i dont know how to draw the content depending on the angle.
    The Item have a slot, where i set the angle from outside.
    Does anybody have an idea how to manage the drawing of the content?

    Thanks

    with best regards and happy holidays

    nudels

  2. #2
    Join Date
    Oct 2007
    Location
    Lake Forest, CA, USA
    Posts
    132
    Thanks
    10
    Thanked 27 Times in 22 Posts
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android

    Default Re: Round/Circle LevelBar or Level Indicator

    Oleg Shparber

Similar Threads

  1. how to draw a circle using qml
    By hema in forum Qt Quick
    Replies: 2
    Last Post: 8th August 2016, 12:48
  2. draw a circle
    By NewLegend in forum Qt Programming
    Replies: 3
    Last Post: 13th October 2010, 16:01
  3. Coloring Circle
    By Jeneo W. in forum Qt Programming
    Replies: 1
    Last Post: 11th October 2010, 04:39
  4. help regarding circle
    By jjbabu in forum Qt Programming
    Replies: 2
    Last Post: 20th September 2007, 10:23
  5. Replies: 4
    Last Post: 4th June 2007, 12:07

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.