MCPcopy Create free account
hub / github.com/altairwei/WizNotePlus / JSPluginHtmlDialog

Method JSPluginHtmlDialog

src/jsplugin/JSPluginWidgets.cpp:31–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29/////////////////////////////////////////////////////////////
30
31JSPluginHtmlDialog::JSPluginHtmlDialog(WizExplorerApp& app, JSPluginModule* module, QWidget* parent)
32 : JSPluginWebsiteView(app, module, parent)
33 , m_dialogWidth(module->spec()->width())
34 , m_dialogHeight(module->spec()->height())
35{
36 setWindowFlag(Qt::Window, true);
37 module->parentPlugin()->initStrings();
38 setWindowTitle(module->spec()->caption());
39 m_web->load(QUrl::fromLocalFile(m_module->spec()->htmlFileName()));
40}
41
42QSize JSPluginHtmlDialog::dialogSize() const
43{

Callers

nothing calls this directly

Calls 8

widthMethod · 0.80
heightMethod · 0.80
initStringsMethod · 0.80
parentPluginMethod · 0.80
captionMethod · 0.80
htmlFileNameMethod · 0.80
specMethod · 0.45
loadMethod · 0.45

Tested by

no test coverage detected