Results 1 to 1 of 1

Thread: Is there any way to set a 'contexmenu receiver'?

  1. #1
    Join Date
    Sep 2010
    Posts
    654
    Thanks
    56
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Is there any way to set a 'contexmenu receiver'?

    I'd like to have a 'common contexmenu' for some widgets.
    I'd pass the name of the widget,and some properties & options.
    I'd want something like this:
    mycontext_menu_class_controler->connect(a_widget, properties, options);
    Can I connect the contextmenu event of 'a_widget' inside the 'mycontext_menu_class_controler'
    Any idea ?

    I answer my self, excuse me ....
    connect (signal(contextmenu...),.....)
    Last edited by tonnot; 28th October 2011 at 10:55.

Similar Threads

  1. Incompatible sender/receiver arguments
    By davidovv in forum Qt Programming
    Replies: 3
    Last Post: 6th May 2011, 10:44
  2. QCoreApplication::postEvent: Unexpected null receiver
    By mortoray in forum Qt Programming
    Replies: 3
    Last Post: 14th November 2010, 22:14
  3. Receiver
    By Salazaar in forum Newbie
    Replies: 1
    Last Post: 5th May 2007, 19:26
  4. QCoreApplication::postEvent: Unexpected null receiver
    By merlvingian in forum Qt Programming
    Replies: 6
    Last Post: 13th March 2007, 20:25
  5. postEvent() to a non-existing receiver
    By Artschi in forum Qt Programming
    Replies: 7
    Last Post: 1st June 2006, 14:44

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.