[Qt-interest] QTableWidgetItem
J-P Nurmi
jpnurmi at gmail.com
Thu Feb 18 10:16:41 CET 2010
On Thu, Feb 18, 2010 at 9:36 AM, Qrikg <macos_user at yahoo.com> wrote:
> Hi,
>
> I've 3 different classes and each derived from QTableWidgetItem.
>
> Is it possible to use only one common delegate class for these 3 classes?
>
>
Hi,
You set the item delegate for the view, not for individual items. So yes,
see http://doc.qt.nokia.com/4.6/qabstractitemview.html#setItemDelegate
--
J-P Nurmi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100218/9b940aa8/attachment.html
More information about the Qt-interest-old
mailing list