mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-03 11:00:53 +01:00
Classe "ElementFixe" renommee en "FixedElement"
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@47 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
15
fixedelement.h
Normal file
15
fixedelement.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef ELEMENTFIXE_H
|
||||
#define ELEMENTFIXE_H
|
||||
#include "element.h"
|
||||
class FixedElement : public Element {
|
||||
public:
|
||||
FixedElement(QGraphicsItem * = 0, Diagram * = 0);
|
||||
int nbTerminalsMin() const;
|
||||
int nbTerminalsMax() const;
|
||||
virtual bool fromXml(QDomElement &, QHash<int, Terminal *>&);
|
||||
virtual int nbTerminals() const = 0;
|
||||
virtual void paint(QPainter *, const QStyleOptionGraphicsItem *) = 0;
|
||||
virtual QString typeId() = 0;
|
||||
virtual QString nom() = 0;
|
||||
};
|
||||
#endif
|
||||
Reference in New Issue
Block a user