Qt QTreeWidget 鼠标右击事件](这里写自定义目录标题)

SIGNAL(customContextMenuRequested(QPoint))

currWidget = (QTreeWidget *)this->sender();

popMenu->exec(QCursor::pos()) 在点击处显示

猜你喜欢

转载自blog.csdn.net/chenyazhou88/article/details/85260953
今日推荐