[Qt-interest] setTextAlignment API in QT-3.3.6 ???

Nishant Sharma nishant.031 at gmail.com
Wed Oct 13 17:10:28 CEST 2010


Hi,
In QTable class, I was looking for an API that sets the text alignment. But,
there is no such set API. There's only a API to get that setting:
virtual int alignment() const.

setTextAlignment is available in QT-4.6 : void
QTableWidgetItem::setTextAlignment ( int alignment )

Can someone suggest how to achieve the same in QT-3.3.6.
My table is read-only.

-- 
Best Regards,
Nishant Sharma
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101013/a93030da/attachment.html 


More information about the Qt-interest-old mailing list