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,6 +1,7 @@
#include "QtGraphNode.h"
#include <QBrush>
#include <QCursor>
#include <QFont>
#include <QFontMetrics>
#include <QGraphicsSceneEvent>
@@ -42,6 +43,7 @@ void QtGraphNode::hideNode()
QtGraphNode::QtGraphNode()
{
this->setPen(QPen(Qt::transparent));
this->setCursor(Qt::PointingHandCursor);
m_text = new QGraphicsSimpleTextItem(this);
m_rect = new QtRoundedRectItem(this);