Results 1 to 2 of 2

Thread: Insert data to QTableView

  1. #1
    Join Date
    Mar 2009
    Posts
    28
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Insert data to QTableView

    Hi, I'm new in this and i can not insert some data to Table. There is not exist property like:
    Table->setRow=5;
    Table->setCol=5;
    Table->Cell[2, 3]=variable;

    Please can anybody help me to write simple code to create table for example [5,5]. with inserting data ?

  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: Insert data to QTableView

    Quote Originally Posted by Lodhart View Post
    Hi, I'm new in this and i can not insert some data to Table. There is not exist property like:
    Table->setRow=5;
    Table->setCol=5;
    Table->Cell[2, 3]=variable;

    Please can anybody help me to write simple code to create table for example [5,5]. with inserting data ?
    Hi, first there is a Newbie forum, second please use the assistant - the Qt documentation "tool". -> QTableWidget::setColumnCount() etc... (also see the Detailed Description of QTableWidget)

Similar Threads

  1. QTableView, QSqlTableModel - data disappears
    By msh in forum Qt Programming
    Replies: 1
    Last Post: 15th November 2008, 11:50
  2. Model/View framework: streaming data in a QTableView
    By yannickt in forum Qt Programming
    Replies: 6
    Last Post: 24th October 2008, 00:06
  3. QTableView - data() - item
    By starcontrol in forum Qt Programming
    Replies: 1
    Last Post: 11th April 2008, 14:41
  4. finding data in a qtableview
    By JeanC in forum Newbie
    Replies: 4
    Last Post: 7th March 2008, 19:36
  5. Insert QCheckBox into QTableView
    By wind in forum Qt Programming
    Replies: 3
    Last Post: 8th October 2006, 16:15

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.