1
0
mirror of https://github.com/thp/pyotherside.git synced 2025-01-28 23:52:55 +08:00

31 Commits

Author SHA1 Message Date
Dennis Tomas
873d168444 Improved PyGLArea documentation, added example. 2015-02-21 13:13:10 +01:00
Dennis Tomas
f08ab6be25 PyGLArea: Pass renderer object instead of function names. 2015-02-21 13:12:41 +01:00
Dennis Tomas
f8de71d449 OpenGL rendering in python. 2015-02-21 13:10:38 +01:00
Thomas Perl
289e5ed616 PyOtherSide 1.4.0 2015-02-19 15:50:51 +01:00
Thomas Perl
efdc4467a9 docs/index.rst: Minor formatting fixes 2015-02-19 15:49:51 +01:00
Martin Kolman
9d292e2f3a PyOtherSide for Android build instructions 2014-11-15 17:58:55 +01:00
Thomas Perl
21b416a01e Print unhandled errors to the console 2014-10-12 11:24:54 +02:00
Thomas Perl
295ef81db1 Document pyotherside.QObject wrapper usage 2014-10-11 19:34:32 +02:00
Thomas Perl
5863efcfe9 Simplify API (remove callMethod again, merge into call)
callMethod(o, attr, ...) is just a special case of:
call(getattr(o, attr), ...)

Starting with import version 1.4, call() now accepts a
Python callable as alternative to the function name.
2014-10-08 15:13:54 +02:00
Thomas Perl
df059cf5fe Bump API version to 1.4, update documentation 2014-10-08 14:33:05 +02:00
Dennis Tomas
4f5edd7247 Access attributes of Python objects. 2014-09-30 18:23:43 +02:00
Dennis Tomas
ff0d915cf2 Calling methods on Python objects. 2014-09-30 18:22:47 +02:00
Thomas Perl
f870396346 PyOtherSide 1.3.0 2014-07-24 14:49:13 +02:00
Thomas Perl
d070a172d7 Documentation: Show how to avoid callback hell in JS. Fixes #24 2014-07-19 09:53:41 +02:00
Thomas Perl
481400b53d Convert Python set and iterable to JS Array 2014-06-10 18:06:22 +02:00
Thomas Perl
4548e7a2bd Windows: Fix builds on Windows, build docs. Fixes #10 2014-02-24 19:39:27 +01:00
Thomas Perl
d3c739ad7a Expose module version via Python module 2014-02-19 22:09:52 +01:00
Thomas Perl
87007e0b07 QRC code finally broke Python 2.x support, remove it
It was always scheduled to be removed once new features that use Python
3-only features are introduced (we could have written a separate
importer for Python 2, but it is explicitly a goal of the project).
2014-02-17 18:49:48 +01:00
Thomas Perl
5c8d9cfe57 QML API 1.3: Add support for qrc:/ import paths. Fixes #2 2014-02-16 22:25:38 +01:00
Thomas Perl
ea0bc3433c Access to the Qt Resource System from Python 2014-02-16 20:15:50 +01:00
Thomas Perl
87e5eaf470 PyOtherSide 1.2.0 2014-02-16 19:27:30 +01:00
Thomas Perl
e201eecfff Converter: Support for date, time and datetime. Fixes #12
Python datetime.date <-> Qt QDate <-> QML date
Python datetime.time <-> Qt QTime <-> QML time
Python datetime.datetime <-> Qt QDateTime <-> JS Date

Python C API docs for those data types:
http://docs.python.org/3/c-api/datetime.html

QML docs for those data types:
http://qt-project.org/doc/qt-5.1/qtqml/qtqml-cppintegration-data.html#qdatetime-to-javascript-date
http://qt-project.org/doc/qt-5.1/qtqml/qml-date.html
http://qt-project.org/doc/qt-5.1/qtqml/qml-time.html
2014-02-13 00:04:48 +01:00
Thomas Perl
4028d4f3b8 QML API 1.2: Handle JS exceptions in callbacks from Python
Also improve error message in pyotherside.send() callback handler
to include filename and line number.
2014-02-12 23:02:57 +01:00
Thomas Perl
b47ef00c02 Docs: QML import examples should always use latest API version 2014-02-09 17:01:11 +01:00
Thomas Perl
28d5e9289c QML API 1.2: Fix importModule() behavior. Fixes #3
This changes the behavior of an existing function, so we need to
bump the QML import version to still support code that depends on
the old (broken) behavior of the importModule() function.
2014-02-08 15:29:02 +01:00
Thomas Perl
cb593f5980 PyOtherSide 1.1.0 2014-02-06 22:57:09 +01:00
Thomas Perl
aaecf7b195 Fix typos in the documentation 2014-02-06 22:53:51 +01:00
Thomas Perl
be1edb6b5c New methods: pluginVersion() and pythonVersion() 2014-02-06 22:49:43 +01:00
Thomas Perl
da02a1ce9b Update documentation with version changelog and markup fixes 2014-02-06 22:19:59 +01:00
Thomas Perl
71049fc5d7 Cleanup documentation, packaging and file structure 2014-02-06 21:17:04 +01:00
Thomas Perl
ae8145e5ef Add Sphinx-based Developer Guide documentation 2014-02-06 00:28:18 +01:00