Results 1 to 2 of 2

Thread: singnal and action

  1. #1
    Join Date
    Jan 2006
    Posts
    976
    Thanks
    53
    Qt products
    Qt3
    Platforms
    Windows

    Default singnal and action

    hi, when I click on every action I'd like call mySLOTAction(); is there a quick way? (note: not important which action; every action) thanks
    Regards

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: singnal and action

    Connecting actions one by one is too sluggish? Then you have an option to use a QActionGroup. Add all actions to a group and connect the group's selected() signal to that slot.
    J-P Nurmi

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.