Results 1 to 7 of 7

Thread: Emit signal to different widget

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2009
    Posts
    104
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Emit signal to different widget

    I have being searching in the net for solution of this problem and every body write advices but obviously for all like me that ask is hard to understand it without see the code.Because of that i write an example and only need to be written the part i and many others in the net don't understand.

    There is a main widget with a Label and button.When click the button a new Dialog opens which contains lineEdit field and a close button.
    How we can get the text from dialog's lineEdit field and when close the dialog to set it to the main widget label.
    Please see the attached simple project.
    Attached Files Attached Files

Similar Threads

  1. How to decide which SIGNAL to emit?
    By TheIndependentAquarius in forum Qt Programming
    Replies: 2
    Last Post: 22nd November 2011, 15:09
  2. Replies: 2
    Last Post: 3rd May 2011, 20:22
  3. emit signal from script
    By wookoon in forum Newbie
    Replies: 5
    Last Post: 6th July 2010, 14:37
  4. how to know which button emit the signal?
    By coder1985 in forum Qt Programming
    Replies: 2
    Last Post: 12th January 2008, 14:26
  5. emit a signal
    By Morea in forum Qt Programming
    Replies: 2
    Last Post: 27th February 2006, 11:14

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