PDA

View Full Version : QTableView set column Decimals



ottoshmidt
15th December 2010, 15:30
hello,

How can I set custom decimal points to QTableView column?

ChrisW67
20th December 2010, 06:00
If you mean the number of digits after the decimal point then you need a simple item delegate for the column or columns involved. You can probably just override QStyledItemDelegate::displayText().