Commit graph

1,336 commits

Author SHA1 Message Date
Hugo Parente Lima
a698807fd0 Fix bug 869 - "QDateTimeEdit initial time problem"
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
          Marcelo Lira <marcelo.lira@openbossa.org>
2011-06-08 15:05:15 -03:00
Hugo Parente Lima
e48aa92103 Fix bug 424 - "QDockWidget.setTitleBarWidget does not accept 0" 2011-06-07 15:25:07 -03:00
Hugo Parente Lima
82612584c6 Show perm links only when the mouse hover on title. 2011-06-06 18:54:48 -03:00
Hugo Parente Lima
99b07e3221 Update javascript files used in sphinx generated documentation. 2011-06-06 18:54:48 -03:00
Renato Filho
00b1216fb9 Created unit test for bug #860.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
          Hugo Parente <hugo.lima@openbossa.org>
2011-06-03 17:35:18 -03:00
Renato Filho
21dc823972 Fixed signal connection with native c++ slot.
Fixes bug #860.

Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
          Hugo Parente <hugo.lima@openbossa.org>
2011-06-03 17:33:53 -03:00
Hugo Parente Lima
2b78766cdc Fix bug 827 - "Anchor sign for headers to copy links for sections"
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Luciano Wolf <luciano.wolf@openbossa.org>
2011-06-02 17:53:47 -03:00
Hugo Parente Lima
80c1011721 Fix bug 631 - "QSocketNotifier: Accept file-like object (with .fileno() method) in constructor" 2011-06-02 17:53:47 -03:00
Hugo Parente Lima
0d2705eb11 Avoid warnings about redefined constants. 2011-06-02 17:53:47 -03:00
Hugo Parente Lima
0b1eea7116 Unit test for bug862 - "Problems when printing objects" 2011-06-02 17:53:46 -03:00
Marcelo Lira
8127218741 Removed the rejection of QAbstractFileEngine.beginEntryList.
Added an unit test.

Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
2011-06-02 17:11:28 -03:00
Marcelo Lira
046bccece9 Moved internalPointer methods code injection into a code template. 2011-06-02 17:11:28 -03:00
Renato Filho
bec5ca48fd Updated example to handle with Python warnings.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Luciano Wolf <luciano.wolf@openbossa.org>
2011-06-02 16:18:05 -03:00
Hugo Parente Lima
75154e2f2f Port all buffer related code to the new Shiboken buffer interface.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
          Luciano Wolf <luciano.wolf@openbossa.org>
2011-06-02 11:04:24 -03:00
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