Renato Araujo Oliveira Filho
ecbc9ebcfa
Appended QtGui library dependency on pysidetest library.
2010-12-28 14:09:16 -03:00
Renato Araujo Oliveira Filho
a74d92adce
Fix QTreeWidget parent rules.
...
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>
2010-12-27 19:20:05 -03:00
Renato Araujo Oliveira Filho
656be4ec98
Removed some float comparisons from QColor test to avoid armel problems.
...
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
2010-12-27 13:32:16 -03:00
Hugo Parente Lima
6cf55675dc
Fix bug#549 - "QGraphicsWidget::getContentsMargins() and QGraphicsWidget::getWindowFrameMargins() not available"
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2010-12-23 17:22:29 -02:00
Renato Araujo Oliveira Filho
fc471bed0f
Used more common signature on function test to QList objects.
...
Replaced "const QList<QObject*>" signature to "const QList<QObject*>&",
more used on Qt code.
2010-12-23 15:47:59 -03:00
Lauro Neto
af0860ba4a
Fix testbinding dependency
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Reviewer: Renato Araujo <renato.araujo@openbossa.org>
2010-12-22 18:11:26 -03:00
Renato Araujo Oliveira Filho
c4185280ba
Moved list_signal_test to pysidetest library.
...
This isolate the test case, and avoid other problems with X during the
buildbot compilation.
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2010-12-22 16:34:29 -03:00
Renato Araujo Oliveira Filho
4b0eaa7796
Fix the QtMultimedia/audio_test.py to accept computers with only null
...
device.
2010-12-22 10:25:32 -03:00
Renato Araujo Oliveira Filho
67b868ccb9
Avoid QMatrix test while gcc is broken.
2010-12-22 10:17:21 -03:00
Marcelo Lira
bb39c847d3
Fixed global functions from QT_TR_NOOP and QT_TRANSLATE_NOOP family.
...
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>
2010-12-21 12:23:39 -03:00
Marcelo Lira
14a5405837
Fixes bug #502 .
...
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>
2010-12-20 17:54:09 -03:00
Marcelo Lira
fbc06244e0
Fixed type system for TestView from pysidetest directory.
2010-12-20 17:47:01 -03:00
Hugo Parente Lima
00bfc9ba7b
Fix bug#544 - "QtCore.QRect missing binding for method getCoords"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2010-12-20 15:26:00 -02:00
Hugo Parente Lima
8545117cff
Fix QtMultimedia test to not fail when no devices were found.
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2010-12-17 19:16:56 -02:00
Hugo Parente Lima
dd1184ac4d
Use .pyd extension for pysidetest module on Windows.
2010-12-17 19:16:56 -02:00
Hugo Parente Lima
3b61f88a1f
Fix QML tests on Windows.
2010-12-17 19:16:56 -02:00
Hugo Parente Lima
53e472c5ef
Fix compilation under MS Windows.
2010-12-17 19:16:56 -02:00
Marcelo Lira
ca914c9f63
Added a call to QObject.metaObject() to check if a segfault is caused.
...
This completes the tests for bug #507[1].
Also removed an unnecessary commented line.
[1] http://bugs.openbossa.org/show_bug.cgi?id=507
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
2010-12-17 13:59:51 -03:00
Marcelo Lira
9a4738457d
Fixed QML type registering test.
...
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
2010-12-17 11:39:03 -03:00
Marcelo Lira
d3e5c54d8a
Updated model/view test to follow changes in Shiboken/9459b9da commit.
...
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
2010-12-17 11:31:37 -03:00
Marcelo Lira
c53ec3c17e
Updated the PySide test related to Python model returning data to C++.
2010-12-15 19:20:56 -03:00
Renato Araujo Oliveira Filho
539b906eb2
Created function used in PyObject getAttro.
...
Moved the code generated to a function in libpyside.
Create unit test for bug #525 .
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Marcelo Lira <marcelo.lira@openbossa.org>
2010-12-15 19:06:45 -03:00
Renato Araujo Oliveira Filho
fd9c8c8d76
Created unittest for bug #505 .
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2010-12-14 17:44:02 -03:00
Hugo Parente Lima
e3796fa3e7
Fix bug#512 - "QGridLayout::getItemPosition() is not available"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2010-12-14 15:28:55 -02:00
Marcelo Lira
6b720050ef
Added test for Python written models returning new objects without keeping reference to them.
...
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
eviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2010-12-13 17:55:54 -03:00
Marcelo Lira
4630f41f6a
Fixed new style signal connection tests for the proper semantics.
...
One example to clarify: for the "destroyed(QObject* = 0)" signal,
"obj.destroyed.connect(...)" connects to "destroyed()", and
"obj.destroyed[QObject].connect(...)" connects to "destroyed(QObject*)".
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2010-12-13 16:00:22 -03:00
Hugo Parente Lima
154560c9c5
Added unit test for bug#500
...
Reviewer: Lauro Mora <lauro.neto@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2010-12-13 11:39:24 -02:00
Hugo Parente Lima
e62b0364f1
Add tests for qmlregisterType function and qml list properties.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2010-12-09 16:19:41 -02:00
Hugo Parente Lima
9b2bf0a267
Changed file permissions to 0644.
2010-12-09 15:28:01 -02:00
Marcelo Lira
0a5e353ad0
Fixes QImage constructor signature that used string buffer as image data source.
...
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>
2010-12-06 17:49:56 -03:00
Marcelo Lira
ed1c4c72b9
Added QRegExp.replace(QString, const char*) method.
...
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>
2010-12-06 15:33:51 -03:00
Hugo Parente Lima
dadd07ccd7
Fix compilation on Windows.
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
2010-11-25 16:02:10 -02:00
Hugo Parente Lima
91030433ce
Fix bug#496 - "No binary read/write methods in QDataStream"
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2010-11-24 15:37:48 -02:00
Renato Araujo Oliveira Filho
abf841fbd3
Created unit test for bug #480 .
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2010-11-23 14:08:39 -03:00
Renato Araujo Oliveira Filho
276f260f65
Fixed unit test related to bug #446 .
2010-11-22 16:35:23 -03:00
Renato Araujo Oliveira Filho
e12197e282
Fix generated property flags on metaobject.
...
Fixes bug #478
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2010-11-22 10:43:01 -03:00
Renato Araujo Oliveira Filho
783c146766
Created unit test for bug #446 .
...
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
2010-11-19 20:33:46 -03:00
Renato Araujo Oliveira Filho
c21497ec1a
Create unit test for bug #467 .
2010-11-19 19:31:36 -03:00
Renato Araujo Oliveira Filho
0989462639
Fixed recursive call on duck punching test.
...
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
2010-11-19 15:14:52 -03:00
Renato Araujo Oliveira Filho
43e499a4fa
Fixed unit test to avoid exit with thread running.
...
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
2010-11-19 15:14:48 -03:00
Renato Araujo Oliveira Filho
dd8b0fcfe4
Created unit test for bug 462.
...
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
2010-11-19 15:14:15 -03:00
Luciano Wolf
16913eedce
Fix setLayout method that was causing segfault when itemAt wasn't implemented.
...
Reviewer: Hugo Parente <hugo.lima@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2010-11-17 19:10:02 -03:00
Hugo Parente Lima
bd3efd2a0f
Fix bug#471 - "QtCore.QObject is missing 'thread' method"
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2010-11-16 14:58:30 -02:00
renatofilho
d2e204f3df
Removed invalid test.
2010-11-12 19:10:31 -03:00
renatofilho
178f81aa70
Added PySide attributes to specify current version, and Qt version.
...
Fixes bug: #454
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2010-11-12 14:25:27 -03:00
Hugo Parente Lima
655219636b
Fix bug#436 - "Using a custom QValidator generates a segfault"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2010-11-11 18:13:50 -02:00
Hugo Parente Lima
7013bd760e
Fix bug#455 - "QByteArray.data() cuts data to first '\x00' char"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2010-11-11 14:16:46 -02:00
Marcelo Lira
2a4ee1675d
Removed unnecessary find_package statements from pysidetest's CMakeLists.txt
...
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2010-11-11 10:39:58 -03:00
renatofilho
2ef14fcc12
Created unit test for qvariant conversion for object type.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2010-11-10 18:52:47 -03:00
renatofilho
66ff085861
Fixed QVariant conversions for user type.
2010-11-09 22:36:11 -03:00