You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
#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:
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|