QTreeView tutorial

Heads up! You've already completed this tutorial.

CHRISTIAN_SCHULTZ | 2021-01-08 19:47:56 UTC | #1

Hello, any chances about making a QTreeView tutorial, like the one in QTableView? I'm searching for infos about it and coundn't find anything good, it would be amazing if you could make a tutorial for this topic!


ERIC_HUYGEN | 2021-02-12 10:36:35 UTC | #2

Hi

a second this question. There is no such thing as a QAbstractTreeModel and so AFAIK we will have to use QAbstractItemModel which makes things much more complicated. I couldn't find this back in the book. A tutorial on this would be much appreciated.

Thanks, Rik


mike2750 | 2021-02-27 20:31:14 UTC | #3

Over 10,000 developers have bought Create GUI Applications with Python & Qt!
Create GUI Applications with Python & Qt6
Take a look

Downloadable ebook (PDF, ePub) & Complete Source code

Also available from Leanpub and Amazon Paperback

[[ discount.discount_pc ]]% OFF for the next [[ discount.duration ]] [[discount.description ]] with the code [[ discount.coupon_code ]]

Purchasing Power Parity

Developers in [[ country ]] get [[ discount.discount_pc ]]% OFF on all books & courses with code [[ discount.coupon_code ]]

Yeah I agree I also would love some examples of generating and working with custom QAbstractItemModel

Packaging Python Applications with PyInstaller by Martin Fitzpatrick — This step-by-step guide walks you through packaging your own Python applications from simple examples to complete installers and signed executables.

More info Get the book


PyQt/PySide 1:1 Coaching with Martin Fitzpatrick — Get one on one help with your Python GUI projects. Working together with you I'll identify issues and suggest fixes, from bugs and usability to architecture and maintainability.

Book Now 60 mins ($195)

Well done, you've finished this tutorial! Mark As Complete
[[ user.completed.length ]] completed [[ user.streak+1 ]] day streak
Martin Fitzpatrick

QTreeView tutorial was written by Martin Fitzpatrick .

Martin Fitzpatrick has been developing Python/Qt apps for 8 years. Building desktop applications to make data-analysis tools more user-friendly, Python was the obvious choice. Starting with Tk, later moving to wxWidgets and finally adopting PyQt. Martin founded PythonGUIs to provide easy to follow GUI programming tutorials to the Python community. He has written a number of popular Python books on the subject.