| 47 | class Object; |
| 48 | |
| 49 | MapFindFeature::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 | |
| 71 | MapFindFeature::~MapFindFeature() |
nothing calls this directly
no test coverage detected