Renato Filho
703b460815
Fixed build for Qt 4.6.
2011-08-23 10:21:38 -03:00
Renato Filho
e6ac7155a0
Dependency version update.
2011-08-22 18:13:45 -03:00
Renato Filho
ef09666f25
Created unit test for __reduce__ of empty QColor.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Neto <lauro.neto@openbossa.org>
2011-08-22 17:29:33 -03:00
Renato Filho
6311d46d0d
Fix QColor __reduce__ function.
...
Fixes bug #983 .
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Neto <lauro.neto@openbossa.org>
2011-08-22 17:29:13 -03:00
Renato Filho
3b4b9e4716
Created unitest for bug #972 .
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Neto <lauro.neto@openbossa.org>
2011-08-19 18:53:42 -03:00
Renato Filho
ceb3d27fbf
Fix QGraphicsProxyWidget.setWidget return policy.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Neto <lauro.neto@openbossa.org>
2011-08-19 18:53:42 -03:00
Hugo Parente Lima
4ab3bc368e
Fix QSettings code snippet.
2011-08-19 16:20:46 -03:00
Renato Filho
ad3a8ed9ce
Implemented GlobalReceiverV2.
...
A new implementation of GlobalRecever that optmize the signal
connection.
Fixes bug #928 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-08-19 14:28:13 -03:00
Marcelo Lira
cccee9c2c9
Do not generate QTest::qt_snprintf function.
...
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
2011-08-18 19:22:39 -03:00
Marcelo Lira
f9c9effbf7
Fixed conversion rules for QWebPage.javaScriptPrompt method.
2011-08-18 17:32:33 -03:00
Marcelo Lira
caec341176
Updated QtNetwork's type system.
2011-08-18 14:36:50 -03:00
Marcelo Lira
660e5e2966
Updated QtDeclarative's type system.
2011-08-18 14:36:49 -03:00
Marcelo Lira
f4e0aae844
Updated QtWebKit's type system.
...
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
2011-08-18 09:17:00 -03:00
Marcelo Lira
d01a8a8f6e
Updated QtXmlPattern's type system.
2011-08-18 09:17:00 -03:00
Marcelo Lira
dda8cdc8fc
Updated QtGui's type system.
2011-08-18 09:16:55 -03:00
Marcelo Lira
990d1b3651
Updated QtCore's type system.
2011-08-17 12:33:18 -03:00
Hugo Parente Lima
c495e61e03
Fix bug 964 - "QAbstractItemView.moveCursor() method is missing"
...
Reviewer: Marcelo Lira <marcelol.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2011-08-16 18:04:24 -03:00
Hugo Parente Lima
0293a3ce36
Fix bug 950 - "implement Q_INVOKABLE"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2011-08-16 14:56:55 -03:00
Renato Filho
6cdd438491
Fixed QColor.__reduce__ function.
...
Fixes bug #960 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-08-16 14:18:28 -03:00
Renato Filho
530ec26bea
Created unit test for QColor.__repr__ and QColor.__str__ functions.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-08-16 14:18:23 -03:00
Renato Filho
bea3664c38
Implemented QColor.__repr__ and QColor.__str__ functions.
...
Fixes bug #961 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-08-16 14:18:06 -03:00
Renato Filho
6f1d896ed2
Created unit test for bug #958 .
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-08-15 18:47:24 -03:00
Renato Filho
44eab232ed
Remove obscure code from QUiLoader inject code.
...
Fixes bug #958 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-08-15 18:47:20 -03:00
Renato Filho
612b27132d
Removed return policy from QUiLoader.load return object.
...
This policy have already applied on glue code.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-08-15 18:47:00 -03:00
Renato Filho
0e0b99f43a
Created unit test for bug #965 .
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Neto <lauro.neto@openbossa.org>
2011-08-12 18:59:10 -03:00
Hugo Parente Lima
b261ff4642
Fix bug 953 - "Segfault when QObject is garbage collected after QTimer.singeShot"
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-08-12 18:28:44 -03:00
Hugo Parente Lima
01b90a3a58
Deprecated functions marked as deprecated.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-08-12 17:00:28 -03:00
Renato Filho
5cc288b679
Created unit test for bug #951 .
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-08-11 19:14:57 -03:00
Renato Filho
f40f69f6e1
Updated qmlRegisterType to register.
...
qmlRegisterType uses QDeclarativeItem in template args, when the class is derived from QDeclarativeItem, otherwise uses QObject.
Fixes bug #951 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-08-11 19:14:57 -03:00
Hugo Parente Lima
9d4b14d31b
Fix links on rel bar.
2011-08-10 15:15:42 -03:00
Hugo Parente Lima
405c26c30d
Bump version to 1.0.6.
2011-08-10 15:15:42 -03:00
Didier Raboud
8a28ab0783
Update pysidedocs theme to rely more on sphinx's base theme:
...
- Drop files that are redundant with sphinx.
- Add _templates/layout.html to add the needed customisation.
- Update theme.conf to ensure theme inheritance.
- Update pysidedocs.css to fit the theme with sphinx's basic theme.
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2011-08-10 15:15:42 -03:00
Lauro Neto
d64e0a5567
Added test for signal with typedef
...
Reviewer: Renato Filho <renato.filho@openbossa.org>
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
2011-08-10 14:03:59 -03:00
Lauro Neto
ca1c387257
Removing uneeded file
2011-08-09 13:40:38 -03:00
Lauro Neto
038b184c85
Fix plugin test
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Reviewer: Hugo Lima <hugo.lima@openbossa.org>
2011-08-09 13:39:04 -03:00
Lauro Neto
aea22e98b9
Add test for qml plugin.
...
Simple test. No asserts. If broken should segfault
2011-08-09 13:39:04 -03:00
Lauro Neto
96b4196d58
Fixes in QtWebkit
...
Needed to make example from [1] work. Example will be added
to pyside-examples.
[1] http://blog.qtlabs.org.br/2011/05/30/transformando-o-qml-no-proximo-flash/
2011-08-09 13:39:04 -03:00
Marcelo Lira
1650d802a4
Fixes Bug #944 : Segfault on QIcon(None).pixmap()
...
http://bugs.pyside.org/show_bug.cgi?id=944
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2011-08-08 14:53:27 -03:00
Renato Filho
7ecfb3e921
DynamicMetaObject optimizations.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-08-05 14:16:07 -03:00
Marcelo Lira
39d9b90429
Moved AutoArrayPointer from libpyside to libshiboken.
...
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2011-08-03 18:53:54 -03:00
Hugo Parente Lima
8bf041b713
Don't color links black.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-08-02 17:42:44 -03:00
Hugo Parente Lima
22e4c53b55
Better looking module listing page.
2011-08-02 17:42:44 -03:00
Hugo Parente Lima
5b276074c8
Translate QHistoryState code snippet to Python.
2011-08-02 17:42:44 -03:00
Hugo Parente Lima
774f01761b
Cosmetic changes on docs.
2011-08-02 17:42:44 -03:00
Marcelo Lira
74754b1e13
Created template code for added QObject's trUtf8 methods.
...
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
2011-08-01 15:58:01 -03:00
Marcelo Lira
12fe2a44f8
Replaced hard coded variables by type system variables in QtCore and QtGui.
2011-08-01 13:12:49 -03:00
Hugo Parente Lima
20af27cac5
Fix bug 923 - "Make QScriptValue (or QScriptValueIterator) implement the Python iterator protocol"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-07-29 10:48:02 -03:00
Hugo Parente Lima
d38ba8cbb8
New CSS style for PySide docs.
2011-07-29 10:48:02 -03:00
Marcelo Lira
3a8ee64d1f
Removed the "default-constructor" from some QtCore type entries.
...
The generator was improved to do a better job figuring out a default
constructor for types.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2011-07-28 18:11:03 -03:00
Marcelo Lira
11356a142b
Removed the remaining unnecessary QTextStream::operator>> methods.
2011-07-28 18:10:24 -03:00
Marcelo Lira
81beeae90d
Fixes the support for QGLShaderProgram's array functions.
...
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2011-07-28 18:09:50 -03:00
Hugo Parente Lima
f918fdb490
Fix bug 941 - "Signals with QtCore.Qt types as arguments has invalid signatures"
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-07-28 14:03:04 -03:00
Renato Filho
4f873e6f79
Fixed windows compilation.
2011-07-28 11:15:26 -03:00
Renato Filho
57ff5a58c8
Created unit test for QScriptValue __repr__ function.
2011-07-27 18:02:06 -03:00
Renato Filho
74f8e9ab0a
Implement a more detailed __repr__ function for QScriptValue.
...
Fixes bug #922 .
2011-07-27 17:54:27 -03:00
Renato Filho
c1ece5e4d9
Implemented 'QGLShaderProgram' array functions support.
...
Fixes bug #940 .
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente <hugo.lima@openbossa.org>
2011-07-27 14:20:45 -03:00
Renato Filho
ac1b61deb9
Update bug_931 unit test to check for isinstance.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Neto <lauro.neto@openbossa.org>
2011-07-26 10:06:08 -03:00
Renato Filho
017fbee08f
Implemented meta type for PySideSignal.
...
This allow intercept isinstance function to make valid with any
SignalInstance object.
Fixes bug #931 .
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Neto <lauro.neto@openbossa.org>
2011-07-26 10:06:08 -03:00
Hugo Parente Lima
9c2a629a96
Use linked lists instead of lists to speed up a bit.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2011-07-25 19:01:01 -03:00
Hugo Parente Lima
be2e9569dd
Small optimizations on libpyside.
2011-07-25 15:32:42 -03:00
Renato Filho
af629d13fc
Created unit test for property decorator.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Neto <lauro.neto@openbossa.org>
2011-07-25 11:29:22 -03:00
Renato Filho
5644a87c28
Implemented Property decorator support.
...
Fixes bug #900 .
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Neto <lauro.neto@openbossa.org>
2011-07-25 11:28:56 -03:00
Renato Filho
b355cfc5dd
Bumped version to 1.0.5
2011-07-22 15:09:08 -03:00
Renato Filho
85e5866c43
Updated shiboken version dependency.
2011-07-22 15:07:27 -03:00
Renato Filho
b16f252af6
Fix typo on function modification signature.
2011-07-22 15:06:54 -03:00
Renato Filho
11b3bd6bc8
Use realloc functions on MetaObject functions.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Neto <lauro.neto@openbossa.org>
2011-07-22 11:51:44 -03:00
Renato Filho
38e6275aad
Implemented DynamicMetaObject optiomizations.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Neto <lauro.neto@openbossa.org>
2011-07-22 11:51:44 -03:00
Renato Filho
d9ce3c55f6
Update unit test for static metaobjet to work with new optimizations
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Neto <lauro.neto@openbossa.org>
2011-07-22 11:51:44 -03:00
Renato Filho
6abeac0c1f
Update QMetaObject test to test optimization changes.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Neto <lauro.neto@openbossa.org>
2011-07-22 11:51:44 -03:00
Renato Filho
2535688f04
Update unit test for max signals.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Neto <lauro.neto@openbossa.org>
2011-07-22 11:51:44 -03:00
Renato Filho
55fb3a133d
Fixed unit test for bug_847 mandelbug.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Neto <lauro.neto@openbossa.org>
2011-07-22 11:51:44 -03:00
Hugo Parente Lima
3c2505a625
Fix bug 938 - "QTemporaryFile JPEG problem"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-07-22 10:48:18 -03:00
Hugo Parente Lima
f1b330231a
Fix bug 937 - "missing pid method in QProcess"
2011-07-21 17:12:49 -03:00
Hugo Parente Lima
239ae999fa
Fix bug 934 - "A __getitem__ of QByteArray behaves strange"
2011-07-21 16:25:22 -03:00
Hugo Parente Lima
b2ec5cf607
Fix bug 890 - "Add signal connection example for valueChanged(int) on QSpinBox to the docs"
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-07-21 16:09:58 -03:00
Marcelo Lira
a69b5adfed
Moved test for bug #921 from QtCore's directory to QtGui's.
...
Because it imports QtGui module.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
2011-07-21 14:38:13 -03:00
Hugo Parente Lima
0c2b68c904
Fix bug 821 - "Mapping interface for QPixmapCache"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-07-20 19:11:48 -03:00
Marcelo Lira
2e98f87d20
Fixes bug #910 - installEventFilter() increments reference count on target object.
...
http://bugs.pyside.org/show_bug.cgi?id=910
Also added/fixed unit tests.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2011-07-20 17:54:11 -03:00
Hugo Parente Lima
33bf95628f
Add a comma.
2011-07-20 17:47:15 -03:00
Hugo Parente Lima
f893043a91
Fix bug 916 - "Missing info about when is possible to use keyword arguments in docs [was: QListWidgetItem's constructor ignores text parameter]"
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-07-20 16:44:14 -03:00
Hugo Parente Lima
0a41e336ba
Fix bug 926 - "qmlRegisterType does not work with QObject"
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Neto <lauro.neto@openbossa.org>
2011-07-20 15:31:33 -03:00
Renato Filho
b6e0977d86
Fix memory leak on GlobalReceiver.
2011-07-19 11:30:12 -03:00
Renato Filho
33301b9744
Created unit test for bug #931 .
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-07-19 10:27:51 -03:00
Renato Filho
58e3040802
Renamed PySide.Signal instance class to PySide.SignalInstance.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-07-19 10:27:30 -03:00
Renato Filho
628f203802
Created unit test for bug #921 .
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2011-07-19 10:08:10 -03:00
Renato Filho
b10a254814
Disconnect signals during the class destroy.
...
Fix bug #921 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2011-07-19 10:08:10 -03:00
Hugo Parente Lima
107ee51732
Update copyright year of license boiler plate.
2011-07-18 16:08:33 -03:00
Hugo Parente Lima
2fd0e8fcb8
Fix bug 924 - "Allow QScriptValue to be accessed via []"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2011-07-18 14:18:24 -03:00
Hugo Parente Lima
6dea41cee4
Fix bug 920 - "Cannot use same slot for two signals"
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2011-07-15 15:43:52 -03:00
Renato Filho
6591448440
Created unit test for bug #919 .
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-07-14 17:21:34 -03:00
Renato Filho
28592411f4
Fix argument name on QStyle functions, and modify default value.
...
Fixes bug #919 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-07-14 17:21:34 -03:00
Renato Filho
50e4abe0c2
Created unit test for bug #915 .
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-07-14 17:21:34 -03:00
Renato Filho
1112473783
Fixed QGraphicsView.scene return policy.
...
Fixes bug #915 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-07-14 17:21:34 -03:00
Hugo Parente Lima
f66c09e387
Fix bug 929 - "pkg-config files do not know about Python version tags"
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-07-14 16:08:52 -03:00
Renato Filho
d18945fcf4
Created unit test for bug #927 .
...
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Hugo Parente <hugo.lima@openbossa.org>
2011-07-13 09:35:45 -03:00
Renato Filho
eaae6e4dcf
Fixed QThreadPool globalInstance ownership rules.
...
Fixed QThreadPool start, tryStart ownership rules.
Fixes bug #927 .
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Hugo Parente <hugo.lima@openbossa.org>
2011-07-13 09:35:40 -03:00
Renato Filho
3a4369cf80
Removed polymorphic-id-expression from QDeclarativeItem.
...
Fixes bug #925 .
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2011-07-12 13:47:03 -03:00
Renato Filho
4e5b5b2f18
Created unit test for bug #899 .
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-07-12 10:47:40 -03:00
Renato Filho
597d3ab0a4
Increment reference for functions used on QtCore.Property.
...
Fix bug #899 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-07-12 10:47:25 -03:00
Renato Filho
cc5431f108
Fixed enum test.
2011-07-11 18:57:37 -03:00
Renato Filho
6138fb93d4
Created unit test for bug #886 .
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente <hugo.lima@openbossa.org>
2011-07-11 15:34:51 -03:00
Renato Filho
ed5563bfce
Created unit test for duplicated signals.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente <hugo.lima@openbossa.org>
2011-07-11 15:34:51 -03:00
Renato Filho
ab4ecfa72f
Fixed PySide signal object constructor.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente <hugo.lima@openbossa.org>
2011-07-11 15:34:51 -03:00
Renato Filho
96c8551a49
Created unit test for bug #896 .
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente <hugo.lima@openbossa.org>
2011-07-11 15:34:51 -03:00
Renato Filho
c9e2c1ad8a
Implemented staticMetaObject property for QObjects.
2011-07-11 15:34:51 -03:00
Hugo Parente Lima
f1a737a220
Fix bug 913 - "Widgets inside QTabWidget are not exported as members of the containing widget"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2011-07-11 15:11:56 -03:00
Renato Filho
505cf202fb
Translate Shiboken enums to strings during the signal connection.
...
Fixes bug #903 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-07-05 14:04:51 -03:00
Renato Filho
fd45794c3a
Created unit test for bug #909 .
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-07-04 19:27:55 -03:00
Renato Filho
07285f0d28
Fix QUiLoader::load function ownership rules.
...
fixes bug #909 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-07-04 19:27:55 -03:00
Renato Filho
51ea3a5230
Fixed QMainWindow ownership control.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-07-04 19:27:55 -03:00
Marcelo Lira
8c5281ae10
Fixes bug #899 - http://bugs.pyside.org/show_bug.cgi?id=899
...
Added unit test.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araujo <renato.filho@openbossa.org>
2011-06-29 18:51:25 -03:00
Renato Filho
df39c3a97d
Created unittest for bug #407 .
2011-06-28 19:28:09 -03:00
Renato Filho
10f88e23f7
Created unit test for bug #897 .
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-06-28 14:38:18 -03:00
Renato Filho
930d1f279a
Fixed propagation of properties for user-defined types.
...
Fixes bug #897 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-06-28 14:37:52 -03:00
Hugo Parente Lima
aa86eae914
Fixed test case, when the destroyed() signal is emitted all C++ objects are just QObject because their up destructors were already called.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2011-06-22 18:06:01 -03:00
Hugo Parente Lima
489cd2402e
Remove reference leak on global receiver.
2011-06-22 18:06:01 -03:00
Renato Filho
3f3f52a960
Bumped version to 1.0.4.
2011-06-22 11:24:31 -03:00
Renato Filho
7220804be6
Created test for QObject.inherits.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-06-20 17:21:12 -03:00
Renato Filho
7f611d1c53
Removed glue code for QObject.inherits function.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-06-20 17:20:50 -03:00
Renato Filho
aa9e8ca7ef
Fixed QWidget.parentWidget return policy.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-06-17 11:24:28 -03:00
Renato Filho
db40ec67b1
Fill qApp is any QApplication is active during the QtGui moude import.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-06-17 11:16:43 -03:00
Marcelo Lira
2b1df1698c
Updated PySide type systems to use the new type system variables: %ISCONVERTIBLE and %CHECKTYPE.
...
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araujo <renato.filho@openbossa.org>
2011-06-15 17:35:17 -03:00
Hugo Parente Lima
07229012b7
Fix bug 879 - "QDoubleSpinBox: Can't call the parent validate() method from a subclass"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-06-15 14:45:25 -03:00
Hugo Parente Lima
933669eeb7
Fix bug 822 - "Can't use QApplication without X"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-06-13 17:25:08 -03:00
Marcelo Lira
1be25c54bb
Added an unit test for bug #871 .
...
http://bugs.pyside.org/show_bug.cgi?id=871
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
2011-06-10 18:32:05 -03:00
Marcelo Lira
ee602e80f1
Fixed default return value for "QStyleOptionViewItem QAbstractItemView::viewOptions() const".
...
Wrong code would be generated if compiling avoiding the "protected hack".
2011-06-09 15:22:34 -03:00
Hugo Parente Lima
82f4f13d27
Fix bug 877 - "Fatal Python error on application quit."
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
2011-06-08 20:04:16 -03:00
Hugo Parente Lima
35b252ab2b
Fix bug 870 - "QStylePainter.drawControl doesn't draw anything"
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-06-08 18:17:59 -03:00
Renato Filho
ba2510c52a
Implemented support to MSG type on windows.
2011-06-08 16:20:53 -03:00
Renato Filho
45bf56e831
Removed unnecessary functions from QByteArray.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-06-08 15:20:36 -03:00
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
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
Renato Filho
3b4499891c
Fixed QKeyEvent polymorphic-id-expression to support QEvent::ShortcutOverride.
...
Applyed patch from Evan Patterson <epatters@enthought.com>
Fixes bug #833
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-04-28 17:43:01 -03:00
Hugo Parente Lima
fa34fa2720
Fix documentation bug 853 - "Provide constants for Qt and PySide version"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2011-04-28 16:52:20 -03:00
Lauro Neto
b32b614d1b
Update inheritance diagram sphinx extension.
...
Better handling missing classes.
Reviewer: Renato Araujo <renato.filho@openbossa.org>
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
2011-04-28 14:56:55 -03:00
Renato Filho
a68d4b04f3
Created unit test for bug 829.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-04-28 10:34:58 -03:00
Renato Filho
955316b5ca
Implemented stream operator for PyObjectWrapper.
...
Fixes bug #829 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-04-28 10:34:49 -03:00
Renato Filho
75bcc4dbdd
Fixed QVariant conversion for dictionary.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-04-28 10:25:25 -03:00
Hugo Parente Lima
aa8c4f6b2e
Fix bug 836 - "Pyside crashes with more than four base classes"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2011-04-27 19:08:40 -03:00
Hugo Parente Lima
1ccb6de499
Fix bug 766 - "Constructor "QImage(const char* const xpm[])" missing"
...
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-04-27 15:01:52 -03:00
Hugo Parente Lima
8d9bf59fb1
Fix bugs 776 and 777
...
Bug 776 - "Operator "QPolygon::operator<<(QPoint)" missing"
Bug 777 - "Operator "QPolygon::operator<<(QVector<QPoint>)" missing"
2011-04-26 18:02:29 -03:00
Renato Filho
2179e02862
Fix test on windows.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2011-04-26 16:36:32 -03:00
Renato Filho
afc0bb1fee
Created unit test for bug #778 .
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2011-04-26 16:36:32 -03:00
Renato Filho
de6a90bdcb
Implemented support to iterator on QTreeWidgetItemIterator.
...
Fixes bug #778 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2011-04-26 16:35:52 -03:00
Renato Filho
1f013e75e3
Created unit test to QKeySequence convertion to QVariant.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-04-26 10:07:31 -03:00
Renato Filho
5349174a3c
Fixed QKeySequence convertion to QVariant.
...
Fixes bug #775 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-04-26 10:07:31 -03:00
Renato Filho
cbdafab9e7
Created unit test for QKeySequence.operator[].
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-04-26 10:07:31 -03:00
Renato Filho
3d3dc46531
Implemented support to QKeySequence.operator[].
...
Fixes bug #774 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-04-26 10:07:31 -03:00
Hugo Parente Lima
eb6145b96b
Fix bugs 771, 772, 779, 780, 781, 782, 783 and 784
...
Bug 771 - "Constructor "QStandardItem(const QStandardItem&)" missing"
Bug 772 - "Method "QPainter::drawConvexPolygon(const QPoint* points, int pointCount)" missing"
Bug 779 - "Method "QPainter::drawLines(const QLine* lines, int lineCount)" missing"
Bug 780 - "Method "QPainter::drawLines(const QPoint*, int)" missing"
Bug 781 - "Method "QPainter::drawPoints(const QPoint*, int)" missing"
Bug 782 - "Method "QPainter::drawPolygon(const QPointF*, int, Qt::FillRule)" missing"
Bug 783 - "Method "QPainter::drawPolyline(const QPoint*, int)" missing"
Bug 784 - "Method "QPainter::drawRects(const QRect*, int)" missing"
Reviewer: Renato Araújo <renato.araujo@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-04-25 18:11:36 -03:00
Hugo Parente Lima
101671f474
Fix bug 768 - "Method "QGraphicsItemGroup* QGraphicsScene::createItemGroup(const QList<QGraphicsItem*>& items)" missing"
...
Fix bug 769 - "Method "QGraphicsScene::destroyItemGroup(QGraphicsItemGroup* group)" missing"
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
2011-04-25 15:14:33 -03:00
Hugo Parente Lima
d7185772bc
Fix bug 765 - "Method "QRect QStyle::itemTextRect(const QFontMetrics&,constQRect&,int,bool,const QString&) const" missing"
2011-04-25 15:14:33 -03:00
Hugo Parente Lima
0c63e37820
Fix bug 760 - "Method "void QMatrix::map(int x,int y,int* tx,int* ty)const" missing"
...
Fix bug 761 - "Method "void QMatrix::map(qreal x, qreal y, qreal* tx, qreal* ty) const" missing"
2011-04-25 15:14:33 -03:00
Renato Filho
6b3a7f904f
Fix unit test bug_750 and qpicture_test to avoid deadlock in some plataforms.
...
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-04-25 14:18:28 -03:00
Renato Filho
7d35681fce
Implemented test for QWebFrame.metadata function.
...
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-04-25 14:18:22 -03:00
Renato Filho
a07d192625
Implemented conversion from QMultiMap to Python dictonary.
...
Fixes bug #773 .
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-04-25 14:17:48 -03:00
Renato Filho
cd1dbb0b9d
Created unit test for function QPicture.setData
...
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-04-25 11:28:04 -03:00
Renato Filho
1efb6aeacc
Implemented necessary convertions rules for function QPicture.setData.
...
Fixes bug #759
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-04-25 11:27:14 -03:00
Renato Filho
db9547be72
Fixed reference leak on PySideSignal for QTimer.SingleShot
...
Fixes bug #815 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-04-20 18:44:53 -03:00
Lauro Neto
c36b1ff7e7
Set WA_InputMethodEnabled in test.
...
If WA_InputMethodMethod is not set, setFocusWidget will fail
in a ASSERT in a debug-compiled Qt.
Reviewer: Hugo Lima <hugo.lima@openbossa.org>
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
2011-04-20 16:57:34 -03:00
Renato Filho
df742a5905
Created unit test for bug #811 .
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-04-20 09:33:46 -03:00
Renato Filho
709420df8e
fix QTextBlock.setUserData reference leak.
...
Fixes bug #811 .
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-04-20 09:33:46 -03:00
Lauro Neto
6700ddb9cb
Fix bug 814 test.
...
Using the modelData property name was causing problems
with a debug-build Qt.
Reviewer: Renato Araujo <renato.araujo@openbossa.org>
Reviewer: Hugo Lima <hugo.lima@openbossa.org>
2011-04-19 16:37:22 -03:00
Renato Filho
3fb374e271
Fixed test to avoid problems with float numbers in different archs.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-04-18 17:45:04 -03:00
Renato Filho
e6b3d26d74
Exported missing enums on phonon.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-04-18 17:45:01 -03:00
Renato Filho
6cd49a79f6
Created unit test for ObjectDescription.fromIndex.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-04-18 17:44:59 -03:00
Renato Filho
8807a885e6
Implemented function ObjectDescription.fromIndex.
...
Fixes bug #787 .
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-04-18 17:44:19 -03:00
Renato Filho
406293f5aa
Fix round problems on unit test.
2011-04-15 19:26:15 -03:00
Renato Filho
04a2f23988
Create unit test for bug #757 .
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-04-15 19:23:02 -03:00
Marcelo Lira
13f6d71f20
Fixes Bug #757 - Constructor "QPixmap(const char* const[] xpm)" missing.
...
http://bugs.pyside.org/show_bug.cgi?id=757
Reviewer: Renato Araujo <renato.filho@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-04-15 19:22:32 -03:00
Renato Filho
a5b785fff4
Avoid delete file from source dir.
2011-04-15 17:14:08 -03:00
Hugo Parente Lima
1374006206
Fix bug 717 - "QByteArray doesn't honor \0 inside strings."
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-04-14 20:42:49 -03:00
Hugo Parente Lima
a230b243d0
Fix inject code of QByteArray::fromRawData.
...
The QByteArray returned must share, nto copy, the string contents.
2011-04-14 20:09:30 -03:00
Marcelo Lira
2400157808
Fixes bug #755 - Method "void QInputContext::setFocusWidget(QWidget*)" missing
...
Also added an unit test.
http://bugs.pyside.org/show_bug.cgi?id=755
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2011-04-14 19:15:56 -03:00
Marcelo Lira
e24401e586
Fixes bugs 753 and 754.
...
Bug #753 - Method "void QTextDocument::undo(QTextCursor*)" missing
Bug #754 - Method "void QTextDocument::redo(QTextCursor*)" missing
Also added an unit test.
2011-04-14 19:15:56 -03:00
Marcelo Lira
1d842f57a2
Fixes bug #741 - Method "qreal QTextLine::cursorToX(int*,Edge) const" missing.
...
Also added unit tests.
http://bugs.pyside.org/show_bug.cgi?id=741
2011-04-14 19:15:56 -03:00
Marcelo Lira
39c32e3712
Fixes bug #742 - Method "void QPrinter::getPageMargins(qreal*,qreal*,qreal*,qreal*,Unit) const" missing
...
Also added unit tests.
http://bugs.pyside.org/show_bug.cgi?id=742
2011-04-14 19:15:56 -03:00
Marcelo Lira
30c19e9c41
Fixed CMakeLists.txt files to prevent static source files of being deleted by "make clean".
2011-04-14 19:15:56 -03:00
Renato Filho
8408da40ca
The funcition QSplashScreen.repaint was removed because that override the QWidget.repaint.
...
This will save some genereted code and does not produce any side-effect.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-04-14 18:52:20 -03:00
Renato Filho
96750087d9
Created unittest for bug #750 .
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-04-14 18:52:05 -03:00
Renato Filho
59ab3c3049
Put back QPainter.fontInfo.
...
Fixes bug #750 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-04-14 18:52:00 -03:00
Renato Filho
46fc033929
Created unit test for bug #743 .
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-04-14 18:51:51 -03:00
Renato Filho
a0b43fbc23
Implemented support to mapping on QMatrix4x4.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-04-14 18:51:51 -03:00
Renato Filho
94310a7b19
Created unit test for bug #740 .
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-04-14 17:52:42 -03:00
Renato Filho
d71a6a8c3a
Implemented function QBitmap.fromData.
...
Fixes bug #740
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-04-14 17:52:24 -03:00
Renato Filho
a5e20dfd75
Created unit test for bug #722 .
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2011-04-13 18:30:54 -03:00
Renato Filho
3e69981b4b
Use PyFloat as double in signal signatures.
...
Fix bug #722 .
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2011-04-13 18:29:19 -03:00
Hugo Parente Lima
c269e0db00
Removes the removal of QMatrix4x4 call operators.
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-04-13 11:01:10 -03:00
Hugo Parente Lima
1c0279fa25
Fix code injection of QIODevice to support returning an error.
2011-04-13 11:01:10 -03:00
Hugo Parente Lima
1e149f3de4
Fix bug 723 - "Missing QAbstractFileEngine.read and QAbstractFileEngine.readLine"
2011-04-13 11:01:10 -03:00
Renato Filho
741bc56e4b
Created QtDeclarative.ListProperty documentation.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-04-12 17:48:46 -03:00
Renato Filho
c8a11c179a
Create unit test for bug #816 .
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-04-12 16:47:08 -03:00
Renato Filho
d0ad9d27aa
Fixed QCoreApplication.instance method to handle with application created before PySide module loading.
...
Fixes bug #816 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-04-12 16:46:32 -03:00
Renato Filho
6da3e78014
Created unit test for bug #814 .
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente <hugo.lima@openbossa.org>
2011-04-11 12:07:34 -03:00
Renato Filho
7abf74adb9
Updated dependency version.
2011-04-07 18:01:33 -03:00
Renato Filho
9f73d5ecf1
Fixed bug #400 link description.
2011-04-07 18:01:33 -03:00
Renato Filho
e7413828a1
Create unitest for bug #688 .
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-04-07 18:01:26 -03:00
Renato Filho
a0c72f28c6
Implemented support to pyton iterator in QTextFrame::iterator.
...
Fixes bug #688 .
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-04-07 18:01:08 -03:00
Hugo Parente Lima
f3961387a9
Fix 720 - "QByteArray prints itself wrong, on tp_print and tp_repr"
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-04-07 16:33:42 -03:00
Hugo Parente Lima
85f65194ef
Fix bug 724 - "Missing QAbstractFileEngine.map method"
2011-04-07 16:33:42 -03:00
Hugo Parente Lima
3b9481c24c
Fix bug 721 - "QFile doesn't support map and unmap functions."
2011-04-07 16:33:42 -03:00
Hugo Parente Lima
40718156a6
Remove unused variables and warnings when using gcc 4.6.
2011-04-07 16:33:42 -03:00
Marcelo Lira
51e9dfc428
Updated type system files to use the new %BEGIN_ALLOW_THREADS and %END_ALLOW_THREADS variables.
...
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2011-04-07 15:17:30 -03:00
Marcelo Lira
8e7845be18
Fixes bugs 746, 747 and 748.
...
Bug #746 - Method "QFormLayout::getLayoutPosition(QLayout*,int*,QFormLayout::ItemRole*)const" missing
Bug #747 - Method "QFormLayout::getWidgetPosition(QWidget*,int*,QFormLayout::ItemRole*)const" missing
Bug #748 - Method "QFormLayout::getItemPosition(int,int*,QFormLayout::ItemRole*)const" missing
Also added unit tests.
2011-04-07 15:17:30 -03:00
Marcelo Lira
2c6a44feee
Fixes bugs 739 and 752.
...
Bug #739 - Method "QTransform::map(qreal x, qreal y, qreal* tx, qreal* ty) const" missing
Bug #752 - Method "void QSplitter::getRange(int index, int* min, int* max) const" missing
Also added unit tests.
2011-04-07 15:17:30 -03:00
Marcelo Lira
a513d831cd
Do *not* mix tabs and spaces.
2011-04-07 15:17:29 -03:00
Marcelo Lira
8e0e7ef0b6
Fixes bugs 744, 745, 756, 758 and 764.
...
Bug #744 - Method "void QGraphicsLayout::getContentsMargins(qreal*,qreal*,qreal*,qreal*) const" missing
Bug #745 - Method "void QGraphicsLayoutItem::getContentsMargins(qreal*,qreal*,qreal*,qreal*) const" missing
Bug #756 - Method "void QWidget::getContentsMargins(int*,int*,int*,int*) const" missing
Bug #758 - Method "void QTextCursor::selectedTableCells(int*,int*,int*,int*) const" missing
Bug #764 - Method "void QLayout::getContentsMargins(int*,int*,int*,int*) const" missing
Also added unit tests.
2011-04-07 15:17:23 -03:00
Marcelo Lira
62448f99e7
Merged fix_int*... and fix_qreal*... type system templates.
...
Also modified the method call to be friendlier with virtual methods.
2011-04-06 21:30:19 -03:00
Hugo Parente Lima
ee17f8c970
Version bump to 1.0.2
2011-04-06 16:02:23 -03:00
Renato Filho
d984cf24cc
Create unit test for bug #793 .
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente <hugo.lima@openbossa.org>
2011-04-05 10:17:56 -03:00
Renato Filho
e39188d636
Change the order of function call on destructionVisitor to avoid problems with cyclic dependency.
...
Fixes bug #793 .
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente <hugo.lima@openbossa.org>
2011-04-05 10:14:31 -03:00
Marcelo Lira
bbba1cc470
Fixes bug #489 - PySide.QtGui.QImage with string buffer argument.
...
http://bugs.pyside.org/show_bug.cgi?id=489
Also added an unit test.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
2011-04-01 16:40:17 -03:00
Hugo Parente Lima
9ffb2ef542
Fix bug 712 - "QtGui.QFormLayout doesn't have setItem() function"
...
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-03-30 18:49:07 -03:00
Hugo Parente Lima
4239b56710
Fix bug 540 - "Duplicate entries in QRegExp docs"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-03-29 17:39:09 -03:00
Hugo Parente Lima
f8bc57c61c
Fix doc bug 794 - "QPixmapCache.find example is wrong"
2011-03-28 14:51:57 -03:00
Hugo Parente Lima
9024884495
Fix bug 790 - "QStyledItemDelegate Signal with lambda and QModelIndex: Fatal Python error: PyEval_SaveThread: NULL tstate"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-03-25 16:49:38 -03:00
Hugo Parente Lima
c50d08e4c8
Fix bug 694 - "QWebPage::extensions need injected overloads due to required casts on C++ version"
2011-03-25 09:57:02 -03:00
Hugo Parente Lima
3cd2cad128
Fix bug 699 - "PySide.QtCore.Property doesn't throw a TypeError if the first arg isn't a PyType."
2011-03-25 09:48:11 -03:00
Hugo Parente Lima
6f8f728241
Fix bug 685 - "The second arg. of QObject.findChildren doesn't have a default value and doesn't support regexes."
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-03-23 13:36:17 -03:00
Hugo Parente Lima
f645a79f03
Fix a type in QtGui type system.
2011-03-23 13:36:17 -03:00
Hugo Parente Lima
2f4a1f634c
Use set instead of add on reference-count action attribute.
2011-03-23 13:36:17 -03:00
Hugo Parente Lima
e07b306bb4
Type systems of all modules but QtCore and QtGui reviewed.
2011-03-23 13:36:14 -03:00
Hugo Parente Lima
7849b4262f
Fix bug 736 - "Signal/Slot is not working at all"
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2011-03-22 15:04:40 -03:00
Hugo Parente Lima
4749d14642
Changed local variable naming style.
2011-03-22 15:04:27 -03:00
Renato Filho
26ae1259a9
Revert "Fixed test for bug #674 to works with new getattr check."
...
This reverts commit a6f0d0cb52 .
2011-03-22 11:49:43 -03:00
Renato Filho
78ca4c0749
Only raise 'RuntimeError' for function call to avoid problems with contructor order calls.
2011-03-22 11:13:32 -03:00
Marcelo Lira
02f9ca5417
Added comments for all method removals.
...
And some other clean ups.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
2011-03-22 10:25:51 -03:00
Hugo Parente Lima
189717cdb1
Fix bug 728 - "QFileDialog.getOpenFileNames never returns (hangs)"
...
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-03-21 15:51:12 -03:00
Renato Filho
2bd54857ed
Created unit test for bug #726 .
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2011-03-21 11:57:38 -03:00
Renato Filho
8ce3644a13
Does not use normalizeSignature in functions with return type.
...
Fix bug #726 .
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2011-03-21 11:57:38 -03:00
Hugo Parente Lima
13d9f714c5
Add unit test for bug 693 - "Heap corruption or double free reported on program exit"
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-03-18 18:32:37 -03:00
Renato Filho
a6f0d0cb52
Fixed test for bug #674 to works with new getattr check.
...
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-03-16 17:01:08 -03:00
Renato Filho
fb3bae60f4
Created unit test for bug #696 .
...
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-03-16 17:01:08 -03:00
Renato Filho
880e6a28b6
Check if class is valid before call meta object function on class getattro function.
...
Fix bug #696 .
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-03-16 17:00:14 -03:00
Renato Filho
b1a1f61c64
Created unit test for bug #711 .
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2011-03-16 16:34:26 -03:00
Renato Filho
9a7733ef8c
Fix QToolbar.clear parent policy.
...
Fixes bug #711 .
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2011-03-16 16:34:26 -03:00
Hugo Parente Lima
a571d9bd98
Add unit test for bug 706 - "dataChanged signal raise an incorrect TypeError"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-03-16 11:22:34 -03:00
Hugo Parente Lima
008798b0e3
Fix bug 718 - "PySide/PyQt4 QByteArray incompatibilities: setNum method"
...
Fix bug 719 - "PySide/PyQt4 QByteArray incompatibilities: appendByte method"
2011-03-16 11:22:19 -03:00
Hugo Parente Lima
25026120a1
Add comments to some function removals.
2011-03-15 14:22:10 -03:00
Renato Filho
4c149aef4e
Created unit test for bug #714 .
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-03-09 18:06:19 -03:00
Renato Filho
957fa171a9
Removed parent policy from QLabel.setPixmap.
...
This is not a parent transfer because the function receives a "const &" and stores a copy of the pixmap.
Fixes bug #714 .
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-03-09 18:05:37 -03:00
Lauro Neto
f0e364ff28
Remove duplicated const functions from QRegExp
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
2011-03-04 16:49:12 -03:00
Hugo Parente Lima
73f21eb1bb
Last code snippets....
2011-03-04 13:10:38 -03:00
Hugo Parente Lima
bd43c1e0b2
Removed Signal/Slot documentation content.
2011-03-04 11:37:20 -03:00
Hugo Parente Lima
04a26bd3bb
Version bump to 1.0.1
2011-03-04 11:37:20 -03:00
Hugo Parente Lima
ca81d9a32c
More code snippets ported to Python.
2011-03-03 18:56:26 -03:00
Hugo Parente Lima
094de67591
Version bump, 1.0.0 final yay!
2011-03-02 21:17:57 -03:00
Hugo Parente Lima
b94f5359b0
Added some missing code snippets to PySide documentation.
2011-03-02 21:17:57 -03:00
Hugo Parente Lima
97a16f10ab
Removed useless files from docs.
2011-03-02 21:17:57 -03:00
Hugo Parente Lima
eedc03ebb5
Remove some warning messages when generating the docs.
...
Those classes haven't especific documentation, they are only typedefs for template instanciations.
2011-03-02 21:17:57 -03:00
Luciano Wolf
17f2d83e0e
Fix bug 676 - "wrong QLocale.toFloat() description".
...
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-03-02 15:03:11 -03:00
Hugo Parente Lima
2ed86dc435
Fix bug#708 - "Remaining pyqtSignal in ref docs"
2011-03-02 14:35:55 -03:00
Hugo Parente Lima
8ac29700ce
Added module documentation for all modules.
2011-03-01 20:32:10 -03:00
Hugo Parente Lima
ee92e460f1
Removed a lot of files not used by the doc generation.
2011-03-01 20:31:56 -03:00
Hugo Parente Lima
35168cb86a
Missing doc code snippet for webkit.
2011-03-01 20:31:39 -03:00
Hugo Parente Lima
daffd9831a
Fixed/translated some doc. code snippets.
2011-03-01 15:52:11 -03:00
Hugo Parente Lima
9c21263251
Use multiple code snippets directories to fix the crazyness of Qt docs.
2011-03-01 15:52:11 -03:00
Hugo Parente Lima
f804d84297
Removed unused doc snippet files.
2011-03-01 15:52:11 -03:00
Hugo Parente Lima
361c887da0
Added modify-documentation do QDeclarativePropertyMap to remove references to QVariant and QString.
2011-02-28 20:23:32 -03:00
Hugo Parente Lima
75f799872b
Added missing format attribute.
2011-02-28 20:23:32 -03:00
Hugo Parente Lima
1ab21c4b28
Added some QML tutorials to the documentation.
2011-02-25 19:11:25 -03:00
Hugo Parente Lima
98ede2df71
Minor fixes on pysideapi2.rst.
2011-02-25 19:07:27 -03:00
Hugo Parente Lima
d9482626e6
Use monospace font for sphinx literal strings.
2011-02-25 19:05:54 -03:00
Hugo Parente Lima
dd8de65f73
Change version from beta6 to rc1
2011-02-17 17:48:30 -02:00
Marcelo Lira
2efb33d2fc
Updated PySide CMake files to use the new generator argument "avoid-protected-hack".
...
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2011-02-17 14:43:51 -03:00
Marcelo Lira
5ef2f26ec2
Updated CMake files to use the "--drop-type-entries" generator option.
...
Instead of maintaining a complex CMake scheme to remove optional type
system entries, the generation will rely on the new generator capability
of dropping entries given via command line.
Reviewed by Bruno Araújo <bruno.araujo@openbossa.org>
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2011-02-17 10:52:19 -03:00
Hugo Parente Lima
4305a54b42
Fix bug 681 - "Unicode support for trUtf8 method"
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2011-02-16 19:40:46 -02:00
Hugo Parente Lima
e0cf4b000d
Fix bug 674 - "QGraphicsScene::clear() is missing"
2011-02-16 16:07:01 -02:00
Jerome Leclanche
adfaf21063
Fix bug 687 - "[PATCH] QUiLoader code example crashes"
...
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-02-16 11:40:16 -02:00
Hugo Parente Lima
691841f829
Fix bug 675 - "QGraphicsLinearLayout segfault"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2011-02-15 19:35:05 -02:00
Hugo Parente Lima
47957530f9
Refactor to simplify code just avoding some Cism.
2011-02-15 16:38:53 -02:00
Hugo Parente Lima
a7cebb5917
Make PySide signals work with meta types.
2011-02-15 16:38:21 -02:00
Hugo Parente Lima
0ad9c484df
Add unit test for bug 684.
2011-02-15 16:37:16 -02:00
Lauro Neto
0298a34289
Raise error when slot argument is unknown.
...
Instead of accepting it silently and generating potential
segfault and undefined behavior, raise TypeError when
the type of an argument is unknown to PySide type system.
An example of such erratic behavior is in declarations like:
@Slot
def foo(self):
Slots without arguments must be explicitly declared this way:
@Slot()
def foo(self):
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Reviewer: Hugo Lima <hugo.lima@openbossa.org>
2011-02-11 19:32:41 -03:00
Hugo Parente Lima
7b4d24f094
Fix bug 679 - "QWebPage miss extension function"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2011-02-11 17:23:23 -02:00
Hugo Parente Lima
7d80ac8e29
Fix phonon compilation and detection of VideoCaptureDevice class.
...
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2011-02-11 15:09:53 -02:00
Hugo Parente Lima
26d6f4a39e
Fix bug 638 - "Documentation for phonon doesn't show class inheritance diagrams."
2011-02-11 15:09:53 -02:00
Hugo Parente Lima
42e149598e
Removed duplicated entry of QWebPage::ErrorDomain on typesystem.
2011-02-11 15:09:53 -02:00
Marcelo Lira
8eb529bda3
Increments reference of None object on custom code for QState.addTransition method.
...
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2011-02-11 14:40:42 -03:00
Renato Araujo Oliveira Filho
c3d180fdc2
Created unit test for bug #671 .
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-02-10 17:30:34 -03:00
Renato Araujo Oliveira Filho
b9dd824866
Appended the metaclass data flags value on head.
...
Fix bug #671 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-02-10 17:30:34 -03:00
Marcelo Lira
42c9f80b06
Added QCursor test. It is related to bug #630 .
...
Bug #630 - Fails to resolve overload for QCursor(QBitmap, QBitmap, int, int)
http://bugs.openbossa.org/show_bug.cgi?id=630
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2011-02-10 14:07:56 -03:00
Renato Araujo Oliveira Filho
bda10df1da
Fixed function 'QToolBar.addAction' to support callback in the
...
arguments.
Create unit test for bug #635 .
Fixes bug #635 .
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-02-10 10:36:07 -03:00
Hugo Parente Lima
7909d294f5
Fix bug 668 - "QFileSystemModel setRootPath stops application from quitting."
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2011-02-09 18:26:55 -02:00
Hugo Parente Lima
f25d227d6e
Replaced all entries of reference-count with action=add to action=set.
2011-02-09 18:26:55 -02:00
Hugo Parente Lima
7fd8eba136
Fix bug 663 - "Crash on exit when passing QNetworkAccessManager around"
2011-02-09 18:26:55 -02:00
Hugo Parente Lima
95d546696e
Remove invalid function removals.
2011-02-09 18:26:55 -02:00
Hugo Parente Lima
2248c1b944
Fix bug 667 - "Crash on exit"
2011-02-09 18:26:55 -02:00
Hugo Parente Lima
8fa461559c
Fix QGLBuffer::map code injection and test.
2011-02-09 18:26:12 -02:00
Renato Araujo Oliveira Filho
06755f06ba
Updated phonon typesystem to use the new pyside cmake macro syntax.
2011-02-09 18:05:20 -03:00
Renato Araujo Oliveira Filho
5a87a51c11
Updated http server used on tests to keep trying until get a free address.
2011-02-09 15:49:45 -03:00
Renato Araujo Oliveira Filho
323b37beda
Created unit test for bug #662 .
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-02-09 15:46:29 -03:00
Renato Araujo Oliveira Filho
0fe1c15cbf
Implemented support for iterator on QTextBlock.
...
Fixes bug #662 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-02-09 15:46:25 -03:00
Renato Araujo Oliveira Filho
88c38236d4
Fix append object description on typesystem only when this was found.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-02-09 15:46:10 -03:00
Renato Araujo Oliveira Filho
8e4b414844
Separated class typesystem from the main typesystem.
...
Remove class specification, detected during the compilation from the
main typesystem to avoid errors during the generation.
Fixes bug #661
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-02-08 14:49:37 -03:00
Renato Araujo Oliveira Filho
9b3d0b2ef2
Updated translation test to use previous generated qm files.
...
Upload qm files used on test to git.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2011-02-07 20:06:27 -03:00
Renato Araujo Oliveira Filho
8a50e91e6f
Updated http server used on unit test.
...
Allow the server to reuse the address to avoid errors.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2011-02-07 18:09:28 -03:00
Renato Araujo Oliveira Filho
90178e21dd
Created unit test for signals.
...
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>
2011-02-07 17:33:20 -03:00
Renato Araujo Oliveira Filho
6b1f0b8ca7
Fixed problems to emit signals with objects types.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2011-02-07 17:32:47 -03:00
Hugo Parente Lima
4e79ce7b25
Fix 666 - "QByteArray does not support slices"
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-02-04 19:28:43 -02:00
Hugo Parente Lima
ac325f24e4
Fix bug 660 - "QMimeData type deleted prematurely when overriding mime-type in QStandardItemModel drag and drop"
2011-02-04 19:28:42 -02:00
Hugo Parente Lima
d44aa5c310
Fix bug 643 - "QTabWidget.insertTab not taking ownership"
2011-02-04 19:28:42 -02:00
Marcelo Lira
2f6af8142d
The global header for PySide is now installed with the libpyside headers.
...
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>
2011-02-04 18:07:51 -03:00
Marcelo Lira
233c0333e6
Removed unnecessary line from test binding CMake file.
2011-02-04 16:09:27 -03:00
Hugo Parente Lima
ac767473a2
Fix qresource_test openning the file in binary mode, so it doesn't fail on windows.
2011-02-04 15:12:29 -02:00
Hugo Parente Lima
8ab8950ccc
Export QTranslator::translate and QTranslator::load.
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2011-02-03 19:10:12 -02:00
Hugo Parente Lima
8d1e058fa1
Export method QCryptographicHash::addData.
2011-02-03 18:36:04 -02:00
Hugo Parente Lima
a4ab1c7e99
Remove some ancient method removals from QtCore typesystem.
...
- QDir(QString,QString,QFlags<QDir::SortFlag>,QFlags<QDir::Filter>)
- QBitArray::fill(bool, int)
2011-02-03 18:36:04 -02:00
Hugo Parente Lima
2d65e48fa8
Use PyString_GET_SIZE instead of PyString_Size on some inject codes.
2011-02-03 18:36:04 -02:00
Hugo Parente Lima
f5d4b6e678
Export QSettings::iniCodec and QXmlStreamWriter::codec methods.
2011-02-03 18:36:04 -02:00
Hugo Parente Lima
ee80967d24
QPersistentModelIndex now have the same implementation of internalPointer of QModelIndex.
2011-02-03 18:36:04 -02:00
Hugo Parente Lima
7b4968abab
Fixed/implemented various QResources methods.
...
- data() is now exported and returns a Python read-only buffer object.
- (un)registerResourceData now accept buffers as arguments, and respects zeroes in the middle of data.
- Improved unit test.
2011-02-03 18:36:04 -02:00
Hugo Parente Lima
b52148fd85
Fix comparisson of QByteArray with Python strings that have zeroes inside.
2011-02-03 18:36:04 -02:00
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
Renato Araujo Oliveira Filho
fb9fdba329
Created unit test for bug 589.
...
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-01-07 19:15:49 -03:00
Renato Araujo Oliveira Filho
0f6a504dfb
Fix Qvariant to Cpp conversion.
...
Fixes bug #589
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-01-07 19:15:41 -03:00
Marcelo Lira
efdedcdd01
Fixes the fix in the commit a1cf8f03.
...
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
2011-01-06 20:58:11 -03:00
Hugo Parente Lima
4d014eaa80
Fix bug#560 - "Lack of QtCore.Signal documentation"
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-01-06 20:14:56 -02:00
Marcelo Lira
a1cf8f03b2
Fixes connecting signal to decorated slot.
...
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>
2011-01-06 19:08:40 -03:00
Marcelo Lira
5151af6de1
Refactoring to Phonon basic playing test.
...
Also replaced the ogg audio tone file for a wav one.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
2011-01-06 16:45:03 -03:00
Marcelo Lira
d3894ed861
Fixed PATH variable for tests on win32 platform.
2011-01-06 16:26:15 -03:00
Renato Araujo Oliveira Filho
932d9bced9
Created unit test for bug #585 .
...
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-01-06 14:17:21 -03:00
Renato Araujo Oliveira Filho
fb9c1a97fe
Fixed QTreeWidgetItem.parent function policy.
...
Fixes bug #585
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-01-06 14:16:44 -03:00
Hugo Parente Lima
753d2bd1f6
Only try to play the ogg file if the system has the capability to do it.
...
This fix a failing test on macosx.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2011-01-05 19:26:45 -02:00
Renato Araujo Oliveira Filho
53e649629b
Fixed QtNetwork test to use '127.0.0.1' instead of 'localhost'
...
This is necessary to make all test to be able run on any buildbot machine.
Fix Http server shutdown sequence to avoid deadlocks.
Fixes bug #587
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-01-05 14:54:23 -03:00
Hugo Parente Lima
6383832408
Fix bug#557 - "Segmentation fault in QDeclarativeComponent.loadUrl()"
...
The signature QDeclarativeComponent(QObject*) should not exist, it's not
documented and just creates a useless QDeclarativeComponent when used,
useless in the sense that it will segfault when used.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2011-01-05 14:35:11 -02:00
Renato Araujo Oliveira Filho
ed1c0014f9
Fixed QWidget.setParent signature on typesystem.
2011-01-05 08:49:39 -03:00
linjunhalida
32681f7b70
add new QDatetime init function with 6 arguments
...
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-01-04 19:55:14 -02:00
Hugo Parente Lima
15dd2e07ed
Lock the gil on some hand written code to avoid crashes.
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2011-01-04 19:25:31 -02:00
Renato Araujo Oliveira Filho
3774752f0c
Fixed function QDataStream.readRawData return value.
...
The function readRawData now return None in case of error, otherwise a
string with the read data.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-01-04 19:23:57 -03:00
Hugo Parente Lima
269e8450dc
New format for __version_info__.
...
The new format follow the same rules used by sys.version_info().
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2011-01-04 16:47:57 -02:00
Renato Araujo Oliveira Filho
374e2fcf88
Created support to function qAddPostRoutine.
...
Created unit test for bug #515
Fixes bug #515
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2011-01-03 19:58:53 -03:00
Marcelo Lira
da1759fe98
Added test case for Bug #572 .
...
Bug #572 : Giving unicode value as 'body' argument to WebView's load
method crashes python.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
2011-01-03 19:46:41 -03:00
Renato Araujo Oliveira Filho
39a5a09145
Fix QTreeWidgetItem.parent function.
...
Create unit test for new use case.
Fixes bug #547
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2011-01-03 14:56:33 -03:00
Hugo Parente Lima
ea83c5e554
Fix bug#577 - "Reference to QString in docs"
2011-01-03 14:24:52 -02:00
Renato Araujo Oliveira Filho
f9587fcad2
Fixed QWidget.parent function.
...
Create unit test for bug 576.
Fixes bug #576 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2011-01-03 13:50:25 -03:00
Lauro Neto
27b53151bf
Avoid conflict in test case names
...
Reviewer: Hugo Lima <hugo.lima@openbossa.org>
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
2011-01-03 11:28:02 -03:00
Renato Araujo Oliveira Filho
eb0d211417
Fixed test to work in all platform.
2011-01-03 10:01:04 -03:00
Hugo Parente Lima
a38db0fe03
Fix bug#514 - "Static method QByteArray.fromRawData is missing from QtCore"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2010-12-30 17:03:36 -02:00
Hugo Parente Lima
d0d4ba1564
Fix bug 546 - "Python crash on exit"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2010-12-30 15:39:44 -02:00
Hugo Parente Lima
249a87808a
Fix bug#493 - "__eq__ and friends not implemented for QKeyEvent == QKeySequence"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2010-12-29 19:12:28 -02:00
Lauro Neto
bc9ddff514
Improve QtScriptEngineDebugger test behavior
...
The extra ContinueAction after evaluate() was crashing
on MacOS X.
Reviewer: Hugo Lima <hugo.lima@openbossa.org>
Reviewer: Renato Araujo <renator.filho@openbossa.org>
2010-12-29 14:29:10 -03:00
Renato Araujo Oliveira Filho
9d6d30cb6a
Changed api2 test to work on MacOS during a ssh session.
2010-12-29 11:55:55 -03:00
Hugo Parente Lima
7810dcd829
Fix bug#569 - "QTableWidgetItem is missing binding of __lt__ to operator<"
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2010-12-29 10:14:28 -02:00
Hugo Parente Lima
e8c0ba238a
Fix bug#563 - "Unhandled signal emitting with invalid signature (which leads to application crash)"
2010-12-29 10:14:28 -02:00
Hugo Parente Lima
4b6cc4d478
Changes the arg name from p to parent to make parent heuristic work.
2010-12-29 10:14:28 -02:00
Renato Araujo Oliveira Filho
db4d324497
Fixed MetaObject creation based on typename.
...
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
2010-12-29 09:55:13 -03:00
Renato Araujo Oliveira Filho
7144634e35
Fix test to avoid problems on slow computers.
...
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
2010-12-29 09:54:58 -03:00
Renato Araujo Oliveira Filho
25264046e8
Appended ${QtGui_BINARY_DIR} on typesystem_path for QtMaemo5 module.
2010-12-28 14:12:24 -03:00
Renato Araujo Oliveira Filho
ecbc9ebcfa
Appended QtGui library dependency on pysidetest library.
2010-12-28 14:09:16 -03:00
Renato Araujo Oliveira Filho
fa89170f62
Test for QTDESIGNER before add QTUITOOLS.
...
This test is necessary because the module QTUITOOLS uses some classes
from QTDESIGNER.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Bruno Araujo <bruno.araujo@openbossa.org>
2010-12-28 12:00:02 -03:00
Renato Araujo Oliveira Filho
a74d92adce
Fix QTreeWidget parent rules.
...
QTreeWidget.clear() - remove all child ref from the current widget
QTreeWidgetItem.parent() - use default policy for returned value
Fix bug #547
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2010-12-27 19:20:05 -03:00
Renato Araujo Oliveira Filho
656be4ec98
Removed some float comparisons from QColor test to avoid armel problems.
...
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
2010-12-27 13:32:16 -03:00
Hugo Parente Lima
6cf55675dc
Fix bug#549 - "QGraphicsWidget::getContentsMargins() and QGraphicsWidget::getWindowFrameMargins() not available"
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2010-12-23 17:22:29 -02:00
Renato Araujo Oliveira Filho
fc471bed0f
Used more common signature on function test to QList objects.
...
Replaced "const QList<QObject*>" signature to "const QList<QObject*>&",
more used on Qt code.
2010-12-23 15:47:59 -03:00
Renato Araujo Oliveira Filho
401f394179
Fixed variable scope.
...
This keep the QByteArray live during the use of your content.
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2010-12-22 19:49:50 -03:00
Lauro Neto
af0860ba4a
Fix testbinding dependency
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Reviewer: Renato Araujo <renato.araujo@openbossa.org>
2010-12-22 18:11:26 -03:00
Renato Araujo Oliveira Filho
c4185280ba
Moved list_signal_test to pysidetest library.
...
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>
2010-12-22 16:34:29 -03:00
Renato Araujo Oliveira Filho
4b0eaa7796
Fix the QtMultimedia/audio_test.py to accept computers with only null
...
device.
2010-12-22 10:25:32 -03:00
Renato Araujo Oliveira Filho
67b868ccb9
Avoid QMatrix test while gcc is broken.
2010-12-22 10:17:21 -03:00
Renato Araujo Oliveira Filho
48b25047c9
Used argument '-a' during the call of xvfb command.
...
This argument allow the xvfb to find a free server number during the
execution.
2010-12-21 17:28:20 -03:00
Renato Araujo Oliveira Filho
04ac69ce52
Fixed QtUiTools plugin.
...
Removed use of static QString to store the class name.
Fix bug #533 .
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2010-12-21 17:28:20 -03:00
Renato Araujo Oliveira Filho
ab19244c22
Added QSslCertificate to QtNetwork module.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2010-12-21 17:28:20 -03:00
Renato Araujo Oliveira Filho
37fb36e1ff
Fixed indentation mistakes.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2010-12-21 17:28:19 -03:00
Marcelo Lira
bb39c847d3
Fixed global functions from QT_TR_NOOP and QT_TRANSLATE_NOOP family.
...
These function just return one of their arguments as result, and the
buggy implementation was forgetting to increment the reference count for
the returned object.
A new unit test was added.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
2010-12-21 12:23:39 -03:00
Marcelo Lira
14a5405837
Fixes bug #502 .
...
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>
2010-12-20 17:54:09 -03:00
Marcelo Lira
fbc06244e0
Fixed type system for TestView from pysidetest directory.
2010-12-20 17:47:01 -03:00
Marcelo Lira
116a0b159f
QObject.sender should not steal the returned object ownership to Python.
2010-12-20 17:47:01 -03:00
Hugo Parente Lima
00bfc9ba7b
Fix bug#544 - "QtCore.QRect missing binding for method getCoords"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2010-12-20 15:26:00 -02:00
Hugo Parente Lima
d2d9f6bac9
Fix bug#481 - "mimeData() missing from QListWidget, QTreeWidget, QTableWidget"
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2010-12-20 14:10:09 -02:00
Hugo Parente Lima
499ef3bbb4
Fix bug#558 - "print attribute of a QWebFrame cannot be accessed normally"
2010-12-20 11:18:42 -02:00
Hugo Parente Lima
8545117cff
Fix QtMultimedia test to not fail when no devices were found.
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2010-12-17 19:16:56 -02:00
Hugo Parente Lima
c634b05def
Add GLuint as primitive type.
...
If we don't do that any function with GLuint will be rejected by
the generator on Windows.
2010-12-17 19:16:56 -02:00
Hugo Parente Lima
dd1184ac4d
Use .pyd extension for pysidetest module on Windows.
2010-12-17 19:16:56 -02:00
Hugo Parente Lima
3b61f88a1f
Fix QML tests on Windows.
2010-12-17 19:16:56 -02:00
Hugo Parente Lima
53e472c5ef
Fix compilation under MS Windows.
2010-12-17 19:16:56 -02:00
Marcelo Lira
ca914c9f63
Added a call to QObject.metaObject() to check if a segfault is caused.
...
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>
2010-12-17 13:59:51 -03:00
Marcelo Lira
9a4738457d
Fixed QML type registering test.
...
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
2010-12-17 11:39:03 -03:00
Marcelo Lira
d3e5c54d8a
Updated model/view test to follow changes in Shiboken/9459b9da commit.
...
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
2010-12-17 11:31:37 -03:00
Hugo Parente Lima
97740beab9
Fix bug#491 - "pyside doesn't respect BUILD_TESTS"
...
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2010-12-16 15:35:58 -02:00
Marcelo Lira
634cde193e
Fixed ownership of the value returned by QAbstractItemModel::data(...).
...
The value returned by Python to the virtual method
QAbstractItemModel::data(...) called from C++ has its ownership
transferred to C++.
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2010-12-16 14:38:57 -03:00
Marcelo Lira
c53ec3c17e
Updated the PySide test related to Python model returning data to C++.
2010-12-15 19:20:56 -03:00
Renato Araujo Oliveira Filho
539b906eb2
Created function used in PyObject getAttro.
...
Moved the code generated to a function in libpyside.
Create unit test for bug #525 .
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Marcelo Lira <marcelo.lira@openbossa.org>
2010-12-15 19:06:45 -03:00
Renato Araujo Oliveira Filho
fd9c8c8d76
Created unittest for bug #505 .
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2010-12-14 17:44:02 -03:00
Hugo Parente Lima
ffc853c88b
Fix bug#517 - "Documentation for QtDeclarative is not linked in contents.html, modules.html"
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2010-12-14 17:15:06 -02:00
Hugo Parente Lima
44d4d96ec3
Fix bug#508 - "qmltopy1 crashes when setContextProperty is called twice without keeping a reference"
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2010-12-14 17:00:12 -02:00
Hugo Parente Lima
46bbefb1cc
Fix bug#518 - "The file 'genindex.html' is not found (linked from contents.html)"
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2010-12-14 16:22:35 -02:00
Hugo Parente Lima
e3796fa3e7
Fix bug#512 - "QGridLayout::getItemPosition() is not available"
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
2010-12-14 15:28:55 -02:00
Marcelo Lira
6b720050ef
Added test for Python written models returning new objects without keeping reference to them.
...
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
eviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2010-12-13 17:55:54 -03:00
Marcelo Lira
4630f41f6a
Fixed new style signal connection tests for the proper semantics.
...
One example to clarify: for the "destroyed(QObject* = 0)" signal,
"obj.destroyed.connect(...)" connects to "destroyed()", and
"obj.destroyed[QObject].connect(...)" connects to "destroyed(QObject*)".
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2010-12-13 16:00:22 -03:00
Hugo Parente Lima
154560c9c5
Added unit test for bug#500
...
Reviewer: Lauro Mora <lauro.neto@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2010-12-13 11:39:24 -02:00
Hugo Parente Lima
e62b0364f1
Add tests for qmlregisterType function and qml list properties.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2010-12-09 16:19:41 -02:00
Hugo Parente Lima
9b2bf0a267
Changed file permissions to 0644.
2010-12-09 15:28:01 -02:00
Hugo Parente Lima
643742cbcf
Add support for QML list properties.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2010-12-09 14:40:57 -02:00
Hugo Parente Lima
dc732da7a8
Remove unused field "type" from PySideProperty private struct.
2010-12-09 14:40:57 -02:00
Hugo Parente Lima
1422aed616
Replace useless check by a assert.
...
QMetaObject must already be ready at this point.
2010-12-09 14:40:57 -02:00
Hugo Parente Lima
1464dc1022
Add support for extension into PySide properties.
...
This is used by PySide implementation of QDeclarativeListProperty.
2010-12-09 14:40:56 -02:00
Hugo Parente Lima
b548a6f173
Fix copyright year.
2010-12-09 14:40:56 -02:00
Marcelo Lira
0a5e353ad0
Fixes QImage constructor signature that used string buffer as image data source.
...
The fixes uses the patch provided by Pieter Palmers on the bug #489
description[1].
A very simple test, to check the signature existence, was added.
[1] http://bugs.openbossa.org/show_bug.cgi?id=489
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2010-12-06 17:49:56 -03:00
Marcelo Lira
ed1c4c72b9
Added QRegExp.replace(QString, const char*) method.
...
The only way to search and replace using QRegExp is using the
QString::replace method. Since QString was removed, QRegExp now is
useful only to search stuff, but not replace. For this purpose the
QRegExp.replace method was added. The first argument is the string
that will be operated over, the second argument contains the
replacement, and the return value is a new modified Python string.
Unit tests and documentation for QRegExp.replace were added as well.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2010-12-06 15:33:51 -03:00
Hugo Parente Lima
2d595e22b0
Avoid removal of qmlregistertype.cpp by the build system.
...
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
2010-12-06 15:17:07 -02:00
Hugo Parente Lima
ec0aeb6fce
Initial implementation of qmlRegisterType.
...
It's fully functional, but need some adjustaments in the build system that will be done in the next few days.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2010-12-03 19:35:59 -02:00
Hugo Parente Lima
12bc3f5c12
Set the object meta object at the declaration time, not instanciation time.
2010-12-03 19:35:59 -02:00
Hugo Parente Lima
35ab7bf679
Moved pyside slot attr name do pysideslot_p.h.
2010-12-03 19:35:58 -02:00
Hugo Parente Lima
a612c9ee58
PySidePropertyPrivate struct moved to the private header.
2010-12-03 19:35:58 -02:00
Hugo Parente Lima
afe4fcf695
Remove unused ancient proxyslot.cpp file.
2010-12-03 19:35:58 -02:00
Marcelo Lira
d51aacabd1
Updates to more code snippets on documentation concerning QtCore module.
...
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2010-12-03 10:54:27 -03:00
Marcelo Lira
7ee87cc8f2
Updated a lot of code snippets on documentation concerning QtCore module.
...
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2010-12-03 07:54:44 -03:00
Hugo Parente Lima
59b4f2b59d
Fixed qt_metacall, now everything works as it should.
...
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
2010-12-02 18:12:24 -02:00
Hugo Parente Lima
e20a97a480
Fixed dynamic meta object to avoid empty meta method.
...
Empty meta methods cause a assert failure on QtDeclarative module.
Also removed the scoped pointer to avoid heap allocation when it's not
needed, as QByteArray is already implicity shared.
2010-12-01 15:38:16 -02:00
Luciano Wolf
9e26b5f39d
Add needed cast to compile using python versions <2.6
...
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Marcelo Lira <marcelo.lira@openbossa.org>
2010-12-01 11:08:28 -03:00
Hugo Parente Lima
113b8efdaf
Fix doc generation after the refactor for v1.0.
...
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
2010-11-29 14:48:58 -02:00
Kalev Lember
0d60daf1e1
Fix phonon VideoCaptureDevice detection to properly use phonon_ namespace
...
Fixes build with phonon 4.4.3 on Fedora rawhide.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
2010-11-26 18:55:57 -03:00