Thanks for your tip. It seem like this might work. Still Im little confused about how to do it. Lets say I have simple page test.htm:
<html>
<body>
<table>
<tr>
<td>Some text: </td>
<td><input type="text"></input></td>
</tr>
</table>
</body>
</html>
<html>
<body>
<table>
<tr>
<td>Some text: </td>
<td><input type="text"></input></td>
</tr>
</table>
</body>
</html>
To copy to clipboard, switch view to plain text mode
and I display all html pages from my resources using:
QString page
= this
->readHtml
("test");
infoHtml.setText(page);
QString page = this->readHtml("test");
QTextBrowser infoHtml;
infoHtml.setText(page);
To copy to clipboard, switch view to plain text mode
Where readHtml is my method used for loading specific pages from resource file based on it's name specified as parameter. In this example (as I said), input tag is not working. Can you please give me some more hints how to trnasform this using QTextObject?
Bookmarks