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