Are you sure you want to use the activated() signal?
The slot will be called when you activate the item which has the index 'index', which is not what I think you want.
Just loading data to the table can be done via a normal method call (for example in the constructor).
Bookmarks