例如重载QDialog的QCloseEvent
void CAwardDialog::closeEvent(QCloseEvent *)
{
QString dlgTitle="提示";
QString strInfo="是否保存此次中奖名单";
QMessageBox::StandardButton result;//返回选择的按钮
QMessageBox::StandardButton defaultBtn=</
2024-01-15 19:43:28
例如重载QDialog的QCloseEvent
void CAwardDialog::closeEvent(QCloseEvent *)
{
QString dlgTitle="提示";
QString strInfo="是否保存此次中奖名单";
QMessageBox::StandardButton result;//返回选择的按钮
QMessageBox::StandardButton defaultBtn=</