[SOLVED] QSpinBox ignores minimum/maximum limits
General and Desktop
1
Posts
1
Posters
1.1k
Views
1
Watching
-
wrote on 9 Mar 2013, 17:53 last edited by
I was following this example: http://doc.qt.digia.com/stable/itemviews-spinboxdelegate.html
Problems I face is that
-
QSpinbox minimum/maximum values are not respected and I can set them to any value.
-
qDebug() messages in SpinBoxDelegate::createEditor() are not printed.
Edit: Was my bad, missed setting delegate in the view, working fine now. Thanks.
-
1/1