mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-22 01:10:53 +01:00
Nettoyage de la correction du conflit sur la touche Suppr (cf commit 154) git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@171 bfdf4180-ca20-0410-9c96-a3a8aa849046
27 lines
486 B
C++
27 lines
486 B
C++
#ifndef ELEMENT_VIEW_H
|
|
#define ELEMENT_VIEW_H
|
|
#include <QGraphicsView>
|
|
#include "elementscene.h"
|
|
class ElementView : public QGraphicsView {
|
|
Q_OBJECT
|
|
// constructeurs, destructeur
|
|
public:
|
|
ElementView(ElementScene *, QWidget * = 0);
|
|
virtual ~ElementView();
|
|
|
|
private:
|
|
ElementView(const ElementView &);
|
|
|
|
// methodes
|
|
public:
|
|
ElementScene *scene() const;
|
|
void setScene(ElementScene *);
|
|
protected:
|
|
bool event(QEvent *);
|
|
|
|
//attributs
|
|
private:
|
|
ElementScene *scene_;
|
|
};
|
|
#endif
|