Results 1 to 2 of 2

Thread: Populating qtablewidget with QStringlist

  1. #1
    Join Date
    Aug 2012
    Posts
    19
    Thanks
    4
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Populating qtablewidget with QStringlist

    Can i populate qtablewidget or qtableview using QStringList?
    thanks

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Populating qtablewidget with QStringlist

    Yes... Using a for loop and some code to put the values in whatever rows or columns you want.

  3. The following user says thank you to ChrisW67 for this useful post:

    decipher (4th September 2012)

Similar Threads

  1. Odd behavior when populating a Table
    By Kyle_Katarn in forum Newbie
    Replies: 8
    Last Post: 8th April 2011, 22:38
  2. Populating, signals and comboboxes
    By ShamusVW in forum Newbie
    Replies: 6
    Last Post: 12th August 2010, 06:43
  3. Populating a QtableWidget using a list of custom widgets
    By gerocampo in forum Qt Programming
    Replies: 1
    Last Post: 4th August 2010, 10:28
  4. Replies: 3
    Last Post: 8th December 2009, 10:49
  5. Replies: 7
    Last Post: 2nd June 2006, 12:48

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
  •  
Qt is a trademark of The Qt Company.