I am creating Qt application that uses database with huge amount of data to draw some charts. Fetching data from the database is time consuming, so is blocking the application thread or worker thread creating an unpleasant delay.
I have an idea that instead of doing everything at once I can fetch data and draw charts in chunks. How would I design this functionality?
I have no idea how can I design my interfaces. I want also want there to be a place for other database stuff, like caching, in clean way.