Results 1 to 2 of 2

Thread: Pass data from window to window

  1. #1
    Join Date
    Nov 2011
    Posts
    6
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Pass data from window to window

    Hello,

    I have a :

    - window A than contain a QPlainText "TextArea1" and a "QButton "Add".
    - window B than contains a QPlainText "TextArea2" and a QButton "Submit".

    when i click the button "Add" in window A, the window B show up.
    Now in window B, i enter a text in TextArea2 and click the buton Submit, the text should transfer to window 1::TextArea1.

    how to do this?

    in other words how to transfer the plaintext value from window A::TextArea2 to window B::TextArea1 on the button submit slot ?

    any one could help please ?
    THanks
    K|Z

  2. #2
    Join Date
    Sep 2009
    Location
    Kranj, Slovenia
    Posts
    25
    Thanks
    10
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Pass data from window to window

    Hi;
    Perhaps this tread will help?
    Communication between two QDialog Windows
    Regards; Luka

Similar Threads

  1. Replies: 3
    Last Post: 9th September 2014, 22:55
  2. Replies: 6
    Last Post: 9th November 2011, 04:31
  3. Replies: 2
    Last Post: 17th February 2011, 12:30
  4. Replies: 2
    Last Post: 4th November 2010, 10:10
  5. Replies: 11
    Last Post: 4th June 2008, 07:22

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.