ui: Change mouse cursor to pointer on graph and code view contents (issue #715)

This commit is contained in:
Eberhard Graether
2019-08-05 22:40:21 +02:00
parent cc289e8b1e
commit 6a3561cb87
6 changed files with 15 additions and 0 deletions
@@ -1,5 +1,6 @@
#include "QtGraphEdge.h"
#include <QCursor>
#include <QGraphicsSceneEvent>
#include <QGraphicsItemGroup>
@@ -50,6 +51,8 @@ QtGraphEdge::QtGraphEdge(
, m_mousePos(0.0f, 0.0f)
, m_mouseMoved(false)
{
this->setCursor(Qt::PointingHandCursor);
if (m_direction == TokenComponentAggregation::DIRECTION_BACKWARD)
{
QtGraphNode* temp = m_owner;