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
Forum Updated to NodeBB v4.3 + New Features

Save text from text Browser

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.4k Views 1 Watching
  • 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 15 Jun 2014, 01:28 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 15 Jun 2014, 02:39 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 15 Jun 2014, 19:03 last edited by
        #3

        thank you

        1 Reply Last reply
        0
        • A Offline
          A Offline
          andreyc
          wrote on 16 Jun 2014, 04:25 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

          1/4

          15 Jun 2014, 01:28

          • Login

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