Results 1 to 20 of 59

Thread: How i can plot result in my GUI ?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #8
    Join Date
    Oct 2010
    Location
    Berlin, Germany
    Posts
    358
    Thanks
    18
    Thanked 68 Times in 66 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: plot a curve during compilation

    yes, you have to call "setsamples" - after the loop. during the loop, you have to fill the QPolygonF with points.

    this is simple c++, so I won't give you code. You'll learn more by finding the solution by yourself to give you some hints: you need *one* QPolygonF, not 10. You want, that this QPOlygonF contains 10 QPoints. You want to plot these 10 points=one polygon...

  2. The following user says thank you to FelixB for this useful post:

    21did21 (31st May 2011)

Similar Threads

  1. QRegExp - get only last result
    By kabanek in forum Newbie
    Replies: 2
    Last Post: 3rd November 2010, 22:17
  2. How to display result
    By sksingh73 in forum Newbie
    Replies: 1
    Last Post: 7th June 2010, 08:39
  3. QSqlQuery return result
    By arpspatel in forum Qt Programming
    Replies: 2
    Last Post: 9th April 2010, 07:55
  4. Result of DBUS call
    By conexion2000 in forum Qt Programming
    Replies: 4
    Last Post: 28th July 2009, 08:34
  5. Replies: 7
    Last Post: 22nd September 2008, 22:05

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.