Hello,

I've been experimenting with the X11 version of Qt 4.4 rc1 and am quite
excited with the capabilities added by the integration of WebKit.
However, I have found some frustrations and minor bugs and would like
to pass them on for fixing in the next revision. In no particular order:

1) Embedding an object (sub class of QWidget) in HTML and viewing in
QWebVIew is fantastic, however, if an object is larger than the scroll
area, scrollbars are turned on (as the should) buy render underneath
the object. Looks bad and is, obviously, hard to scroll.

2) It took a LONG time for me to find that I had to set
QWebSettings::PluginsEnabled
in QWebSettings::globalSettings() to get the createPlugin factories
invoked. Perhaps
a liberal mention of this in various parts of the documentation would help.

3) [Suggestion] Perhaps I have not found a way to do this yet, but I can not
figure out how to get an embedded wiget (plugin) to render when then
web page is being printed. Perhaps there needs to be a way to render
it into a QImage and temporarily replace the object in the DOM. Would be
slick

4) [Suggestion] Rather than returning a QObject from createPlugin(),
perhaps it
should return a subclass of some kind of QPluginObject instead. This
would be
an abstract base class that would provide routines for turning the widget's
current state back in to HTML for QWebFrame()::toHtml() and, possibly,
something for printing as discussed above. One could then save the "state"
of the widget as <param> values...

5) I realized that access to the DOM from Qt will probably wait for a later
release, but there are a few simple things that would be nice for debugging.
Top of the list would be a way to dump the DOM, including all Javascript
variable values. Perhaps this can already be done using the inspector
function or by grovelling around in WebKit and thus could be mentioned
in the docs.

6) [Minor quibble] The HTML returned by QTextEdit::toHtml() could be a
little nicer. It sets the style properties of every <p> etc even if they
match the documents default style.

Interesting direction that QT is taking!!

Thanks

NT





To unsubscribe - send "unsubscribe" in the subject to [EMAIL PROTECTED]

Reply via email to