Results 1 to 15 of 15

Thread: How to set event click Custom ListView

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Thanks
    3
    Thanked 452 Times in 435 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    15

    Default Re: How to set event click Custom ListView

    If your having a custom QListView, you can receive the event in
    Qt Code:
    1. void QListView::mouseReleaseEvent ( QMouseEvent * e )
    To copy to clipboard, switch view to plain text mode 
    in there check over which item mouse was released, and it is over the icon area.

  2. The following user says thank you to Santosh Reddy for this useful post:

    jindoniit (9th June 2011)

Similar Threads

  1. inserting custom Widget to listview
    By Amit_3117 in forum Qt Programming
    Replies: 20
    Last Post: 27th August 2010, 17:38
  2. pushButton click event
    By aj2903 in forum Qt Programming
    Replies: 1
    Last Post: 9th June 2009, 11:19
  3. click Event on Title Bar
    By anupamgee in forum Qt Programming
    Replies: 1
    Last Post: 26th May 2009, 17:12
  4. On click event for a QPixmap
    By rishid in forum Qt Programming
    Replies: 1
    Last Post: 22nd February 2008, 16:12
  5. Custom Listview with all-time editable items
    By ivan.cukic in forum Qt Programming
    Replies: 5
    Last Post: 6th September 2006, 15:15

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.