[Program]Plotter Using Qt and Gtk+

4 views
Skip to first unread message

cpyi

unread,
Jun 5, 2013, 10:18:11 AM6/5/13
to code_fellow...@googlegroups.com
This is an program which is able to let user choose input file and plot 2d points coordinate in the file on the screen, I wrote it for some algorithm program need plot to test.
To experience two most powerful and mostly used graphical library, I wrote two versions, one in Qt,one in Gtk+.
If you are familiar with C++, Qt version is not too difficult to understand. The only additional concept is signal and slot. The object model is roughly identical.
I will attach the source code, I develop Qt version on windows using QT creater (IDE provided by QT), but binary need some (large) library files. So I didn't attach binary files.
Gtk+ version uses pure C language, the Gtk+ using GObject (part of glib) as its object model. It is much more difficult to use this object system than using C++ object system , which need lots of tricky skills.
But it is really interesting to use it (more like a hacker). I develop Gtk+ version on FreeBSD, but it is also easy to port to windows. 
I won't go into detail here, if you are interest in building the develop environment or how to write the code, feel free to ask. Some known little bugs in this program, I will fix it when I have time.

QtPlotter.zip
GtkPlotter.tar.gz
Reply all
Reply to author
Forward
0 new messages