There is a QList data; it reads the row id , data from the local database. Further, these lines are loaded into tableWidget . Each id can have any number of rows, and over the years the data will accumulate. So, if
if (data.size > 1000) { // создавался какой-нибудь виджет или вызывался метод show(); }, and at the end of the cycle (as the data was loaded), it was hidden / deleted automatically.
Tried to do QMessageBox before the loop. QMessageBox itself was with a message and a show method, it was shown, but it was empty inside, without a message. And since the tableWidget filled in a loop, the widget itself was suspended for 10 seconds.
So, I want the widget to be stuck while the tableWidget loaded in tableWidget , a QMessageBox type widget is displayed with the message, and disappears / was deleted when the download was completed.
How can this be implemented?