[Interest] QTableView spinbox turned to line editor

nus1998 nus1998 at yeah.net
Fri Feb 27 10:14:50 CET 2015


Hi All,

I have a database and the parameter in it is integer type. when I created a new row in the table view (QTableView) and clicked the cell, a spinbox was displayed, but after I saved the table and clicked the cell again, it became to line editor and any characters are accepted.

Any tips If I want it to keep spinbox always?

B.R.
Jie

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150227/a65afd4a/attachment.html>


More information about the Interest mailing list