PDA

View Full Version : add multiple rows at a time in tablewidgets



rk0747
15th April 2010, 07:54
hi,
i have created a tablewidget , when i click on add button one row is adding to the table . but, Bydefault 16 rows should be added (without using add button), to the table, when we run the application.

I have added controls in the table cells through the code. tablewidget should acts like table while editing and for while displaying.tableview. could you please me how to do this?


please find the attachment.


I called add ingredient(addbutton) function in the For loop in aoingredientview.cpp constructor. it is not working.