473,387 Members | 1,925 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,387 software developers and data experts.

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.Qt3Support,
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, Q3SimpleRichText, 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.QApplication, Gui.QPushButton, OpenGL.QGLWidget, 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.QInputDialog,
Gui.QCheckBox, Gui.QWidget, Gui.QTextEdit, Gui.QEvent, Gui.QSlider
#### Download

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


Sep 17 '07 #1
0 1217

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

Similar topics

699
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...
4
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...
1
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...
1
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...
53
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...
12
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...
113
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...
59
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...
1
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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...

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.