nodeview: improved user manual positioning
This commit is contained in:
@@ -40,9 +40,8 @@ class NodeViewEdge;
|
||||
*
|
||||
* To retrieve the NodeViewItem for a certain Node, use NodeView::NodeToUIObject().
|
||||
*/
|
||||
class NodeViewItem : public QObject, public QGraphicsRectItem
|
||||
class NodeViewItem : public QGraphicsRectItem
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
NodeViewItem(QGraphicsItem* parent = nullptr);
|
||||
|
||||
@@ -112,9 +111,6 @@ public:
|
||||
|
||||
void SetHighlightedIndex(int index);
|
||||
|
||||
signals:
|
||||
void NodePositionChanged(const QPointF &pos);
|
||||
|
||||
protected:
|
||||
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = nullptr) override;
|
||||
|
||||
@@ -178,8 +174,6 @@ private:
|
||||
|
||||
QPointF cached_node_pos_;
|
||||
|
||||
bool dont_signal_;
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user