Quote Originally Posted by wysota View Post
I'd probably use QGraphicsView instead of QTextBrowser. If you want a wysiwyg editor, you have to be able to manipulate objects and QGraphicsView seems perfect for that.
Exact , fortunately you understand me.

QGraphicsView , this is my weakness i not found enought sample or demo , wiki or so , to learn this.

My target is to construct a editor like Scribus , only on xml way. At end by using relax NG its can write KDE docbook file or xml , and all xml semantic. Only swap the relax file, and other format can write.


My actual XHTML editor to home page CMS is Bitflux editor ,
http://cvsdemo.bitfluxeditor.org/exa...TML/index.html test it
run only on Firefox and other Gecko Browser..
The big advantage from this XML editor is:
1 - http://en.wikipedia.org/wiki/RELAX_NG Relax NG ( http://www.w3.org/TR/xhtml2/xhtml20_relax.html )
2 - I can set a 100% corporate identity from clients and the person editor can not mistake page why i set a schema to hadle this. If i say param is blue and red, only this color can write.
3 - Write all xml format rss and more like apache fop pdf excel latex ( at end only xslt) http://bitfluxeditor.org/

Example relax ng shema to xhtml:
http://cvsdemo.bitfluxeditor.org/exa...ML/relaxng.xml

Have you QGraphicsView sample or how much i must pay for that?
I understand only draw on paintevent and pixmap.