The best way is to use QValidator or QIntValidator. And there your reimplement valide()virutual function the way you want your string to be ...
確定! 回上一頁