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.
nmWTAI-Platform/Include/mTool/mToolDiffusion/iWxDataAppend.h

57 lines
1003 B
C++

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

#pragma once
#include "iDlgBase.h"
#include "mToolDiffusion_global.h"
namespace Ui {
class iWxDataAppend;
}
class ZxDataWell;
class ZxDataGaugeBase;
class M_TOOL_DIFFUSION_EXPORT iWxDataAppend : public iDlgBase
{
Q_OBJECT
public:
explicit iWxDataAppend(QMap<QString, double>& map, \
QStringList& listOrders, \
QWidget *parent = 0);
~iWxDataAppend();
virtual void initUI();
// 返回结果map长度为4
bool getDataAppended(QMap<QString, double>& map);
signals:
// 保存了一个PF数据后刷新到TreeCtrl
void sigPfObjSaved(ZxDataGaugeBase* p);
private:
bool checkTbxValue(QLineEdit* pTbx);
private slots:
void slotTbxValueChanged();
void on_btnOK_clicked();
void on_btnCancel_clicked();
private:
Ui::iWxDataAppend *ui;
QVector<QLabel*> m_vecLbls;
QVector<QLineEdit*> m_vecTbxs;
QMap<QString, double> m_mapData;
QStringList m_listOrders;
};