| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| | |
Change-Id: I9f94db8d9fa6331dac49ff9a849b58d036aabcf3
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix warnings like:
warning: implicitly-declared constexpr Pen& Pen::operator=(const Pen&) is deprecated [-Wdeprecated-copy]
by removing definitions of copy constructors/assignment operators which
are equivalent to the default generated ones or spell out the special
methods were needed.
Change-Id: Ie7cb335707f8bdd297b0ceea969909bc809016d7
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit f419206841764323c244bf91051b2878451c17b6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|\|
| |
| |
| | |
Change-Id: Ie67fef1c9c12a34cc6ad8102821e9b9b293918ff
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Patch the binaries only when tools are enabled.
Fixes: PYSIDE-2060
Change-Id: I75b2949e23a2d6cbfebcd64dfec7ab43e978881c
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit 3fb8c260142c1bc928de40a6d063dd91bba33b8d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This makes the index actually useable since it is then
possible to find a class by starting to type the name.
The downside is that there is a conflict with the Qt names
if the C++ documentation is installed, too.
Change-Id: I231a90025b2777fe8ff23fcc9dd669722dcd922e
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit fa38984e53a7a325fd317822f75551379763b810)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Change e48dce39c1450e73f7cdef58cfeba29e1c3b8be3 introduced a bug
appending "()" to member initalizer lists "m_member(new X()),". Fix
that by using a regexp to loop through the expressions.
Change-Id: I6ce095749bcab74e92fb6dd630f25fb9fd517cc5
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit 68883026da79c4f380411237731d761429760c23)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Use a set instead of regexps.
Change-Id: If9c05fffd4f5ebb880d21cd24fafc0be5698ee66
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit 2a3c2d88940e44c658e1a54e9834765683c127ff)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|\|
| |
| |
| | |
Change-Id: Id3076b6fd0a04a8a41e6c7fa265d58e4c61d7dc1
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The new Python enums are described in detail and the
similarities and problematic differences explained.
Then the forgiveness mode is introduced, showing that
most incompatibilities can be ignored, although this
mode is not encouraged for new code.
Task-number: PYSIDE-1735
Change-Id: Ib0d28745ce430a97a84e52522a5aa0cbbe3f3581
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit 1aeb58db3d0ee70946572ead7f0cf75537f87b78)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|\|
| |
| |
| | |
Change-Id: I5e4d614b5961d8392b4b2820fc670c222b4479fb
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Change-Id: Ic50c175fab1f362c4c15e12f78e5ec440784e20c
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit 37dcc13a8389f2f9a76376538b48007a39cf7147)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|\|
| |
| |
| | |
Change-Id: Ief272c5e5bb578108dc723faf3fe2475eceea7d5
|
| |
| |
| |
| |
| |
| |
| |
| | |
Task-number: PYSIDE-2056
Change-Id: I934cb1d593de1d9d56e94f7335bc6c5b3da696a3
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit 8b0517769f05153e2a41b1206bf3f0db7d2bcbe1)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|\|
| |
| |
| | |
Change-Id: I5cefc79c2487b9f552e84fb19aff47cbc6c51a93
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Fix flake8 warnings
- Warn about errors
- Move line processing into a function for further extension
- Make file a positional argument
Change-Id: Ice191b8b78ff3a151581066ae0fc493ecb54fb64
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit 3b31a65a76de7f29f32c27201b35f5f3c17d14e5)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Remove some duplication introduced by
b81f75fa027076a65747109f2d8ddd9bd904d7dda.
Change-Id: Iadc1c25ed63120ef360581c5565e72e20b3a996f
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
(cherry picked from commit 888b78ad9a2ddebaceda76b3d8f6cc80567b623f)
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Use version 6.2
- Delete obsolete paragraphs
- Fix some errors
Change-Id: I0c86f013fb3ad21a4cc7c5d490a9f129e80f3540
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit 276d60b71a72a548340e6684a21fd122c4365ed9)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|\|
| |
| |
| | |
Change-Id: I65d844e363605885d76cef9c803a6be5cf3793f2
|
| |
| |
| |
| |
| |
| |
| |
| | |
Change-Id: Ie7642f45d59839a52a650abd47383e30e508b8d3
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit 6d76b3e6972b1ae1c897fe48707cb410995baf6b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Currently, auto-generated titles show up as:
/tmp/snapshot-pyside-6.3-rel/pyside-setup/examples/widgets/graphicsview/elasticnodes
Use a path relative to the repository instead
(examples/widgets/graphicsview/elasticnodes).
Task-number: PYSIDE-2056
Change-Id: Idbd301d4e2050517185d67c21ed2befb9e2b8506
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit 5cf22dbc36d31a52775ebd15ea061e3fce6d30ca)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The GC was not untracked when PySide Property was deleted.
This was found by the new deeper error tracking in debug Python 3.11 .
Fixes: PYSIDE-1960
Change-Id: I5ecdfb88529c22a44575ca9460d6753b1e389079
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit ace680f4c5fc8564df9daaa41bf8779c9fffa671)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|\|
| |
| |
| | |
Change-Id: I4abd12ce8ff7e7ec7a066f5adf6bc723d0229f64
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Comparing a QtCore.Qt.Flags object with any other object calls the
PySideQFlags_tp_richcompare() function. This function always threw a
TypeError when comparing to a non-numerical object, causing undesired
effects. Account for these cases now by returning True or False if the
compare operator is != or ==, respectively.
Fixes: PYSIDE-2048
Change-Id: Ic81a65ace743b57e90ffe7883e42eb8330b78832
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit bab4f34755a9c00430f9ad528e9c1209a94f0778)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|\|
| |
| |
| | |
Change-Id: Id645204b5e476390df13029ab531a8dd5e053a31
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Remove the obsolete QOpenGLFunctions and add some missing modules.
Change-Id: I824ee3c125c4fd42d07b55afe7c532c3188bec4c
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit 81f75fa027076a65747109f2d8ddd9bd904d7dda)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|\|
| |
| |
| | |
Change-Id: Icd1d54bf75a7c1bca001a60c521df5f07c356dc8
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Amends 89e5d35c0f002fcb1aac3b1205402ce306074255.
Task-number: PYSIDE-1984
Change-Id: I09e74d2c3494ea263f988492cc09b2270137ad6a
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit e2598d08d9db18cd5d24a8217c435dcbe212b071)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Pass up the parse error.
Task-number: PYSIDE-2046
Change-Id: I5c32b056887ac9b4b5229457e5416fa16d4b1818
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit b42c3339158c4c677e16614e698db30a3643122f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix warning:
package_details.rst:9: warning: Literal block ends without a blank line; unexpected unindent.
Amends 52d38437445f6aa979875a93702496f800b98d63.
Task-number: PYSIDE-1112
Change-Id: Ifebd2c33625c0612827b9626a312450714584233
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit 2748937c7335eb288c8adf6f7084fa6a3a6f6ee1)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Port the Qt Quick example "Window and Screen" to PySide. This includes a
"shared" QML module located in a sibling directory of the example.
Task-number: PYSIDE-841
Change-Id: I7c8376701390b10d8b28bbf0ad04dce7a3089b20
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit ef8d3daa8f4d19c48e44874dd6e38a3ed4d02425)
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Ported from C++
Task-number: PYSIDE-841
Change-Id: Ib64218925961f3d0bbd783c5bb9d8365a81e8767
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit 0a187a3aa58d326349d6c3415a031f0f68fdb84a)
|
|\|
| |
| |
| | |
Change-Id: Icbe4dc7a4d6a46bae67658b35cf744bbf6036046
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
"libdir" in shiboken6.pc is the relative path to the install
prefix. Fix it to the full path of directory.
Fixes: PYSIDE-2040
Change-Id: I5caa54813e2104b7ebd9163ba2c5da781ac28919
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit 855aaa252bdba645af19a11ea887befe06febacd)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|\|
| |
| |
| | |
Change-Id: Ie8d06bba7afde437eab9eac6f9a05397a2846678
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Precompile the regular expressions and store the stripped string.
Brings down user time from 2.3s to 2s, approximately.
Change-Id: If929dc0c85cbe3e797bb3ec01eff9c434a8c5527
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit c0387967f81dcabe3087a741e337d01ca177d0b1)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Amends 0625f8373b4a8df9bc82835624495f26780c3f22.
Change-Id: If892e8299943edcdd65d77b037f404e5472fe8d7
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit dcdcdd71e9b83f1cb82cd77a1bc0f1bf9d9363a2)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Use one non-greedy regexp instead of several ones.
Change-Id: I192476b5f184d22227fdd0e26ec9408098114b0e
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
(cherry picked from commit 6be651a994f1e6564441d8aa51c5c3ed3303b341)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Task-number: PYSIDE-2046
Change-Id: I09bea4ba6a9793cc576f3a3c8ef44df021744a3a
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit 3911525f0b8ee1c8b301ef794cff4bf24e9f68f1)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes: PYSIDE-2046
Change-Id: I6a888d1f1f8dff25d5fc7f40131504d93c79be62
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit fc9b08123a1f2c3a9d1d6def83dd4d4599646c34)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The former fixed coupling between flags and the Enum/Flag decision
is no longer correct, because there are rare cases which deviate
heavily from the default.
One example is Qt.Modifier: This class is equivalent to
Qt.KeyboardModifier, which is a Python Flag type.
This patch implements the full flexibility of redefining enum
and flag and corrects the Qt.Modifier case.
Task-number: PYSIDE-1735
Change-Id: I7947e722f72b4d7b821bce57586e1793a1089606
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit edbee6b65aeafc0fb9a5cdb8d53e04e15a94edbe)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
PyEnum needed extra signature handling in the parser.py file
and the abstractmetatype.cpp file because we needed to decide
at runtime what names are to be generated.
With the full forgiveness mode, all special handling is
still implemented, but the old versions of the enum
representation can also always be used.
The unexpected funny side effect is that we now can remove
all special handling that has been implemented for these cases.
The way how things are written is no longer relevant, although
the new version is still the only one advertized.
Change-Id: I76efc8ffc646d3a04d974d6776a1c9c2b5ffec70
Task-number: PYSIDE-1735
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit 5419080e948c89d4f271d7d4a9bf980f647d53f5)
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
After turning IntEnum into Enum, a few classes need more
attention because the simple int coercion is no more
sufficient. Instead, a bit of help is necessary to make
the usage of the __or__ operator consistent, again.
On first sight, this coercion to KeyCombination looks slightly
unpythonic. But this originates in the complex matters. If you
observe what types are actually added, this is very correct.
Using the IntEnum version instead is not better. It is just
hiding the ongoings by using int, which would also allow
to combine two characters as a bad side effect.
[ChangeLog][PySide6] PyEnum now handles QKeyCombination correctly
with "|" or (deprecated) "+" operators, without falling back
to using IntEnum.
Task-number: PYSIDE-1735
Change-Id: I08b93b8b7ece75ca650f2916ec6f6f5bb711a70b
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit 20729eb6ffda8771c192e1614f8e53823108cab1)
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|\|
| |
| |
| | |
Change-Id: I0709fedd0c0aa2771bb5f9c32766d4ce05588580
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Adding notes for the recommendation related to building and packaging
pyside and shiboken for different scenarios, besides Python wheels,
using a CMake.
Fixes: PYSIDE-2005
Change-Id: I02a45c92dc339a32fddb4b2a0de87a5c61483931
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit 4cfa700d5965922b5156517a64790369deac354f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Adding the option '-j auto' to the calls we have
for sphinx-build, speeding up the documentation generation process.
Change-Id: Ie676d305e283fa217a90f3de64f96978ce6b3af0
Task-number: PYSIDE-1106
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit ddbf71586ac56b623c6467285b2b965f377d4752)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Incorporates fix
ecc192d91985e93536c64d6e40604c7c8cd6c18d.
Task-number: PYSIDE-841
Change-Id: If24127be2ab78b3542777fdf691227d51e628373
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit ba5fdf167b79444f210884aa01f484b5283ec67a)
|
|\|
| |
| |
| | |
Change-Id: I049daa7bbac16b4cf680dc60d65553277064b231
|
| |
| |
| |
| |
| |
| |
| |
| | |
Task-number: PYSIDE-1571
Change-Id: I12f23238333a350835bb923299a7b2e5fbf9cb03
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit 24b86d11921c70029c1b1b75f8a20c83dbc8a88c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Task-number: PYSIDE-2038
Change-Id: Ib87c2a1ff77bbb0bf71f4f2ca976929780e5b398
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit ae970d1794821f383e53ae62487cb1e0723ff051)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Do not restore the cursor in the destructor of the helper
class, only in __exit__ of the context manager.
Amends f81168387be7879f9167405b28d29ba26e7b3f14.
Fixes: PYSIDE-2039
Change-Id: I78d1dc402adda953ec3d5516631cfda5900a9a43
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit 287dc1365251a15e95363366d9c86bb8f5962ecb)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|