I want to have a table view in my Qt code. It has four column and many rows (not know ) before hand in table view Qt how can I dynamically add rows as

Qt Code:
  1. QStandardItemModel model(0,2);
To copy to clipboard, switch view to plain text mode 

What to do to add rows dynamically