由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - 如何做GUI
相关主题
好一点的cross platform GUI library,除了QT,还有啥?关于python的优势
generate real time charts in C++c++ 为什么不能由负变正
谁能说说Perl, Python, Tcl各自的优缺点?主要应用场合?why use static function here?
/usr/bin/ld: Undefined symbols:请教:关于gtk编程,建立一个GUI
内存池这个玩意...再问个python的问题,GUI方面的
既生Java何生.Net?子类的assignment operator 怎么访问父类的private member
portable code什么时候写程序要注意这个问题?
请大家推荐 portable free C++ coding text editor一个C++ template的问题
相关话题的讨论汇总
话题: gui话题: wxwidgets话题: c++话题: python话题: what
进入Programming版参与讨论
1 (共1页)
t********s
发帖数: 4503
1
想学一下给应用程序做个GUI,有经验的请指教。希望能在linux,windows等主要操作系
统上都能运行,用什么语言或工具最好?谢谢!
E*V
发帖数: 17544
2
java

【在 t********s 的大作中提到】
: 想学一下给应用程序做个GUI,有经验的请指教。希望能在linux,windows等主要操作系
: 统上都能运行,用什么语言或工具最好?谢谢!

t********s
发帖数: 4503
3
如果应用程序本身不是用java做的,可以吗?

【在 E*V 的大作中提到】
: java
c**y
发帖数: 2282
4
Qt

【在 t********s 的大作中提到】
: 想学一下给应用程序做个GUI,有经验的请指教。希望能在linux,windows等主要操作系
: 统上都能运行,用什么语言或工具最好?谢谢!

k***r
发帖数: 4260
5
程序是什么写的呀?

【在 t********s 的大作中提到】
: 如果应用程序本身不是用java做的,可以吗?
r****o
发帖数: 1950
6
linux下面没有C#吗?
r*******n
发帖数: 3020
7
python+wxPython

【在 t********s 的大作中提到】
: 想学一下给应用程序做个GUI,有经验的请指教。希望能在linux,windows等主要操作系
: 统上都能运行,用什么语言或工具最好?谢谢!

c**y
发帖数: 2282
8
mono基本不能用

【在 r****o 的大作中提到】
: linux下面没有C#吗?
t********s
发帖数: 4503
9
C, C++, or Fortran

【在 k***r 的大作中提到】
: 程序是什么写的呀?
t********s
发帖数: 4503
10
How about C with OpenGL?
相关主题
既生Java何生.Net?关于python的优势
portable codec++ 为什么不能由负变正
请大家推荐 portable free C++ coding text editorwhy use static function here?
进入Programming版参与讨论
k***r
发帖数: 4260
11
it then depends on the coupling of the GUI and lower level code.
If it's loosely coupled (I/O by files) then you can use any GUI
tools. I guess that must be the case since you have some Fortran
code.
If not, there are a bunch of C UI toolkits available.

【在 t********s 的大作中提到】
: C, C++, or Fortran
g*****g
发帖数: 34805
12
Then probably python would be a good fit.
Portablity can be a problem, not for the GUI,
but for your part.

【在 t********s 的大作中提到】
: C, C++, or Fortran
w***g
发帖数: 5958
13
Qt的设计非常高明。唯一让我不爽的是需要moc支持。不过瑕不掩瑜。

【在 c**y 的大作中提到】
: Qt
k***r
发帖数: 4260
14
license sucks

【在 w***g 的大作中提到】
: Qt的设计非常高明。唯一让我不爽的是需要moc支持。不过瑕不掩瑜。
E*V
发帖数: 17544
15
qt的license不是有变化么?

【在 k***r 的大作中提到】
: license sucks
k***r
发帖数: 4260
16
just checked. from qt4, it's gpl v2. I'm not sure about gpl v2.
but gpl sucks.

【在 E*V 的大作中提到】
: qt的license不是有变化么?
t********s
发帖数: 4503
17
Simply put, if you want to sell your software or keep it proprietary, then
you must buy the commercial license; otherwise, if you wish to use the Qt
Open Source Edition, which is free, you must contribute all your source code
to the open source community.
http://trolltech.com/products/appdev/licensing
I think this licensing potentially kills most small businesses.
t********s
发帖数: 4503
18
what are the pros and cons of using Python in contrast to C++ or C?
what do you mean by the portability problem on my part? Thanks.

【在 g*****g 的大作中提到】
: Then probably python would be a good fit.
: Portablity can be a problem, not for the GUI,
: but for your part.

T*****e
发帖数: 361
19
好虫的意思应该是说,Java/Python做GUI移植性都没(大)问题,但是你的用C/C++/
Fortran写的代码更有可能不可移植。如果你的程序本身没有移植问题,用Java/Python
都行,不过Python应对这种多语言混合编程的情形更容易一些吧。
发信人: toughgrass (牛鬼蛇神:让路), 信区: Programming
标 题: Re: 如何做GUI
发信站: BBS 未名空间站 (Fri Jan 2 20:00:56 2009)
what are the pros and cons of using Python in contrast to C++ or C?
what do you mean by the portability problem on my part? Thanks.

【在 g*****g 的大作中提到】
: Then probably python would be a good fit.
: Portablity can be a problem, not for the GUI,
: but for your part.

f*****Q
发帖数: 1912
20
Mono进步还是蛮大的。

【在 c**y 的大作中提到】
: mono基本不能用
相关主题
请教:关于gtk编程,建立一个GUI什么时候写程序要注意这个问题?
再问个python的问题,GUI方面的一个C++ template的问题
子类的assignment operator 怎么访问父类的private memberwhat is the difference?
进入Programming版参与讨论
t********s
发帖数: 4503
21
Thanks. I will learn how to write portable code. I found this book.
Write Portable Code: An Introduction to Developing Software for Multiple
Platforms
by Brian Hook
Do you think it is useful or do you have other recommendation for this
matter? Frankly, I have never thought about portability until recently I
started my first real job in industry.

Python

【在 T*****e 的大作中提到】
: 好虫的意思应该是说,Java/Python做GUI移植性都没(大)问题,但是你的用C/C++/
: Fortran写的代码更有可能不可移植。如果你的程序本身没有移植问题,用Java/Python
: 都行,不过Python应对这种多语言混合编程的情形更容易一些吧。
: 发信人: toughgrass (牛鬼蛇神:让路), 信区: Programming
: 标 题: Re: 如何做GUI
: 发信站: BBS 未名空间站 (Fri Jan 2 20:00:56 2009)
: what are the pros and cons of using Python in contrast to C++ or C?
: what do you mean by the portability problem on my part? Thanks.

t********s
发帖数: 4503
22
A comparison of wxWidgets to other widgets. Seems like wxWidgets is good.
Especially, it is free.
http://wiki.wxwidgets.org/WxWidgets_Compared_To_Other_Toolkits
At the bottom you will also see Why you should not use wxWidgets.
One reason is Lack of commercial GUI components for making nice GUI grids,
charts, etc.
I wonder What does this mean? How important this is?
The last reason is: wxWidgets does not provide binaries for any system. You
have to compile wxWidgets yourself. wxpack provides wxWi
t********s
发帖数: 4503
23
Interesting song! what does it mean?

【在 f*****Q 的大作中提到】
: Mono进步还是蛮大的。
t********s
发帖数: 4503
24
My current thought is to let the user provide input parameters through GUI
to the core program, then the core program runs by itself, but I also want
the GUI, or maybe another GUI, to visualize the result or data. Is this
considered loosely coupled? Can you give some examples? Thanks.

【在 k***r 的大作中提到】
: it then depends on the coupling of the GUI and lower level code.
: If it's loosely coupled (I/O by files) then you can use any GUI
: tools. I guess that must be the case since you have some Fortran
: code.
: If not, there are a bunch of C UI toolkits available.

k***r
发帖数: 4260
25
That sounds loose enough. If the GUI collects the user inputs and pass
it to the core code from command line or a file, then read the output
from one or more files, it's very very loosely coupled. It's actually
not couple /decoupled. You can pretty much use any tool you want to
write the GUI.
If visualization of the data involves charting and drawing, it'll be
more than GUI widgets. You'll need to also consider the availability
of charting/drawing libraries. There are free/open source libraries

【在 t********s 的大作中提到】
: My current thought is to let the user provide input parameters through GUI
: to the core program, then the core program runs by itself, but I also want
: the GUI, or maybe another GUI, to visualize the result or data. Is this
: considered loosely coupled? Can you give some examples? Thanks.

r**u
发帖数: 130
26
search MVC pattern
t********s
发帖数: 4503
27
Yes, I may draw some geometries represented using mesh or grid. Then, what
should I need for this? I used OpenGL for computer graphics course. Can
Opengl and wxWidgets be used together? Then, why do you recommend against
using c/C++? Thanks.

【在 k***r 的大作中提到】
: That sounds loose enough. If the GUI collects the user inputs and pass
: it to the core code from command line or a file, then read the output
: from one or more files, it's very very loosely coupled. It's actually
: not couple /decoupled. You can pretty much use any tool you want to
: write the GUI.
: If visualization of the data involves charting and drawing, it'll be
: more than GUI widgets. You'll need to also consider the availability
: of charting/drawing libraries. There are free/open source libraries

k***r
发帖数: 4260
28
Checkout jfreechart to see if it meets your drawing needs.
If you need more than that, the availability of a good library
should take precedence, as opposed to language selection.
If there is a library in C/C++, it's OK to use it, because
it's not worth it to roll up your own drawing library.

【在 t********s 的大作中提到】
: Yes, I may draw some geometries represented using mesh or grid. Then, what
: should I need for this? I used OpenGL for computer graphics course. Can
: Opengl and wxWidgets be used together? Then, why do you recommend against
: using c/C++? Thanks.

t********s
发帖数: 4503
29
Tcl/tc怎么样?有人用过吗?
a*******s
发帖数: 79
30
不同平台跑不同GUI,要在Win 和Linux下共用GUI代码洒家觉得太勉强
不如做设计时把GUI抽出来弄成可替换的前端
1 (共1页)
进入Programming版参与讨论
相关主题
一个C++ template的问题内存池这个玩意...
what is the difference?既生Java何生.Net?
Effective C++ 这破书!portable code
help on self modifying code请大家推荐 portable free C++ coding text editor
好一点的cross platform GUI library,除了QT,还有啥?关于python的优势
generate real time charts in C++c++ 为什么不能由负变正
谁能说说Perl, Python, Tcl各自的优缺点?主要应用场合?why use static function here?
/usr/bin/ld: Undefined symbols:请教:关于gtk编程,建立一个GUI
相关话题的讨论汇总
话题: gui话题: wxwidgets话题: c++话题: python话题: what