MCPcopy Create free account
hub / github.com/KDAB/GammaRay / toolContextMenu

Method toolContextMenu

ui/mainwindow.cpp:498–506  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

496}
497
498void MainWindow::toolContextMenu(QPoint pos)
499{
500 QMenu menu;
501 auto action = menu.addAction(tr("Hide inactive tools"));
502 action->setCheckable(true);
503 action->setChecked(m_toolFilterModel->filterInactiveTools());
504 connect(action, &QAction::toggled, m_toolFilterModel, &ClientToolFilterProxyModel::setFilterInactiveTools);
505 menu.exec(ui->toolSelector->viewport()->mapToGlobal(pos));
506}
507
508void MainWindow::navigateToCode(const QUrl &url, int lineNumber, int columnNumber)
509{

Callers

nothing calls this directly

Calls 1

filterInactiveToolsMethod · 0.80

Tested by

no test coverage detected