33#include "BuildConfig.h"
38#include <wx/webview.h>
43#include "Configuration.h"
57 void SetURL(
const wxString &url);
58 void JumpToKeyword(
const wxString &keyword);
59 void SelectKeywords(
const std::vector<wxString> &keywords);
60 wxString GetKeyword(wxWindowID
id)
const;
66 bool HasContent()
const {
return m_webView !=
nullptr || !m_keywords.empty(); }
68 void ShowStartPageIfEmpty();
71 void CreateIfNeeded();
72 void OnTextEnter(wxCommandEvent& event);
73 void OnSearchUp(wxCommandEvent& event);
74 void OnSearchDown(wxCommandEvent& event);
75 void OnSearchboxKeyDown(wxKeyEvent &event);
76 void OnWebviewKeyDown(wxKeyEvent &event);
77 void OnActivate(wxActivateEvent &event);
78 void OnTopicButton(wxCommandEvent& event);
81 wxWindowIDRef m_topicButtonID0;
82 std::vector<wxWindowIDRef> m_topicButtonIDs;
84 wxWebView *m_webView =
nullptr;
85 wxTextCtrl *m_searchText =
nullptr;
88 bool m_findDown =
true;
90 wxPanel *m_browserPanel;
91 wxPanel *m_topicPanel;
92 wxBoxSizer *m_topicSizer;
93 std::vector<wxString> m_keywords;
This file declares the class MaximaManual.
The configuration storage for the current worksheet.
Definition: Configuration.h:102
Definition: HelpBrowser.h:49
static bool AllowOnlineManualP(Configuration *configuration, wxWindow *parent)
Ask the user if we are allowed to access an online manual.
Definition: HelpBrowser.cpp:43
HelpBrowser(wxWindow *parent, Configuration *configuration, MaximaManual *manual, const wxString &url)
Ask the user if we are allowed to access an online manual.
Definition: MaximaManual.h:59