Hello,

I have been using Qt for a couple of weeks so my posts will be frequent in this period :).

I have a QTableView which queries my MySQL database.
If I run "select *" the table is 500k rows and 12 columns.
To load the data I thought about this solution:

1 - Run the query with a limit.

2 - When the value of the VerticalScrollBar is equal to its maximum value, make a PushButtonInsert appear.
(I tried to use a "connect" but it doesn't work)

3 - When the PushButtonInsert is clicked I would like to insert the data of another query into the table, with limit and offset so as not to have duplicate data in the table.

How can I accomplish steps 2 and 3?