[Qt] QString から int. Qtsnippet. Copied! bool is_ok; int num = num_str.toInt(&is_ok, 10); if (!is_ok) { QMessageBox::critical(this, ...
確定! 回上一頁