Results 1 to 4 of 4

Thread: signal/slot or subclassed event?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2010
    Posts
    11
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default signal/slot or subclassed event?

    hi all,

    in my program i need to trigger an event whenever a subclassed QGraphicsItem is clicked, this event will affect lots of widgets including the parent scene of the item.. so should i re implement the event in the subclass or is it better to use a signal/slot combination?
    Last edited by liqxpil; 3rd November 2010 at 12:49.

Similar Threads

  1. Subclassed qlistwidget event handling problem
    By Annihilator in forum Qt Programming
    Replies: 9
    Last Post: 13th February 2010, 18:55
  2. signal and slot across threads having event loop
    By travis in forum Qt Programming
    Replies: 6
    Last Post: 5th November 2007, 23:56
  3. signal slot conection using a string, not a SLOT
    By rianquinn in forum Qt Programming
    Replies: 6
    Last Post: 5th February 2006, 18:52
  4. Replies: 4
    Last Post: 23rd January 2006, 16:51
  5. What's the relationship between signal/slot and event?
    By twosnowman in forum Qt Programming
    Replies: 4
    Last Post: 11th January 2006, 17:13

Tags for this Thread

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.