[Qt-interest] Preventing editing of items in QTableWidget
Irfan Omair
irfan.omair.qt at gmail.com
Mon Dec 28 18:57:09 CET 2009
Hi Sambhav,
You can use setEditTrigger() with relevant parameter to stop it. most likely
QAbstractItemView::NoEditTriggers will do the job.
Regards,
Irfan Omair
On Mon, Dec 28, 2009 at 9:31 AM, Sambhav <isambhav at gmail.com> wrote:
> Hi,
>
>
> How to prevent editing of items in QTableWidget ?
> (When we doubleclick on an item , it goes to edit mode)
>
> Regards,
> Sambhav
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091228/54707923/attachment.html
More information about the Qt-interest-old
mailing list