Results 1 to 3 of 3

Thread: Need some advice for design decision

  1. #1
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    20
    Thanks
    2
    Thanked 4 Times in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Need some advice for design decision

    Hello,
    some time ago i have written a Qt3 app. This was one of my first application with more than a few lines of code. Now i want to take the opportunity and rewrite the app with Qt4 so that i can get into Qt4 and hopefully create better code than i did in the Qt3 version.

    The crucial part is the "plotter". I have write it with Qt3 from scratch (derived from QWidget, drawing with QPainter). Here is what it does:
    - It creates a coordinate system
    - axes can be switched between linear, log and log2 scaling
    - zoom in/out
    - loads some points from a file
    - placed them on the coordinate system and connect them (so that i get a curve)
    - draw lines between two points
    - move the points on the grid so that the data record for the point get new coordinates
    - print it

    Now the question is how i should do this with Qt4?
    Should i do it like i did with Qt3? Should i use the new Arthur framework (are there some examples available)? Or do you know another way?

    What would you recommend to archive the best results?

    Thanks!

  2. #2
    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: Need some advice for design decision

    Have you seen Qwt?

  3. #3
    Join Date
    Jan 2006
    Posts
    368
    Thanks
    14
    Thanked 18 Times in 17 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Need some advice for design decision

    there should be great opengl functions on arthur.

    most of the things could be done with translations and stuff.

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.