aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/QtCore
Commit message (Collapse)AuthorAgeFilesLines
* Lock the gil on some hand written code to avoid crashes.Hugo Parente Lima2012-03-081-4/+4
| | | | | 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>
* 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 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>
* Fixed global functions from QT_TR_NOOP and QT_TRANSLATE_NOOP family.Marcelo Lira2012-03-081-10/+20
| | | | | | | | | | | 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* Adapt to API changes in libshiboken.Hugo Parente Lima2010-11-236-25/+25
|
* Update to new Shiboken API (Renamed SbkObjectType)Renato Araujo Oliveira Filho2010-11-193-9/+9
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Updated to new shiboken API.Renato Araujo Oliveira Filho2010-11-191-8/+7
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@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>
* Added PySide attributes to specify current version, and Qt version.renatofilho2010-11-122-4/+6
| | | | | | | Fixes bug: #454 Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Fix bug#455 - "QByteArray.data() cuts data to first '\x00' char"Hugo Parente Lima2010-11-111-0/+6
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Merge branch 1.0 into masterHugo Parente Lima2010-11-101-3/+8
|\ | | | | | | | | Conflicts: PySide/QtCore/qvariant_conversions.h
| * Fixed QVariant conversions for object types.renatofilho2010-11-101-3/+8
| | | | | | | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* | Changes needed to compile QtCore with libshiboken v1.0Hugo Parente Lima2010-11-106-23/+24
|/
* Fixed QVariant conversions for user type.renatofilho2010-11-091-5/+6
|
* Fixed QVariant conversion to C++renatofilho2010-11-091-7/+79
| | | | | | | | Now before convert from python object to C++, PySide check for a existent of metaType for any derived class. Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Fix bug#427 - "QSvgWidget, load from QtCore.QByteArray does not work"Hugo Parente Lima2010-11-051-30/+1
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Renamed qsignal, qslot, qproperty files to pyside*.renatofilho2010-11-031-6/+6
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Lauro Neto <lauro.neto@openbossa.org>
* Created Singal/Slot/Property namespace for pure C structures.renatofilho2010-11-032-9/+9
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Lauro Neto <lauro.neto@openbossa.org>
* Stop signal/slot connection if is impossible to register that on object.renatofilho2010-10-281-3/+7
| | | | | | | | Created unit test for bug #442, #437. Fixes bug #442. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Fix bug#438 - "Can't find Python.h on OS X"Hugo Parente Lima2010-10-281-1/+1
| | | | | Reviewer: Renato Araújo <renato.filho@openbossa.org> Lauro Moura <lauro.neto@openbossa.org>
* Fix typesystem to use argument tags instead of hardcoded variable names.Hugo Parente Lima2010-10-281-2/+2
|
* Updated PySide cmake files to use Python library information from Shiboken.Marcelo Lira2010-10-261-1/+1
| | | | | | | | | Shiboken cmake files provides information about which Python library to link against through cmake SHIBOKEN_PYTHON_LIBRARIES variable. It also sets the Py_DEBUG flag if necessary. Reviewed by Lauro Moura <lauro.neto@openbossa.org> Reviewed by Renato Araujo <renato.filho@openbossa.org>
* Moved QML enum from QtCore to QtDeclarative typesystem.renatofilho2010-10-261-6/+5
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Fix bugs 430, 426, 429, 394, 433.Hugo Parente Lima2010-10-221-16/+1
| | | | | | | | These bugs are about QApplication instance being destroyed before some QObject. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Fix bug#420 - "Memory leak in setText"Hugo Parente Lima2010-10-211-1/+1
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Fix inject conversion rule used to fix bug408.Hugo Parente Lima2010-10-191-1/+1
| | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
* Added d-pointer to PySideSignalInstanceData struct.Hugo Parente Lima2010-10-191-9/+10
|
* Merge remote branch 'mainline/1.0'Hugo Parente Lima2010-10-191-38/+24
|\ | | | | | | | | Conflicts: CMakeLists.txt
| * Adjusted QTimer.singleShot custom code since all Signals are callable now.Marcelo Lira2010-10-131-36/+22
| | | | | | | | | | Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
| * Don't export symbols that don't need to be exported and rename many functions.Hugo Parente Lima2010-10-071-4/+4
| |
* | Included QSignalTransition constructor to support Signal objects.renatofilho2010-10-191-2/+18
| | | | | | | | | | | | | | | | | | Created unit test. Fixes bug #416 Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* | Fix bug#408 - "QIODevice.readData() and .readLineData() have output ↵Hugo Parente Lima2010-10-191-2/+38
| | | | | | | | | | | | | | parameters in their signatures" Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* | Implemented support to deep copy on QtCore.renatofilho2010-10-131-64/+129
| | | | | | | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Lauro Neto <lauro.neto@openbossa.org>
* | Adding several __reduce__ methods in QtCoreLauro Neto2010-10-131-2/+82
| | | | | | | | | | | | | | | | Add QColor.__reduce__ Adding QByteArray __reduce__ Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Filho <renato.filho@openbossa.org>
* | Add default name for QObject.findChild(type, name)Lauro Neto2010-10-071-0/+3
|/ | | | | Plus test. Should return a child of the given type.
* Workaround to change the documentation about the return value of some functions.Hugo Parente Lima2010-10-071-2/+5
| | | | | Reviewer: Renato Araújo <renato.filho@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Revert "Fixed doc of return values."Hugo Parente Lima2010-10-051-5/+2
| | | | This reverts commit bebede17c03c5f6180262a4031c53998142564ad.
* Fixed doc of return values.Hugo Parente Lima2010-10-051-2/+5
| | | | | Reviewer: Renato Araújo <renato.filho@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Implement python conversion to QTime, QDate, QDateTimerenatofilho2010-10-014-2/+130
| | | | | | | Fixes bug #371. Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Modify return type QLineF::intersect to look nice in the documentation.Hugo Parente Lima2010-09-291-0/+3
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Fix bug#372 - "DiagramScene (GraphicsView) Example not working"Hugo Parente Lima2010-09-291-4/+1
| | | | The correct title would be "QVariant doesn't correct store a QGraphicsScene object."
* Added missing classes.renatofilho2010-09-292-6/+8
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>