1 #ifndef GRAPH_ANALYSIS_GUI_ITEMS_LABEL_HPP
2 #define GRAPH_ANALYSIS_GUI_ITEMS_LABEL_HPP
4 #include <QGraphicsSceneDragDropEvent>
5 #include <QGraphicsTextItem>
11 #include "../../Vertex.hpp"
27 class Label :
public QGraphicsTextItem
31 QPointF mDragStartPosition;
38 Label(
const std::string& label, QGraphicsItem* parent);
49 QVariant
itemChange(QGraphicsItem::GraphicsItemChange change,
const QVariant& value);
55 #endif // GRAPH_ANALYSIS_GUI_ITEMS_LABEL_HPP