Results 1 to 2 of 2

Thread: send text of lineedit

  1. #1
    Join Date
    Aug 2013
    Location
    Bangalore
    Posts
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default send text of lineedit

    Good morning,
    i am new to qt i had taken two widgets in one widget i had taken table widget in another widget i had taken 2line edits and push button when i clicked on push button the line edit text should set to table widget row. so please send some code and help me.
    thanking you,

  2. #2
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Thanks
    3
    Thanked 452 Times in 435 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    15

    Default Re: send text of lineedit

    i am new to qt i had taken two widgets in one widget i had taken table widget in another widget i had taken 2line edits and push button when i clicked on push button the line edit text should set to table widget row. so please send some code and help me.
    How did you create the two widgets in widget ? (Designer / Code)
    Are table widget and 2 line edits and push button on same widget ? (Same Parent)
    Did you connect any slot to the pushbutton clicked signal? (Did you come this far)

    so please send some code and help me.
    Sure someone can, but please first help us understand what did you do and where you have problem?
    When you know how to do it then you may do it wrong.
    When you don't know how to do it then it is not that you may do it wrong but you may not do it right.

Similar Threads

  1. Clear text of LineEdit
    By stbb24 in forum Qt Programming
    Replies: 7
    Last Post: 12th June 2012, 13:30
  2. How to send the output(say average) to a lineEdit?
    By enthudrives in forum Qt Programming
    Replies: 2
    Last Post: 15th June 2010, 12:21
  3. lineEdit's setSelection - How to show more text?
    By squidge in forum Qt Programming
    Replies: 3
    Last Post: 30th January 2010, 17:22
  4. Get text from dynamic lineedit
    By wirasto in forum Qt Programming
    Replies: 1
    Last Post: 13th January 2010, 18:56
  5. Enabling buttons when lineEdit has text
    By k12yp70n in forum Newbie
    Replies: 4
    Last Post: 29th May 2009, 07:18

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.