Introduction to Qt Widgets (Part 54) - Model/View Concepts
After two episodes talking about the item versions of lists, tables, and trees, we now turn our attention to the model/view version of that story. Using model/view offers a great opportunity to do a separation between business logic and presentation. In this episode we will start the journey from 10.000 feet, learning how each of the parts fits together. Chapters: 00:00 Welcome 00:42 So what is model/view? - One definition I didn't understand 02:35 Model/view for lists, tables and trees 03:55 Advertise: profiling training 04:10 Model/View isn't the right name 05:26 Some examples of models 08:47 QAbstractItemModel 11:20 The key problem in Qt's Model/view framework 14:20 The views 16:26 The example 18:12 The relationship model, view, and delegate Links: * KDAB Profiling Training Portfolio: https://training.kdab.com/portfolio/debugging-and-profiling/ * KPhotoAlbum: https://www.kphotoalbum.org/ The example code showcased in this video is available here: https://github.com/KDABLabs/kdabtv/tree/master/Programming-With-Qt-Widgets/modelview All 'Introduction to Qt Widgets - Module 1' videos: https://www.youtube.com/playlist?list=PL6CJYn40gN6hgf7zCKF2Rv9Y0WoN8RVGf All...
After exploring item-based lists, tables & trees, we're now diving into the model/view approach. A great step toward clean separation of logic & presentation. In this episode, we zoom out to see how it all fits together: www.youtube.com/watch?v=jQLN... #QtDev #QtWidgets #ModelView