Sign up for the KDAB Newsletter
Stay on top of the latest news, publications, events and more.
Go to Sign-up
Find what you need - explore our website and developer resources
21 January 2021
Sometimes a view or delegate needs to ask the model providing the data (at the bottom of a proxy model stack) some questions.
In the previous video, 'Communicating between a View/Delegate and a Model' ( https://youtu.be/q6eOEz_UfTI ), I showed how custom roles can be used for this.
However, if the data isn't related to a specific cell, a better approach might be to traverse the proxy models yourself, to get to the actual source model.
This video shows this approach.
Link to download KDReports: https://www.kdab.com/software-technologies/developer-tools/kd-reports/
All Qt Widgets and more videos:
https://www.youtube.com/playlist?list=PL6CJYn40gN6gf-G-o6syFwGrtq3kItEqI
Stay on top of the latest news, publications, events and more.
Go to Sign-up
Upgrade your applications from Qt 5 to Qt 6 with KDAB’s migration services. Get a free migration assessment and join a hands-on workshop to prepare your team for a successful transition!
Learn more