Results 1 to 4 of 4

Thread: Qt-Graphics

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2009
    Location
    Bangalore
    Posts
    68
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Qt-Graphics

    Hi All,

    I need to draw a circle which is shown in the attachments, the user will input the center(x, y) and radius from QlineEdits and when the enter key is pressed circle has to draw on a frame for the following case:

    1. If the center(x, y) both are positive(refer circle.jpg)
    2. If the center(x, y) x=negative, y=positive(refer circle1.jpg)
    3. If the center(x, y) x=negative, y=negative(refer circle1.jpg)
    4. If the center(x, y) x=positive, y=negative(refer circle1.jpg)

    Note: the axis should be displayed.
    Even i read the assistant but i didn't get any idea. How to resolve this is issue.
    Attached Images Attached Images
    Thanks & Regards
    Sandeep G.R.

Similar Threads

  1. Performance trouble in Graphics View
    By zgulser in forum Qt Programming
    Replies: 8
    Last Post: 14th September 2009, 22:11
  2. Learning 2D Graphics
    By ShaChris23 in forum Qt Programming
    Replies: 4
    Last Post: 23rd October 2007, 14:12
  3. Replies: 1
    Last Post: 5th March 2007, 20:50
  4. Adding Rectangular overlay on graphics view
    By forrestfsu in forum Qt Programming
    Replies: 10
    Last Post: 21st November 2006, 19:42

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.