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/iGui/iGuiGridPty/iGridRowItemCbxModel.h

30 lines
725 B
C

#pragma once
#include "iGridRowItemCbx.h"
#include "iModelInfo.h"
// 模型下拉框
class X_GUI_GRIDPTY_EXPORT iGridRowItemCbxModel :
public iGridRowItemCbx
{
Q_OBJECT
public:
explicit iGridRowItemCbxModel(iGridRowItem* pParent = nullptr);
~iGridRowItemCbxModel();
//设置模型文件节点
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;
};