mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-30 15:50:52 +01:00
Master element : comment is displayed even if there isn't slave linked
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3414 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -78,6 +78,15 @@ void CommentItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *optio
|
||||
m_picture.play(painter);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief CommentItem::mouseDoubleClickEvent
|
||||
* @param event
|
||||
*/
|
||||
void CommentItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event) {
|
||||
event -> accept();
|
||||
m_element -> editProperty();
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief CommentItem::updateLabel
|
||||
* update the content of this item
|
||||
|
||||
Reference in New Issue
Block a user