|
NorMIT-nav
2023.01.05-dev+develop.0da12
An IGT application
|
Go to the documentation of this file.
14 #include <QMessageBox>
26 if(!filter->hasPresets()){
27 reportError(
"Cannot use filter "+filter->getName()+
" in the FilterPresetWidget because it does not have any presets.");
41 QDomElement element = mFilter->generatePresetFromCurrentlySetOptions(text);
51 reportWarning(
"It is not possible to delete one of the default presets");
55 if (QMessageBox::question(
this,
"Delete current preset",
"Do you really want to delete the current preset?", QMessageBox::Cancel | QMessageBox::Ok) != QMessageBox::Ok)
Namespace for all CustusX production code.
boost::shared_ptr< class Filter > FilterPtr
void reportError(QString msg)
void reportWarning(QString msg)