Renato Filho
606a90d406
Created unit test for QObject.eventFilter function.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-06-01 14:05:29 -03:00
Renato Filho
9408505a24
Fixed problems with eventFilter function destruction order.
...
The object passed to eventFilter function will keep a reference
to the listener object, this will ensure the destruction order.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-06-01 14:04:31 -03:00
renato araujo
2e985afb3a
Created ClassInfo documentation.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente <hugo.lima@openbossa.org>
2011-05-30 16:26:48 -03:00
Renato Filho
35630f32ff
Updated generatorrunner dependency version.
2011-05-30 16:26:40 -03:00
Hugo Parente Lima
30444ccab7
Minor change in a doc code snippet.
2011-05-30 14:44:09 -03:00
Renato Filho
2aeac5e05b
Fix memory leak on QEasingCuverFunctor.
2011-05-24 14:49:54 -03:00
Renato Filho
774223adbd
Check if the same python object arrive on destroyed signal.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-05-23 17:43:42 -03:00
Renato Filho
959aa385f5
Created DestroyListener class.
...
This class is used to keep the Python object live until the signal destroyed emission.
With this is possible to use the QObject on destruction signal.
Fixes bug #505 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-05-23 17:43:38 -03:00
Renato Filho
05431cbfc0
Fixed reference leek on global receiver callback call.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-05-23 17:43:35 -03:00
Renato Filho
1abf8c6149
Created unit test for ClassInfo class.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-05-23 17:43:31 -03:00
Renato Filho
04be2b1ca2
Implemented PySide::ClassInfo Object.
...
This class reproduce the Qt macro Q_CLASSINFO behavior.
Eg.:
@QtCore.ClassInfo(author='PySide', url='http://www.pyside.org ')
fixes bug #705 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-05-23 17:43:27 -03:00
Renato Filho
fe06dba43c
Create checkType for libpyside objects.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-05-23 17:43:23 -03:00
Renato Filho
cef6db9548
Fix indentation.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-05-23 17:43:03 -03:00
Marcelo Lira
b112512793
Added the missing QPixmapCache.Key class to the type system.
...
Unit tests for QPixmapCache were also added.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2011-05-19 14:45:00 -03:00
Renato Filho
6e16fd86f4
Create unit test for function QEasingCuver.setCustomType.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-05-19 10:29:59 -03:00
Renato Filho
40277720ae
Implemented support to QEasingCurve.setCustomType.
...
fixes bug #725 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-05-19 10:29:59 -03:00
Renato Filho
b9fd78a65f
Create PySideWeakRef class.
...
With this class you can use a c function as a callback on PyObject destruction.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-05-19 10:29:59 -03:00
Hugo Parente Lima
d5fd41d8ee
Remove ugly gray background on documentation see-also links.
2011-05-18 17:26:09 -03:00
Lauro Neto
a3628e8752
Update test for python 2.5
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Reviewer: Hugo Lima <hugo.lima@openbossa.org>
2011-05-18 15:44:33 -03:00
Hugo Parente Lima
eb133c76b8
Fix bug 803 - "QWebElementCollection.operator[] is not implemented"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-05-18 14:29:29 -03:00
Paulo Alcantara
a859097f56
Fix typo
...
Signed-off-by: Paulo Alcantara <paulo.alcantara@openbossa.org>
2011-05-18 11:05:51 -03:00
Renato Filho
3546a3674f
Implemented convertion from Python types for QDate, QTime, QDateTime.
...
Fixes bug #680
Reviewer: pcacjr <pcacjr@gmail.com>
Hugo Parente <hugo.lima@openbossa.org>
2011-05-18 11:00:03 -03:00
Hugo Parente Lima
75d27311e5
Fix bug 686 - "Request to make Q[Mutex|Read|Write]Locker context managers"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-05-17 18:41:54 -03:00
Hugo Parente Lima
ba448baf4d
White spaces removal...
2011-05-17 18:41:39 -03:00
Marcelo Lira
e1a137d33e
Unit test for bug 634, based on code from Marcus Lindblom.
...
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2011-05-17 17:50:08 -03:00
Renato Filho
82fc89093c
Created unit test for bug #854 .
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente <hugo.lima@openbossa.org>
2011-05-17 10:48:30 -03:00
Renato Filho
29cd3b1351
Fixed kee-reference rule.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente <hugo.lima@openbossa.org>
2011-05-17 10:48:30 -03:00
Hugo Parente Lima
5860f786a0
Fix bug 857 - "64bit Windows build broken"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.filho@openbossa.org>
2011-05-16 15:19:56 -03:00
Marcelo Lira
5ae1e6460b
Added tests for bug #716 - QPersistentModelIndex isn't convertible to QModelIndex
...
The main test (exactly the same as reported) was added to QtGui tests,
but also extended QAbstractItemModel test with a case that is the
essence of the problem.
http://bugs.pyside.org/show_bug.cgi?id=716
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2011-05-13 17:25:08 -03:00
Marcelo Lira
bf4e4cdb89
QPersistentModelIndex has its "operator const QModelIndex&() const" method back.
2011-05-13 17:25:08 -03:00
Paulo Alcantara
5a408b2b9d
Create unit tests for bug #606
...
Signed-off-by: Paulo Alcantara <paulo.alcantara@openbossa.org>
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-05-13 14:02:41 -03:00
Paulo Alcantara
a8b02e046b
Fix bug #606
...
Add toTuple() function to these all classes:
- QPoint/QPointF/QSize/QSizeF/QVector2D/QVector3D/QVector4D
- QLine/QLineF/QColor
Signed-off-by: Paulo Alcantara <paulo.alcantara@openbossa.org>
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-05-13 14:02:41 -03:00
Paulo Alcantara
7780ccddc1
Add template to toTuple() functions
...
Signed-off-by: Paulo Alcantara <paulo.alcantara@openbossa.org>
2011-05-13 14:02:41 -03:00
Hugo Parente Lima
ac377b7fbd
Always use the local Qt headers + global.h.in cleanup.
...
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-05-12 21:15:35 -03:00
Hugo Parente Lima
63c4cb9f9e
Only add Qt4.6 classes when using Qt4.6 on QtTest and QtGui.
2011-05-12 19:04:22 -03:00
Hugo Parente Lima
70a776c6ff
Correctly set SUPPORTED_QT_VERSION variable to the current Qt version.
2011-05-12 19:01:47 -03:00
Hugo Parente Lima
f4128e89ed
Add since attribute for classes and enums added on Qt4.6 and Qt4.7.
2011-05-12 19:00:44 -03:00
Hugo Parente Lima
b552641feb
Fix QGraphicsItem compilation on Qt4.5.
2011-05-12 18:59:48 -03:00
Hugo Parente Lima
c08b1ba563
Fix QColor wrapper compilation on Qt4.5.
2011-05-12 18:58:59 -03:00
Hugo Parente Lima
0c4fbcf5ad
Be compatible with Qt4.5, i.e. no QScopedPointer.
2011-05-12 18:56:53 -03:00
Hugo Parente Lima
4d90463624
Remove typesystem verbosity after fix of bug 417.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2011-05-11 11:13:13 -03:00
Hugo Parente Lima
a5249a70e1
Use add-function on QCoreApplication and QApplication constructors.
...
This was needed after a fix in the shiboken generator regarding the
tp_init initialization.
2011-05-11 11:13:13 -03:00
Renato Filho
3669f32af8
Created unit test for bug #312 .
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-05-11 10:18:36 -03:00
Renato Filho
78e120ec02
Uses QMetaObject revision 3.
...
This allow to register signal and slot in any order.
Fixes bug #312
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-05-11 10:18:16 -03:00
Renato Filho
fc331f37e3
Created test for mew pythonic functions on QTransform class.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-05-10 16:50:43 -03:00
Renato Filho
99c62a3a09
Create pythonic functions for QTransform class.
...
fixes bug #615 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-05-10 16:50:21 -03:00
Hugo Parente Lima
18e0ece1c9
Fix assert in bug 722 unit test.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2011-05-10 10:25:51 -03:00
Hugo Parente Lima
54e97b8e14
Remove the restriction of detecing QtOpenGL module just when the gl.h header was found.
...
This is needed to be able to compile the QtOpenGL module on Linux when using OpenGL-ES
backend. On the other hand OpenGL-ES support isn't yet supported under MS Windows but I
don't think that this should be a problem at all.
2011-05-10 10:25:51 -03:00
Renato Filho
450d1a98a5
Avoid run PyObjectWrapper operators without python interpreter.
...
Fixes bug #829 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-05-09 16:32:48 -03:00
Renato Filho
7fb34b3685
Created unit test for bug #847 .
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-05-09 15:47:05 -03:00