#pragma once #include "iWxAnaly.h" namespace Ui { class iWxAnalyNum; } class M_GUI_JOB_EXPORT iWxAnalyNum : public iWxAnaly { Q_OBJECT public: explicit iWxAnalyNum(QWidget *parent = 0); ~iWxAnalyNum(); // 初始化 virtual void initUI(); protected: bool checkInputs(); virtual void paintEvent(QPaintEvent *e); private slots: void on_btnOK_clicked(); void on_btnCancel_clicked(); private: Ui::iWxAnalyNum *ui; };