Qt's QTableView and large numbers
-
27-09-2019 - |
Question
How to make it show large numbers in QTableView like 10030232145 and not as 1.02342e+10?
Solution
The standard answer for changing how a view displays its data is to investigate your own item delegate.
OTHER TIPS
One way would be to override data()
in your model class to return a QString
formatted the way you would like for Qt::DisplayRole
items.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow