in the documentation there's a sample that inherits both QObject and QGraphicsItem. Deoesn't QGraphicsItem inherits QObject? I looked at the Qt Assistant but it doesn't give info about that.
Qt Code:
{ Q_OBJECT public: Mouse(); protected: private: qreal angle; qreal speed; qreal mouseEyeDirection; QColor color; };To copy to clipboard, switch view to plain text mode
Bookmarks