connect(tableView, SIGNAL(customContextMenuRequested(const QPoint &)), this,SLOT(slot_tableViewMenu(const QPoint &)));
connect(listView, SIGNAL(customContextMenuRequested(const QPoint&)), this,SLOT(slot_tableViewMenu(const QPoint&)));

 

index = m_currentView->indexAt(pos)

相关文章:

  • 2021-06-29
  • 2021-08-31
  • 2022-01-06
  • 2022-12-23
  • 2021-11-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-07
  • 2021-10-20
  • 2022-02-23
  • 2021-05-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案