Please nominate your Qt Champions for 2021! https://forum.qt.io/topic/132134/looking-for-the-2021-qt-champions
[Solved]how to take input date from user and show related data saved in a database and display in listview model base
Gillou_beginqt last edited by Gillou_beginqt
I am a beginner in gui programming using qt framework. I have a project where according to the date selected from the user in a qcalendar widget, the corresponding entry will be display in listview model base widget. How can I do that? Thank you
You can use a QSqlQueryModel and filter your database content based on the date selected.
Hope it helps
Gillou_beginqt last edited by
Yes, Thank you for your help
You're welcome !
If this answers your question, please update the thread title prepending [solved] so other forum uses may know a solution has been found :)
Also, consider up-voting answer(s) that helped you, it will make it easier for other users to find them.