[Qt-interest] How to forbid for editing only one column fromQTreeWidgetItem?
Iurii Gordiienko
hordi at ukr.net
Thu May 21 14:19:59 CEST 2009
Hi
Thank you. But how can I know (from the QItemDelegate::createEditor function) what is the QTreeWidgetItem is selected now? I need forbid editing some columns only for child items (not for root items)... I could implement this by using global variables (QTreeWidget::currentItem) but I think is not a good solution...
--- Original Message ---
From: J-P Nurmi <jpnurmi at gmail.com>
To: qt-interest at trolltech.com
Date: 20 may, 13:22:28
Subject: Re: [Qt-interest] How to forbid for editing only one column fromQTreeWidgetItem?
2009/5/20 Iurii Gordiienko <hordi at ukr.net>:
> Hi
> How to forbid for editing only one column from QTreeWidgetItem?
> Qt-4.5.1
> Thanks
>
Hi,
See http://www.qtcentre.org/forum/p-qtreewidgetitem-questions-post37333/postcount7.html
--
J-P Nurmi
_______________________________________________
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/20090521/b36dfb60/attachment.html
More information about the Qt-interest-old
mailing list