| 54 | } |
| 55 | |
| 56 | void HelpView::createHelpInstallTab() { |
| 57 | std::shared_ptr<ImGuiLayout> model = std::make_shared<ImGuiLayout>(); |
| 58 | std::shared_ptr<LayoutSection> section = model->addSection(Msg::HELPVIEW_TITLE_HELP_INSTALL); |
| 59 | |
| 60 | section->addText(Msg::NONE, Msg::NONE, getTranslation(Msg::HELPVIEW_HELP_INSTALL_LABEL)); |
| 61 | |
| 62 | BString name; |
| 63 | if (GlobalSettings::hasIconsFont()) { |
| 64 | name += QUESTION_ICON; |
| 65 | name += " "; |
| 66 | } |
| 67 | name += getTranslation(Msg::HELPVIEW_TITLE_HELP_INSTALL); |
| 68 | addTab(name, name, model, [this](bool buttonPressed, BaseViewTab& tab) { |
| 69 | |
| 70 | }); |
| 71 | } |
| 72 | |
| 73 | void HelpView::createHelpTroubleshootingTab() { |
| 74 | std::shared_ptr<ImGuiLayout> model = std::make_shared<ImGuiLayout>(); |
nothing calls this directly
no test coverage detected