Hi
I have a QTableView that gets its content via QSqlQueryModel as the source.
It shows nice decimals in my locale
ITEM NUMBER
a 2,33
b 7,88
c 12,33
but when I access
table->model()->index(i,j).data(Qt::EditRole).toString()
or
table->model()->index(i,j).data(Qt:isplayRole).toString()
I get
ITEM NUMBER
a 2.33
b 7.88
c 12.33
any suggestions?
Bookmarks