QElectroTech 0.100.0-dev
Loading...
Searching...
No Matches
Public Slots | Public Member Functions | Private Member Functions | Private Attributes | List of all members
TitleBlockTemplateDeleter Class Reference

#include <templatedeleter.h>

Inherits QWidget.

Collaboration diagram for TitleBlockTemplateDeleter:
Collaboration graph

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_
 

Detailed Description

This class is an abstraction layer to delete an existing title block template.

Constructor & Destructor Documentation

◆ TitleBlockTemplateDeleter() [1/2]

TitleBlockTemplateDeleter::TitleBlockTemplateDeleter ( const TitleBlockTemplateLocation tbt_location,
QWidget *  parent = nullptr 
)

Constructor

Parameters
tbt_locationLocation of the title block template to be deleted
parentParent QWidget

◆ ~TitleBlockTemplateDeleter()

TitleBlockTemplateDeleter::~TitleBlockTemplateDeleter ( )
override

Destructor

◆ TitleBlockTemplateDeleter() [2/2]

TitleBlockTemplateDeleter::TitleBlockTemplateDeleter ( const TitleBlockTemplateDeleter )
private

Member Function Documentation

◆ exec

bool TitleBlockTemplateDeleter::exec ( )
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.

Returns
true if the deletion succeeded, false otherwise.
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ template_location_

TitleBlockTemplateLocation TitleBlockTemplateDeleter::template_location_
private

The documentation for this class was generated from the following files: