Results 1 to 9 of 9

Thread: Modifying ui elements of one dialog from another dialog.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #9
    Join Date
    Dec 2012
    Posts
    197
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    25
    Thanked 41 Times in 33 Posts

    Default Re: Modifying ui elements of one dialog from another dialog.

    Quote Originally Posted by anda_skoa
    You don't need sendText(), you can just connect to the QLIneEdit's textChanged(QString) signal.
    yea we went over this , was just making it clearer by emitting his own signal.
    in the header file just add :
    Qt Code:
    1. signals:
    2. void sendText(QString);
    To copy to clipboard, switch view to plain text mode 

    and in the .cpp file in the method where you need to emit the signal add:
    Qt Code:
    1. emit sendText(/*your string */);
    To copy to clipboard, switch view to plain text mode 
    Last edited by toufic.dbouk; 5th October 2013 at 17:17.

Similar Threads

  1. madal dialog and modeless dialog problem
    By melody:p in forum Qt Programming
    Replies: 0
    Last Post: 25th September 2012, 09:39
  2. How to access objects of parent Dialog from Child Dialog .
    By ranjit.kadam in forum Qt Programming
    Replies: 4
    Last Post: 18th April 2011, 07:39
  3. closing child dialog closes parent dialog
    By sparticus_37 in forum Newbie
    Replies: 2
    Last Post: 28th May 2010, 20:46
  4. How to blur parent dialog when child dialog is displayed
    By abhilashajha in forum Qt Programming
    Replies: 4
    Last Post: 10th June 2009, 14:01
  5. Modifying Dialog problem
    By donmorr in forum Qt Tools
    Replies: 5
    Last Post: 26th May 2006, 13:56

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.