33 #if QT_VERSION < 0x050000
34 #include <QDeclarativeItem>
75 #if QT_VERSION < 0x050000
85 Q_PROPERTY (QString text READ GetText WRITE SetText NOTIFY textChanged)
89 Q_PROPERTY (
bool containsMouse READ ContainsMouse NOTIFY containsMouseChanged)
93 bool ContainsMouse_ = false;
99 #if QT_VERSION < 0x050000
111 void SetText (
const QString& text);
119 QString GetText ()
const;
125 bool ContainsMouse ()
const;
132 void ShowToolTip (
const QString& text)
const;
134 #if QT_VERSION < 0x050000
135 void hoverEnterEvent (QGraphicsSceneHoverEvent*)
override;
136 void hoverLeaveEvent (QGraphicsSceneHoverEvent*)
override;
138 void hoverEnterEvent (QHoverEvent*)
override;
139 void hoverLeaveEvent (QHoverEvent*)
override;
152 void containsMouseChanged ();