PDA

View Full Version : Rich edit control



Sparhawk
23rd May 2008, 10:18
Hi,

Do you know if there are any add on or external control that allow rich edit text in Qt? I mean, I know you have QTextEditor. With it, you can do rich edit, but you have to code everything. I wonder if there are a control that has buttons to have bold, italics, to justify, to align...

Thanks a lot

jpn
23rd May 2008, 10:52
See QwwRichTextEdit (http://www.wysota.eu.org/wwwidgets/).

patrik08
23rd May 2008, 11:15
Hi,
Do you know if there are any add on or external control that allow rich edit text in Qt? I mean, I know you have QTextEditor. With it, you can do rich edit, but you have to code everything. I wonder if there are a control that has buttons to have bold, italics, to justify, to align...
Thanks a lot

QGraphicsTextItem , QTextEdit or QTextBrowser work on a Big private class named QTextControl
if You like to implement your own tag <div> <object>
have a look on :
Not QTextControl edit:
http://www.qt-apps.org/content/show.php/GraphicsViewEdit+Layer?content=80234
ObjectReplacementCharacter <object>
http://trolltech.com/developer/knowledgebase/faq.2008-03-05.5300306332
On ObjectReplacementCharacter you can add any extra tag and draw <object> as image ... and QAbstractTextDocumentLayout is not a private class... is like a paintdevice ...

for simple edit QwwRichTextEdit http://www.wysota.eu.org/wwwidgets/ is Ok..