Hugo Parente Lima
fa118ae670
Added comments to some function removals.
2011-02-03 18:35:40 -02:00
Hugo Parente Lima
709895f2fb
Fix bug 653 - "Crash after calling QWizardPage.wizard()"
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-02-02 20:09:10 -02:00
Hugo Parente Lima
295b965d3c
Fix bug 652 - "Segfault when using QTextBlock::setUserData due to missing ownership transfer"
2011-02-02 19:23:24 -02:00
Hugo Parente Lima
d7269670ee
Removed the removal of some QApplication functions.
...
These functions were removed due to ancient bugs in shiboken
generator, all them now fixed.
Functions:
font(const char*)
setFont(QFont,const char*)
palette(const char*)
2011-02-02 19:23:24 -02:00
Renato Araujo Oliveira Filho
c19ab39cbf
Bump version to beta6.
2011-02-02 15:16:38 -03:00
Renato Araujo Oliveira Filho
1b1a83dc30
Fixed Cmake files used to find the library after the installation.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-02-02 11:42:52 -03:00
Hugo Parente Lima
87977cc320
Fix bug 650 - "Missing bindings for QNetworkProxyFactory"
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-02-02 11:36:12 -02:00
Hugo Parente Lima
3270dde028
Fix bug 651 - "Calling disconnect() with no arguments causes segfault"
2011-02-02 11:36:12 -02:00
Renato Araujo Oliveira Filho
a44fcc6dba
Updated QAbstractItemModel.createIndex documentation to warning about
...
ptr argument life time.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-02-01 15:49:53 -03:00
Hugo Parente Lima
43a8f4089e
Fix bug 656 - "cannot inherit from QCoreApplication"
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-01-31 16:22:28 -02:00
Marcelo Lira
f2c537eeaa
Updated GeneratorRunner calls on CMake files to use "--generator-set" 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>
2011-01-31 14:54:10 -03:00
Hugo Parente Lima
9ca80b5d3a
Don't crash if a typeId was not found when emiting a signal.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2011-01-31 14:36:03 -02:00
Hugo Parente Lima
e17795d35b
Added test for bug 613.
2011-01-28 20:44:16 -02:00
Hugo Parente Lima
2a43919024
Fix bug 565 - "QImage missing *data constructors"
...
Fix bug 566 - "'PySide.QtGui.QImage' object has no attribute 'scanLine'"
The constructors now accepts any PyObject which implements the buffer protocol, as the
C++ and PyQt4 version the buffer must be alive during the life time of QImage because QImage
*does not* copy the image data.
scanLine() and bits() now return buffer objects pointing to the memory inside QImage.
2011-01-28 19:33:42 -02:00
Renato Araujo Oliveira Filho
4af09f10ad
Implement __repr__ function for class with Float attributes.
2011-01-28 18:02:20 -03:00
Renato Araujo Oliveira Filho
3c3caf154e
Created unit test for bug #617 .
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-01-28 16:17:18 -03:00
Renato Araujo Oliveira Filho
5112a89ca9
Created __repr__ function unit test.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-01-27 17:35:05 -03:00
Renato Araujo Oliveira Filho
1a65a287fb
Implemented fuction __repr__ for base types.
...
Fixes bug #593
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-01-27 17:34:44 -03:00
Renato Araujo Oliveira Filho
1f6e877f8d
Fixed QFileDialog function calls with options in the last argument.
...
Fixes bug #590
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-01-25 17:29:21 -03:00
Hugo Parente Lima
629c0c383b
Add test for bug#640.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-01-25 15:55:01 -02:00
Renato Araujo Oliveira Filho
c5fffa6f24
Implement support to others color spec on deepcopy function.
...
Created unit test QColor reduce function.
Fixes bug #612 .
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-01-25 15:38:22 -03:00
Hugo Parente Lima
286f9c6d09
Fix bug#633 - "bool of null QDate (possibly other empty QString/null QObj types?) returns True for empty instance; probably should be False"
2011-01-24 16:42:45 -02:00
Renato Araujo Oliveira Filho
9a4c439d7f
Fixed QLineEdit.getTextMargins return value.
...
Fixes bug #632
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-01-24 13:44:28 -03:00
Hugo Parente Lima
a4d7d8f80d
Fix bug#636 - "Unable to navigate back to the main site from the generated documentation"
2011-01-24 10:30:04 -02:00
Renato Araujo Oliveira Filho
1cce4bafd3
Bump version to beta5.
2011-01-21 16:14:58 -03:00
Renato Araujo Oliveira Filho
08a0298fe0
Updated generatorrunner version dependency.
2011-01-21 16:14:16 -03:00
Renato Araujo Oliveira Filho
9284703855
Replace use of QMetaObject::activate to QObject::qt_metacall.
...
This is necessary to support signals with default values.
Fix bug #624
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2011-01-21 13:44:47 -03:00
Marcelo Lira
bcba2a3b32
Added test cases for signal emission.
...
Signals are emitted from C++ and Python.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2011-01-21 13:41:26 -03:00
Hugo Parente Lima
b9679215b8
Fix bug#552 - "Segmentation fault when using QUiLoader and QTabWidget"
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-01-21 10:30:21 -02:00
Hugo Parente Lima
7f533799d4
Use the same Python used by Shiboken instead of find a new one.
2011-01-20 15:17:34 -02:00
Hugo Parente Lima
f7a2ab3d66
Don't reject QGLWidget::setMouseTracking function.
2011-01-20 15:12:41 -02:00
Hugo Parente Lima
6a83c87283
Fix bug#623 - "QGLWidget.bindTexture(QPixmap, GLenum, GLenum) is missing"
2011-01-20 15:12:41 -02:00
Marcelo Lira
1a3418c8d1
Added test for module reloading.
...
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
2011-01-19 17:49:12 -03:00
Renato Araujo Oliveira Filho
3b026ad4c9
Fixed Widget and Layout inject code to avoid problems in armel arch.
2011-01-18 14:42:02 -03:00
Renato Araujo Oliveira Filho
50e6f7671d
Created unit test for bug #575 .
...
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-01-17 10:46:43 -03:00
Marcelo Lira
499051fd2a
Updates documentation of QUiLoader.registerCustomWidget method.
...
The new documentation highlights the danger of duck punching virtual
methods of widget objects produced by QUiLoader.
Also named the argument of QUiLoader.registerCustomWidget as
customWidgetType.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
2011-01-14 17:14:13 -03:00
Marcelo Lira
fb6186d270
Named the single argument of all "QWidget.*Event(arg)" methods as "event".
...
Just to make the generated documentation more readable.
2011-01-14 17:01:55 -03:00
Marcelo Lira
0d9a584a1c
Fixed style on QUiLoader code snippet.
2011-01-14 17:01:55 -03:00
Hugo Parente Lima
530a3d23c5
Fix bug#584 - "python pickle module can't treat QByteArray object of PySide"
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2011-01-14 13:58:10 -02:00
Renato Araujo Oliveira Filho
8243565f81
Fix typo on Cmake files.
...
Reviewer: Bruno Araujo <bruno.araujo@openbossa.org>
2011-01-13 14:14:26 -03:00
Hugo Parente Lima
867c2bd259
Removed useless rejections
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2011-01-13 13:59:02 -02:00
Hugo Parente Lima
ae02222d57
Remove protected fields of event classes.
...
Event classes have a lot of non-documented protected fields, those fields
are removed from PySide because they are Qt implementation details,
besides the fact they are accessible by ordinary event methods.
2011-01-13 13:59:02 -02:00
Hugo Parente Lima
a78108efe3
Fix documentation for QWidget.winId()
2011-01-13 13:59:02 -02:00
Hugo Parente Lima
7e1b76e054
Don't crash when a unknown type is given as a meta call argument.
2011-01-13 13:59:01 -02:00
Hugo Parente Lima
b5331e5c56
Add polymorphic-id-expression to QGraphicsObject and QDeclarativeItem.
2011-01-13 13:59:01 -02:00
Renato Araujo Oliveira Filho
c8111dc99a
Fixed path to include file used on cmake files.
...
Reviewer: Bruno Araujo <bruno.araujo@openbossa.org>
2011-01-13 10:45:17 -03:00
Renato Araujo Oliveira Filho
85947c03d9
Create a new parent test.
...
Check if the parent does not increase the reference if you set the
parent twice.
2011-01-12 19:31:22 -03:00
Renato Araujo Oliveira Filho
b8fcead629
Use python base name as library prefix.
...
Use the same CMAKE_BUILD_TYPE as shiboken if none was specified.
Append SHIBOKEN_PYTHON_BASENAME in the library suffix.
Fix bug #509 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2011-01-12 17:27:42 -03:00
Marcelo Lira
ed0d9cf820
Added test for QPainter.setPen() method.
...
Calls it with enum, to call the setPen(Qt.PenStyle) signature, and with
an integer, to call the setPen(QColor) signature (QColor is implicitly
built from an unsigned int in C++).
For more details see Bug #511 :
http://bugs.openbossa.org/show_bug.cgi?id=511
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
2011-01-12 10:44:21 -03:00
Marcelo Lira
814bc522ce
Added condition for a phonon test that fails on Win32 with Qt 4.7.1.
...
This is due to a bug on Phonon::createPath that happens with the
specific combination of Win32 platform and Qt 4.7.1. The bug is reported
as fixed for Qt 4.7.2, but it wasn't released yet.
For more details on the bug:
http://bugreports.qt.nokia.com/browse/QTBUG-13062
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
2011-01-10 15:26:54 -03:00