アットウィキロゴ

Qt Tips

XXDialog dialog( this );
int ret = dialog.exec();
if ( ret == QDialog::Rejected ) {
    キャンセル時の処理....
} else if ( ret == QDialog::Accepted ) {
    OK時の処理...
}
最終更新:2008年12月22日 14:01