The Lien class a link is betwwen to objects it contains a line a role text cardinality ...
More...
#include <lien.h>
|
QGraphicsLineItem * | line |
| line the line
|
|
Entite * | t1 |
| t1 first object
|
|
Entite * | t2 |
| t2 second object
|
|
QGraphicsSimpleTextItem * | cardinalite1 |
| cardinalite1 example:0,1 or 1,1 or 0,n
|
|
QGraphicsSimpleTextItem * | cardinalite2 |
| cardinalite2 example:0,1 or 1,1 or 0,n
|
|
QGraphicsSimpleTextItem * | role |
| role if there are several links between two same objects
|
|
QString | texteDuRole |
| texteDuRole example: chief
|
|
QString | typeDeJointure |
| typeDeJointure cif –1,1–CIF–0,n–> df –0,1–DF–0,n–>or leg --------—
|
|
QGraphicsEllipseItem * | leRond |
| leRond Pour les cifs et dfs et entités faibles le rond central
|
|
QGraphicsTextItem * | leTexteDuRond |
| leTexteDuRond text writen into central disk
|
|
The Lien class a link is betwwen to objects it contains a line a role text cardinality ...
Definition at line 17 of file lien.h.
Lien::Lien |
( |
Entite * |
qg1, |
|
|
Entite * |
qg2, |
|
|
QGraphicsItem * |
parent, |
|
|
QString |
typ = "Natural" , |
|
|
QString |
relationName = "" , |
|
|
QString |
pRole = "" |
|
) |
| |
Lien.
- Parameters
-
qg1 | |
qg2 | |
parent | |
typ | |
relationName | |
pRole | this is constructor |
Definition at line 31 of file lien.cpp.
QRectF Lien::boundingRect |
( |
| ) |
const |
boundingRect
- Returns
- his limits
Definition at line 393 of file lien.cpp.
void Lien::contextMenuEvent |
( |
QGraphicsSceneMouseEvent * |
event | ) |
|
contextMenuEvent
- Parameters
-
Definition at line 482 of file lien.cpp.
bool Lien::estRelieA |
( |
Lien * |
autreLien | ) |
|
estRelieA
- Parameters
-
- Returns
- true if there is another link with same source or same destination
Definition at line 535 of file lien.cpp.
void Lien::paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionGraphicsItem * |
, |
|
|
QWidget * |
|
|
) |
| |
paint
- Parameters
-
painter | used to paint the link |
Definition at line 173 of file lien.cpp.
The documentation for this class was generated from the following files:
- /home/gthom/Documents/Travail/Developpement/gapmea-v1.0-rc1-1.5.3.2/lien.h
- /home/gthom/Documents/Travail/Developpement/gapmea-v1.0-rc1-1.5.3.2/lien.cpp