Commit graph

1,291 commits

Author SHA1 Message Date
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
Paulo Alcantara
8ca58af304 Create unit test for bug #835
Signed-off-by: Paulo Alcantara <paulo.alcantara@openbossa.org>

Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-05-06 15:12:15 -03:00
Paulo Alcantara
6e95894d10 Fix bug #835 - "pyside breaks descriptor protocol"
Signed-off-by: Paulo Alcantara <paulo.alcantara@openbossa.org>

Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-05-06 15:11:06 -03:00
Hugo Parente Lima
2d5207b32c Fix path of pysideqmlregistertype.cpp. 2011-05-05 16:46:58 -03:00
Hugo Parente Lima
206474a5a3 Fix bug 825 - "Can't register a class using that uses metaclasses in QML using qmlRegisterType"
Reviewer: Renato Araújo <renato.filho@openbossa.org>
          Marcelo Lira <marcelo.lira@openbossa.org>
2011-05-05 16:13:59 -03:00
Renato Filho
964eb13adf Updated snippets code to use QFileSystemModel instead of deprecated class QDirModel.
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-05-05 15:45:26 -03:00
Hugo Parente Lima
29c263eeb8 Moved unit test of bug 834 from QtCore to QtGui, as it tests QtGui classes. 2011-05-05 14:18:39 -03:00
Renato Filho
f70ff13351 Created unit test for bug #820.
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-05-05 11:42:02 -03:00
Renato Filho
a31fb14a1f Fixed signal name parser.
Fixes bug #820.

Reviewer: Lauro Moura <lauro.neto@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-05-05 11:41:25 -03:00
Renato Filho
84b4f2da0a Created unit test for QSysInfo class.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-05-04 15:51:14 -03:00
Renato Filho
99ca556810 Fixed QSysInfo.Endian enum detection on MacOs.
Fixes bug #809.

Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-05-04 15:51:06 -03:00
Renato Filho
0dd57ef4a5 Created unit test fo QMacStyle class.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-05-04 15:50:55 -03:00
Renato Filho
645c80134f Included QMacStyle class check.
Included QMacStyle header on global include.

Fixes bug #840

Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-05-04 15:50:36 -03:00
Hugo Parente Lima
06051ca647 Fix bug 786 - "There's no __eq__ for all classes inherited from ObjectDescription<T> due to an Apiextractor bug."
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
          Renato Araújo <renato.filho@openbossa.org>
2011-05-04 14:08:15 -03:00
Renato Filho
3590ad14d5 Fixed some typos on unit test for bug #841 2011-05-04 13:51:59 -03:00
Renato Filho
95dd5c0861 Created unit test for bug #785.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-05-04 13:51:59 -03:00
Renato Filho
34f0fe99da Put back missing functions for class QItemSelection.
fixes bug #785.

Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-05-04 13:51:59 -03:00
Hugo Parente Lima
4175398b07 Fix bug 797 - "error on ui file load"
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Renato Araújo <renato.filho@openbossa.org>
2011-05-04 10:59:42 -03:00
Hugo Parente Lima
9b793705fe Fix bug 844 - "Crash in QGraphicsItem::toGraphicsObject when printing obj reference"
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Renato Araújo <renato.filho@openbossa.org>
2011-05-03 15:46:24 -03:00
Paulo Alcantara
f5669ba342 Create unit test for bug #834
Signed-off-by: Paulo Alcantara <paulo.alcantara@openbossa.org>

Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-05-03 14:49:23 -03:00
Paulo Alcantara
a0d7bab4be Fix bug #834 - "Segfault on childEvent"
The fix was basically setting the owner attribute to a correct value.

Signed-off-by: Paulo Alcantara <paulo.alcantara@openbossa.org>

Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-05-03 14:49:04 -03:00
Renato Filho
393ddb46fa Create manually dir for tests.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-05-03 14:48:55 -03:00
Renato Filho
13d505c9c0 Fixed QStandardItem::clone and QStandardItemModel::setItemPrototype ownership rules.
Fixes bug #841.

Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-05-03 14:47:24 -03:00
Renato Filho
9ebe4ba6af Updated unit test for bug #617 to new enum repr format.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-05-02 19:12:01 -03:00
Renato Filho
e9c7505375 Created unit test for bug #826.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-05-02 19:11:56 -03:00
Renato Filho
ee7b26545b Created unit test for bug #839.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-05-02 19:11:50 -03:00
Renato Filho
49ba9c9cd5 Implemented QTestTouch functions.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-05-02 19:11:20 -03:00
Renato Filho
af37aaf259 Bump version and updated dependency version required. 2011-04-28 17:59:49 -03:00
Renato Filho
011db01f65 Fixed bug 728 to use the correct arguments on function call.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-04-28 17:43:01 -03:00
Paulo Alcantara
1cc2ccbcd8 Create unit test for QIPv6Address
Signed-off-by: Paulo Alcantara <paulo.alcantara@openbossa.org>

Reviewer: Renato Araujo <renato.araujo@openbossa.org>
          Marcelo Lira <marcelo.lira@openbossa.org>
2011-04-28 17:43:01 -03:00
Paulo Alcantara
2130c2dce5 Fix bug #788 - "QIPv6Address.__getitem__ is missing."
Signed-off-by: Paulo Alcantara <paulo.alcantara@openbossa.org>

Reviewer: Renato Araujo <renato.araujo@openbossa.org>
          Marcelo Lira <marcelo.lira@openbossa.org>
2011-04-28 17:43:01 -03:00
Renato Filho
d34e154190 Fixed QFileDialog functions which used QString as pointer to return values
Fixes bug #819

Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-04-28 17:43:01 -03:00