Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. TextEdit with Arabic chars and img tag
Forum Updated to NodeBB v4.3 + New Features

TextEdit with Arabic chars and img tag

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 1 Posters 957 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
    maxim.prishchepa
    wrote on last edited by
    #1

    Hello!
    Have an issue, when type some text in the TextEdit and using Arabic language and then add <img > tag, the picture draw at the front of text, how can i solve it?
    this data i get, when using method : inp.getText(0, inp.length) where inp - TextEdit
    @
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
    <html><head><meta name="qrichtext" content="1" /><style type="text/css">
    p, li { white-space: pre-wrap; }
    </style></head><body >
    <p dir='rtl' > لاصا< img src="image://emoticons/63x63/confused.png" width="63" height="63" /></p></body></html>@
    after < and before tag img code don't contains a space.
    This is screen what i'm mean by picture draw at the front of text
    !http://i59.tinypic.com/2ewzczk.jpg(Screen)!
    tnx 4 answers

    Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz).

    1 Reply Last reply
    0
    • M Offline
      M Offline
      maxim.prishchepa
      wrote on last edited by
      #2

      any idea?

      when i add image this pic begin draw from left to right, i think issue somewhere there. someone know how to say qml (html?) to draw img from right to left ?

      Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz).

      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