[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Creating a kpart component that uses a custom widget
From:       Kevin Krammer <kevin.krammer () gmx ! at>
Date:       2005-09-27 19:24:35
Message-ID: 200509272124.41372.kevin.krammer () gmx ! at
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Tuesday 27 September 2005 21:13, David Faure wrote:
> On Tuesday 27 September 2005 19:58, Kevin Krammer wrote:
> > On Tuesday 27 September 2005 17:26, David Faure wrote:

> > > You need to go back to a QWidget, and maybe you need to implement its
> > > "virtual QSize sizeHint() const" method, to give a reasonable default
> > > size to the widget (if it doesn't have a layout). Check in code with
> > > isVisible() whether it's actually shown...
> > > And make sure it gets a non-0 parent widget.
> >
> > Hmm, are you sure it is not required to either change to a non-top-level
> > base class or reparent the dialog based one to get it embedded?
>
> Yes, we agree, it is required to change back to a QWidget or derivative
> instead of a QDialog, as I said. Using a QDialog in kparts makes no sense.

Oh boy, sorry. I have no idea why I read/misunderstood it the first time.

Shame on me ;)

Cheers,
Kevin

-- 
Kevin Krammer <kevin.krammer@gmx.at>
Qt/KDE Developer, Debian User
Moderator: www.mrunix.de (German), www.qtforum.org

[Attachment #5 (application/pgp-signature)]

 =

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscrib=
e <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic