qt 怎么实现ctrl+f出现编辑菜单

2024-11-30 02:57:38
推荐回答(1个)
回答1:

QAction *pCreateAction = pFileMenu->addMenu(pCreateMenu);
connect(pOpenAction, SIGNAL(triggered()), this, SLOT(openFile()));