波列添加深度重采样菜单
This commit is contained in:
parent
510f78af28
commit
c38742995e
|
|
@ -904,6 +904,11 @@ void QtProjectWidgets::initWaveObjectTreeMenu(QMenu *menu, QTreeWidget *treeWidg
|
||||||
connect(action_DepthShift, SIGNAL(triggered(bool)), this, SLOT(onDepthShift(bool)));
|
connect(action_DepthShift, SIGNAL(triggered(bool)), this, SLOT(onDepthShift(bool)));
|
||||||
menu->addAction(action_DepthShift);
|
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);
|
QAction* action_InfoEdit = new QAction("属性编辑", treeWidget);
|
||||||
action_InfoEdit->setIcon(QIcon(GetImagePath() + "icon/AddToTrack.png"));
|
action_InfoEdit->setIcon(QIcon(GetImagePath() + "icon/AddToTrack.png"));
|
||||||
connect(action_InfoEdit, SIGNAL(triggered()), this, SLOT(onInfoEdit()));
|
connect(action_InfoEdit, SIGNAL(triggered()), this, SLOT(onInfoEdit()));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user