more howto documentation updates

This commit is contained in:
Axel Kohlmeyer
2023-08-13 17:13:19 -04:00
parent d650bc61c5
commit a07f02c135
8 changed files with 33 additions and 0 deletions

View File

@ -207,6 +207,11 @@ void CodeEditor::contextMenuEvent(QContextMenuEvent *event)
connect(action2, &QAction::triggered, this, &CodeEditor::open_help);
}
}
auto action3 = menu->addAction(QString("LAMMPS Manual"));
action3->setIcon(QIcon(":/help-browser.png"));
action3->setData(QString());
connect(action3, &QAction::triggered, this, &CodeEditor::open_help);
menu->exec(event->globalPos());
delete menu;
}