MCPcopy Create free account
hub / github.com/Faster3ck/Converseen / createContextMenu

Method createContextMenu

src/mainwindowimpl.cpp:232–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230}
231
232void MainWindowImpl::createContextMenu()
233{
234 treeWidget->setContextMenuPolicy(Qt::ActionsContextMenu);
235 treeWidget->addAction(actionCheckItems);
236 treeWidget->addAction(actionCheckAllItems);
237 treeWidget->addAction(actionUncheckItems);
238 treeWidget->addAction(actionUncheckAllItems);
239 addContextMenuSeparator();
240 treeWidget->addAction(actionInvertCheckedItems);
241 addContextMenuSeparator();
242 treeWidget->addAction(actionRemoveItems);
243 treeWidget->addAction(actionRemoveAllItems);
244}
245
246void MainWindowImpl::addContextMenuSeparator()
247{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected