Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. Html editing issue

Html editing issue

Scheduled Pinned Locked Moved Qt WebKit
4 Posts 4 Posters 1.3k 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.
  • A Offline
    A Offline
    appollosputnik
    Banned
    wrote on 30 Jun 2013, 08:39 last edited by
    #1

    I want to edit html. I tried with QTexEdit but QTextEdit doesn't support html editing fully. Please tell me anyother way of editing html ? Please help.

    1 Reply Last reply
    0
    • G Offline
      G Offline
      guru
      wrote on 4 Jul 2013, 13:02 last edited by
      #2

      try to use Qsethtml( ) function for set html..

      1 Reply Last reply
      0
      • R Offline
        R Offline
        raven-worx
        Moderators
        wrote on 5 Jul 2013, 07:57 last edited by
        #3

        [quote author="appollosputnik" date="1372581553"]I want to edit html. I tried with QTexEdit but QTextEdit doesn't support html editing fully. Please tell me anyother way of editing html ? Please help.[/quote]
        This isn't that easy (depending on your requirements).

        But you can use a QWebView and do this:
        @
        myWebView->page()->setContentEditable(true);
        @
        Additionally you can connect some buttons to a toolbar using "QWebView's actions":http://qt-project.org/doc/qt-4.8/qwebview.html#pageAction.

        --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
        If you have a question please use the forum so others can benefit from the solution in the future

        1 Reply Last reply
        0
        • K Offline
          K Offline
          KA51O
          wrote on 5 Jul 2013, 11:05 last edited by
          #4

          Do you want to edit the HTML source code or do you want to edit the page as it is displayed in a browser ?

          1 Reply Last reply
          0

          1/4

          30 Jun 2013, 08:39

          • 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