Then you should probably read a little more about model-view approach used by Qt. The topic is so big, our answers to your questions here without any knowledge about mechanisms used in this example won't tell you much and you certainly won't learn anything from it.
You should now read about Interview, try to analyse example code, try to implement something on your own and then ask detailed questions about issues which seem unclear to you and then we'll gladly answer them.
Bookmarks