Results 1 to 2 of 2

Thread: I need to send a message to parent dialog

  1. #1
    Join Date
    May 2008
    Posts
    42
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4

    Default I need to send a message to parent dialog

    Hi all,

    I am having two dialogs. From the child dialog i need to send a message to the parent dialog when i click a button from the child.

    Thanks in advance...

  2. #2
    Join Date
    Jan 2006
    Location
    Napoli, Italy
    Posts
    621
    Thanks
    5
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: I need to send a message to parent dialog

    Simply you can connect the clicked() signal of the button to a parent slot.
    This work only if the child dialog is a modeless dialog (you have to use show() and not exec())
    A camel can go 14 days without drink,
    I can't!!!

Similar Threads

  1. Send TCP message
    By ^NyAw^ in forum Qt Programming
    Replies: 2
    Last Post: 5th June 2008, 09:33
  2. how to show Dialog as drawer on the bottom of the parent screen?
    By vishal.chauhan in forum Qt Programming
    Replies: 1
    Last Post: 7th March 2008, 08:00
  3. Replies: 1
    Last Post: 7th November 2007, 08:39
  4. How to send message to Desktop Widget
    By shyam prasad in forum Qt Programming
    Replies: 18
    Last Post: 18th April 2007, 11:00
  5. dialog box
    By Bahar in forum Qt Programming
    Replies: 3
    Last Post: 31st January 2006, 14:52

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.