473,545 Members | 2,021 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ANNOUNCE: PyQt3Support r1 - Python bindings for Qt3Support

#### PyQt3Support - Python bindings for Qt3Support ####

http://www.develer.com/oss/PyQt3Support

#### What is this?

PyQt3Support is an extension to PyQt4 that adds bindings to Qt's
Qt3Support library for usage from the Python language.

This is very helpful to migrate existing PyQt3 applications to PyQt4.

#### Why?

Porting from Qt3 to Qt4 can be tedious and bug-prone.

For C++ programmers, Trolltech provides a library, called Qt3Support,
that immensely helps. With Qt3Support, a C++ programmer basically only
needs mechanical changes to your source code. The library is made of two
different parts:

* A new family of widgets (Q3*) with the same API of Qt3.
* New member functions (or overloads) within standard Qt4 widgets.

For Python programmers, the situation is worse: PyQt4 does not bind
Qt3Support to Python. Developers of PyQt3 are forced to manually upgrade
their code to PyQt4, class by class.

This package fills the gap. By providing a new module PyQt4.Qt3Suppor t,
it enables PyQt3 developers to access Trolltech's migration library, and
thus upgrade their code much easily and faster, with almost only
mechanical changes. It's not a panacea of course: you probably still
need minor manual adjustments and supervising, but it can still be of
great help.

#### Where?

PyQt3Support has been developed and tested under both Windows (2000, XP,
Vista) and Linux (Ubuntu, Fedora).

#### License

Qt3Support follows whatever license you have for PyQt3 and PyQt4,
because its source code is machine-generated from PyQt3's and PyQt4's
source code.

Thus, Qt3Support can be freely used under both the GPL or the commercial
license offered by Qt/PyQt producers.

In case you are interested in developing Qt3Support itself, you want to
know that the script that generates Qt3Support is released under the GPL
license.

#### Status

PyQt3Support is not complete: it binds about 30% of the Qt3Support, but
don't be fooled by this figure: it's the part that is probably used most
in existing programs (more common widgets, constructors, ecc.).

Moreover, since it is fully machine-generated, it is very easy to extend
it to cover more classes and functions. See below as per how to
contribute to the development.

* PyQt3 ported classes:
Q3VBox, Q3HBox, Q3Frame, Q3Grid, Q3Accel, Q3PopupMenu, Q3MenuData,
Q3DockWindow, Q3DockArea, Q3ListView, Q3ScrollView, Q3ColorGroup,
Q3Header, Q3ListBox, Q3StrList, Q3Table, Q3MemArray, Q3MainWindow,
Q3ToolBar, Q3Action, Q3SimpleRichTex t, Q3StyleSheet, Q3Mime,
Q3ComboBox, Q3GroupBox, Q3FileDialog, Q3Url, Q3WidgetStack,
Q3HGroupBox, Q3VGroupBox, Q3IconView, Q3DragObject, Q3Picture,
Q3ValueList, Q3CString, Q3ButtonGroup, Q3VButtonGroup

* PyQt4 qt3supported classes:
Gui.QBoxLayout, Core.QNamespace , Gui.QLCDNumber, Gui.QGridLayout ,
Gui.QApplicatio n, Gui.QPushButton , OpenGL.QGLWidge t, Core.QObject,
Gui.QLabel, Gui.QPixmap, Core.QTextCodec , Gui.QToolButton ,
Gui.QTabWidget, Gui.QMenu, Core.QTimer, Gui.QLayout, Gui.QPalette,
Gui.QMenuBar, Gui.QLineEdit, Gui.QDialog, Gui.QInputDialo g,
Gui.QCheckBox, Gui.QWidget, Gui.QTextEdit, Gui.QEvent, Gui.QSlider
#### Download

http://www.develer.com/oss/PyQt3Support
--
Matteo Bertini - na*******@devel er.com
Develer S.r.l. - http://www.develer.com
Software Solutions


Sep 17 '07 #1
0 1225

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

Similar topics

699
33349
by: mike420 | last post by:
I think everyone who used Python will agree that its syntax is the best thing going for it. It is very readable and easy for everyone to learn. But, Python does not a have very good macro capabilities, unfortunately. I'd like to know if it may be possible to add a powerful macro system to Python, while keeping its amazing syntax, and if it...
4
3828
by: Logan | last post by:
Several people asked me for the following HOWTO, so I decided to post it here (though it is still very 'alpha' and might contain many (?) mistakes; didn't test what I wrote, but wrote it - more or less - during my own installation of Python 2.3 on Fedora Core 1 Linux for a friend of mine). Anyway, HTH, L.
1
4218
by: Jeremy C. Reed | last post by:
Configuring gramps (genealogy software) says: checking Python bindings for gtk... ok checking Python bindings for GNOME... ok checking Python bindings for gconf... Traceback (most recent call last): File "conftest.py", line 17, in ? import gnome.gconf ImportError: No module named gconf cat: conftest.out: No such file or directory...
1
2924
by: Arthur Chereau | last post by:
Hi, I'm trying to setup viewcvs to work with subversion 1.2.0 on Linux with Python 2.4.1. The last viewcvs (from CVS) needs subversion python bindings. I installed swig and built subversion from source with it. Everything works fine until I try to build the Python bindings. When I try "make swig-py" I get the following, Python related,...
53
4301
by: Michael Tobis | last post by:
Someone asked me to write a brief essay regarding the value-add proposition for Python in the Fortran community. Slightly modified to remove a few climatology-related specifics, here it is. I would welcome comments and corrections, and would be happy to contribute some version of this to the Python website if it is of interest. ===
12
2808
by: Thomas Bartkus | last post by:
Does anyone use emacs together with both WordStar key bindings and python mode? I'm afraid that Wordstar editing key commands are burned R/O into my knuckles! I would like to play with emacs for Python editing but I'm having (2) problems. 1) When I load a .py file, emacs automatically overrides my wordstar-mode with python-mode, forcing...
113
5188
by: John Nagle | last post by:
The major complaint I have about Python is that the packages which connect it to other software components all seem to have serious problems. As long as you don't need to talk to anything outside the Python world, you're fine. But once you do, things go downhill. MySQLdb has version and platform compatibility problems. So does M2Crypto. ...
59
2480
by: Kevin Walzer | last post by:
From the introduction to PyObjC, the Python-Objective-C bridge on Mac OS X: "As described in Objective-C for PyObjC users the creation of Objective-C objects is a two-stage process. To initialize objects, first call a class method to allocate the memory (typically alloc), and then call an initializer (typically starts with init). Some...
1
1805
by: Jason Yamada-Hanff | last post by:
Hi all, I'm working on a project that would benefit very much from Python Freetype2 bindings (the Fonty Python project). I don't want to duplicate efforts and wrap the library again if we don't have to. Interestingly, it seems like there have been lots of attempts at doing this. Generally, there are: ft2 -...
0
7409
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7664
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7921
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7771
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5343
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3465
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3446
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1023
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
720
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.