Qt 正则表达式 //#define IntOrDecimalOne "(^[0-9]*$)" //非负整数 //#define NumberAndDot "[0-9.0-9]*" //只能输入数字与小数点 怕什么真理无穷,进一寸有一寸的欢喜。---胡适