Results 1 to 8 of 8

Thread: Multiple QWidgets

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    Join Date
    Feb 2007
    Location
    Karlsruhe, Germany
    Posts
    469
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    17
    Thanked 90 Times in 88 Posts

    Default Re: Multiple QWidgets

    The problem is that the connect-statement is executed n times. Then every time the signal is emitted the slot is called n times..Thats why you get n dialogs. You need to set this up in a constructor!

    HIH

    Johannes

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

    codeman (23rd March 2010)

Similar Threads

  1. Why do some QWidgets create own threads?
    By donglebob in forum Qt Programming
    Replies: 5
    Last Post: 6th July 2010, 18:01
  2. Navigate between QWidgets and MainWindow
    By pcaeiro in forum Qt Programming
    Replies: 2
    Last Post: 5th August 2009, 13:05
  3. QWidgets and QPixmaps and Stylesheets .... oh my.
    By steb in forum Qt Programming
    Replies: 2
    Last Post: 5th June 2009, 08:50
  4. finding QWidgets in QList
    By babu198649 in forum Newbie
    Replies: 1
    Last Post: 26th July 2008, 12:58
  5. QTableView, add QWidgets
    By xgoan in forum Qt Programming
    Replies: 2
    Last Post: 30th November 2006, 19:34

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.