Advertisement · 728 × 90
#
Hashtag
#QtWidgets
Advertisement · 728 × 90
Preview
Introduction to Qt Widgets KDAB

All 10 modules of Introduction to Qt Widgets are now available. Learn the foundations of Qt programming — from core concepts and layout management to model/view programming, drag & drop, and event filters.
Watch the full series: www.youtube.com/playlist?lis... #QtDev #QtWidgets

0 0 0 0
Preview
Introduction to Qt Widgets - Module 10: Drag and Drop (and Event Filters) KDAB

Module 10 of "Introduction to Qt Widgets" explores drag and drop - from custom widget implementations to model/view integration - and concludes with an introduction to event filters. Watch the full module here: www.youtube.com/playlist?lis... #QtDev #QtWidgets

0 0 0 0
Introduction to Qt Widgets (Part 69) - Event Filters
Introduction to Qt Widgets (Part 69) - Event Filters This final episode of "Introduction to Qt Widgets" will end on a high note - a very high note even - namely by Jesper talking about event filters. Event filters are a super neat tool in Qt, with which you can do truly amazing things - but also shoot yourself in the foot, so your whole leg falls off. Chapters: 00:00 Welcome 00:31 The worst boss ever 01:58 What are your options? 03:23 There is another option! 06:26 Event filters solving our boss problem 10:02 Men in black 11:14 A truly evil event filter! 15:35 Advertise - Let us help you profile your application 15:53 Update the code to have only one event filter 19:19 The end - but not goodbye Links: * KDAB Profiling Services: https://www.kdab.com/services/software-consulting/performance-optimization/ The example code showcased in this video is available here: https://github.com/KDABLabs/kdabtv/tree/master/Programming-With-Qt-Widgets/DragAndDrop All 'Introduction to Qt Widgets - Module 1' videos: https://www.youtube.com/playlist?list=PL6CJYn40gN6hgf7zCKF2Rv9Y0WoN8RVGf All 'Introduction...

In the (for now) final episode of "Introduction to Qt Widgets", Jesper explains event filters - a powerful Qt feature for intercepting and handling events across widgets: www.youtube.com/watch?v=8Ktm... #QtDev #QtWidgets

1 1 0 0
Introduction to Qt Widgets (Part 68) - Drag and Drop in Model/View Programming
Introduction to Qt Widgets (Part 68) - Drag and Drop in Model/View Programming In the previous episode, we learned how to add drag and drop to a widget. We could now take that knowledge and add drag and drop to list views, tables and tree views, but that would be quite a bit of work. Fortunately, QAbstractItemView (which is the super class for those three) does already have support for it. All we need to do is to add information in our model about what is being dragged out, or how to handle data being dropped on it. Chapters: 00:00 Welcome 00:27 What do we get out of the box? 04:58 The dropside example 06:04 QStandardItemModel's default drag and drop implementation 07:45 Advertise: Modernizing your C++ code 08:14 Implementing drag from my own models 12:20 The drop side of my own models 14:30 Just a note 16:38 The example The example code showcased in this video is available here: https://github.com/KDABLabs/kdabtv/tree/master/Programming-With-Qt-Widgets/DragAndDrop All 'Introduction to...

Building on the previous episode, Jesper shows how to enable drag and drop in item views like lists, tables, and trees using QAbstractItemView’s built-in support. Learn how to define drag and drop behavior in your model: www.youtube.com/watch?v=E46F... #QtDev #QtWidgets

0 0 0 0
Introduction to Qt Widgets (Part 67B) - Drag and Drop
Introduction to Qt Widgets (Part 67B) - Drag and Drop One of the most intuitive gestures in applications is drag and drop - "I have something here, I want it there" In this episode, we will learn how to add drag and drop facilities to your application, both so it can work with other applications, but also so you can drag, possibly even complex, data around inside your application. Links: * KDAB Service: Qt5 to Qt6 Migration: https://www.kdab.com/services/qt-services/qt-5-to-qt-6-migration-services/ * Codebrowser: https://codebrowser.dev/ * Code for QMimeDataPrivate on Codebrowser: https://codebrowser.dev/qt6/qtbase/src/corelib/kernel/qmimedata.cpp.html#106 Chapters 00:00 Welcome 01:01 Fives step to DnD 02:31 Step 1 - detect a drag is about to start 04:44 Step 2 - starting the drag 08:27 QMimeData 09:55 Advertise: Qt5 to Qt6 migration 10:15 Step 3+4 - the drop side 15:34 Encoding your own data type - the drag side 18:27 Decoding your own data - the drop site 21:48 Only encode the data when the drop happens 24:00 Drag and...

One of the most intuitive gestures in applications is drag and drop. In this episode, Jesper shows how to add drag and drop to your application, both so it can work with other applications, and lets you move data inside your application: www.youtube.com/watch?v=WTJP... #QtDev #QtWidgets

0 0 0 0
Video

🆕 Module 10 - Introduction to Qt Widgets
In episode 67A, we begin exploring drag and drop by letting users drop files onto a Qt widget. See how to enable drops and handle them by reimplementing two virtual methods: www.youtube.com/watch?v=35_O... #QtDev #QtWidgets

0 0 0 0
Preview
Introduction to Qt Widgets KDAB

Want to catch up on our "Introduction to Qt Widgets" series? Based on our "Programming with Qt" training, this series covers key Qt Widgets concepts - from layout management to model/view programming.
Modules 1–9 are available on YouTube: www.youtube.com/playlist?lis... #QtDev #QtWidgets

1 1 0 0
Preview
Introduction to Qt Widgets - Module 9: Value Based Models, Proxy Model, and Delegate KDAB

Module 9 of our "Introduction to Qt Widgets" series is now complete and available to watch. This module builds on the model/view framework introduced earlier and covers essential concepts like proxy models and delegates: www.youtube.com/playlist?lis... #QtDev #QtWidgets #Cpp

0 0 0 0
Introduction to Qt Widgets (Part 66) - QWAM Videos on Model/View
Introduction to Qt Widgets (Part 66) - QWAM Videos on Model/View The YouTube series "Qt Widgets and More" covers aspects of model/view in one way or the other in 21 episodes. We've already seen one episode in this series - https://youtu.be/GlP0JHUUP8A?list=PL6CJYn40gN6gf-G-o6syFwGrtq3kItEqI -, which leaves us with 20 more to go. This episode will give you pointers to all of these. Chapters: 00:00 Welcome 00:33 The one an only link to remember (https://tinyurl.com/kdab-qwam) 01:05 Coding Models 05:35 Coding - Tip and Tricks 10:08 Advertise - Migrate from Python to C++ 10:29 Usecases Links: * The complete "Qt Widgets and More" series - https://youtu.be/PL6CJYn40gN6gf-G-o6syFwGrtq3kItEqI * Episode 10 - Communicating between a View/Delegate and a Model - https://youtu.be/q6eOEz_UfTI?list=PL6CJYn40gN6gf-G-o6syFwGrtq3kItEqI * Episode 12 - Traversing Proxy Models to Get to the Source Model at the Bottom - https://youtu.be/v6clAW6FmcU?list=PL6CJYn40gN6gf-G-o6syFwGrtq3kItEqI * Episode 70/71 - A Complete Proxy Model Implementation - https://youtu.be/fPy0nuGWTZk / https://youtu.be/7wObo3LVcWA?list=PL6CJYn40gN6gf-G-o6syFwGrtq3kItEqI * Episode 78 - Qt Item Delegates - A Framework - https://youtu.be/R9MstFOcVnU?list=PL6CJYn40gN6gf-G-o6syFwGrtq3kItEqI * Episode 79...

The YouTube series "Qt Widgets and More" covers aspects of the model/view framework in one way or the other in 21 episodes. In this last episode of Module 9, Jesper will give you pointers to all of these: www.youtube.com/watch?v=c-B5... #QtDev #QtWidgets

0 0 0 0
Introduction to Qt Widgets (Part 65) - Selection
Introduction to Qt Widgets (Part 65) - Selection Selection in the model/view framework manages to be very powerful and very confusing at the same time - in this episode we will try to clarify the confusion. Chapters: 00:00 Welcome 00:30 Advertise: Rust migrations and trainings 00:45 QListVIew - current selected item 03:30 An example 07:01 How to select from C++ 09:37 QAbstractItemView::SelectionMode Links: * KDAB Rust Services: https://www.kdab.com/software-technologies/rust/ The example code showcased in this video is available here: https://github.com/KDABLabs/kdabtv/tree/master/Programming-With-Qt-Widgets All 'Introduction to Qt Widgets - Module 1' videos: https://www.youtube.com/playlist?list=PL6CJYn40gN6hgf7zCKF2Rv9Y0WoN8RVGf All 'Introduction to Qt Widgets - Module 2' videos: https://www.youtube.com/playlist?list=PL6CJYn40gN6j_c41CFMprvg9EiWz0WdSy All 'Introduction to Qt Widgets - Module 3' videos: https://www.youtube.com/playlist?list=PL6CJYn40gN6hWZO_viEf1rfjgk4E6SCKd All 'Introduction to Qt Widgets - Module 4' videos: https://www.youtube.com/playlist?list=PL6CJYn40gN6iXUNQMb2GkEjV_oK6Xid9- All 'Introduction to Qt Widgets - Module 5' videos: https://www.youtube.com/playlist?list=PL6CJYn40gN6h1tsLAETdrrFlsVMeYpiHI All 'Introduction to Qt Widgets - Module 6' videos: https://www.youtube.com/playlist?list=PL6CJYn40gN6jIsRYriqN70V83t_mdDZHT All 'Introduction to Qt Widgets - Module 7' videos: https://www.youtube.com/playlist?list=PL6CJYn40gN6hHyqD9ZxUqpd14LoHvadN7 All 'Introduction to Qt Widgets - Module 8' videos:...

Selection in the model/view framework manages to be very powerful and very confusing at the same time - in this episode we will try to clarify the confusion: www.youtube.com/watch?v=Rslk... #QtDev #QtWidgets

0 0 0 0
Introduction to Qt Widgets (Part 64) - Delegates
Introduction to Qt Widgets (Part 64) - Delegates Delegates allow you to customize how each cell in a list, table or tree is painted. This episode covers how they are implemented, and how they are instantiated on your lists, tables or trees. Chapters: 00:00 Welcome 00:40 What is the purpose of a delegate? 02:20 What delegate super classes exists? 03:39 When shouldn't you implement your own delegate 05:49 Advertise: Let us help you go to QML 06:11 Example: BarGraphDelegate 11:55 Setting the delegates on the view 13:05 Example - country delegate - an editing delegate 17:57 udpdateEditorGeometry 21:52 Using an event filter to help focus move to the next cell Links: * Episode 78 -Qt Item Delegates - A Framework - https://youtu.be/R9MstFOcVnU?list=PL6CJYn40gN6gf-G-o6syFwGrtq3kItEqI * Episode 79 -Qt Item Delegates - Some Real World Examples - https://youtu.be/iwx7vKCQ0OI?list=PL6CJYn40gN6gf-G-o6syFwGrtq3kItEqI * Episode 80 -Editing Delegates - https://youtu.be/k-5tsMXtbi8?list=PL6CJYn40gN6gf-G-o6syFwGrtq3kItEqI * KDAB QML Expertise: https://www.kdab.com/software-technologies/qt/ The example code showcased in this video is available here: https://github.com/KDABLabs/kdabtv/tree/master/Programming-With-Qt-Widgets...

Delegates allow you to customize how each cell in a list, table or tree is painted. This episode covers how they are implemented, and how they are instantiated on your lists, tables or trees: www.youtube.com/watch?v=MIs0... #QtDev #QtWidgets

0 0 0 0
Introduction to Qt Widgets (Part 63) - Proxy Models (Part 2)
Introduction to Qt Widgets (Part 63) - Proxy Models (Part 2) In the previous episode we discussed the foundation of proxy models; in this episode I'll show you two implementations of such proxy models. Links: * KDAB Migration Services: https://www.kdab.com/services/software-consulting/legacy-framework-migration/ Chapters: 00:00 Welcome 00:35 Short recap 01:05 Subclassing QIdentityProxyModel 02:21 AllUpperCaseProxyModel 04:40 Live coding: Changing background color depending on type of media 10:04 Why is the trick with custom roles, so important? 12:09 Sorting using QSortFilterProxyModel 12:47 Filtering using QSortFilterProxyModel 13:07 Subclasing QSortFilterProxyModel for sorting 14:01 Subclassing QSortFilterProxyModel for filtering 19:01 QAbstractProxyModel - links to QWAM 20:37 Advertise: Migrating from photon or MFC 20:52 The alternative to implementing QAbstractProxyModel 23:03 Signals + never give out someone else's indexes 24:47 Final words on proxy models The example code showcased in this video is available here: https://github.com/KDABLabs/kdabtv/tree/master/Programming-With-Qt-Widgets All 'Introduction to Qt Widgets - Module 1' videos: https://www.youtube.com/playlist?list=PL6CJYn40gN6hgf7zCKF2Rv9Y0WoN8RVGf All 'Introduction to Qt Widgets - Module 2' videos: https://www.youtube.com/playlist?list=PL6CJYn40gN6j_c41CFMprvg9EiWz0WdSy All 'Introduction to Qt Widgets -...

In the previous episode, we explored the foundations of proxy models in Qt's model/view framework. In this follow-up, we demonstrate two practical implementations to see them in action: www.youtube.com/watch?v=Ybv7... #QtDev #QtWidgets

0 0 0 0
Introduction to Qt Widgets (Part 62) - Proxy Models (Part 1)
Introduction to Qt Widgets (Part 62) - Proxy Models (Part 1) One of the most important features of Qt's model/view framework is without a doubt proxy models. This episode covers these. Links: * KItemModels - https://api.kde.org/frameworks/kitemmodels/html/index.html * Models from KDToolBox - https://github.com/KDABLabs/KDToolBox/tree/master/qt/model_view * KDAB support: https://www.kdab.com/software-technologies/platforms/ Chapters: 00:00 Welcome 00:27 Multiple views on the same model - the architecture 04:12 Examples of proxy models 07:37 Advertise: Consulting on cross platform software 08:00 Simple code example 10:07 QIdentityProxyModel 11:36 QSortFilterProxyModel 12:29 QAbstractProxyModel 13:14 Lots of existing proxy models 13:52 Whats up next and refreshing memory The example code showcased in this video is available here: https://github.com/KDABLabs/kdabtv/tree/master/Programming-With-Qt-Widgets All 'Introduction to Qt Widgets - Module 1' videos: https://www.youtube.com/playlist?list=PL6CJYn40gN6hgf7zCKF2Rv9Y0WoN8RVGf All 'Introduction to Qt Widgets - Module 2' videos: https://www.youtube.com/playlist?list=PL6CJYn40gN6j_c41CFMprvg9EiWz0WdSy All 'Introduction to Qt Widgets - Module 3' videos: https://www.youtube.com/playlist?list=PL6CJYn40gN6hWZO_viEf1rfjgk4E6SCKd All 'Introduction to Qt Widgets - Module 4' videos: https://www.youtube.com/playlist?list=PL6CJYn40gN6iXUNQMb2GkEjV_oK6Xid9- All 'Introduction to Qt Widgets - Module 5' videos: https://www.youtube.com/playlist?list=PL6CJYn40gN6h1tsLAETdrrFlsVMeYpiHI All 'Introduction to Qt Widgets -...

Proxy models are one of the most powerful features in Qt's model/view framework. In this first of a two-part series, we dive into what makes them so essential: www.youtube.com/watch?v=-BfW...
#QtDev #QtWidgets

0 0 0 0
Video

Module 9 of "Introduction to Qt Widgets" starts today: Building on the previous module’s model/view framework, this one introduces among others proxy models and delegates for painting and editing items. Watch the first episode: www.youtube.com/watch?v=5sOZ... #QtDev #QtWidgets #ModelView

0 0 0 0
Post image

Explore the June 2025 KDAB Monthly Digest: Qt Widgets in QML, software architecture documentation, Qt World Summit highlights + exclusive interviews, and more. Don’t miss our new YouTube playlist "The Curious Developer": www.kdab.com/newsletter/j... #QtDev #QML #QtWidgets

1 0 0 0
Preview
Introduction to Qt Widgets - Module 8: Model/View Programming KDAB

Separating presentation and business logic is essential - but how do you actually do it in Qt? Module 8 of our "Introduction to Qt Widgets" series dives into the model/view framework for lists, tables, and trees.
Watch it now: www.youtube.com/playlist?lis...
#QtDev #QtWidgets

0 0 0 0
Introduction to Qt Widgets (Part 60) - Live Coding of a Tree Model
Introduction to Qt Widgets (Part 60) - Live Coding of a Tree Model One thing is being told, yet another is to see for yourself. Which is why we in this episode will see the implementation of a tree model coded from scratch. 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 'Introduction to Qt Widgets - Module 2' videos: https://www.youtube.com/playlist?list=PL6CJYn40gN6j_c41CFMprvg9EiWz0WdSy All 'Introduction to Qt Widgets - Module 3' videos: https://www.youtube.com/playlist?list=PL6CJYn40gN6hWZO_viEf1rfjgk4E6SCKd All 'Introduction to Qt Widgets - Module 4' videos: https://www.youtube.com/playlist?list=PL6CJYn40gN6iXUNQMb2GkEjV_oK6Xid9- All 'Introduction to Qt Widgets - Module 5' videos: https://www.youtube.com/playlist?list=PL6CJYn40gN6h1tsLAETdrrFlsVMeYpiHI All 'Introduction to Qt Widgets - Module 6' videos: https://www.youtube.com/playlist?list=PL6CJYn40gN6jIsRYriqN70V83t_mdDZHT All 'Introduction to Qt Widgets - Module 7' videos: https://www.youtube.com/playlist?list=PL6CJYn40gN6hHyqD9ZxUqpd14LoHvadN7 All 'Introduction to Qt Widgets - Module 8' videos: https://www.youtube.com/playlist?list=PL6CJYn40gN6iCb8g5NSfVqX0JRFzFnxak Please note that non-English dubs for all KDAB videos are auto-generated. These translations have not been moderated by us and may contain inaccuracies. We appreciate your understanding and apologize...

One thing is being told, yet another is to see it for yourself. Which is why in this episode we will see the implementation of a tree model coded from scratch: www.youtube.com/watch?v=FKks... #QtDev #QtWidgets

0 0 0 0
Introduction to Qt Widgets (Part 59) - Tree Models
Introduction to Qt Widgets (Part 59) - Tree Models We finally made it here - with all the building blocks in place we now are able to understand what it takes to implement a tree model. Chapters: 00:00 Welcome 00:31 What are the classes involved? 01:29 Advertise: Cross platform development 01:58 Overview of the methods needed to create a tree model 05:27 Model indexes 08:26 Understanding the void pointer inside the model index 11:23 Only the model can create its own indexes - createIndex 16:59 What are the next steps? 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 'Introduction to Qt Widgets - Module 2' videos: https://www.youtube.com/playlist?list=PL6CJYn40gN6j_c41CFMprvg9EiWz0WdSy All 'Introduction to Qt Widgets - Module 3' videos: https://www.youtube.com/playlist?list=PL6CJYn40gN6hWZO_viEf1rfjgk4E6SCKd All 'Introduction to Qt Widgets - Module 4' videos: https://www.youtube.com/playlist?list=PL6CJYn40gN6iXUNQMb2GkEjV_oK6Xid9- All 'Introduction to Qt Widgets - Module 5' videos: https://www.youtube.com/playlist?list=PL6CJYn40gN6h1tsLAETdrrFlsVMeYpiHI All 'Introduction to Qt Widgets - Module 6'...

With all the episodes of module 8 released so far we finally made it here - with all the building blocks in place we now are able to understand what it takes to implement a tree model: www.youtube.com/watch?v=uMo_... #QtDev #QtWidgets

0 0 0 0
Introduction to Qt Widgets (Part 58) - Check Your Indexes
Introduction to Qt Widgets (Part 58) - Check Your Indexes When you implement a model, it is worthwhile remembering that one day an intern, with far less experience than you, might implement a proxy model which sits on top of your model and acts as the view. This proxy model might be broken in ways you could even imagine, so better check that the index provided are actually referring to valid data in your model. This episode discusses this in details, and offers you a simple library with all checks needed. Chapters: 00:00 Welcome 00:26 Why is this important? 02:35 Over to the QWAM episode 03:36 The broken example 05:48 Hint to what is wrong 07:20 What is the cure? 08:05 What can I do to be more safe? 09:10 Qt 5.11 - checkIndex 12:39 CHECK_ macros 14:56 QAbstractProxyModel::headerData calling index for an invalid row Links: * QWAM: Communicating between view and model: https://youtu.be/q6eOEz_UfTI?list=PL6CJYn40gN6gf-G-o6syFwGrtq3kItEqI * Blog post on checkIndex: https://www.kdab.com/new-in-qt-5-11-improvements-to-the-model-view-apis-part-1/...

A model might be solid—but what about the proxy sitting on top of it? Especially if it's written later by someone less experienced? This episode explores why index validation matters and introduces a library to help keep your data access safe: www.youtube.com/watch?v=QGK6... #QtDev #QtWidgets

1 0 0 0
Introduction to Qt Widgets (Part 57) - Live Coding of a Table Model
Introduction to Qt Widgets (Part 57) - Live Coding of a Table Model In this episode I will live code a model based on QAbstractTableModel. Chapters: 00:00 Welcome 00:54 The end result 01:50 The starting point 03:29 Creating a QTableView in main.cpp 04:57 Setting up the DepecheModel 07:55 The default implementation by Qt Creator 09:45 Implementing headerData 12:20 Implementing rowCount 13:21 Advertise - Braumeister 13:49 Fixing why nothing showed up 16:08 Implementing columnCount and header for columns 20:01 A bit of cleaning up 20:47 Implementing the data method 25:00 Implementing the check boxes 29:50 Alignment 33:40 Turning the column enum into an enum class 36:47 EnumConverrters.h 42:47 What's next? Links: * QWAM episode on flags - https://youtu.be/EGhHlPDeyvg?list=PL6CJYn40gN6gf-G-o6syFwGrtq3kItEqI * QWAM episode on Github Copilot - https://youtu.be/kQzpvHPeBQo?list=PL6CJYn40gN6gf-G-o6syFwGrtq3kItEqI * QWAM episode on favorite shortcuts in Qt Creator: https://youtu.be/7Zn6r9HYy6Y?list=PL6CJYn40gN6gf-G-o6syFwGrtq3kItEqI * Video on Braumeister: https://youtu.be/OFohLXdtCzM?list=PL6CJYn40gN6hWTi9AEI1zSfbmC4Skmokb * QWAM episode on Clang Format - https://youtu.be/Cz36YveDI2E?list=PL6CJYn40gN6gf-G-o6syFwGrtq3kItEqI 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...

In this new episode of "Introduction to Qt Widgets", Jesper will live code a model based on QAbstractTableModel: www.youtube.com/watch?v=unYW... #QtDev #QtWidgets

0 0 0 0
YouTube
YouTube Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.

In this episode of "Introduction to Qt Widgets", it is finally time to learn how to implement our own models. We will start with lists and tables in this episode, and later move on to tree models: www.youtube.com/watch?v=ype8... #QtDev #QtWidgets

0 0 0 0
YouTube
YouTube Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.

Continuing our model/view journey: after last episode’s high-level overview, we’re heading closer to code. First, we tackle two key questions—how do we reference items (esp. in trees)? And what data can we access per cell? www.youtube.com/watch?v=GNi9... #QtDev #QtWidgets

0 0 0 0
Introduction to Qt Widgets (Part 54) - Model/View Concepts
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

1 1 0 0
Introduction to Qt Widgets (Part 53) - Item Widgets - Interaction
Introduction to Qt Widgets (Part 53) - Item Widgets - Interaction In this episode, we will continue looking at the item based widgets for lists, tables, and trees. We will cover "the current item", selection, sorting and event handling. Chapters: 00:00 Introduction 01:08 Selection and Keyboard Focus 03:55 ... from a programming point of view 06:10 The tree example 11:21 Sorting 13:00 Advertise: 3D trainings 13:14 Some code showing sorting 15:08 Event handling 18:35 What's up next Links: * KDAB 3D/OpenGL Training Portfolio: https://training.kdab.com/portfolio/3dopengl/ 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 'Introduction to Qt Widgets - Module 2' videos: https://www.youtube.com/playlist?list=PL6CJYn40gN6j_c41CFMprvg9EiWz0WdSy All 'Introduction to Qt Widgets - Module 3' videos: https://www.youtube.com/playlist?list=PL6CJYn40gN6hWZO_viEf1rfjgk4E6SCKd All 'Introduction to Qt Widgets - Module 4' videos: https://www.youtube.com/playlist?list=PL6CJYn40gN6iXUNQMb2GkEjV_oK6Xid9- All 'Introduction to Qt Widgets - Module 5' videos: https://www.youtube.com/playlist?list=PL6CJYn40gN6h1tsLAETdrrFlsVMeYpiHI All 'Introduction to Qt Widgets - Module 6' videos: https://www.youtube.com/playlist?list=PL6CJYn40gN6jIsRYriqN70V83t_mdDZHT All 'Introduction to Qt Widgets -...

In this episode, we will continue looking at the item based widgets for lists, tables, and trees. We will cover "the current item", selection, sorting and event handling: www.youtube.com/watch?v=6FGP... #QtDev #QtWidgets

1 1 0 0
Introduction to Qt Widgets (Part 52) - Item Views
Introduction to Qt Widgets (Part 52) - Item Views Qt has two kinds of lists, tables, and trees. One kind uses a model/view setup which gives a great separation between data and presentation. The other one is item based, meaning your data is stored in the items, just like the checked value is stored inside the checkbox. The disadvantage with the model/view framework is that it is more work to set up, which is why we will start this module with the much simpler item based version. Chapters: 00:00 Introduction 00:45 The Widget versus the View classes 03:55 QListWidget 08:40 QTableWidget 10:16 The table widget example 15:47 Advertise - can you help us with a USB driver? 16:11 QTableWidget::addItem - of course doesn't exist 16:55 QTreeWidget 20:35 The tree widget example 24:00 Compare the API of list, table, and tree 24:35 Configuring items 27:00 Headers 29:06 Whats up in the next episode Links: * Table View Galore : https://youtu.be/F8min4ZZJaI?list=PL6CJYn40gN6gf-G-o6syFwGrtq3kItEqI...

Episode 52 of "Introduction to Qt Widgets" is out now. This is the first episode of Module 8, where we look at item-based lists before getting into Qt's model/view framework. Watch it here: www.youtube.com/watch?v=pU66... #QtDev #QtWidgets #ModelView #CPlusPlus #Cpp

2 1 0 0
Preview
Introduction to Qt Widgets - Module 7: Internationalization KDAB

Module 7 of "Introduction to Qt Widgets" covers tools used to translate your application: from updates in your C++ code and .pro or CMakeLists.txt file to the tool your translators will execute. Watch the complete module here: www.youtube.com/playlist?lis... #QtDev #QtWidgets #Cpp

1 1 0 0