Results 1 to 8 of 8

Thread: QListWidget muti-selection problem

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2012
    Posts
    5
    Thanks
    5
    Qt products
    Platforms
    MacOS X Windows

    Default Re: QListWidget muti-selection problem

    I am looking into mouseReleaseEvent now and I think it would be a good idea.

    But it is not working in my QlistWidget, it only triggers an event when clicked on the main window.

    Need to override it in my QlistWidget but dont know how to.

    Any help would be appreciated.

    Cheers

  2. #2
    Join Date
    Mar 2011
    Location
    Coimbatore,TamilNadu,India
    Posts
    382
    Thanks
    10
    Thanked 13 Times in 12 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QListWidget muti-selection problem


  3. The following user says thank you to Gokulnathvc for this useful post:

    mohsin7998 (29th October 2012)

  4. #3
    Join Date
    Oct 2012
    Posts
    5
    Thanks
    5
    Qt products
    Platforms
    MacOS X Windows

    Default Re: QListWidget muti-selection problem

    Thanks mate.

    I am using python and the link is a bit confusing.

    I tried to apply the same logic using python but its not working.

    The mouse release event is working outside the List (On the main Widget) but not in the list where i want it to.

    Hope u understand my problem.

    I have been told to override the mouse release event but that one too i snot working.

    Many thanks,
    Mohsin

Similar Threads

  1. QListWidget's selection issues
    By mirni in forum Qwt
    Replies: 0
    Last Post: 5th November 2009, 20:08
  2. QListWidget selection custom painting problem
    By xeento in forum Qt Programming
    Replies: 3
    Last Post: 27th November 2008, 09:49
  3. Item Selection in QListWidget
    By mclark in forum Qt Programming
    Replies: 2
    Last Post: 12th February 2008, 15:53
  4. QTreeWidget & QListWidget different selection
    By munna in forum Qt Programming
    Replies: 9
    Last Post: 21st July 2006, 06:50
  5. QListWidget selection behavior
    By Arthur in forum Qt Programming
    Replies: 1
    Last Post: 30th May 2006, 14:10

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.