Results 1 to 3 of 3

Thread: How to use the content of line Edit in different forms

  1. #1
    Join Date
    Jul 2009
    Location
    Bangalore
    Posts
    68
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Smile How to use the content of line Edit in different forms

    Hi,

    I am using 3 line edits namely x,y,z in main form when i press a button it will open a new form then it also contains 3 line edits namely xdat,ydat,zdat. i will input some values in xdat,ydat,zdat then when i press enter the values of xdat,ydat,zdat should be displayed in x,y,z lineedits. please help usit would be great pleasure.
    Thanks & Regards
    Sandeep G.R.

  2. #2
    Join Date
    Sep 2008
    Location
    Bangalore
    Posts
    659
    Thanks
    116
    Thanked 42 Times in 41 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to use the content of line Edit in different forms

    i am not sure but u can try sockets communication or ipc ...
    because u want two independent dialogs to communicate each other ...
    "Behind every great fortune lies a crime" - Balzac

  3. #3
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: How to use the content of line Edit in different forms

    just write a get function in your qdialog subclas which will return the stringlist or something... it is very simple.. u will find thousands of examples. start looking in Qt assistant

Similar Threads

  1. Why is my application's CPU usage always > 50%
    By richardander in forum Qt Programming
    Replies: 10
    Last Post: 14th October 2010, 22:22
  2. QTcpSocket exception.
    By Fastman in forum Qt Programming
    Replies: 9
    Last Post: 29th January 2008, 13:51
  3. Qwizard crashed when created in a slot
    By joshlareau in forum Qt Programming
    Replies: 9
    Last Post: 15th January 2008, 09:16
  4. KDE/QWT doubt on debian sarge
    By hildebrand in forum KDE Forum
    Replies: 13
    Last Post: 25th April 2007, 06:13
  5. QTableView paints too much
    By Jimmy2775 in forum Qt Programming
    Replies: 2
    Last Post: 26th July 2006, 18:42

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.