Show an error dialog with a link to the manual for further help
| 274 | |
| 275 | //! Show an error dialog with a link to the manual for further help |
| 276 | inline void ShowErrorDialog( |
| 277 | const WindowPlacement &placement, //!< how to parent the dialog |
| 278 | const TranslatableString &dlogTitle, //!< Text for title bar |
| 279 | const TranslatableString &message, //!< The main message text |
| 280 | const ManualPageID &helpPage, //!< Identifies manual page (and maybe an anchor) |
| 281 | const ErrorDialogOptions &options = {}) |
| 282 | { |
| 283 | if (auto p = Get()) |
| 284 | p->DoShowErrorDialog(placement, dlogTitle, message, helpPage, options); |
| 285 | } |
| 286 | |
| 287 | //! Show a modal message box with either Ok or Yes and No, and optionally Cancel |
| 288 | /*! |
no test coverage detected