Results 1 to 4 of 4

Thread: Question on QTableWidget

  1. #1
    Join Date
    Jan 2006
    Location
    Riverside, Rhode Island, USA
    Posts
    245
    Thanks
    52
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Question on QTableWidget

    HI, I'm using QTableWidget for the first time and I am having troble finding out how to populate a table..

    I want to place "text item" in cell row 3, column 5.

    Please help.

    thanks

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Question on QTableWidget

    Qt Code:
    1. QTableWidget::setItem ( int row, int column, QTableWidgetItem * item )
    To copy to clipboard, switch view to plain text mode 

    Have also a look to the detailed description of the documentation of QTableWidget.

  3. #3
    Join Date
    Jan 2006
    Location
    Riverside, Rhode Island, USA
    Posts
    245
    Thanks
    52
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Question on QTableWidget

    Thanks, I have been doing that all day, but I have a lot of problems with the terminology. It gets worse with every upgrade. Examples showing the implementation of these items would be most helpful.

    I have found an example in "the Book of Qt 4" on page 254. all of this just to put a bit of text into a position in a table. tsk tsk!

    Enhansements to the point of non-usability.

    Sorry for the diatrib.

    But thanks anyway, I appreciate it.

  4. #4
    Join Date
    Jan 2006
    Location
    Riverside, Rhode Island, USA
    Posts
    245
    Thanks
    52
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Question on QTableWidget

    The reference in the book did the trick.
    Sorry I got a bit testi. But I'm 83 and my patience is not that great.

Similar Threads

  1. QTableWidget sorting question
    By tommy in forum Qt Programming
    Replies: 2
    Last Post: 3rd October 2009, 13:02
  2. QTableWidget Design & Thread Safety Question
    By bpetty in forum Qt Programming
    Replies: 4
    Last Post: 28th March 2008, 00:09
  3. QTableWidget signal/slot question
    By twells55555 in forum Qt Programming
    Replies: 8
    Last Post: 6th August 2007, 21:58
  4. QTableWidget question
    By larry104 in forum Qt Programming
    Replies: 2
    Last Post: 20th October 2006, 21:46
  5. QTableWidget editing question
    By Trasmeister in forum Qt Programming
    Replies: 1
    Last Post: 20th September 2006, 18:46

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.