Results 1 to 7 of 7

Thread: how to display an Ellipse on a Qpainter.

  1. #1
    Join Date
    Jan 2006
    Posts
    80
    Thanks
    1
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default how to display an Ellipse on a Qpainter.

    Hi all...

    The situation is

    I am currently displaying an Image on the Screen using QPainter.
    I drawn some rectangles also over them based on my needs.
    Now i noticed that i need to plot ellipse also over the image.

    Plz help...

    Mahe2310

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: how to display an Ellipse on a Qpainter.

    QPainter:: drawEllipse() ?

  3. #3
    Join Date
    Jan 2006
    Location
    Ukraine,Lviv
    Posts
    454
    Thanks
    9
    Thanked 27 Times in 27 Posts
    Qt products
    Qt3
    Platforms
    Unix/X11 Windows

    Default Re: how to display an Ellipse on a Qpainter.

    Your post must be in Qtopia section
    a life without programming is like an empty bottle

  4. #4
    Join Date
    Jan 2006
    Posts
    80
    Thanks
    1
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Re: how to display an Ellipse on a Qpainter.

    Quote Originally Posted by zlatko
    Your post must be in Qtopia section
    OK... But isnt this programming query?

    Mahe2310

  5. #5
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: how to display an Ellipse on a Qpainter.

    Quote Originally Posted by mahe2310
    OK... But isnt this programming query?
    It is and as long as it concerns features that aren't specific to Qtopia, there is no problem.

  6. #6
    Join Date
    Jan 2006
    Posts
    80
    Thanks
    1
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Re: how to display an Ellipse on a Qpainter.

    Quote Originally Posted by jacek
    It is and as long as it concerns features that aren't specific to Qtopia, there is no problem.
    So is it fine to post here or do i have to post these queries in Qtopia Section?

    Mahe2310

  7. #7
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: how to display an Ellipse on a Qpainter.

    Quote Originally Posted by mahe2310
    So is it fine to post here or do i have to post these queries in Qtopia Section?
    You can post here as long as your question doesn't concern running Qtopia on Xyz device, setting up touch panels, frame buffer and other stuff that is strictly connected with Qtopia and isn't present in Qt. Questions about QPainter do fit this section, but remember that some Qt classes or methods might not be present in Qt/Embedded and vice versa.

Similar Threads

  1. QPainter update()
    By csvivek in forum Qt Programming
    Replies: 5
    Last Post: 24th March 2008, 09:42
  2. Display only PNG image on desktop
    By durbrak in forum Qt Programming
    Replies: 32
    Last Post: 15th March 2008, 21:55
  3. Replies: 7
    Last Post: 20th March 2006, 20:03

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.