Fix hover for tool point of intersection curve and axis.
This commit is contained in:
parent
8656e9f633
commit
6c5c4f671b
|
@ -355,6 +355,13 @@ QString VToolCurveIntersectAxis::MakeToolTip() const
|
|||
return toolTip;
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void VToolCurveIntersectAxis::hoverEnterEvent(QGraphicsSceneHoverEvent *event)
|
||||
{
|
||||
VToolLinePoint::hoverEnterEvent(event);
|
||||
mainLine->SetBoldLine(false);
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void VToolCurveIntersectAxis::SetSegments(const QPair<QString, QString> &segments)
|
||||
{
|
||||
|
|
|
@ -89,6 +89,7 @@ protected:
|
|||
virtual void ReadToolAttributes(const QDomElement &domElement) override;
|
||||
virtual void SetVisualization() override;
|
||||
virtual auto MakeToolTip() const -> QString override;
|
||||
virtual void hoverEnterEvent(QGraphicsSceneHoverEvent *event) override;
|
||||
|
||||
void SetSegments(const QPair<QString, QString> &segments);
|
||||
private:
|
||||
|
|
Loading…
Reference in New Issue
Block a user