Amelioration du rendu des conducteurs lors du deplacement d'elements

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@37 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavierqet
2006-11-30 18:05:02 +00:00
parent f1bfb71f1e
commit 4cb641fa2b
7 changed files with 124 additions and 19 deletions

View File

@@ -15,8 +15,9 @@
void destroy();
bool isDestroyed() const { return(destroyed); }
void update(const QRectF & rect);
void update(qreal x, qreal y, qreal width, qreal height);
void updateWithNewPos(const QRectF &, const Borne *, const QPointF &);
void update(const QRectF &);
void update(qreal, qreal, qreal, qreal);
void paint(QPainter *, const QStyleOptionGraphicsItem *, QWidget *);
static bool valideXml(QDomElement &);
@@ -29,6 +30,8 @@
bool destroyed;
void calculeConducteur();
void calculeConducteurWithNewPos(const Borne *, const QPointF &);
void priv_calculeConducteur(const QPointF &, const QPointF &);
bool surLeMemeAxe(Borne::Orientation, Borne::Orientation);
bool estHorizontale(Borne::Orientation a);
bool estVerticale(Borne::Orientation a);