Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Save text from text Browser

    General and Desktop
    2
    4
    1213
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      musti last edited by

      hi :)
      can i save text from a QTextBrowser ?
      thank you .

      1 Reply Last reply Reply Quote 0
      • A
        andreyc last edited by

        Yes, you can.

        Get "plain":http://qt-project.org/doc/qt-5/qtextedit.html#plainText-prop or "html":http://qt-project.org/doc/qt-5/qtextedit.html#html-prop as "QString":http://qt-project.org/doc/qt-5/qstring.html and then save it as you prefer "for example":http://qt-project.org/doc/qt-5/QFile.html#details using "QFile":http://qt-project.org/doc/qt-5/QFile.html

        1 Reply Last reply Reply Quote 0
        • M
          musti last edited by

          thank you

          1 Reply Last reply Reply Quote 0
          • A
            andreyc last edited by

            Glad it worked for you.
            Please add [SOLVED] to the title of your message if you consider that it is solved.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post