Need a recommendation for a gui.

Discussion in 'Mac Programming' started by Big Dave, Oct 16, 2010.

  1. macrumors 6502

    Joined:
    Nov 27, 2007
    Location:
    Crestview, Fl
    #1
    I have a Perl script that plots data using gnuplot. I declare variables at the top of my script and this feeds into a template for gnuplot. I'm looking to create a gui interface where management types can select the variables they want. So basically, I am looking for something simple to graphically select the variables the user wants and feed it into my Perl script. I've never built a gui before and I am looking for some recommendations. I will need this to be portable to Windows. I've looked at Qt, but I'm thinking that it might be overkill.
    Thanks in advance.

    -Dave
     
  2. macrumors 603

    Joined:
    Aug 9, 2009
    #2
    What kind of plots? How much data? Why do you think Qt is overkill?

    If it has to be portable to Windows, your options are more limited. There's Tcl/Tk, Qt, etc.
    http://en.wikipedia.org/wiki/Tk_(framework)
    http://en.wikipedia.org/wiki/List_of_widget_toolkits

    Or you could rewrite your Perl code as Python or Java or something else with direct GUI capabilities.

    You could also write a web page, generate plots with Google Charts (asssuming the data is small enough and the plots are in its repertoire), and then deploy it as a web app.
    http://code.google.com/apis/chart/docs/gallery/chart_gall.html

    Without knowing how much data, how it's retrieved, and what kind of plots, it's difficult to be more specific.
     
  3. thread starter macrumors 6502

    Joined:
    Nov 27, 2007
    Location:
    Crestview, Fl
    #3
    The data is simple two column data and I will be doing x,y plots. Maybe Qt isn't overkill but maybe overwhelming to a novice. I'll see if I can find a good tutorial. Thanks for the links, I will check them out.
     

Share This Page