[Qt-interest] Tool tip on QTableItem in QT-3.3.6

Oliver.Knoll at comit.ch Oliver.Knoll at comit.ch
Thu Jun 3 09:41:56 CEST 2010


Nishant Sharma wrote on Thursday, June 03, 2010 8:14 AM:

> Can some one tell me how to put a tool-tip on each column of a
> qtableitem ? 

I don't know whether that is possible with Qt 3.3.x (I did not find a suitable "setToolTip"-method in http://doc.trolltech.com/3.3/qtableitem.html, for example), but I can promise you that upgrading to Qt 4 - if possible - will give you more than just the needed method you are looking for:

  http://doc.trolltech.com/4.6/qtablewidgetitem.html#setToolTip

Alternatively you could derive from Qt 3.3.x's QTableItem and provide your own setToolTip() method and display functionality.

;)

Cheers, Oliver
-- 
Oliver Knoll
Dipl. Informatik-Ing. ETH
COMIT AG - ++41 79 520 95 22



More information about the Qt-interest-old mailing list