|
| 1 | +Version 1.2 ChangeLog: |
| 2 | + |
| 3 | +florianlink | 2009-03-30 |
| 4 | +- unified wrapping of CPP heap objects and QVariant/MetaTypes stack objects (this made PythonQtVariantWrapper obsolete) |
| 5 | +- added wrapping of the whole Qt API using a modified qtscript generator |
| 6 | +-- this makes all non-slots of QObject derived classes available for scripting |
| 7 | +-- all constructors of QObject/CPP objects are available |
| 8 | +-- comparision based on operator= are mapped to Python compare |
| 9 | +-- C++ (non-QObject) classes are completely wrapped (all public methods, enums, constructors, destructor) |
| 10 | +-- C++ inheritance is captured and supported for automatic upcasting, automatic downcasting is an open topic |
| 11 | +- added delete() method to all wrapped objects to allow C++ deletion (which is handy to remove e.g. QTreeWidgetItems from a QTreeWidget) (use with care!) |
| 12 | +- added support for QList<int>, QList<double>, QList<builtin variants> and QVector/std::vector |
| 13 | +- simple template to register other types for QList/QVector/std::vector |
| 14 | +- added support for custom type conversion between Python<->CPP (to e.g. manually add support for types like QHash<int, QString>, which is currently not supported) |
| 15 | +- remove PythonQtGui, which becomes obsolete because of the complete Qt API wrapping, adapted examples |
| 16 | +- added PythonQt::registerCPPClass() |
| 17 | +- added support for placing classes in packages, default is to place a class directly into PythonQt module |
| 18 | +- Qt packages are called: |
| 19 | +-- PythonQt.Qt - contains all Qt classes that are wrapped (for convenient to avoid using the different packages below) |
| 20 | +-- PythonQt.QtCore - contains the core classes |
| 21 | +-- PythonQt.QtGui - contains the gui classes |
| 22 | +-- PythonQt.QtNetwork - contains the network classes |
| 23 | +-- ... |
| 24 | +- Qt namespace is now located in QtCore, so write PythonQt.QtCore.Qt instead of PythonQt.Qt in your scripts! |
1 | 25 |
|
2 | 26 | Version 1.1 ChangeLog:
|
3 | 27 |
|
|
0 commit comments