Results 1 to 2 of 2

Thread: qtablewidget and qtableview

  1. #1
    Join Date
    Feb 2008
    Posts
    102
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Question qtablewidget and qtableview

    I'd like to insert a table(i will able to insert column and row throw contextmenu event) in my custom QGraphicsScene.
    I will also use a QGraphicsProxyWidget(introduced since qt 4.4) to obtain my behaviour.

    What's the difference beetween qtablewidget and qtableview?
    Which of the two widgets i will use????

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: qtablewidget and qtableview

    Did you read "Detailed Description" of both classes?

    The QTableWidget class provides an item-based table view with a default model.
    ...
    If you want a table that uses your own data model you should use QTableView rather than this class.
    ...
    J-P Nurmi

Similar Threads

  1. QTableView sorting
    By gabriels in forum Qt Programming
    Replies: 11
    Last Post: 6th October 2010, 17:13
  2. Drag and Drop QTableWidget and QTableView
    By scorpion11 in forum Qt Programming
    Replies: 5
    Last Post: 8th April 2008, 09:33
  3. QTableView questions
    By db in forum Newbie
    Replies: 2
    Last Post: 13th September 2007, 16:18
  4. QTableWidget Update - slow
    By DPinLV in forum Qt Programming
    Replies: 16
    Last Post: 18th August 2006, 21:09
  5. QTableView versus QTableWidget
    By jcr in forum Qt Programming
    Replies: 2
    Last Post: 24th May 2006, 19:51

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.