#pragma once #include "ZxObjImage.h" class I_PLOTCURVE_T_EXPORT ZxObjSketch : public ZxObjImage { Q_OBJECT ZX_DECLARE_DYNAMIC public: ZxObjSketch(); ZxObjSketch(const QString& sName, ZxSubAxisX* pAxisX, ZxSubAxisY* pAxisY); ~ZxObjSketch(); protected: // 设置图元对象的属性标志 virtual void initFlags(); protected: public: virtual void paintBack(QPainter* painter, const ZxPaintParam& param); virtual void drawImage(QPainter* painter, QRectF bound, QString sPath); #ifdef QT_DEBUG virtual void drawImageEx(QPainter* painter, QRectF bound, QString sPath); #endif virtual void onSerialize(ZxSerializer* ser); virtual void onDeserialize(ZxSerializer* ser); virtual void fillPtyPano(IxPtyPano* sheet); virtual void onLeftDoubleClick(const QPointF& pt); public: protected: };