mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-04-11 09:29:59 +02:00
Light change in user interface
When mouse over a element, coonductor, text, the graphic symbol draw his bounding box. and draw a tooltip with his name For conductor the conductor size change. git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3490 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -76,8 +76,13 @@ class DiagramTextItem : public QGraphicsTextItem {
|
||||
virtual void mouseMoveEvent (QGraphicsSceneMouseEvent *event);
|
||||
virtual void mouseReleaseEvent (QGraphicsSceneMouseEvent *event);
|
||||
|
||||
virtual void hoverEnterEvent(QGraphicsSceneHoverEvent *);
|
||||
virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent *);
|
||||
virtual void hoverMoveEvent(QGraphicsSceneHoverEvent *);
|
||||
|
||||
virtual void applyRotation(const qreal &);
|
||||
|
||||
bool bMouseOver;
|
||||
signals:
|
||||
/// signal emitted when the text field loses focus
|
||||
void lostFocus();
|
||||
|
||||
Reference in New Issue
Block a user