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.
46 lines
673 B
C++
46 lines
673 B
C++
#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:
|
|
|
|
};
|
|
|
|
|
|
|
|
|