MCPcopy Create free account
hub / github.com/clementgallet/libTAS / fillMenu

Method fillMenu

src/program/ui/MarkerView.cpp:59–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59void MarkerView::fillMenu()
60{
61 menu = new QMenu(this);
62
63 setContextMenuPolicy(Qt::CustomContextMenu);
64 connect(this, &QWidget::customContextMenuRequested, this, &MarkerView::mainMenu);
65
66 seekAct = menu->addAction(tr("Seek To"), this, &MarkerView::seekSlot);
67 scrollAct = menu->addAction(tr("Scroll To"), this, &MarkerView::scrollSlot);
68 removeAct = menu->addAction(tr("Remove"), this, &MarkerView::removeSlot);
69}
70
71void MarkerView::resetMarkers()
72{

Callers 1

InputEditorWindowMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected