Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
None
-
6.x
-
None
-
-
c4a266e38f (pyside/pyside-setup/dev) c4a266e38f (pyside/tqtc-pyside-setup/dev) a324390fea (pyside/pyside-setup/6.3) a324390fea (pyside/pyside-setup/wip/6.3_pypy) a324390fea (pyside/tqtc-pyside-setup/6.3) a324390fea (pyside/tqtc-pyside-setup/wip/6.3_pypy)
Description
These two documents appear to be very important, but the generated code examples end up being a mix of C++ and python, or missing critical information.
https://doc.qt.io/qtforpython/overviews/modelview.html
https://doc.qt.io/qtforpython/overviews/model-view-programming.html#model-view-programming
They both seem to break in a similar place, which can be found by searching for Q_OBJECT in the page. From there forward the code examples tend to be unusable.
Seems directly related to explanation in PYSIDE-1952.
I have found more of these as I read through the PySide6 docs, if there's something specific you'd like me to do with the other issues, please let me know
qtbase/src/widgets/doc/src/modelview.qdoc
Snippets: qtbase/examples/widgets/tutorials/modelview
qtbase/src/widgets/doc/src/model-view-programming.qdoc (same snippets)
https://doc.qt.io/qt-6/model-view-programming.html#model-view-programming
Attachments
Issue Links
- relates to
-
QTBUG-105512 Unify the model view tutorials
- Reported
-
PYSIDE-1952 Inaccuracies in QInputDialog documentation
- Closed
For Gerrit Dashboard: PYSIDE-1984 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
424597,6 | snippets_translate: Add a way of overriding snippets | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
424772,4 | snippets_translate: Add a way of overriding snippets | 6.3 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
424773,3 | snippets_translate: Add a way of overriding snippets | tqtc/lts-6.2 | pyside/tqtc-pyside-setup | Status: MERGED | +2 | 0 |
425250,2 | snippets_translate: Replace spaces in overridden snippet ids by '_' | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
425251,9 | Documentation: Fix some snippets of the model view tutorials | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
425267,14 | Port the modelview tutorials | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
425311,4 | snippets_translate: Replace spaces in overridden snippet ids by '_' | 6.3 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
425314,2 | snippets_translate: Replace spaces in overridden snippet ids by '_' | tqtc/lts-6.2 | pyside/tqtc-pyside-setup | Status: MERGED | +2 | 0 |
425509,20 | snippets_translate: Add a way of using snippets from Python | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
425806,11 | Fix the modelview programming tutorial | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
425894,3 | Port the modelview tutorials | 6.3 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
425907,2 | Documentation: Fix some snippets of the model view tutorials | 6.3 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
425931,2 | shiboken6: Remove Python code snippet markers | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
425932,2 | Port the SpinBoxDelegate example | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
425971,2 | shiboken6: Remove Python code snippet markers | 6.3 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
425972,3 | Port the SpinBoxDelegate example | 6.3 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
426026,3 | shiboken6: Remove Python code snippet markers | tqtc/lts-6.2 | pyside/tqtc-pyside-setup | Status: MERGED | +2 | 0 |
426027,3 | Port the SpinBoxDelegate example | tqtc/lts-6.2 | pyside/tqtc-pyside-setup | Status: MERGED | +2 | 0 |
426040,1 | shiboken6: Remove Python code snippet markers | tqtc/6.2.4 | pyside/tqtc-pyside-setup | Status: ABANDONED | 0 | 0 |
426156,4 | snippets_translate: Add a way of using snippets from Python | 6.3 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
426198,3 | snippets_translate: Add a way of using snippets from Python | tqtc/lts-6.2 | pyside/tqtc-pyside-setup | Status: MERGED | +2 | 0 |
426458,3 | Fix the modelview programming tutorial | 6.3 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
426463,3 | Fix the modelview programming tutorial | tqtc/lts-6.2 | pyside/tqtc-pyside-setup | Status: MERGED | +2 | 0 |
426697,2 | snippets_translate: Fix the tests | 6.3 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
426702,2 | snippets_translate: Fix the tests | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
426781,3 | snippets_translate: Fix the tests | tqtc/lts-6.2 | pyside/tqtc-pyside-setup | Status: MERGED | +2 | 0 |
430617,4 | Doc: Add title to the SpinBoxDelegate doc | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
430981,2 | Doc: Add title to the SpinBoxDelegate doc | 6.3 | pyside/pyside-setup | Status: MERGED | +2 | 0 |