lineEdit->setValidator(new QDoubleValidator(minVal, maxVal, 5, lineEdit)); 理想情況下,行編輯將起作用,以便只能輸入範圍內的 ...
確定! 回上一頁