473,320 Members | 2,112 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,320 software developers and data experts.

python QT or python-GTK

** All the posts found in google are old. I'm assuming new improvements have been made to both IDEs. **

Please correct me if I'm wrong, I'm a newbie.

1. Which one of them requires fewer lines to accomplish the same thing?
from what I understand QT it's just like Borland J-Builder. Meaning, you want a button, you draw it, then you double-click on it, a window opens up and you type events and behavior.
And with GTK, you just type everything.

2. Which one is cross platform? (Linux, MacOS, Windows,etc).

3. Which one has more widgets?

4. Which one is the easiest to pick up? I tried perl-QT and oh boy that mother is cryptic.

5. Which one has a bigger support community?

6. or if you think both pythonQT and PythonGTK are junk please suggest the one you like/use? I work on a Linux platform with Python 2.4.

Thanks guys, I appreciate your help.
--------------= Posted using GrabIt =----------------
------= Binary Usenet downloading made easy =---------
-= Get GrabIt for free from http://www.shemes.com/ =-

Mar 18 '07 #1
4 2281
On Sunday 18 March 2007 9:55 pm, Jon Van DeVries wrote:
** All the posts found in google are old. I'm assuming new improvements
have been made to both IDEs. **

Please correct me if I'm wrong, I'm a newbie.

1. Which one of them requires fewer lines to accomplish the same thing?
from what I understand QT it's just like Borland J-Builder. Meaning, you
want a button, you draw it, then you double-click on it, a window opens up
and you type events and behavior. And with GTK, you just type everything.

2. Which one is cross platform? (Linux, MacOS, Windows,etc).

3. Which one has more widgets?

4. Which one is the easiest to pick up? I tried perl-QT and oh boy that
mother is cryptic.

5. Which one has a bigger support community?

6. or if you think both pythonQT and PythonGTK are junk please suggest the
one you like/use? I work on a Linux platform with Python 2.4.
A good start would be to appreciate that both PyQt and PyGTK are GUI toolkits.
Neither are IDEs.

Phil
Mar 18 '07 #2
Il Sun, 18 Mar 2007 11:55:47 -1000, Jon Van DeVries ha scritto:
Please correct me if I'm wrong, I'm a newbie.
Please understand then, that both QT and GTK+ are graphic toolkits. An IDE
is a totally different thing.

Also, please understand that Qt3 and Qt4 exist, and they're quite different
beasts. Qt4 is fairly new.

Qt is GPL or commercial, while GTK+ is LGPL. That means: if you want to use
QT, you must either distribute your app under the GPL, or buy the
commercial license, while you don't have this limit in GTK+.

Both are cross-platform, but you should check for their actual visual
performance wherever they should be employed. Also, GTK+ seems to still
need an X server on macosx (don't know about QT)

Both have IDEs to create GUIs; take a look at Glade or Gazpacho for GTK+.

Also, remember GTK+ is a community project while QT is a fully commercial
project.

--
Alan Franzoni <al***************@gmail.com>
-
Togli .xyz dalla mia email per contattarmi.
Remove .xyz from my address in order to contact me.
-
GPG Key Fingerprint (Key ID = FE068F3E):
5C77 9DC3 BD5B 3A28 E7BC 921A 0255 42AA FE06 8F3E
Mar 19 '07 #3
Dennis Lee Bieber a écrit :
Not enough experience here... I do know I never liked applications
targeted to the "Gnome" look, preferring KDE... So... which toolkit did
those desktops favor?

wxWidgets, as I recall, is supposed to attempt to look "native" on
each OS.
Well, wxWidgets targets the Gnome look ( it means it uses GTK on Linux )
and not the KDE look so I guess you wouldn't like wxWidgets either :)
Mar 20 '07 #4
Dennis Lee Bieber wrote:
On Sun, 18 Mar 2007 11:55:47 -1000, "Jon Van DeVries"
<j2****@hotmail.comdeclaimed the following in comp.lang.python:
>** All the posts found in google are old. I'm assuming new improvements
have been made to both IDEs. **

Please correct me if I'm wrong, I'm a newbie.

1. Which one of them requires fewer lines to accomplish the same thing?
from what I understand QT it's just like Borland J-Builder. Meaning, you
want a button, you draw it, then you double-click on it, a window opens
up and you type events and behavior. And with GTK, you just type
everything.
For the most part, none of the GUI TOOLKITS (not IDEs) includes a
drag&drop GUI BUILDER. Toolkits are libraries defining an API (in the
case of Python to an underlying toolkit... wxPython is the Python
front-end to wxWidgets). For all the toolkits, the basic operation is
"just type everything" -- an intermediate mode is where one manipulates
a configuration file that gets loaded at run-time, and which one
registers handlers against (my largest GUI application was 15 years ago,
emulating a Ramtek graphics engine using DECWindows -- it had
multi-thousand lines of config file in xt; the config file was nearly as
long as the C code that used it).
I'm not sure if you're referring to something else, or aren't aware of Qt
Designer. You can design your GUI's in the designer, run py-uic (comes
with PyQt) and you have python code for your GUI. You then load that up,
and do your custom slot connections at run time. You can also take the XML
files generated by Qt Designer and load and render them at runtime too.

j

--
Joshua Kugler
Lead System Admin -- Senior Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/ Â*ID 0xDB26D7CE

--
Posted via a free Usenet account from http://www.teranews.com

Mar 21 '07 #5

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

Similar topics

0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.