[TechDraw] Remove uneeded redefinitions of inherited functions
This commit is contained in:
committed by
WandererFan
parent
2f49a93292
commit
9905e17ba1
@@ -164,11 +164,6 @@ void QGILeaderLine::mousePressEvent(QGraphicsSceneMouseEvent * event)
|
||||
QGraphicsItem::mousePressEvent(event);
|
||||
}
|
||||
|
||||
//void QGILeaderLine::mouseMoveEvent(QGraphicsSceneMouseEvent * event)
|
||||
//{
|
||||
// QGraphicsItem::mouseMoveEvent(event);
|
||||
//}
|
||||
|
||||
//QGILL isn't draggable so skip QGIV::mouseRelease
|
||||
void QGILeaderLine::mouseReleaseEvent(QGraphicsSceneMouseEvent * event)
|
||||
{
|
||||
@@ -606,11 +601,6 @@ QRectF QGILeaderLine::boundingRect() const
|
||||
return childrenBoundingRect();
|
||||
}
|
||||
|
||||
QPainterPath QGILeaderLine::shape() const
|
||||
{
|
||||
return QGraphicsItemGroup::shape();
|
||||
}
|
||||
|
||||
void QGILeaderLine::paint ( QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) {
|
||||
QStyleOptionGraphicsItem myOption(*option);
|
||||
myOption.state &= ~QStyle::State_Selected;
|
||||
|
||||
Reference in New Issue
Block a user