Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Save text from text Browser

Save text from text Browser

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.4k Views
  • 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 Offline
    M Offline
    musti
    wrote on last edited by
    #1

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

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andreyc
      wrote on last edited by
      #2

      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
      0
      • M Offline
        M Offline
        musti
        wrote on last edited by
        #3

        thank you

        1 Reply Last reply
        0
        • A Offline
          A Offline
          andreyc
          wrote on last edited by
          #4

          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
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved