Results 1 to 7 of 7

Thread: draw curve

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,349
    Qt products
    Qt5
    Platforms
    Windows
    Thanks
    318
    Thanked 872 Times in 859 Posts

    Default Re: draw curve

    You might find that it is a whole lot easier to simply use Qwt instead of inventing your own plotting widget.

    http://qwt.sourceforge.net

  2. #2
    Join Date
    Nov 2010
    Location
    Budapest, Hungary
    Posts
    125
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    17
    Thanked 2 Times in 2 Posts

    Default Re: draw curve

    yeah, I know, but I just could not figure out how to build that. But I would happily take someone's help to do that. I remember some strange moments which I couldn't explain, like I tried to make more than one time and although I did nothing to the project files the amount of warning messages started to reduce, but I can't remember what happened really. So maybe a real-time help could be the best. So that's how I started to build my own solution. But still it was worth as I learned a lot from this.
    Szilvi

  3. #3
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,349
    Qt products
    Qt5
    Platforms
    Windows
    Thanks
    318
    Thanked 872 Times in 859 Posts

    Default Re: draw curve

    Quote Originally Posted by szisziszilvi View Post
    yeah, I know, but I just could not figure out how to build that. But I would happily take someone's help to do that. I remember some strange moments which I couldn't explain, like I tried to make more than one time and although I did nothing to the project files the amount of warning messages started to reduce, but I can't remember what happened really. So maybe a real-time help could be the best. So that's how I started to build my own solution. But still it was worth as I learned a lot from this.
    OK, but what is more important to you? Getting your app to work and do what you want it to, or spending a lot of time writing a plotting widget that already exists? You -are- learning something, that's true, but it sounds like it is frustrating.

    Building Qwt is easy. I don't know what platform you are on, but just use the .pro file with qmake. Any of the Qwt example programs will show you how to incorporate it into your own app.

  4. #4
    Join Date
    Nov 2010
    Location
    Budapest, Hungary
    Posts
    125
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    17
    Thanked 2 Times in 2 Posts

    Default Re: draw curve

    Quote Originally Posted by d_stranz View Post
    OK, but what is more important to you? Getting your app to work and do what you want it to, or spending a lot of time writing a plotting widget that already exists? You -are- learning something, that's true, but it sounds like it is frustrating.
    well, honestly actually both. It's rather like a game for me, not really anything annoying.

    Building Qwt is easy. I don't know what platform you are on, but just use the .pro file with qmake. Any of the Qwt example programs will show you how to incorporate it into your own app.
    XP. But I thing I will open a new thread for this topic as it is not the question of using any "qpainting" device.
    Szilvi

Similar Threads

  1. Replies: 1
    Last Post: 22nd January 2010, 14:34
  2. Replies: 1
    Last Post: 13th January 2010, 17:21
  3. Replies: 5
    Last Post: 10th October 2008, 06:44
  4. Want to draw Curve
    By santhoshv84 in forum Qt Programming
    Replies: 1
    Last Post: 12th September 2008, 07:14
  5. Wants to draw Luminious Curve
    By santhoshv84 in forum Qt Programming
    Replies: 1
    Last Post: 22nd June 2008, 22:45

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.