Results 1 to 3 of 3

Thread: QStandardItem signal click to myslot

  1. #1
    Join Date
    Oct 2011
    Location
    Toronto Canada
    Posts
    97
    Thanks
    7
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default QStandardItem signal click to myslot

    how would i make a QStandardItem listen for a click signal and then slot myslot ?

  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: QStandardItem signal click to myslot

    QStandardItem is used with models which are displayed in views. Look there for the appropriate signal and connect it to your slot.

  3. #3
    Join Date
    Oct 2011
    Location
    Toronto Canada
    Posts
    97
    Thanks
    7
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: QStandardItem signal click to myslot

    Yes that was exactly right thanks working perfect now

Similar Threads

  1. Simulating a Button Click signal
    By Ratheendrans in forum Qt Programming
    Replies: 4
    Last Post: 5th May 2010, 11:57
  2. QDateEdit and mouse click signal
    By ouekah in forum Newbie
    Replies: 2
    Last Post: 23rd February 2010, 19:00
  3. Click SIGNAL on QFrame
    By sosanjay in forum Qt Programming
    Replies: 2
    Last Post: 8th December 2009, 09:14
  4. Replies: 4
    Last Post: 27th November 2009, 13:00
  5. QTreeWidget double click signal
    By Pinco Pallino in forum Newbie
    Replies: 2
    Last Post: 18th November 2006, 16:37

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.