Results 1 to 3 of 3

Thread: No such signal QStandardItemModel::itemChanged(QStandardItem *item )

  1. #1
    Join Date
    Nov 2012
    Posts
    232
    Thanks
    118
    Thanked 18 Times in 10 Posts
    Platforms
    Windows Android

    Default No such signal QStandardItemModel::itemChanged(QStandardItem *item )

    Hi,

    I saw in a documentation:

    Signals: void itemChanged ( QStandardItem * item )
    But when I write:

    Qt Code:
    1. connect(model, SIGNAL(itemChanged(QStandardItem *item )), this, SLOT(updatePanel(QStandardItem*)));
    To copy to clipboard, switch view to plain text mode 

    It doesn't work:

    No such signal QStandardItemModel::itemChanged(QStandardItem *item ) in...
    Thank you!

  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: No such signal QStandardItemModel::itemChanged(QStandardItem *item )

    Hi, the "item" is the problem:
    Qt Code:
    1. connect(model, SIGNAL(itemChanged(QStandardItem*)), this, SLOT(updatePanel(QStandardItem*)));
    To copy to clipboard, switch view to plain text mode 

  3. The following user says thank you to Lykurg for this useful post:

    8Observer8 (22nd August 2013)

  4. #3
    Join Date
    Nov 2012
    Posts
    232
    Thanks
    118
    Thanked 18 Times in 10 Posts
    Platforms
    Windows Android

    Default Re: No such signal QStandardItemModel::itemChanged(QStandardItem *item )

    Thank you very much

Similar Threads

  1. Replies: 2
    Last Post: 11th February 2012, 00:28
  2. QStandardItem signal click to myslot
    By prophet0 in forum Qt Programming
    Replies: 2
    Last Post: 13th December 2011, 20:38
  3. QStandardItemModel and QStandardItem
    By DmitryNik in forum Newbie
    Replies: 5
    Last Post: 9th October 2011, 17:17
  4. Replies: 7
    Last Post: 3rd December 2010, 05:02
  5. Replies: 3
    Last Post: 29th October 2010, 23:26

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.