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

List:       kde-core-devel
Subject:    Re: New KPluginSelector. Finished.
From:       Rafael =?iso-8859-15?q?Fern=E1ndez_L=F3pez?= <ereslibre () kde ! org>
Date:       2008-05-16 11:50:53
Message-ID: 200805161350.55786.ereslibre () kde ! org
[Download RAW message or body]


Hi again,

> +    , checkBox(new QCheckBox)
> +    , pushButton(new KPushButton)
> Any reason why you're not passing this as parent object instead of the
> explicit delete in the destructor?

Oops, yes. If setting a parent (for example itemView()), the widget is drawn 
on the top left corner of it. Letting them non-parented.

I could set the parent anyway and set the flag to not draw themselves, but 
that's more code and hacky. So I will let them as they are, with no parent.


Regards,
Rafael Fernández López.

["signature.asc" (application/pgp-signature)]

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

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