mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-27 21:39:57 +01:00
Translated all comments found in header files (*.h) from French to English.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1960 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -23,26 +23,24 @@ class QGraphicsItem;
|
||||
class ElementsLocation;
|
||||
class Terminal;
|
||||
/**
|
||||
La classe GhostElement herite de la classe CustomElement. Un GhostElement
|
||||
est destine a remplacer visuellement un CustomElement dont la definition
|
||||
n'a pu etre trouvee. Ainsi, au lieu de ne pas charger un element, et donc
|
||||
de perdre potentiellement :
|
||||
* sa position, son orientation, ses textes,
|
||||
* les conducteurs qui y sont lies,
|
||||
on peut lui substituer un GhostElement. Celui-ci extrapolera depuis le
|
||||
schema la position des bornes et des champs de texte.
|
||||
Visuellement, il sera represente par un rectangle.
|
||||
The GhostElement class inherits CustomElement. A GhostElement aims at
|
||||
visually replacing a CustomElement whose definition could not be loaded.
|
||||
This way, instead of not loading an element, thus potentially losing its
|
||||
position, its orientation, its child text items and conductors, one can
|
||||
substitute a GhostElement. The GhostElement will extrapolate the position
|
||||
of terminals and text items from the rest of the diagram. It is visually
|
||||
rendered using a simple rectangle.
|
||||
*/
|
||||
class GhostElement : public CustomElement {
|
||||
|
||||
Q_OBJECT
|
||||
|
||||
// constructeur, destructeur
|
||||
// constructor, destructor
|
||||
public:
|
||||
GhostElement(const ElementsLocation &, QGraphicsItem * = 0, Diagram * = 0);
|
||||
virtual ~GhostElement();
|
||||
|
||||
// methodes
|
||||
// methods
|
||||
public:
|
||||
virtual bool fromXml(QDomElement &, QHash<int, Terminal *> &, bool = false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user