Results 1 to 20 of 29

Thread: Need 2 widgets without a parent to comunicate

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2010
    Posts
    23
    Thanks
    13
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Question Need 2 widgets without a parent to comunicate

    I have an appication that has multiple views (Qwidget). The app is not like a regular app that has a main window and all child windows / widgets. It has 2 main windows that are not related. So when you open the app none of them are shown. If an event occurrs (network event piped to a signal), it will show one of them or the other. Both Qwidgets are parentless as they are independant. The problem that I have is that even if the signal is emited, the hidden widget didnt receive it until I hide (via the X) the other widget. When I do so, the slot is called. Is there any way that both QWidgets are parented to some invisible widget? How should I manage this? Here is a simple graphic that depicts the situation attached. I can add some code if needed.


    Thanks.
    Ramiro
    Attached Images Attached Images

Similar Threads

  1. Replies: 7
    Last Post: 12th January 2011, 22:01
  2. Replies: 1
    Last Post: 22nd April 2010, 14:34
  3. Replies: 2
    Last Post: 22nd April 2010, 11:44
  4. Replies: 3
    Last Post: 29th May 2008, 13:50
  5. initialize child widgets within parent?
    By ucomesdag in forum Newbie
    Replies: 6
    Last Post: 6th June 2006, 08:11

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.