今天才发现,琢磨出这句话的意思:
In addition to providing pure rendering features, HTML documents can be made fully editable to the user through the use of the contenteditable attribute on HTML elements.
它的意思是什么?以前一直在Qt提供的类里找所谓的contenteditable属性,。。。。。今天忽然发现,它是在HTML源代码中的HTML元素,也就是说将要显示的HTML代码的HTML元素加上contenteditable属性,那用QWebView打开的网页,就是可编辑的了。
测试了一下,在Firefox、Opera、Chrome下都支持HTML的contenteditable属性,但在IE下不支持这个属性。
[ 此帖被XChinux在2009-02-27 17:22重新编辑 ]