Compare commits

..

No commits in common. "c7a8392ffdc2e4b42039ff396cec716968562a24" and "547ad6c1fb314f99618811b5a5528792734a2a68" have entirely different histories.

View File

@ -340,6 +340,11 @@ void MainWindow::s_Open()
void MainWindow::s_SaveProject() void MainWindow::s_SaveProject()
{ {
QWidget * pMyWidget = CallPlugin::getInstance()->getPluginWidget(DEMO_PLUGIN, (QWidget *)this);
if (pMyWidget != nullptr)
{
pMyWidget->show();
}
// //加载插件显示 // //加载插件显示
// QWidget * pMyWidget = CallPlugin::getInstance()->getPluginWidget(PLUGINUNIT, (QWidget *)this); // QWidget * pMyWidget = CallPlugin::getInstance()->getPluginWidget(PLUGINUNIT, (QWidget *)this);
// if (pMyWidget != nullptr) // if (pMyWidget != nullptr)