使用哪种GUI工具? [英] which GUI tool to use?

查看:59
本文介绍了使用哪种GUI工具?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我在Linux下使用c ++进行编程。我需要在程序中可视化一些

曲线和二维图形。有没有这样做的包?

我还需要为我的程序添加用户界面。你还可以为
建议一个GUI工具吗? GTK +和QT很受欢迎。哪一个更好

用于正常程序?非常感谢!

祝福!

Phony

解决方案

" phony" < pH值*** @ 126.com>在消息中写道

news:85 ************************* @ posting.google.co m ... < blockquote class =post_quotes>大家好,

我在Linux下用c ++编程。我需要在程序中可视化一些
曲线和二维图形。有没有任何套餐要做
这个?我还需要为我的程序添加用户界面。您能否为
建议一个GUI工具? GTK +和QT很受欢迎。哪一个更好用于正常程序?非常感谢!







人们每天都会问这类问题,而且回复是

总是一样的:这是一个专门用于标准C ++的新闻组,其中
不包括GUI设施。


出于好奇,你最后如何在没有

阅读小组描述的情况下发帖?


问候,


Jonathan


phony写道:

我使用c ++在Linux下编程。我需要在程序中可视化一些
曲线和二维图形。有没有包这样做?


查找gnuplot。你应该写一个数据文件和一个命令文件,然后调用

popen()或system(),这样gnuplot可以吃掉它们。它可以创建一个包含输出的X窗口

,它可以产生文件输出,例如postscript -

可能是其他的。然后你可以阅读输出文件并将它们托管在你自己的窗口中。


如果你需要更多的互动,请查看BLT。但是这可以与Tk结合。

我还需要为我的程序添加用户界面。你还能建议一个GUI工具吗? GTK +和QT很受欢迎。哪一个更好用于正常程序?非常感谢!




Tk是最受欢迎的,其Canvas和Text控件具有出色的

全功能架构。但Tk最好的主机是Ruby或Perl或者是
Python。 pTk与C绑定,但我不知道它有多干净。


这导致了一个问题:为什么选择C ++?因为其他人都在使用它吗?如果

你只需要在组件之间使用一些粘合剂,一些逻辑,以及一些可视化,那么任何精简语言都会更有效率。


警告:关于这些系统的具体问题将获得关于专门用于Linux,GNU或那些系统的
新闻组的最佳答案。


-

Phlip


无论如何,哪里可以找到该组的描述?

" Jonathan Turkanis" < TE ****** @ kangaroologic.com>在留言中写道

news:bv ************ @ ID-216073.news.uni-berlin.de ...

" ;假" < pH值*** @ 126.com>在消息中写道
新闻:85 ************************* @ posting.google.co m ...

大家好,



我使用c ++在Linux下编程。我需要在程序中可视化一些
曲线和二维图形。有没有要做的包


这个?

我还需要为我的程序添加用户界面。你能


建议用于GUI的工具吗? GTK +和QT很受欢迎。哪一个更好用于正常程序?非常感谢!





人们每天都会问这类问题,而且回复总是一样的:这是一个新闻组致力于标准C ++,其中不包括GUI设施。

只是出于好奇,你最后如何在没有阅读组的描述的情况下发帖?<问候,

Jonathan



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

解决方案

"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


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


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



这篇关于使用哪种GUI工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆