Results 1 to 3 of 3

Thread: QListWidget and signals...

  1. #1
    Join Date
    Feb 2010
    Posts
    61
    Thanks
    18
    Qt products
    Qt4
    Platforms
    MacOS X

    Default QListWidget and signals...

    When you click on QListWidget item, it gets selected.

    When you click on the QListWidget, but not on an item, the selection is cleared.

    Does somebody know which signal is emitted to clear that selection ?

  2. #2
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Thanks
    62
    Thanked 260 Times in 246 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: QListWidget and signals...

    Probably this, but you can look in the source code to be absolutely sure, that is the advantage of using open-source software.

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

    ouekah (4th June 2010)

  4. #3
    Join Date
    Jun 2010
    Posts
    23
    Thanked 5 Times in 5 Posts
    Qt products
    Qt4 Qt/Embedded Qt Jambi
    Platforms
    Unix/X11 Windows Maemo/MeeGo

    Default Re: QListWidget and signals...

    I don not clearly understand your question, but itemSelectionChanged () will be emited if the selection change, as well as the selection is cleared.
    Stelios: What the hell are you laughing at?
    Astinos: Well, you had to say it!
    Stelios: What?
    Astinos: "Fight in the shade"!
    -------------------------------------------
    If my answer has helped you, i would appreciate it if you use the thanks button.

  5. The following user says thank you to CeeKey for this useful post:

    ouekah (4th June 2010)

Similar Threads

  1. conflict between boost signals and Qt signals
    By high_flyer in forum Qt Programming
    Replies: 2
    Last Post: 26th June 2008, 09:46
  2. QThread and signals (linux/UNIX signals not Qt Signals)
    By Micawber in forum Qt Programming
    Replies: 1
    Last Post: 28th November 2007, 22:18
  3. QListWidget with STL
    By rajeshs in forum Qt Programming
    Replies: 1
    Last Post: 21st July 2007, 16:16
  4. Where are signals?
    By PanzerMaus in forum Newbie
    Replies: 1
    Last Post: 12th July 2006, 23:05
  5. Possible bug of Qt on QListWidget?
    By SkripT in forum Qt Programming
    Replies: 9
    Last Post: 28th March 2006, 13: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
  •  
Qt is a trademark of The Qt Company.