aboutsummaryrefslogtreecommitdiffstats
path: root/tests/pysidetest
Commit message (Collapse)AuthorAgeFilesLines
* Created unit test for signals.Renato Araujo Oliveira Filho2012-03-084-0/+173
| | | | | | | | Test for types inside of namespace Test for types defined by typedef. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* The global header for PySide is now installed with the libpyside headers.Marcelo Lira2012-03-083-1511/+3
| | | | | | | | | This is good for PySide derived bindings (like the ones for QtMobility), so they don't need to copy the PySide global headers to their source tree and end up with an outdated file. Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Removed unnecessary line from test binding CMake file.Marcelo Lira2012-03-081-1/+1
|
* Updated GeneratorRunner calls on CMake files to use "--generator-set" ↵Marcelo Lira2012-03-081-1/+1
| | | | | | | | instead of "--generatorSet". Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Added test cases for signal emission.Marcelo Lira2012-03-085-0/+164
| | | | | | | Signals are emitted from C++ and Python. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Lauro Moura <lauro.neto@openbossa.org>
* Use the same Python used by Shiboken instead of find a new one.Hugo Parente Lima2012-03-081-2/+1
|
* Fixes connecting signal to decorated slot.Marcelo Lira2012-03-082-2/+42
| | | | | | | | | | | | Decorated methods on classes derived from QObject are not called when connected to Qt signals because they get a name different from the decorated method. To solve this decorated methods are registered as global slots. An unit test was added. Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Appended QtGui library dependency on pysidetest library.Renato Araujo Oliveira Filho2012-03-081-2/+2
|
* Used more common signature on function test to QList objects.Renato Araujo Oliveira Filho2012-03-081-1/+1
| | | | | Replaced "const QList<QObject*>" signature to "const QList<QObject*>&", more used on Qt code.
* Fix testbinding dependencyLauro Neto2012-03-081-1/+1
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Reviewer: Renato Araujo <renato.araujo@openbossa.org>
* Moved list_signal_test to pysidetest library.Renato Araujo Oliveira Filho2012-03-083-0/+27
| | | | | | | | 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>
* Fixes bug #502.Marcelo Lira2012-03-085-7/+88
| | | | | | | | | | | | | 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>
* Fixed type system for TestView from pysidetest directory.Marcelo Lira2012-03-081-1/+1
|
* Use .pyd extension for pysidetest module on Windows.Hugo Parente Lima2012-03-081-0/+3
|
* Fix compilation under MS Windows.Hugo Parente Lima2012-03-081-2/+2
|
* Added a call to QObject.metaObject() to check if a segfault is caused.Marcelo Lira2012-03-081-1/+1
| | | | | | | | | | | 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>
* Updated model/view test to follow changes in Shiboken/9459b9da commit.Marcelo Lira2012-03-081-1/+1
| | | | | Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Lauro Moura <lauro.neto@openbossa.org>
* Updated the PySide test related to Python model returning data to C++.Marcelo Lira2012-03-083-13/+29
|
* Added test for Python written models returning new objects without keeping ↵Marcelo Lira2012-03-086-0/+101
| | | | | | | reference to them. Reviewed by Lauro Moura <lauro.neto@openbossa.org> eviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Fix compilation on Windows.ps-1.0.0-beta1Hugo Parente Lima2010-11-251-0/+3
| | | | Reviewer: Renato Araújo <renato.filho@openbossa.org>
* Added PySide attributes to specify current version, and Qt version.renatofilho2010-11-122-0/+18
| | | | | | | Fixes bug: #454 Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Removed unnecessary find_package statements from pysidetest's CMakeLists.txtMarcelo Lira2010-11-111-4/+0
| | | | | Reviewed by Lauro Moura <lauro.neto@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Modified cmake files to make use of debug information provided by Shiboken.Marcelo Lira2010-10-261-1/+0
| | | | | In summation, PySide is compiled for debug if the libshiboken is compiled for debug.
* Signal objects redirect calls for homonymous methods.Marcelo Lira2010-10-112-6/+6
|
* Added a PySide derived test library.Marcelo Lira2010-10-118-0/+1688
The test library is intended to provide specific test cases in a way that problems could be isolated easier than using the ones provided by the Qt library. Cases commons to all Python bindings must go into the Shiboken test libraries, the one added here is intended to test Qt specifics (e.g. signals). A Python unit test was added for the case when a method and a signal have the same name.