[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: QtDesigner custom widget definitions for KDE
From: Malte Starostik <malte () kde ! org>
Date: 2001-06-24 23:50:42
[Download RAW message or body]
On Montag, 25. Juni 2001 01:44, Carsten Pfeiffer wrote:
> On Montag, 25. Juni 2001 01:35 Malte Starostik wrote:
> > You cannot have khtml as a custom widget, because it's a KPart, not a
> > widget (the part has a widget of course). The easiest way to use a
> > KHTMLPart is to add a QFrame with designer and then do something like
> >
> > QVBoxLayout *lay = new QVBoxLayout(thatFrameYouAddedInDesigner);
> > KHTMLPart *htmlPart = new KHTMLPart(thatFrameYouAddedInDesigner);
> > lay->addWidget(htmlPart->widget());
>
> which is very unfortunate. All those nice components and no easy way to
> glue them together graphically. Would be cool if Qt Designer could be
> extended with some support for that.
Designer in Qt 3 has full plugin support. I'm pretty sure then such things
will be easily possible. Until then we've gotta live with it I fear.
-Malte
--
.globl main; main:
.long 0x90909090,0xdb311deb,0x89d98843,0x89e2d3da,0x01e0d3d0,0x92548dc2
.long 0x80cd5902,0xd889db31,0xe880cd40,0xffffffde,0x206c6c41,0x72756f79
.long 0x73614220,0x72412065,0x65422065,0x676e6f6c,0x206f7420,0x0a217355
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic