[Interest] QTablewidget Item deletion

Filip Piechocki fpiechocki at gmail.com
Fri Jun 13 13:05:16 CEST 2014


Hi!

It is written in docs:

"Sets the item for the given row and column to item.

The table takes ownership of the item."

So it means its going to free memory occupied by all its items.

BR,
Filip

On Fri, Jun 13, 2014 at 12:13 PM, Ramakanthreddy Kesireddy
<Ramakanthreddy.Kesireddy at techmahindra.com> wrote:
> Hi,
>
>
>
> I create Qtablewidget items dynamically in a QtWidget project.
>
>
>
> Do I need to delete explicitly Qtablewidget items or the deletion is taken
> care
>
> by QTablewidget incase ownership lies with it?
>
>
>
> Thanks and Regards,
>
> Ramakanth
>
>
> ________________________________
>
> DISCLAIMER:
> This email (including any attachments) is intended for the sole use of the
> intended recipient/s and may contain material that is CONFIDENTIAL AND
> PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
> distribution or forwarding of any or all of the contents in this message is
> STRICTLY PROHIBITED. If you are not the intended recipient, please contact
> the sender by email and delete all copies; your cooperation in this regard
> is appreciated.
>
> ________________________________
> ============================================================================================================================
> Disclaimer: This message and the information contained herein is proprietary
> and confidential and subject to the Tech Mahindra policy statement, you may
> review the policy at http://www.techmahindra.com/Disclaimer.html externally
> http://tim.techmahindra.com/tim/disclaimer.html internally within
> TechMahindra.
> ============================================================================================================================
>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>



More information about the Interest mailing list