1
0
mirror of https://github.com/thp/pyotherside.git synced 2025-01-17 23:22:53 +08:00

22 Commits

Author SHA1 Message Date
Thomas Perl
cc65bf2042 Update files to mention Qt 6 support 2022-08-05 13:48:31 +02:00
Thomas Perl
d2da29ceec Fix examples 2022-08-05 13:48:31 +02:00
Martin Kolman
57a6699727 Add support for rendering SVG data to the image provider
The image provider can already render SVG images supplied
as format_data due to using QImage as backend.
This unfortunately only works correctly as long as the SVG image is
not scaled, as the image provider ignores the requested_size parameter
for format_data, causing the SVG image to be first rendered at its default size
and then scaled at the bitmap level, resulting in a very blurry image.

As there does not appear to be any easy fix for this when working with
the format_data type add a new data type called format_svg_data that
properly renders the SVG image at requested size with QtSvgRenderer.

Also the documentation has been updated to include format_svg_data
and an example has been added.
2015-10-28 01:51:08 +01:00
Thomas Perl
84bc298b75 Fix documentation and OpenGL rendering support 2015-02-21 19:55:08 +01:00
Dennis Tomas
77ecb76492 Unified renderer interface for PyFBO and PyGLArea. 2015-02-21 13:15:49 +01:00
Dennis Tomas
6209cec9f2 OpenGL rendering to FBO. 2015-02-21 13:14:00 +01:00
Dennis Tomas
873d168444 Improved PyGLArea documentation, added example. 2015-02-21 13:13:10 +01:00
Thomas Perl
24cb511bc9 Avoid conversion of QObjectMethod objects 2014-10-10 13:14:09 +02:00
Thomas Perl
43f81e54e1 Implement proper Python wrapper objects 2014-10-10 13:05:45 +02:00
Thomas Perl
c24670ccd2 WIP QObject wrapper code 2014-10-09 11:30:18 +02:00
Thomas Perl
df059cf5fe Bump API version to 1.4, update documentation 2014-10-08 14:33:05 +02:00
Thomas Perl
d3c739ad7a Expose module version via Python module 2014-02-19 22:09:52 +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
be1edb6b5c New methods: pluginVersion() and pythonVersion() 2014-02-06 22:49:43 +01:00
Thomas Perl
2a79458c68 addImportPath: Strip leading "file://" (for use with Qt.resolvedUrl())
Also update examples to use the new feature.
2014-02-06 21:56:52 +01:00
Thomas Perl
c9934cb2fc Restructure examples 2014-02-06 21:31:24 +01:00
Thomas Perl
42e9b4ef2f New example: Populating list models from Python 2014-02-06 00:27:49 +01:00
Thomas Perl
23227a8374 Example using matplotlib + numpy 2013-10-06 15:13:48 +02:00
Thomas Perl
dc8cfb4f09 Image provider: Support returning encoded image data
This allows the additional use case of reading e.g. PNG tiles from a
database and passing them to Qt without decoding first (see issue #1).
2013-10-05 14:25:51 +02:00
Thomas Perl
211a04f7b3 Add support for Python-based image providers. Fixes #1 2013-10-05 14:05:18 +02:00
Thomas Perl
34ea420787 Initial commit 2013-08-07 21:47:24 +02:00