How to force QTableView cell to decimal input only?!
Unsolved
General and Desktop
-
Hi,
I have QStandartItemModel in my form and I want to force specific cell to input decimal numbers only.How can I do that? I searched forum and saw delegate use but 6 yeras before. Maybe it can be better and esier way to do this?
I have invoice detail input QTableView and want to input unit quantity...
Regards,
Mucip:) -
Hi,
Do you mean an editor that uses a QSpinBox like shown in the Spin Box Delegate Example ?
-
Use the doc Luke: QSpinBox maximum property