[Solved]how to take input date from user and show related data saved in a database and display in listview model base
-
wrote on 22 Jul 2015, 20:17 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
-
Hi,
You can use a QSqlQueryModel and filter your database content based on the date selected.
Hope it helps
-
wrote on 23 Jul 2015, 12:22 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.
3/4