[Gambas-user] gambas 0.84a
Benoit Minisini
gambas at ...1...
Fri Feb 13 23:54:00 CET 2004
On Friday 13 February 2004 16:32, ron wrote:
> Additional note
>
> in khtml_part.h the
> enum GUIProfile { DefaultGUI, BrowserViewGUI /* ... */ };
>
> KHTMLPart( QWidget *parentWidget = 0, const char *widgetname = 0,
> QObject *parent = 0, const char *name = 0, GUIProfile prof =
> DefaultGUI );
>
> KHTMLPart( KHTMLView *view, QObject *parent = 0, const char *name = 0,
> GUIProfile prof = DefaultGUI );
>
> In your code:
> BEGIN_METHOD(CWEBBROWSER_new, GB_OBJECT parent)
>
> KHTMLPart *part = new KHTMLPart( QT.GetContainer(VARG(parent)));
>
> maybe to:
> KHTMLPart *part = new KHTMLPart( \
> QT.GetContainer(VARG(parent)), 0, 0, 0, BrowserViewGUI );
> can do the job?
>
I tried, but alas it changed nothing. I think that Konqueror displays a PNG
file with another Part, and that the KHTML part can't do it!
Regards,
--
Benoit Minisini
mailto:gambas at ...1...
More information about the User
mailing list