PDA

View Full Version : Elide mode in QTableWidget and QTableView



lotek
26th November 2010, 10:12
Hi,

Is it possible to control the elide mode in the separate cells/columns of QTableView and items of QTableWidget ?

Thanks for any hint.

srazi
26th November 2010, 12:06
Hi,

Is it possible to control the elide mode in the separate cells/columns of QTableView and items of QTableWidget ?

Thanks for any hint.
install a delegation on QTableWidget or QTableView, and set "QStyleOptionViewItem::textElideMode" in reimplementation of paint method.