28 template_location_(tbt_location)
49 if (!collection)
return(
false);
51 if (!collection -> templates().contains(name)) {
58 tr(
"Supprimer le modèle de cartouche ?",
"message box title"),
61 "Êtes-vous sûr de vouloir supprimer ce modèle de cartouche (%1) ?\n",
67 if (answer != QMessageBox::Yes)
return(
false);
70 collection -> removeTemplate(name);
~TitleBlockTemplateDeleter() override
QMessageBox::StandardButton question(QWidget *, const QString &, const QString &, QMessageBox::StandardButtons=QMessageBox::Ok, QMessageBox::StandardButton=QMessageBox::NoButton)
TitleBlockTemplatesCollection * parentCollection() const
TitleBlockTemplateDeleter(const TitleBlockTemplateLocation &, QWidget *=nullptr)
TitleBlockTemplateLocation template_location_