14 #include <QTextBrowser> 35 bool NavBarVisible_ =
true;
36 bool EverythingElseVisible_ =
true;
38 using QTextBrowser_ptr = std::unique_ptr<QTextBrowser>;
39 using IWebWidget_ptr = std::unique_ptr<IWebWidget>;
40 std::variant<QTextBrowser_ptr, IWebWidget_ptr> Browser_;
76 void SetHtml (
const QString& html,
const QUrl& base = QUrl ());
89 void SetNavBarVisible (
bool visible);
102 void SetEverythingElseVisible (
bool visible);
104 void PrepareInternal ();
A "browser" that shows HTML either via QTextBrowser or a browser plugin.
Base class for plugins that provide a web browser.