I have a ui designed in Qt that uses the QCalendarWidget, QTableView, and in the Python code uses QtSql.

Upon startup, I query a SQL database for a whole date range of the designed timeframe, and populate the QTabelView with that result.

I am able to select the records and return the value to through the signal/slot to the Python code and able to use the values within the code.

If a user selects a specific date, the code requeries SQL for that specific date and repopulates the QTableView. All that works fine.

The problem is that after any re-query, the QTableView signal/slot does not update if a user selects a value.