Results 1 to 2 of 2

Thread: connecting child to parent window...

  1. #1
    Join Date
    Aug 2008
    Posts
    8
    Qt products
    Qt4
    Platforms
    Windows

    Default connecting child to parent window...

    Hi all,
    I am working on a application in which the mainwindow is a Qapplication->Qwidget .in that app, toolbars are there, on different toolbar buttons(actions in my case) slots are implemented.these slots in turn launches Qdialogs.This all works fine.my problem is that these Qdialogs, we will call it child ,and my app, we will call it parent, are not connected to each other.connected in the sense,i want the child should be part of the main window not a seperate window.Consider this case:
    I have launched parent and child and minimized both to see some other thing on my desktop, when I do ALT+TAB and go to child window main window should also get maximized which is not happening.I tried to set the Window Modality,it does not work...so how can I say to mainwindow or child window that "guys, always remain connected" ....
    Any tips in this is regard worth helpful........
    thanx...

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: connecting child to parent window...

    Shouldn't those "children" be tool windows then?

Similar Threads

  1. Set a window as child at runtime
    By sabeesh in forum Qt Programming
    Replies: 1
    Last Post: 26th November 2007, 09:30
  2. Connecting child and parent
    By maverick_pol in forum Qt Programming
    Replies: 17
    Last Post: 17th July 2007, 08:11
  3. move parent window to the front.
    By hvengel in forum Qt Programming
    Replies: 4
    Last Post: 2nd February 2007, 08:41
  4. Move child widget along with the parent widget
    By sreedhar in forum Qt Programming
    Replies: 2
    Last Post: 15th May 2006, 12:00
  5. Referencing Parent Widget from Child
    By taylor34 in forum Qt Programming
    Replies: 8
    Last Post: 11th April 2006, 15:13

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.