Results 1 to 10 of 10

Thread: Saving values from Qlineedit and qcombobox?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2012
    Location
    Bangalore, India
    Posts
    271
    Thanks
    29
    Thanked 50 Times in 47 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Saving values from Qlineedit and qcombobox?

    Use file handling technique to save the file.
    Use getter method to get the text from the textedit i.e. getText(), and for combo box use getvalue() and save these value to temp and write it into the file through file handling.
    I think you know file handling or you can search through the internet.

  2. The following user says thank you to sonulohani for this useful post:

    prabhudev (21st May 2012)

  3. #2
    Join Date
    May 2012
    Posts
    33
    Thanks
    9
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Saving values from Qlineedit and qcombobox?

    Hey thanks to both of you.

  4. #3
    Join Date
    May 2012
    Posts
    33
    Thanks
    9
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Saving values from Qlineedit and qcombobox?

    Hey need help. how to "save as" for saving the fields.

Similar Threads

  1. Replies: 1
    Last Post: 22nd February 2012, 12:32
  2. How to convert string hex values to its real binary values?
    By AttilaPethe in forum Qt Programming
    Replies: 1
    Last Post: 20th February 2012, 22:47
  3. Replies: 1
    Last Post: 12th October 2010, 22:20
  4. Saving as XML
    By rakkar in forum Newbie
    Replies: 2
    Last Post: 30th October 2009, 17:17
  5. QComboBox values?
    By dbrmik in forum Newbie
    Replies: 8
    Last Post: 9th January 2009, 08:32

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.