| 29 | ///////////////////////////////////////////////////////////// |
| 30 | |
| 31 | JSPluginHtmlDialog::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 | |
| 42 | QSize JSPluginHtmlDialog::dialogSize() const |
| 43 | { |
nothing calls this directly
no test coverage detected