Results 1 to 2 of 2

Thread: Example for QMouseEvent Transistion

  1. #1
    Join Date
    Nov 2014
    Posts
    54
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11
    Thanks
    5

    Default Example for QMouseEvent Transistion

    Hi

    I am trying to implement the QMouseEventTransition Class in my sample program but i am unable to write in a correct way.
    I am looking for some examples that can help me to learn about the implementation of QMouseEventTransition,can any one please share me the example code that can help me to understand about QMouseEventTransition Class.

    Thanks in advance,
    Rohith.G

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts

    Default Re: Example for QMouseEvent Transistion

    I don't think there is a QMouseEventTransition class, but if you mean using QEventTransition to trigger on a certain mouse event then you need to derive from that class and implement eventTest() so that it returns true when the event that you are looking for is passed to the function.

    Cheers,
    _

Similar Threads

  1. how to catch qMouseEvent
    By pakine in forum Newbie
    Replies: 4
    Last Post: 27th June 2012, 11:47
  2. QMouseEvent vs QHoverEvent
    By sajis997 in forum Qt Programming
    Replies: 0
    Last Post: 3rd August 2011, 16:27
  3. QMouseevent
    By jerkymotion in forum Qt Programming
    Replies: 1
    Last Post: 24th March 2011, 08:58
  4. QMouseEvent
    By Fallen_ in forum Qt Programming
    Replies: 1
    Last Post: 22nd September 2010, 06:17
  5. QMouseEvent
    By shenakan in forum Newbie
    Replies: 1
    Last Post: 20th August 2009, 15:53

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
  •  
Qt is a trademark of The Qt Company.