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/Include/mGui/mSubWnd/iSubWndDataOther.h

50 lines
949 B
C++

#pragma once
#include "iSubWndData.h"
class iWxDataShow;
class zxDataOtherItem;
class M_SUB_WND_EXPORT iSubWndDataOther : public iSubWndData
{
Q_OBJECT
public:
explicit iSubWndDataOther(QWidget *parent = 0, QString sExt = "");
~iSubWndDataOther();
// 配置窗体
virtual void configWnd();
virtual void runUpdate(); //刷新
protected:
public slots:
virtual void slotTableCellClicked(const QModelIndex &index);
virtual void slotTableCellChanged(const QModelIndex& Index, const QModelIndex& nIndex);
protected:
// 初始化入口
virtual void initUI();
virtual QWidget* initUiMainWx();
void showRowDataOf(int r);
// 保存数据
virtual void saveData();
virtual bool _saveData(VVecVariant& vvec);
private:
iWxDataShow* m_pWxItem;
QString m_sLastCode;
QStringList m_listFieldExs; //解析显示的字段名
QVector<zxDataOtherItem*> m_vecAccessItems;
};