Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
QDialog結果の値が の場合、その値QDialog::Acceptedはどこに保存されますか? そして、そのような価値を知ることの利点は何ですか?
QDialog
QDialog::Accepted
ありがとう。
QDialog のresult() メソッドを呼び出すことで取得できます。
result()
また、ユーザーがダイアログで [OK] または [キャンセル] (または同様のオプション) をクリックしたかどうかを知ることができます。