PDA

View Full Version : How to scroll text in Qtablewidget item



pradeepreddyg95
25th September 2012, 05:55
hi every body,
I want to scroll text inside the Qtablewidget cell is there any method to do this ...

Thanks in advance .:confused:

BalaQT
25th September 2012, 13:34
hi,
you can set any QWidget inside QTableWidget.
use following code

setCellWidget(index, new QTextEdit);
QTextEdit will take care of scrolling

hope it helps,
Bala

pradeepreddyg95
26th September 2012, 19:11
hi bala i want the text should move from left to right or right to left is there any method to achieve that .

wysota
26th September 2012, 21:35
Provide a custom delegate that will animate the item