New KPluginSelector. Finished.

Rafael Fernández López ereslibre at kde.org
Fri May 16 12:50:53 BST 2008


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080516/9afba7ae/attachment.sig>


More information about the kde-core-devel mailing list