波列添加深度重采样菜单

This commit is contained in:
zhaolei 2026-05-19 15:43:44 +08:00
parent 510f78af28
commit c38742995e

View File

@ -904,6 +904,11 @@ void QtProjectWidgets::initWaveObjectTreeMenu(QMenu *menu, QTreeWidget *treeWidg
connect(action_DepthShift, SIGNAL(triggered(bool)), this, SLOT(onDepthShift(bool)));
menu->addAction(action_DepthShift);
m_action_DepthResample = new QAction("深度重采样", treeWidget);
m_action_DepthResample->setIcon(QIcon(GetImagePath() + "icon/AddToTrack.png")); // 设置图标
connect(m_action_DepthResample, SIGNAL(triggered(bool)), this, SLOT(onDepthResample(bool)));
menu->addAction(m_action_DepthResample);
QAction* action_InfoEdit = new QAction("属性编辑", treeWidget);
action_InfoEdit->setIcon(QIcon(GetImagePath() + "icon/AddToTrack.png"));
connect(action_InfoEdit, SIGNAL(triggered()), this, SLOT(onInfoEdit()));