aboutsummaryrefslogtreecommitdiffstats
path: root/PySide
Commit message (Collapse)AuthorAgeFilesLines
* Fixed QTreeWidgetItem.parent function policy.Renato Araujo Oliveira Filho2012-03-081-2/+17
| | | | | | | Fixes bug #585 Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Fix bug#557 - "Segmentation fault in QDeclarativeComponent.loadUrl()"Hugo Parente Lima2012-03-081-0/+1
| | | | | | | | | The signature QDeclarativeComponent(QObject*) should not exist, it's not documented and just creates a useless QDeclarativeComponent when used, useless in the sense that it will segfault when used. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Fixed QWidget.setParent signature on typesystem.Renato Araujo Oliveira Filho2012-03-081-1/+1
|
* Lock the gil on some hand written code to avoid crashes.Hugo Parente Lima2012-03-082-4/+10
| | | | | Reviewer: Renato Araújo <renato.filho@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Fixed function QDataStream.readRawData return value.Renato Araujo Oliveira Filho2012-03-081-2/+7
| | | | | | | | The function readRawData now return None in case of error, otherwise a string with the read data. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* New format for __version_info__.Hugo Parente Lima2012-03-081-2/+2
| | | | | | | The new format follow the same rules used by sys.version_info(). Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Lauro Moura <lauro.neto@openbossa.org>
* Created support to function qAddPostRoutine.Renato Araujo Oliveira Filho2012-03-081-0/+31
| | | | | | | | Created unit test for bug #515 Fixes bug #515 Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Lauro Moura <lauro.neto@openbossa.org>
* Fix QTreeWidgetItem.parent function.Renato Araujo Oliveira Filho2012-03-081-1/+1
| | | | | | | | Create unit test for new use case. Fixes bug #547 Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Fixed QWidget.parent function.Renato Araujo Oliveira Filho2012-03-081-5/+18
| | | | | | | | Create unit test for bug 576. Fixes bug #576. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Lauro Moura <lauro.neto@openbossa.org>
* Fix bug#514 - "Static method QByteArray.fromRawData is missing from QtCore"Hugo Parente Lima2012-03-081-1/+9
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Lauro Moura <lauro.neto@openbossa.org>
* Fix bug 546 - "Python crash on exit"Hugo Parente Lima2012-03-081-2/+2
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Lauro Moura <lauro.neto@openbossa.org>
* Fix bug#493 - "__eq__ and friends not implemented for QKeyEvent == QKeySequence"Hugo Parente Lima2012-03-081-2/+7
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Lauro Moura <lauro.neto@openbossa.org>
* Fix bug#569 - "QTableWidgetItem is missing binding of __lt__ to operator<"Hugo Parente Lima2012-03-081-15/+0
| | | | | Reviewer: Renato Araújo <renato.filho@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Changes the arg name from p to parent to make parent heuristic work.Hugo Parente Lima2012-03-081-0/+5
|
* Appended ${QtGui_BINARY_DIR} on typesystem_path for QtMaemo5 module.Renato Araujo Oliveira Filho2012-03-081-1/+1
|
* Test for QTDESIGNER before add QTUITOOLS.Renato Araujo Oliveira Filho2012-03-081-1/+3
| | | | | | | | This test is necessary because the module QTUITOOLS uses some classes from QTDESIGNER. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Bruno Araujo <bruno.araujo@openbossa.org>
* Fix QTreeWidget parent rules.Renato Araujo Oliveira Filho2012-03-081-0/+20
| | | | | | | | | | QTreeWidget.clear() - remove all child ref from the current widget QTreeWidgetItem.parent() - use default policy for returned value Fix bug #547 Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Fix bug#549 - "QGraphicsWidget::getContentsMargins() and ↵Hugo Parente Lima2012-03-081-4/+42
| | | | | | | QGraphicsWidget::getWindowFrameMargins() not available" Reviewer: Renato Araújo <renato.filho@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Added QSslCertificate to QtNetwork module.Renato Araujo Oliveira Filho2012-03-082-1/+2
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Fixed global functions from QT_TR_NOOP and QT_TRANSLATE_NOOP family.Marcelo Lira2012-03-082-10/+26
| | | | | | | | | | | These function just return one of their arguments as result, and the buggy implementation was forgetting to increment the reference count for the returned object. A new unit test was added. Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Fixes bug #502.Marcelo Lira2012-03-081-0/+3
| | | | | | | | | | | | | The ownership of the editor returned by the Python override of QAbstractItemDelegate.createEditor(...) is now transferred to C++. A test was added to simulate the situation that triggers the bug, instead of relying on an example with a view, model and editable cells. See: http://bugs.openbossa.org/show_bug.cgi?id=502 Reviewed by Lauro Moura <lauro.neto@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* QObject.sender should not steal the returned object ownership to Python.Marcelo Lira2012-03-081-1/+1
|
* Fix bug#544 - "QtCore.QRect missing binding for method getCoords"Hugo Parente Lima2012-03-081-4/+84
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Lauro Moura <lauro.neto@openbossa.org>
* Fix bug#481 - "mimeData() missing from QListWidget, QTreeWidget, QTableWidget"Hugo Parente Lima2012-03-081-3/+0
| | | | | Reviewer: Renato Araújo <renato.filho@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Fix bug#558 - "print attribute of a QWebFrame cannot be accessed normally"Hugo Parente Lima2012-03-082-0/+3
|
* Add GLuint as primitive type.Hugo Parente Lima2012-03-081-0/+1
| | | | | If we don't do that any function with GLuint will be rejected by the generator on Windows.
* Fixed ownership of the value returned by QAbstractItemModel::data(...).Marcelo Lira2012-03-081-0/+5
| | | | | | | | | The value returned by Python to the virtual method QAbstractItemModel::data(...) called from C++ has its ownership transferred to C++. Reviewed by Lauro Moura <lauro.neto@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Fix bug#508 - "qmltopy1 crashes when setContextProperty is called twice ↵Hugo Parente Lima2012-03-081-3/+5
| | | | | | | without keeping a reference" Reviewer: Renato Araújo <renato.filho@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Fix bug#512 - "QGridLayout::getItemPosition() is not available"Hugo Parente Lima2012-03-081-1/+23
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Add support for QML list properties.Hugo Parente Lima2012-03-083-11/+228
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Replace useless check by a assert.Hugo Parente Lima2012-03-081-4/+1
| | | | QMetaObject must already be ready at this point.
* Fix copyright year.Hugo Parente Lima2012-03-082-2/+2
|
* Fixes QImage constructor signature that used string buffer as image data source.Marcelo Lira2012-03-081-6/+24
| | | | | | | | | | | | The fixes uses the patch provided by Pieter Palmers on the bug #489 description[1]. A very simple test, to check the signature existence, was added. [1] http://bugs.openbossa.org/show_bug.cgi?id=489 Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Added QRegExp.replace(QString, const char*) method.Marcelo Lira2012-03-081-0/+35
| | | | | | | | | | | | | | The only way to search and replace using QRegExp is using the QString::replace method. Since QString was removed, QRegExp now is useful only to search stuff, but not replace. For this purpose the QRegExp.replace method was added. The first argument is the string that will be operated over, the second argument contains the replacement, and the return value is a new modified Python string. Unit tests and documentation for QRegExp.replace were added as well. Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Avoid removal of qmlregistertype.cpp by the build system.Hugo Parente Lima2012-03-081-3/+3
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Initial implementation of qmlRegisterType.Hugo Parente Lima2012-03-084-0/+223
| | | | | | | It's fully functional, but need some adjustaments in the build system that will be done in the next few days. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Fixed qt_metacall, now everything works as it should.Hugo Parente Lima2012-03-081-38/+28
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Lauro Moura <lauro.neto@openbossa.org>
* Add needed cast to compile using python versions <2.6Luciano Wolf2012-03-081-2/+2
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Marcelo Lira <marcelo.lira@openbossa.org>
* Fix bug#496 - "No binary read/write methods in QDataStream"Hugo Parente Lima2010-11-241-3/+23
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Merge branch 'apichanges'Hugo Parente Lima2010-11-2315-75/+75
|\ | | | | | | | | | | | | | | Reviewer: Renato Araújo <renato.filho@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org> Conflicts: libpyside/pyside.cpp
| * Adapt to API changes in libshiboken.Hugo Parente Lima2010-11-2315-75/+75
| |
* | Fixed layout ownership transfer.Renato Araujo Oliveira Filho2010-11-231-1/+1
| | | | | | | | | | | | | | Fixes bug #480 Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* | Added reference to object which was exported to QML context.Renato Araujo Oliveira Filho2010-11-221-1/+8
| | | | | | | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* | Fix setContexMenu function ownership rule.Renato Araujo Oliveira Filho2010-11-201-1/+1
|/ | | | Fixes bug #441.
* Fixed use of QtDeclarative include header to work with MacOS.Renato Araujo Oliveira Filho2010-11-191-1/+1
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Lauro Moura <lauro.neto@openbossa.org>
* Update to new Shiboken API (Renamed SbkObjectType)Renato Araujo Oliveira Filho2010-11-198-21/+21
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Updated to new shiboken API.Renato Araujo Oliveira Filho2010-11-197-32/+31
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Fix setLayout method that was causing segfault when itemAt wasn't implemented.Luciano Wolf2010-11-173-12/+19
| | | | | Reviewer: Hugo Parente <hugo.lima@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Fix bug#470 - "Object::connect: No such signal QTimer::"timeout()" when ↵Mickaël2010-11-161-1/+1
| | | | | | | using QTimer::singleShot" Reviewer: Hugo Parente <hugo.lima@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Fix bug#471 - "QtCore.QObject is missing 'thread' method"Hugo Parente Lima2010-11-161-1/+0
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>