Results 1 to 8 of 8

Thread: selectionChanged() signal in qtableview

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Nov 2011
    Location
    India
    Posts
    22
    Thanks
    11
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Maemo/MeeGo

    Default Re: selectionChanged() signal in qtableview

    Changed the code like this but still got error message

    Qt Code:
    1. connect(ui->tableView->selectionModel(),
    2. SIGNAL(selectionChanged(const QItemSelection &, const QItemSelection &),
    3. this,
    4. SLOT(on_tableViewSelection(const QItemSelection &, const QItemSelection &)));
    To copy to clipboard, switch view to plain text mode 

    error: macro "SIGNAL" passed 3 arguments, but takes just 1

    error: 'SIGNAL' was not declared in this scope

    Thanks.
    Last edited by breakthecode; 18th March 2015 at 21:56.

Similar Threads

  1. Detect when the content of a cell of QTableView is changed
    By qt_developer in forum Qt Programming
    Replies: 5
    Last Post: 21st August 2021, 16:00
  2. Replies: 1
    Last Post: 29th May 2014, 05:16
  3. Value changed in a QTableView field
    By nittalope in forum Newbie
    Replies: 4
    Last Post: 12th August 2009, 09:21
  4. problem with changed() signal emitted by QGraphicsScene
    By sanjayshelke in forum Qt Programming
    Replies: 1
    Last Post: 29th April 2009, 13:55
  5. Replies: 9
    Last Post: 23rd November 2006, 11:39

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.