| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Translated relational table model example from C++ using population data instead employee data
Task-number: PYSIDE-841
Change-Id: I493a7106275609edefdc4e140c9c9cc667a9c10f
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit 6a9acbf1e94402161765e18e48f243b459379e77)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Ported from C++.
Task-number: PYSIDE-841
Change-Id: I60eea347586a66e69ff83ec3e2b275c053deafca
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit 702f622a652830db18651a33da2f218c4db8f73c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
| |
Task-number: PYSIDE-841
Task-number: PYSIDE-1690
Change-Id: I6b3d774b4c136af2b71251e0b8aafa6f12ba39a2
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit 8ddd960505308fc829ba17029b6917814f257b65)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
Other minor improvements
Change-Id: I1a09b6ea813713f53c26f7244f2d913cc73c6c5b
Task-number: PYSIDE-841
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit 2bcc7ceb19b4042ae3fe320c53e1c21fd765b16a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
Ported from c++
Change-Id: I3589a66f8335e808bcc81796fa4aa3e2401b5973
Task-number: PYSIDE-841
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit 6d1ceff3c070bf15736b7c389944e326e4972fbd)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
| |
Task-number: PYSIDE-841
Change-Id: I432498ff85d346def9604a551fddddb0a0939b25
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit ba1bb6785ba2d3b4569b7bce4c98ed07f73bb1b8)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
Areachart example translation from C++ to Python
Task-number: PYSIDE-841
Change-Id: I84af72428279efd6544667d40dc5908e0a1a463f
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit ab49f4f58374654ff38eb618218572ba7b89e507)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
Barchart example translation from C++ to Python
Task-number: PYSIDE-841
Change-Id: Ia705295f6f8c59ec9b94bc394cc1d45f35554bdf
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit d5a74cb7be21dc6e836e53d7eaa3ee95595af676)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
| |
Task-number: PYSIDE-841
Change-Id: I274039d0642a84f526008c8ecc27f2727c84a3cd
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit e904491d87e9b91458d91d3d4e6f5d7c95127028)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
| |
Use QUrl.fromLocalFile() for the QML file.
Change-Id: I9433e3ae5c26e9db24d2b8ee4984e948fefa9aef
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit 2e291350fd6294912bf29680a76819400ad693b7)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I97166f7e89c0365f425d1f8b0b840b7ef066d0d7
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a class that directly wraps a C++ sequence container,
allow for modifying them.
For all instantiated containers, generate a special (sequence) type
that wraps the C++ container directly. For example, it will be
accessible as a QList_int.
This is achieved via providing a template for a type private
that relies on a conversion traits template for conversion.
Only the conversion traits specialization code needs to be generated.
Use cases:
- Allowing for modifying Fields of such container types
(non-owning)
- Pass it into functions taking such containers instead of converting
back and forth from a PyList (constructed in Python, owning)
[ChangeLog][shiboken6] Support for opaque C++ sequence scontainers
has been added, allowing to pass a wrapped C++ container
directly instead of converting it back and forth from
Python sequences.
Task-number: PYSIDE-1605
Change-Id: I49d378eb1a0151730d817d5bdd4b71a7c3b5cdda
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Interactive example to add, remove and move elements inside
a ListView (QML) from a QAbstractListModel (Python).
A screenshot is included.
Task-number: PYSIDE-841
Change-Id: I1c4d7868860c7482930fbb729cb4c2b503c01d88
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
| |
Task-number: PYSIDE-841
Change-Id: Ia98aab49cff5fb86078b547a99b33a4a0bf8790e
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
| |
This is example is based on the Qt's scene graph example
that uses and OpenGL animation inside Qml code.
Fixes: PYSIDE-1034
Change-Id: I012818d81d757571a711fcea68df51fa566ae5f9
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
| |
Task-number: PYSIDE-1663
Task-number: PYSIDE-841
Change-Id: I921008a51c074ee01a937df309573067f2272f16
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
| |
Use the Path mechanism to resolve the QML file.
Task-number: PYSIDE-1662
Change-Id: I2d6cce02063fab6746d2cdbc7c8c8701fad7e937
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Fix the rightAligned property setter to have the same name as
the getter
- Fix the anchor property of the delegate
Fixes warnings
examples/quick/painteditem/main.qml:102:TypeError: 'NoneType' object is not callable
examples/quick/painteditem/main.qml:65: TypeError: Cannot read property 'right' of null
Pick-to: 6.1
Fixes: PYSIDE-1662
Change-Id: Iebd7a9632954fcc2b48e8a56f6e1c20d62b34468
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SbkObjectType was a struct embedding a PyTypeObject
after fec1611e9f42c1f0a13eb33474df2ed8ee480842.
Remove that and make the types equvivalent, which allows for
removing many reinterpret_casts.
SbkObjectType is left as a typedef for client code snippets.
[ChangeLog][shiboken6] SbkObjectType is now a typedef for PyTypeObject.
Task-number: PYSIDE-535
Change-Id: I44812311ccbbe0988c38e34c47d16f6874f8d1cf
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Creating screenshots for tutorials.
- Add gallery style for tutorials.
- Add corporate Icons to the frontpage.
- tools: Reduce example long names in the gallery.
- videos: new order using panels
- Add tutorial about "Why Qt for Python"
Change-Id: I3ba50f74998399a47b4a34c1de029f3b746aa1e2
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
| |
Remove deprecated API.
Change-Id: I7947554bfc582585f93973f25678b570f80c9f6a
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This proposal was discussed.
It was also tested with Nuitka and cx_freeze.
[ChangeLog][shiboken6] Python support files are now always
embedded. There is no longer a physical copy installed in the FS.
Reasoning is: We always had the signature module in real
Python files and also as an embedded ZIP file.
With the solution to PYSIDE-1621 we suddenly had a way
to avoid accessing the file system completely. The
remaining question is: Why should we keep the files in
the installation at all?
Long time ago, it was said that the source files were
needed to see tracebacks. But tracebacks are visible the
same way, regardless if the files exist as physical files
or only in memory. The error messages will be as verbose
as always.
Personally, I see it more as a drawback, because parts of
our application become vulnerable by external manipulation.
By the complete virtualization, the system is as
self-contained as a binary executable.
Task-number: PYSIDE-1621
Change-Id: I821545fb5d52465b69bb2c172bdfb43894ac2109
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
In Qt6 the latest version is used by default.
Task-number: QTBUG-82922
Task-number: PYSIDE-841
Change-Id: I71ce9caf58db24b47736b977b461324788b93423
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Keith Kyzivat <keith.kyzivat@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Most of the qml code in the repository was outdated,
and followed bad practices, like context properties.
Complementary, after the major updates for Qt6
most of the code was not relying on the new ways of
register types (singletons, and using the decorator QmlElement).
Drop the context property usage in the following examples:
- signals/qmltopy1
- signals/qmltopy2
- signals/pytoqml2
- usingmodel
- quickcontrols2/gallery
- textproperties
Additionally:
- all the tests related to context properties
- tutorials/qmlapp
- tutorials/qmlsqlintegration
- Removing 'scrolling' example
- Fixing some flake8 warnings
Change-Id: I649248c0149876bf2bf94e78e27cef7110f42f1d
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Keith Kyzivat <keith.kyzivat@qt.io>
|
|
|
|
|
|
|
| |
Task-number: PYSIDE-841
Change-Id: Iec9843e0aff8fc02107c7899a0e56f067c5a6936
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Keith Kyzivat <keith.kyzivat@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Ported redditclient example.
[ChangeLog][PySide6] The QtNetworkAuth module has been added.
Task-number: PYSIDE-1570
Change-Id: I8a057870bf5a59cab227c271c412eb5b9ec4a7b8
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- List Names example ported.
- pingpong example ported.
[ChangeLog][PySide6] The QtDBus module has been added.
Task-number: PYSIDE-1570
Done-with: Friedemann Kleint <Friedemann.Kleint@qt.io>
Change-Id: I8500662fe51754bedf63b7b3b3c3d5ef4890a755
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
| |
Amends 1cbec5c4a99e80819df54a4dc97091050d55b345.
Task-number: PYSIDE-1252
Change-Id: I1c516e6c596191756f37287a802178cc3a32e244
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
| |
Add an example and a tutorial section.
Task-number: PYSIDE-1252
Change-Id: Ib0f1399abe9b0eb832c0202f54cb83dfad870d17
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Wherever possible/useful, os.fspath was removed and the
according pathlike modification inserted. This is still
not the awaited end of the conversion, but a good step
forward.
Task-number: PYSIDE-1499
Pick-to: 6.1
Change-Id: I0a22ddeec06ada05dc4a97ed104d06f5f1bbf472
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
| |
Task-number: PYSIDE-1570
Change-Id: Ic10a8f29439d5171487dfa5954c3b37be116a2b3
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
| |
Add a small example along with a German translation using gettext.
Add a tutorial.
Pick-to: 6.1
Change-Id: I254a5a66521ecc2827a5811469d9d21360f99b81
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
| |
Task-number: PYSIDE-841
Pick-to: 6.1
Change-Id: I4a7ea69a6b1f9aaf190f66c464dcb9e19b20f4c5
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
| |
Task-number: PYSIDE-1370
Change-Id: Ica8cf855f59bed40b0d2c7ba5dfa1323871337bb
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Remove module QtWebEngine. Move most API from QtWebEngineWidgets to
QtWebEngineCore. Adapt imports in tests and examples. The new module
QtWebEngineQuick will be added in a follow-up step. This is not
functional yet as examples crash in the underlying 6.2 Alpha.
Task-number: PYSIDE-1570
Change-Id: I00907e5542404560967e6ae07d102193f1f1e154
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Build against qtmultimedia/a6e014eb088cb9b7bf55bf87c814e75cd4037dc2:
- Re-add QAudioInput, QAudioOutput,
qtmultimedia/9fd208f11a218d8a8b07fc525258eea3b3596d62
- Rename QCameraImageCapture to QImageCapture,
qtmultimedia/83a031c56b74d68fe6d349f78c48a1681e40374e
- Remove QImageEncoderSettings,
qtmultimedia/d58d93b8e45b2bf62221b104914df771849c007c
- Remove QMediaEncoderSettings,
qtmultimedia/9c309ede2feb598908b1476062b79d0d23759bf3
- Changes around QMediaEncoder,
qtmultimedia/fde5d6f7cce6118cac4ce7b92cd056225737917f
qtmultimedia/994bcb23af8399485ddfdd16d2ba34c20326b432
- Comment out QMediaPlaylist,
qtmultimedia/5773f7214c7430a98dea3974c0597cb3ee0ea7f5
Pick-to: 6.1
Change-Id: I9beb96c34ebe6132ad68e3628fcbbf0bc48127ef
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
| |
- Add screenshot
- Add one-phrase for each example from doc.qt.io
Pick-to: 6.1
Task-number: PYSIDE-841
Change-Id: I72ee7b34d9ecfd595c7e6301fe1576086bc82203
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding screenshots and small documentation file to the modules
- corelib
- datavisualization
- external
- opengl
- quick
- sql
- uitools
- webchannel
- webenginewidgets
- some widgets
- xml
Renaming the widgets gallery due to name conflict
with the quick controls gallery, and fixing two
typos from contextinfo.py and hellogl2.py.
Task-number: PYSIDE-841
Pick-to: 6.1
Change-Id: I2705e5d605fa738da0dca906cf6acb4b9d5d3dcd
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding screenshots to:
- declarative
- multimedia
- network
- widgets
Renaming examples to avoid conflict on images names.
Task-number: PYSIDE-841
Pick-to: 6.1
Change-Id: I21f403ee62b45c0cb2a45eca6c5c99f11901610e
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Rename QCameraInfo/QAudioDeviceInfo to QCamera/AudioDevice,
adapting to qtmultimedia/1c4dd0c23c0a7bdefaeecbae491a12f49a6b9ce5.
Pick-to: 6.1
Task-number: PYSIDE-1482
Change-Id: I1a2972300aa0a8119e4c90919ed464124a7a6419
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
| |
Rename QAudioOutput to QAudioSink and QAudioInput to QAudioSource,
following qtmultimedia/3350275e25c96b391e31d2c9c472b4f0aa58b8f7,
qtmultimedia/aa1f073a32147d147e4e9a0fee9dde8ccc30531e.
Pick-to: 6.1
Change-Id: I78bca6f8e9c43ef42753b3a81921440afe4ad387
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
| |
Pass the proper default value when reading the geometry.
Fixes: PYSIDE-1584
Pick-to: 6.1 5.15
Change-Id: I6cff4e9e47b68704d6a75384a84c36268892b409
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
| |
Pick-to: 6.1
Change-Id: I1f6226ece1e12aa5886d1093fee87b5a520416b0
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
The example nicely illustrates QTextEdit, QFileDialog, mime types
and other aspects.
Pick-to: 6.1
Task-number: PYSIDE-1112
Change-Id: I88358606040dde0701468cba37ee7d12c0acfdb0
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
| |
- Rename according to snake case conventions
- Connect sending to QLineEdit.returnPressed
Task-number: PYSIDE-1112
Change-Id: Ia0e1b81309985219688739a4cead8a252acd8dcc
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Port to
qtmultimedia/9a4822037def3b9d48abea8bbfd7ea20fd19849b (wip/qt6).
- Add Slot decorators
- Rename according to snake case conventions
- Connect error signals of player and camera
- Use theme icons in player
Pick-to: 6.1
Task-number: PYSIDE-1112
Task-number: PYSIDE-1482
Change-Id: Ib79614e56b2b1ad7ea6cd0406efa1d91ce1abdb1
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix it to build with
qtmultimedia/9a4822037def3b9d48abea8bbfd7ea20fd19849b (wip/qt6).
Remove typesystem_multimedia_forward_declarations.xml as the forward
declarations of QVideoWidget and QGraphicsVideoItem no longer exist.
Fix the tests.
Fix the player example to run/crash.
Pick-to: 6.1
Task-number: PYSIDE-1482
Change-Id: I340693e3510347f95b55395985bd2b0f294769a1
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
examples/multimedia/camera/camera.py", line 141
pattern = f"{picturesLocation}/pyside6_camera_{dateString}_{:03d}.jpg"
SyntaxError f-string: empty expression not allowed
examples/external/matplotlib/widget3d/widget3d.py", line 91
self.slider_azim_layout.addWidget(QLabel(f"{self.slider_azim.maximum()))
SyntaxError EOL while scanning string literal
Amends c5db9d63277201ee58829f7eb0656c534d04c249.
Pick-to: 6.1
Change-Id: If6ca3deae03ecb39d58d1eea0ba1802c8b954b57
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Fix error
AttributeError 'builtin_function_or_method' object has no attribute 'width'
Amends c5db9d63277201ee58829f7eb0656c534d04c249.
Task-number: PYSIDE-1112
Change-Id: I5050283a62fea5c389852168284715412cb50260
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
| |
- removing '\' from long lines,
- use f-strings instead of concatenating strings
- Use f-strings instead of the old '%' formatting
Task-number: PYSIDE-841
Change-Id: I4983c25a6272e10119d5d1a74c180828ca6f64e6
Reviewed-by: Christian Tismer <tismer@stackless.com>
|