mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-21 08:40:53 +01:00
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@167 bfdf4180-ca20-0410-9c96-a3a8aa849046
28 lines
588 B
C++
28 lines
588 B
C++
#ifndef ELEMENT_DELETER_H
|
|
#define ELEMENT_DELETER_H
|
|
#include "elementscategory.h"
|
|
#include <QtGui>
|
|
/**
|
|
Cette classe represente une couche d'abstraction pour supprimer
|
|
un element de la collection d'elements.
|
|
Elle demande notamment confirmation a l'utilisateur
|
|
*/
|
|
class ElementDeleter : public QWidget {
|
|
Q_OBJECT
|
|
// constructeurs, destructeur
|
|
public:
|
|
ElementDeleter(const QString &, QWidget * = 0);
|
|
virtual ~ElementDeleter();
|
|
private:
|
|
ElementDeleter(const ElementsCategory &);
|
|
|
|
// methodes
|
|
public slots:
|
|
void exec();
|
|
|
|
// attributs
|
|
private:
|
|
QString element_path;
|
|
};
|
|
#endif
|