#pragma once #include "tCurvePlotView.h" #include "nmPlot_global.h" class nmPlotScene; // 数值试井绘图 View class NM_PLOT_EXPORT nmPlotView : public tCurvePlotView { Q_OBJECT ZX_DECLARE_DYNAMIC public: nmPlotView(); public: // 准备右键菜单 virtual void onPrepareContextMenu(QMenu* pMenu, const QPointF& pos); public slots: signals: protected: // 拖拽支持 void dragEnterEvent(QDragEnterEvent *event); void dropEvent(QDropEvent* event); void mouseMoveEvent(QMouseEvent* e); void focusOutEvent(QFocusEvent *); void leaveEvent(QEvent *); protected: };