Results 1 to 2 of 2

Thread: help with QSignalMapper and actions

  1. #1
    Join Date
    Jul 2009
    Posts
    12
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default help with QSignalMapper and actions

    Hello again to everybody. I always found help in this forum with every question i used to have regarding Qt so i'm confident about this one.

    I researched about QSignalMapper and i know that it can be used to track all the signals to one slot and act accordingly. Now my question is this:

    i have a context menu on a tableWidget and if it could be possible to get QSignalMapper to work with actions as well that would fix my problems. Unfortunately i couldn't find anything in that direction. Is this possible to implement, or maybe there is something similar to QSignalMapper that could do the job with actions?
    Thank you for the time you gave up to read this post and thank you in advance for any help you might be able to provide.
    Have a nice day.

  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: help with QSignalMapper and actions

    What's exactly your problem? Actions have also signals. Just map them as any other signals.

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.