8 std::vector<PluginParameter> retval;
12 "Enter name of .dot file to be loaded into viewer.\n\n"
13 "The name of the plugin which created the .dot file\n"
14 "is optional. If no plugin was specified the viewer\n"
15 "will try to parse the name from file content.\n"
16 "As fallback the interactive features get disabled.\n\n"));
27 bool loadClicked =
false;
31 if (pp.get_tagname() ==
"filename")
33 else if (pp.get_tagname() ==
"plugin")
35 else if (pp.get_tagname() ==
"exec")
36 loadClicked = (pp.get_value() ==
"clicked");
static DotViewer * getDotviewerInstance()
bool loadDotFile(const QString &fileName, const QString &creator=QString())
void disableInteractions()
void set_parameter(const std::vector< PluginParameter > ¶ms) override
Set values for a vector of configurable parameters.
std::vector< PluginParameter > get_parameter() const override
Get a vector of configurable parameters.
void netlist_about_to_close(Netlist *netlist) override
QString fromStdString(const std::string &str)