Results 1 to 2 of 2

Thread: Mouse Event - source of event?

  1. #1
    Join Date
    Oct 2011
    Posts
    4
    Qt products
    Qt4

    Default Mouse Event - source of event?

    Hello

    Following structure:
    Scene -> MainWindow -> Another Item -> QGraphicSimpleText

    How can I know in the MainWindow, if someone clicked on the text?
    I didn't find anything in the MouseEvent class which would suggest me a simple solution.

    Can someone give me a piece of advice?

  2. #2
    Join Date
    Sep 2011
    Location
    Manchester
    Posts
    538
    Thanks
    3
    Thanked 106 Times in 103 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Mouse Event - source of event?

    Maybe this (more)?

Similar Threads

  1. Mouse Event
    By cemshit in forum Newbie
    Replies: 1
    Last Post: 27th January 2010, 20:50
  2. How to keep the mouse event?
    By oscar721 in forum Qt Programming
    Replies: 1
    Last Post: 27th October 2009, 09:48
  3. Mouse over event on qwtmarker?
    By shud in forum Qwt
    Replies: 2
    Last Post: 20th September 2009, 15:12
  4. Mouse Event
    By sujan.dasmahapatra in forum Qt Programming
    Replies: 2
    Last Post: 19th February 2009, 11:40
  5. Mouse over event
    By merry in forum Qt Programming
    Replies: 12
    Last Post: 16th May 2007, 11:13

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.