Results 1 to 1 of 1

Thread: add multiple rows at a time in tablewidgets

  1. #1
    Join Date
    Jan 2010
    Posts
    28
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default add multiple rows at a time in tablewidgets

    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.
    Attached Files Attached Files

Similar Threads

  1. Replies: 5
    Last Post: 8th March 2010, 17:51
  2. Replies: 2
    Last Post: 13th May 2009, 10:35
  3. Replies: 1
    Last Post: 24th November 2008, 12:02
  4. QTableWidget - Select multiple rows.
    By wally in forum Qt Programming
    Replies: 2
    Last Post: 21st October 2008, 17:15
  5. [QT4] QTreeView and rows with multiple lines
    By KShots in forum Qt Programming
    Replies: 8
    Last Post: 30th March 2006, 18:47

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.