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