| 254 | menu.addAction(act_lib_link) |
| 255 | |
| 256 | def _build_help_menu(self, bar): |
| 257 | menu = bar.addMenu("&Help") |
| 258 | |
| 259 | act_help = QAction("Show &HTML Documentation", self) |
| 260 | act_help.setShortcut(QKeySequence.HelpContents) # F1 |
| 261 | act_help.triggered.connect(self._on_show_documentation) |
| 262 | menu.addAction(act_help) |
| 263 | |
| 264 | act_about = QAction("&About", self) |
| 265 | act_about.triggered.connect(self._on_about) |
| 266 | menu.addAction(act_about) |
| 267 | |
| 268 | # ── actions ─────────────────────────────────────────────────────────────── |
| 269 | |