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.
33 lines
754 B
C++
33 lines
754 B
C++
#pragma once
|
|
|
|
#include "iGridRowItemCbx.h"
|
|
#include "mGuiJob_global.h"
|
|
|
|
class iModelInfo;
|
|
|
|
// 模型下拉框
|
|
class M_GUI_JOB_EXPORT tGridRowItemModelOption :
|
|
public iGridRowItemCbx
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit tGridRowItemModelOption(iGridRowItem* pParent = nullptr);
|
|
~tGridRowItemModelOption();
|
|
//设置模型文件节点
|
|
void setModelInfo(iModelInfo* pModelInfo);
|
|
//得到模型文件几点
|
|
iModelInfo* getModelInfo();
|
|
//添加子项(ZXF20241110)
|
|
void addCbxItems(QStringList listItems, QString sItem);
|
|
//增加信号
|
|
signals:
|
|
void sigCbxCurItemChanged(int);
|
|
public slots:
|
|
// 改变
|
|
virtual void slotCbxCurItemChanged(int);
|
|
protected:
|
|
//模型节点
|
|
iModelInfo* m_pModelInfo;
|
|
};
|