#ifndef CALLMANAGE_H #define CALLMANAGE_H #include #include #include #include #include #include "qmycustomplot.h" class Q_DECL_EXPORT CallManage : public QObject { Q_OBJECT private: explicit CallManage(QObject *parent = NULL); ~CallManage(); public: static CallManage* getInstance(); signals: void sig_New(); void sig_Open(); void sig_Risize(); void sig_AddOne(); void sig_AddLine(int indexID); void sig_DelOne(int indexID); void sig_DelCurve(int indexID, QString strLineName); void sig_SaveImg(); void sig_DrawImg(); void sig_DrawLine(); void sig_NewProject();//新建项目 void sig_OpenProject(QString strName);//打开项目 void sig_CloseProject();//关闭项目 void sig_ShowCurve(QString strSlfName, QString strName);//曲线数据查看 void sig_NewTrack(QString strWellName, QString strSlfName, QString strLineName);//新建道 void sig_NewTrack_No_Line(QString strWellName, QString strTrackName);//新建空白道,没有曲线 void sig_AddLine(QString strSlfName, QString strWellName, QString strTrackName, QString strLineName);//新建曲线 void sig_AddLine_Property(QString strSlfName, QString strWellName, QString strTrackName, QString strLineName, double newLeftScale, double newRightScale, QColor lineColor, double width, Qt::PenStyle lineStyle);//新建曲线,带属性 void sig_delLine(QString strWellName, QString strTrackName, QString strLineName);//删除曲线 //属性 //左刻度 void sig_ChangeLeftScale(QString strSlfName, QString strWellName, QString strTrackName, QString strLineName, double newLeftScale); //右刻度 void sig_ChangeRightScale(QString strSlfName, QString strWellName, QString strTrackName, QString strLineName, double newRightScale); //线颜色 void sig_ChangeLineColor(QString strSlfName, QString strWellName, QString strTrackName, QString strLineName, QColor lineColor); //线宽 void sig_ChangeLineWidth(QString strSlfName, QString strWellName, QString strTrackName, QString strLineName, double width); //线型 void sig_ChangeLineStyle(QString strSlfName, QString strWellName, QString strTrackName, QString strLineName, Qt::PenStyle lineStyle); //岩性填充-不填充 void sig_ClearFillMode(QString strSlfName, QString strWellName, QString strTrackName, QString strLineName); //岩性填充-填充 void sig_ChangeFillMode(QString strSlfName, QString strWellName, QString strTrackName, QString strLineName, QString newFillType, QString newTargetLine, QColor newColor, QString newLithosImage, QString newHeadFill, float vMin, float vMax); //置顶层 void sig_Raise(QString strSlfName, QString strWellName, QString strTrackName, QString strLineName); //插件测试 void sig_testPlugin(QString strInfo); //鼠标移动,通知状态栏显示深度信息 void sig_MouseMove(QString strWellName, QString strTrackName, float dep); // void sig_addImageToPlot(QMyCustomPlot* customPlot, double left_Low, double right_Hight, QString imagePath); public: Q_DISABLE_COPY(CallManage); }; #endif // CALLMANAGE_H