Cross ref item : change how some methods work

Master element : minor change related to the change of cross ref item


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3539 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2014-12-08 17:39:57 +00:00
parent cfe267fcb3
commit e4c73b8666
3 changed files with 54 additions and 75 deletions

View File

@@ -48,14 +48,14 @@ class CrossRefItem : public QGraphicsObject
virtual int type() const { return Type; }
enum CONTACTS {
NO = 1,
NC = 2,
NOC = 3,
SW = 4,
Power = 8,
DelayOn = 16,
NO = 1,
NC = 2,
NOC = 3,
SW = 4,
Power = 8,
DelayOn = 16,
DelayOff = 32,
Delay = 48
Delay = 48
};
QRectF boundingRect () const;
@@ -82,7 +82,6 @@ class CrossRefItem : public QGraphicsObject
void drawContact (QPainter &painter, int flags, QString str = QString());
void fillCrossRef (QPainter &painter);
void AddExtraInfo (QPainter &painter);
void checkMustShow ();
void setTextParent ();
//Attributes