标题:QIntValidator的最小值和QDoubleValidator的取值范围.
作者:misgn
日期:2017-09-27 15:59
内容:
问一下,大家是怎么控制输入框的取值范围呢?
针对于,QIntValidator的最小值和QDoubleValidator的取值范围.
#1 [yfx2003 09-27 17:46]
see chapter 2 or 3, book ofc++ gui programming with qt4
#2 回 yfx2003 的帖子 [misgn 10-16 11:40]
yfx2003:see chapter 2 or 3, book of c++ gui programming with qt4 (2017-09-27 17:46)
忘记设定前提了,嵌入式产品,没有键盘输入。不考虑使用spinBox的话。
QIntValidator 是否可以达到设定最小值的目的