Results 1 to 2 of 2

Thread: mouse click event

  1. #1
    Join Date
    Mar 2006
    Posts
    29
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default mouse click event

    Hi All

    I am using VS2005 with Qt 4.I have four label on four frames and do drag and drop operation. it works fine everything. But what is the problem is when we do just one click on the frames instead of labels it get crossing. How do i implement mouse event for this.

    Thanks and regards
    vijay

  2. #2
    Join Date
    Jan 2006
    Location
    Ukraine,Lviv
    Posts
    454
    Thanks
    9
    Thanked 27 Times in 27 Posts
    Qt products
    Qt3
    Platforms
    Unix/X11 Windows

    Default Re: mouse click event

    Reinplement mousePressEvent for your frame or use eventFilter
    a life without programming is like an empty bottle

Similar Threads

  1. Replies: 4
    Last Post: 19th February 2009, 11:10
  2. Word at mouse click position in QGraphicsTextItem
    By pherthyl in forum Qt Programming
    Replies: 2
    Last Post: 3rd November 2008, 04:56
  3. Replies: 2
    Last Post: 4th August 2008, 07:44
  4. how to send a emulated mouse event to QListWidget
    By yxmaomao in forum Qt Programming
    Replies: 4
    Last Post: 22nd July 2008, 02:49
  5. The event fired by the mouse click on the frame
    By Placido Currò in forum Qt Programming
    Replies: 8
    Last Post: 3rd March 2007, 09:05

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.