473,385 Members | 1,720 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

which GUI tool to use?

Hi all,

I am programming under Linux using c++. I need to visualize some
curves and 2-D graphs in my program. Is there any package to do this?
And I also need to add a user interfaces to my program. Could you also
suggest a tool for GUI? GTK+ and QT are popular. Which one is better
to use for normal program? Thanks a lot!
Best wishes!
Phony
Jul 22 '05 #1
9 1599
"phony" <ph***@126.com> wrote in message
news:85*************************@posting.google.co m...
Hi all,
I am programming under Linux using c++. I need to visualize some
curves and 2-D graphs in my program. Is there any package to do this? And I also need to add a user interfaces to my program. Could you also suggest a tool for GUI? GTK+ and QT are popular. Which one is better
to use for normal program? Thanks a lot!


Hi,

People ask this type of question every day, and the response is
always the same: this is a newsgroup devoted to standard C++, which
does not include GUI facilities.

Just out of curiosity, how do you end up posting here without
reading a description of the group?

Regards,

Jonathan
Jul 22 '05 #2
phony wrote:
I am programming under Linux using c++. I need to visualize some
curves and 2-D graphs in my program. Is there any package to do this?
Look up gnuplot. You should write a data file and a command file, then call
popen() or system() so gnuplot can eat them. It can create an X window
containing the output, and it can produce file outputs such as postscript -
possibly others. Then you can read the output files and host them in your
own windows.

If you need more interaction, look up BLT. But that can couple with Tk.
And I also need to add a user interfaces to my program. Could you also
suggest a tool for GUI? GTK+ and QT are popular. Which one is better
to use for normal program? Thanks a lot!


Tk is the most popular, and its Canvas and Text controls have an excellent
full-featured architecture. But the best hosts for Tk are Ruby or Perl or
Python. pTk binds with C, but I don't know how clean it is.

This leads to the question: Why C++? Because everyone else was using it? If
you just need some glue between components, and some logic, and some
visualizations, any lite language would be much more productive.

Warning: Specific questions about those systems will get the best answers on
newsgroups devoted to Linux, GNU, or those systems.

--
Phlip
Jul 22 '05 #3
where would one find a description of the group anyway?
"Jonathan Turkanis" <te******@kangaroologic.com> wrote in message
news:bv************@ID-216073.news.uni-berlin.de...
"phony" <ph***@126.com> wrote in message
news:85*************************@posting.google.co m...
Hi all,


I am programming under Linux using c++. I need to visualize some
curves and 2-D graphs in my program. Is there any package to do

this?
And I also need to add a user interfaces to my program. Could you

also
suggest a tool for GUI? GTK+ and QT are popular. Which one is better
to use for normal program? Thanks a lot!


Hi,

People ask this type of question every day, and the response is
always the same: this is a newsgroup devoted to standard C++, which
does not include GUI facilities.

Just out of curiosity, how do you end up posting here without
reading a description of the group?

Regards,

Jonathan

Jul 22 '05 #4
Darius Fatakia wrote:
where would one find a description of the group anyway?


The welcome message, posted 2 or 3 times a week. Or the FAQ, easily
located via any of the various FAQ archives, or by using Google (first
hit on "c++ faq").

And please don't top-post. See section 5 of the FAQ for more information.

-Kevin
--
My email address is valid, but changes periodically.
To contact me please use the address from a recent posting.
Jul 22 '05 #5
phony wrote:
Hi all,

I am programming under Linux using c++. I need to visualize some
curves and 2-D graphs in my program. Is there any package to do this?
And I also need to add a user interfaces to my program. Could you also
suggest a tool for GUI? GTK+ and QT are popular. Which one is better
to use for normal program? Thanks a lot!


Now that's simple. Just test both options, e.g. with a simple dialog
application. I personally prefer QT, but GTK+ also has many advantages.

BTW: Asking such questions will not give you any useful answers most of the
time, but instead only results in flaming wars between ignorant people.

--
To get my real email adress, remove the two onkas
--
Dipl.-Inform. Hendrik Belitz
Central Institute of Electronics
Research Center Juelich
Jul 22 '05 #6

"Kevin Goodsell" <us*********************@neverbox.com> skrev i en
meddelelse news:fX******************@newsread2.news.pas.earth link.net...
Darius Fatakia wrote:
where would one find a description of the group anyway?

The welcome message, posted 2 or 3 times a week. Or the FAQ, easily


I have never seen this welcome message... wonder why.

located via any of the various FAQ archives, or by using Google (first
hit on "c++ faq").

And please don't top-post. See section 5 of the FAQ for more information.

-Kevin
--
My email address is valid, but changes periodically.
To contact me please use the address from a recent posting.



Jul 22 '05 #7
Thanks a lot!

Actually, other groups related to Linux is in the second page of group
list. So I chose this group, which I think is the most related. :-)

Best regards!

Phony

"Phlip" <ph*******@yahoo.com> wrote in message news:<jC******************@newssvr16.news.prodigy. com>...
phony wrote:
I am programming u nder Linux using c++. I need to visualize some curves and 2-D graphs in my program. Is there any package to do this?


Look up gnuplot. You should write a data file and a command file, then call
popen() or system() so gnuplot can eat them. It can create an X window
containing the output, and it can produce file outputs such as postscript -
possibly others. Then you can read the output files and host them in your
own windows.

If you need more interaction, look up BLT. But that can couple with Tk.
And I also need to add a user interfaces to my program. Could you also
suggest a tool for GUI? GTK+ and QT are popular. Which one is better
to use for normal program? Thanks a lot!


Tk is the most popular, and its Canvas and Text controls have an excellent
full-featured architecture. But the best hosts for Tk are Ruby or Perl or
Python. pTk binds with C, but I don't know how clean it is.

This leads to the question: Why C++? Because everyone else was using it? If
you just need some glue between components, and some logic, and some
visualizations, any lite language would be much more productive.

Warning: Specific questions about those systems will get the best answers on
newsgroups devoted to Linux, GNU, or those systems.

Jul 22 '05 #8
Thanks a lot!

I found gnuplot is really nice. There are some c/c++ interfaces,
through which gunplot command could be sent from c/c++ program. Since
I want to display the time serials data, how about the speed of
displaying graphs very often (say 1 plot per second)?

Best regards!

phony

"Phlip" <ph*******@yahoo.com> wrote in message news:<jC******************@newssvr16.news.prodigy. com>...
phony wrote:
I am programming under Linux using c++. I need to visualize some
curves and 2-D graphs in my program. Is there any package to do this?


Look up gnuplot. You should write a data file and a command file, then call
popen() or system() so gnuplot can eat them. It can create an X window
containing the output, and it can produce file outputs such as postscript -
possibly others. Then you can read the output files and host them in your
own windows.

If you need more interaction, look up BLT. But that can couple with Tk.
And I also need to add a user interfaces to my program. Could you also
suggest a tool for GUI? GTK+ and QT are popular. Which one is better
to use for normal program? Thanks a lot!


Tk is the most popular, and its Canvas and Text controls have an excellent
full-featured architecture. But the best hosts for Tk are Ruby or Perl or
Python. pTk binds with C, but I don't know how clean it is.

This leads to the question: Why C++? Because everyone else was using it? If
you just need some glue between components, and some logic, and some
visualizations, any lite language would be much more productive.

Warning: Specific questions about those systems will get the best answers on
newsgroups devoted to Linux, GNU, or those systems.

Jul 22 '05 #9
phony wrote:
Actually, other groups related to Linux is in the second page of group
list. So I chose this group, which I think is the most related. :-)


It would be nice if other posters would say this:

- your question would get a better answer on newsgroup X

- the question "what cross-platform library does Y" is on-topic here,
because we don't trust any other newsgroup to pick a good one.
But specific questions about Y belong on its newsgroup.

But they just say "get lost - this question is off-topic, because our topic
is Standard C++". That's too narrow to admit nearly any question, but its
benefit is they can remember it.

However, I don't know how to upgrade GnuPlot in real-time. I know that BLT
has interactive hooks for Tk. Why don't you use Python instead of C++? Did
you actually assess your need? Or did you use C++ just because it has such a
polite newsgroup?

--
Phlip
http://www.xpsd.org/cgi-bin/wiki?Tes...UserInterfaces


Jul 22 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: _andrea.l | last post by:
how to build a interfaces (or web pages) in easy way? how to build a form in easy way? how to automate and create web pages whit a tool? which tool to use to create form for a database? I mean...
38
by: BORT | last post by:
Please forgive me if this is TOO newbie-ish. I am toying with the idea of teaching my ten year old a little about programming. I started my search with something like "best FREE programming...
7
by: SQLDBA | last post by:
I am in the process of evaluating some SQL Performance Monitoring /DBA tool to purchase (For SQL Server 2000). I have the following list of software that I came across and have to finalize which...
1
by: hico74 | last post by:
Hi all. I'm looking for a tool which should act like some kind of middleware/ logical layer bewtween the SQL server and the webbased user interface. - It should be possible to easily create...
3
by: for.fun | last post by:
Hi everybody, I am looking for a XML comparison tool (I do not mean a standard char-by-char diff tool but a tool which understand XML syntax) More precisely, I can have serveral XML...
17
by: clintonG | last post by:
I'm using an .aspx tool I found at but as nice as the interface is I think I need to consider using others. Some can generate C# I understand. Your preferences please... <%= Clinton Gallagher ...
6
by: Anastasios Hatzis | last post by:
Hello, I'm working on the light-weight MDA tool pyswarm, http://pyswarm.sourceforge.net/ (it is about a code-generator for Python/PostgreSQL-based software. I plan to add support of UML CASE...
1
by: JSievers | last post by:
Hallo. A good friend of me develops web suites, for example his own at: www.augenpunkte.de. As you can see there my friend is blind and also he uses a Braille-line to develop these projects. For...
0
by: Georg Scholz | last post by:
(Note: this was intended to be a multi-post, but google was not able to post it also to microsoft.public.dotnet.general, so I'm cross- posting it separately) Hello, I am about to write a...
9
by: antonyliu2002 | last post by:
By default, IIS is configured to timeout a session in 20 minutes, which can be changed through the IIS config window. I use InProc sessionState mode. I can also set the session timeout in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.