QElectroTech
0.8-dev
|
#include <templatedeleter.h>
Inherits QWidget.
Public Slots | |
bool | exec () |
Public Member Functions | |
TitleBlockTemplateDeleter (const TitleBlockTemplateLocation &, QWidget *=nullptr) | |
~TitleBlockTemplateDeleter () override | |
Private Member Functions | |
TitleBlockTemplateDeleter (const TitleBlockTemplateDeleter &) | |
Private Attributes | |
TitleBlockTemplateLocation | template_location_ |
This class is an abstraction layer to delete an existing title block template.
TitleBlockTemplateDeleter::TitleBlockTemplateDeleter | ( | const TitleBlockTemplateLocation & | tbt_location, |
QWidget * | parent = nullptr |
||
) |
Constructor
tbt_location | Location of the title block template to be deleted |
parent | Parent QWidget |
|
override |
Destructor
|
private |
|
slot |
Delete the title block template: check the provided location matches an existing template, interactively require confirmationfrom the user before actually proceeding to the deletion.
|
private |