Results 1 to 7 of 7

Thread: QListWidget signal problem

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts

    Default Re: QListWidget signal problem

    You can always make the widget emit similar signal. But you shouldn't flood the view full of item widgets. The whole point of item views is to get rid of expensive widgets and replace them with light items. Just add the widgets to a layout and place it inside a QScrollArea if you really need to use widgets.
    J-P Nurmi

  2. #2
    Join Date
    Jan 2008
    Posts
    27
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    8

    Default Re: QListWidget signal problem

    The problem I had with using widgets, layout box and a scroll area is that I would not be able to dynamically add and remove widgets from the layout box without recreating the entire thing each time. Problem was when I added a widget to the layout box, the rest of the widgets would become smaller. This aspect fixable somehow? If so then it would be perfect.

    Thanks for all your help and time.

Similar Threads

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