#ifndef NMSINGALCENTER_H #define NMSINGALCENTER_H #include #include "nmData_global.h" class NM_DATA_EXPORT nmSingalCenter : public QObject { Q_OBJECT signals: void sigDeleteWell(QString wellID); public: explicit nmSingalCenter(QObject *parent = nullptr); // 获取对象,单例模式 static nmSingalCenter* getInstance(); // 触发删除井的信号 void emitSigDeleteWell(QString wellID); private: static nmSingalCenter* s_instance; }; #endif // NMSINGALCENTER_H