ENH: ajust UI

1.replace save success dialog warning icon with normal icon
2.add a naming hints at save page
3.modify display text
4.remove help button at the top of caption

Change-Id: Ia258139ca0ae5c000caf0fd306c255b97caecd1e
This commit is contained in:
liz.li 2023-07-06 11:17:55 +08:00 committed by Lane.Wei
parent 8975562e8b
commit 8d3bd702e3
4 changed files with 30 additions and 12 deletions

View file

@ -508,7 +508,7 @@ void PressureAdvanceWizard::on_cali_save()
return;
}
if (save_page->is_all_failed()) {
MessageDialog msg_dlg(nullptr, _L("The failed test result has been droped."), wxEmptyString, wxICON_WARNING | wxOK);
MessageDialog msg_dlg(nullptr, _L("The failed test result has been droped."), wxEmptyString, wxOK);
msg_dlg.ShowModal();
show_step(start_step);
return;
@ -559,7 +559,7 @@ void PressureAdvanceWizard::on_cali_save()
else {
assert(false);
}
MessageDialog msg_dlg(nullptr, _L("Dynamic Pressure Control calibration result has been saved to the printer"), wxEmptyString, wxICON_WARNING | wxOK);
MessageDialog msg_dlg(nullptr, _L("Dynamic Pressure Control calibration result has been saved to the printer"), wxEmptyString, wxOK);
msg_dlg.ShowModal();
}
show_step(start_step);
@ -841,7 +841,7 @@ void FlowRateWizard::on_cali_save()
return;
}
if (save_page->is_all_failed()) {
MessageDialog msg_dlg(nullptr, _L("The failed test result has been droped."), wxEmptyString, wxICON_WARNING | wxOK);
MessageDialog msg_dlg(nullptr, _L("The failed test result has been droped."), wxEmptyString, wxOK);
msg_dlg.ShowModal();
show_step(start_step);
return;
@ -864,7 +864,7 @@ void FlowRateWizard::on_cali_save()
}
}
MessageDialog msg_dlg(nullptr, _L("Flow rate calibration result has been saved to preset"), wxEmptyString, wxICON_WARNING | wxOK);
MessageDialog msg_dlg(nullptr, _L("Flow rate calibration result has been saved to preset"), wxEmptyString, wxOK);
msg_dlg.ShowModal();
}
else if (m_cali_method == CalibrationMethod::CALI_METHOD_MANUAL) {
@ -903,7 +903,7 @@ void FlowRateWizard::on_cali_save()
return;
}
MessageDialog msg_dlg(nullptr, _L("Flow rate calibration result has been saved to preset"), wxEmptyString, wxICON_WARNING | wxOK);
MessageDialog msg_dlg(nullptr, _L("Flow rate calibration result has been saved to preset"), wxEmptyString, wxOK);
msg_dlg.ShowModal();
}
else {
@ -1172,7 +1172,7 @@ void MaxVolumetricSpeedWizard::on_cali_save()
return;
}
MessageDialog msg_dlg(nullptr, _L("Max volumetric speed calibration result has been saved to preset"), wxEmptyString, wxICON_WARNING | wxOK);
MessageDialog msg_dlg(nullptr, _L("Max volumetric speed calibration result has been saved to preset"), wxEmptyString, wxOK);
msg_dlg.ShowModal();
show_step(start_step);
}