百度,解決方法:繼承QDoubleValidator,重寫validate方法。 在Stackoverflow上看到的demo: class MyDoubleValidator : public QDoubleValidator { public ...
確定! 回上一頁