Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How can i draw a special HalfCircle in QGraphicsView?

How can i draw a special HalfCircle in QGraphicsView?

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 997 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    opengpu
    wrote on last edited by
    #1

    i know how to draw a exact half circle in QGraphicsView, but what i want is that:
    the "top" line can move from the top of the circle to the bottom,
    and i found that inherite from QGraphicsEllipseItem is hard to realize this effect.
    if there is no way to directly change the point postion of this special circle, can i use some mask to do this?and how?
    thank you
    what i want is like this pic below, but the "top line" can be anywhere in y axis but not only at the exact half position.
    !http://ts4.mm.bing.net/th?id=HN.608023835987281100&pid=1.7(b)!

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved