Results 1 to 6 of 6

Thread: How to save Qstring from QTableView

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Re: How to save Qstring from QTableView

    Ok I check this and selectionL is empty but i don't know why and what should I do. Sorry but I am inexperianced. I create table in this function:
    Qt Code:
    1. model = new QSqlTableModel(this);
    2. model ->setTable(ntabeli);
    3. model ->select();
    4. ui->tableView->setModel(model);
    To copy to clipboard, switch view to plain text mode 
    Last edited by wodzu-96; 24th October 2011 at 20:55.

Similar Threads

  1. Replies: 2
    Last Post: 11th August 2011, 15:42
  2. Replies: 8
    Last Post: 25th November 2010, 11:40
  3. Replies: 3
    Last Post: 1st April 2010, 23:56
  4. Replies: 4
    Last Post: 1st February 2010, 14:21
  5. Replies: 4
    Last Post: 31st January 2008, 20:44

Tags for this Thread

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.