Results 1 to 7 of 7

Thread: QListWidget signal problem

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    Join Date
    Jan 2008
    Posts
    27
    Thanks
    8
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QListWidget signal problem

    I moved the connect outside the for loop, dind't realize it dind't have to be called each time I added an item, I was thinking it was item specific.

    But anyways, I also realized the changeDate() method was not declared a slot. I was using some code as an example and did not catch this.

    Now as you stated above, using the setItemWidget will break the itemClicked signal which it does. So the only other way to recreate this signal/slot mechanism is to use an event on the widget itself?

    Thanks for the help.
    Last edited by rishid; 18th January 2008 at 19:55.

Similar Threads

  1. QLineEdit - lostFocus signal problem
    By Enygma in forum Qt Programming
    Replies: 6
    Last Post: 17th June 2010, 20:52
  2. QListWidget SIGNAL Problem
    By skuda in forum Qt Programming
    Replies: 19
    Last Post: 28th October 2009, 14:42
  3. QListWidget Problem
    By pmabie in forum Qt Programming
    Replies: 1
    Last Post: 7th October 2007, 06:52
  4. Problem emitting signal from a static function
    By Valheru in forum Qt Programming
    Replies: 21
    Last Post: 12th June 2007, 14:48
  5. Replies: 3
    Last Post: 15th April 2007, 19:16

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.