14#include <QtWidgets/qlabel.h>
18 class GraphicsItemPreviewDrag;
26 virtual void enterEvent(QEnterEvent* _event)
override;
27 virtual void leaveEvent(QEvent* _event)
override;
29 void setItemName(
const std::string& _itemName) { m_itemName = _itemName; };
30 const std::string
itemName(
void)
const {
return m_itemName; };
36 std::string m_itemName;
Definition GraphicsItemPreviewDrag.h:23
Definition GraphicsItemPreview.h:20
virtual void leaveEvent(QEvent *_event) override
Definition GraphicsItemPreview.cpp:39
virtual void enterEvent(QEnterEvent *_event) override
Definition GraphicsItemPreview.cpp:33
GraphicsItemPreview()
Definition GraphicsItemPreview.cpp:14
virtual ~GraphicsItemPreview()
Definition GraphicsItemPreview.cpp:20
void setOwner(const BasicServiceInformation &_owner)
Definition GraphicsItemPreview.h:32
virtual void mousePressEvent(QMouseEvent *_event) override
Definition GraphicsItemPreview.cpp:24
const std::string itemName(void) const
Definition GraphicsItemPreview.h:30
void setItemName(const std::string &_itemName)
Definition GraphicsItemPreview.h:29
const BasicServiceInformation & getOwner(void) const
Definition GraphicsItemPreview.h:33