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.
nmWATI/Src/nmNum/nmSubWxs/nmWxDataBasic.cpp

75 lines
1.3 KiB
C++


#include "ZxBaseUtil.h"
#include "zxLogInstance.h"
#include "zxMathBase.h"
#include "ZxTableView.h"
#include "ZxTableModel.h"
#include "iParameter.h"
#include "iParaItemCtrl.h"
#include "iParameterUtils.h"
#include "IniFileTool.h"
#include "iPseu3Wrapper.h"
#include "iPseuCWrapper.h"
#include "iWxPvtMain.h"
#include "nmWxDataBasic.h"
#include "ui_nmWxDataBasic.h"
nmWxDataBasic::nmWxDataBasic(/*QString sFluid, */QWidget *parent) :
iWxDataBasic(parent),
ui(new Ui::nmWxDataBasic)
{
ui->setupUi(this);
}
nmWxDataBasic::~nmWxDataBasic()
{
delete ui;
}
void nmWxDataBasic::initUI()
{
iWxDataBasic::initUI();
}
void nmWxDataBasic::setAnalName(QString s)
{
ui->tbxName->setText(s);
ui->tbxName->setFocus();
}
void nmWxDataBasic::slotGetAnalTag(QString& s)
{
s = ui->tbxName->text().trimmed();
}
void nmWxDataBasic::copyFrom(iDlgBase* pFrom)
{
nmWxDataBasic* p1 = dynamic_cast<nmWxDataBasic*>(pFrom);
if (NULL != p1)
{
iWxDataBasic::copyFrom(p1);
}
}
void nmWxDataBasic::onSerialize(ZxSerializer* ser)
{
iWxDataBasic::onSerialize(ser);
}
void nmWxDataBasic::onDeserialize(ZxSerializer* ser)
{
iWxDataBasic::onDeserialize(ser);
quint32 nVer = ser->getDocDate();
}
void nmWxDataBasic::paintEvent(QPaintEvent *e)
{
iWxDataBasic::paintEvent(e);
}