MCPcopy Create free account
hub / github.com/OpenOrienteering/mapper / MapFindFeature

Method MapFindFeature

src/gui/map/map_find_feature.cpp:49–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47class Object;
48
49MapFindFeature::MapFindFeature(MapEditorController& controller)
50: QObject{nullptr}
51, controller{controller}
52{
53 show_action = new QAction(tr("&Find..."), this);
54 show_action->setMenuRole(QAction::NoRole);
55 // QKeySequence::Find may be Ctrl+F, which conflicts with "Fill / Create Border"
56 //show_action->setShortcut(QKeySequence::Find);
57 //action->setStatusTip(tr_tip);
58 show_action->setWhatsThis(Util::makeWhatThis("edit_menu.html"));
59 connect(show_action, &QAction::triggered, this, &MapFindFeature::showDialog);
60
61 find_next_action = new QAction(tr("Find &next"), this);
62 find_next_action->setMenuRole(QAction::NoRole);
63 // QKeySequence::FindNext may be F3, which conflicts with "Baseline view"
64 //find_next_action->setShortcut(QKeySequence::FindNext);
65 //action->setStatusTip(tr_tip);
66 find_next_action->setWhatsThis(Util::makeWhatThis("edit_menu.html"));
67 connect(find_next_action, &QAction::triggered, this, &MapFindFeature::findNext);
68}
69
70
71MapFindFeature::~MapFindFeature()

Callers

nothing calls this directly

Calls 1

makeWhatThisFunction · 0.85

Tested by

no test coverage detected